Click to See Complete Forum and Search --> : Mount win drive
Spazegun2213
05-12-2002, 11:55 AM
Alright... no matter what book i read or internet site i consult i still cant get linux to mount my win drive. As of now i have liunx on hd2 and win on hd1.
the windows partition is fat32 and its the whole drive.
how should i go about this?
thanks
Choozo
05-12-2002, 12:14 PM
Which commands have you tried to mount the win partition, and what are the errormessages you get?
Spazegun2213
05-12-2002, 12:53 PM
I tried the mount /dev/hdb1 and junk.... but it tells me that the fstab and the mtab files do not contain this drive. I looked in this file and sure enough my win drive is not there.
should i edit this file?
Thanks
PS: i tried fdisk -l and that also does not work.
cage47
05-12-2002, 01:06 PM
because you aren't giving it a place to mount. A directory. Linux considers everything (including partitions) as directories/files. So you should make a partition called windows (either /windows or /mnt/windows) then
mount /dev/hd? /mnt/windows
you might also have to specify it as an msdos file system. Or just edit your fstab to add a line for it so it mounts upon your boot up.
Spazegun2213
05-12-2002, 01:19 PM
this is a copy of my fstab file.
LABEL=/ / ext3 defaults 1 1
LABEL=/boot /boot ext3 defaults 1 2
none /dev/pts devpts gid=5,mode=620 0 0
none /proc proc defaults 0 0
none /dev/shm tmpfs defaults 0 0
/dev/hdb3 swap swap defaults 0 0
/dev/cdrom /mnt/cdrom iso9660 noauto,owner,kudzu,ro 0 0
/dev/cdrom1 /mnt/cdrom1 iso9660 noauto,owner,kudzu,ro 0 0
/dev/fd0 /mnt/floppy auto noauto,owner,kudzu 0 0
what should i do to mount this drive?
thanks
mdwatts
05-12-2002, 03:56 PM
/dev/hda1 /mnt/windows vfat rw,noauto,defaults 0 0
Create a windows directory under /mnt first.
man mount for more options you can use and the meaning of those in fstab.
BTW... There is a NHF on the subject of mounting/accessing Windows partitions that would have helped.
fancypiper
05-12-2002, 03:56 PM
;) It might help if you would look at the FAQ (http://www.linuxnewbie.org/cgi-bin/faq/faqw.py?req=all#10.1). :eek:
The FAQ and the NHF's contain a lot of info. :cool: