Ask Your Question
2

Unable to access external HDD on Virtualbox running win7 on host fedora 23-

asked 2016-03-27 00:37:54 -0600

adbury gravatar image

updated 2016-05-17 14:11:48 -0600

Hi I was using fedora20 till 2 days ago. I had installed virtualbox with win7 and it was working fine. I was able to load external hard drives using the shared folder settings on the virtualbox device menu. All I had to do was "Install Guest Addition cd Image" beforehand. In the shared folder settings window I only had to add a folder path, select 'other' from the dropdown and there it was .. all my external hard drives ready to be shared. But since I installed f-23, when I try to add a shared folder from the shared folder settings I dont see any hard drives, even though they are already mounted.All I can see are 'computer' & 'username' dir. I tried browsing to '/dev/sd*#'. But no such folder exists. The one difference I saw btwn f20 and f23 is that in f23 gnome files list the external HDD under "+other locations. Now what other additional steps should I try to get my hard drives to be shared to my guest OS.

edit retag flag offensive close merge delete

Comments

Thank you. That did it! I cannot use vote your answer as 'accepted' as it is a comment though.

adbury gravatar imageadbury ( 2016-03-30 09:02:05 -0600 )edit

@adbury: Glad you came right. I have converted it to an answer. You may mark it as right answer so we can close this thread.

anishjp gravatar imageanishjp ( 2016-03-30 09:12:19 -0600 )edit

2 Answers

Sort by ยป oldest newest most voted
3

answered 2016-03-27 11:41:02 -0600

anishjp gravatar image

updated 2016-03-27 11:41:43 -0600

If the external HDDs are already mounted and usable in your host OS (F23), you should see them in the location /run/media/user_name/HDD in the "Folder path" option.

edit flag offensive delete link more
1

answered 2016-03-30 13:06:16 -0600

adbury gravatar image

updated 2016-03-30 13:22:03 -0600

As @anishjp had mentioned in the comments, I got it to work /run/media/user_name/HDD. But now I have another issue.

My USb flash drives cant be mounted, or more precisely I dont know how.

# parted -l
output

Error: /dev/sdc: unrecognised disk
label Model: SanDisk Cruzer Blade (scsi)                                
Disk /dev/sdc: 16.0GB Sector size (logical/physical): 512B/512B
Partition Table: unknown Disk Flags:

# sudo fdisk -l -u /dev/sdc
output

Disk /dev/sdc: 14.9 GiB, 16008609792 bytes, 31266816 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x0030c0cf

Device     Boot Start      End  Sectors  Size Id Type
/dev/sdc1        2048 31266815 31264768 14.9G  c W95 FAT32 (LBA)

mount -t vfat /dev/sdc1 /media/usb
output
mount: special device /dev/sdc1 does not exist

I do not understand why this is happening. Somewhere I had read I had to install nfs-common but it outputs as no match available. Can someone please help me with this.

edit flag offensive delete link more

Comments

1

try sudo mount -t vfat /dev/sdc1 /media/usb. The command you may also want to learn is lsblk - it will nicely show your devices including device file and mount points. nfs stands for Network File System, and has nothing to with this.

A usb pen drive would also be mounted to a mount point similar to your HDD, e.g. /run/media/<user>/USB Use lsblk to check whether it is not already mounted. Gnome auto-mounts attached usb drives

florian gravatar imageflorian ( 2016-03-30 13:27:00 -0600 )edit
1

@florian I tried lsblk and got

NAME            MAJ:MIN RM   SIZE  RO TYPE MOUNTPOINT
sdc                8:32   1  14.9G  0 disk

Also, I just checked, no folder named usb present in the path mentioned.

adbury gravatar imageadbury ( 2016-03-30 13:47:20 -0600 )edit
1

Actually the "Type" of sdc is shown as disk. While all other mounted partitions "Type" are shown as part. I guess I would need to create partition on this one. But this usb drive was formated with fat32 type while on windows7.

adbury gravatar imageadbury ( 2016-03-30 14:06:33 -0600 )edit
1

@adbury: Yes sdc refers to the disk, and there is no partition shown on that disk. Maybe the partition table is corrupt. Do you have any valuable data on sdc1? If not, just (re)format it, and you should be good to go.

florian gravatar imageflorian ( 2016-03-30 14:14:31 -0600 )edit

Question Tools

Stats

Asked: 2016-03-27 00:37:54 -0600

Seen: 470 times

Last updated: Mar 30 '16