Adam Sleight wrote:
> 
> dual boot win98 and redhat 6.2.  how do I mount D: drive?
> 
> mount -t vfat /dev/hda1 /mnt/winc    works just fine and it mounts the
> C: drive but I can't mount the D: drive where all my mp3s are stored so
> XMMS can play them. D: is on the extended partition as a logical drive.
> Can't linux access it?
> 
> mount -t vfat /dev/hda2 /mnt/wind  doesn't work...tried hda3, hda4, etc.
> [root@localhost /mnt]# mount -t vfat /dev/hda3 /mnt/wind
> mount: wrong fs type, bad option, bad superblock on /dev/hda3,
>        or too many mounted file systems
>        (aren't you trying to mount an extended partition,
>        instead of some logical partition inside?)
> YES to the above question...so how do I mount a logical partition
> instead of the extended partition?
> 
> here's my fstab
> /dev/hda8 /  ext2    defaults        1 1
> /dev/hda5 /boot  ext2    defaults        1 2
> /dev/hda9 /home  ext2    defaults        1 2
> /dev/cdrom   /mnt/cdrom iso9660 noauto,owner,ro 0 0
> /dev/cdrom1  /mnt/cdrom1 iso9660 noauto,owner,ro 0 0
> /dev/fd0  /mnt/floppy  auto    noauto,owner    0 0
> none /proc  proc    defaults        0 0
> none /dev/pts devpts  gid=5,mode=620  0 0
> /dev/hda7 swap swap    defaults        0 0
> 
> _______________________________________
> adam http://www.kaikun.com 3,500 photos
> http://thinknic.kaikun.com  more photos
> 
> _______________________________________________
> Redhat-list mailing list
> [EMAIL PROTECTED]
> https://listman.redhat.com/mailman/listinfo/redhat-list

Hey Adam:

I had to wrestle with this one too. What works for me is really simple.
First you have to make sure you have a place to mount the win drive(s).
For instance, you may have a dir in /mnt called /mnt/hda1 to mount C: or
you may not. Check to see. What I did, since I am so lazy, is create new
dirs for the mount points. I used /d1 for C:, /d2 for E: and /d3 for f:.
Then I edited /etc/fstab and added these lines:

        /dev/hda1               /d1                     vfat    defaults        0 0
        /dev/hdb1               /d2                     vfat    defaults        0 0
        /dev/hda5               /d3                     vfat    defaults        0 0

and then rebooted. From then on, the drives C:, D:, and E: are
automatically mounted at boot. If you don't want your drives
automounted, just enter the same info in the mount command, but you
still have to mount point. 

All this is explained in the mount and fstab manpages.

Good luck!



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to