Advertisement
Help Keep Boards Alive. Support us by going ad free today. See here: https://subscriptions.boards.ie/.
If we do not hit our goal we will be forced to close the site.

Current status: https://keepboardsalive.com/

Annual subs are best for most impact. If you are still undecided on going Ad Free - you can also donate using the Paypal Donate option. All contribution helps. Thank you.
https://www.boards.ie/group/1878-subscribers-forum

Private Group for paid up members of Boards.ie. Join the club.

Help needed

  • 31-07-2002 12:25AM
    #1
    Registered Users, Registered Users 2 Posts: 9,758 ✭✭✭


    in my wisdom i did nto set a mount point for my fat32 drive in linux install. Now linux does not see the drive. How can i fix this. I am using red hat 7.1

    I was using the drive as a go between windows xP and linux. now it does not work.

    I want it like that so i can use the internet in windows xp and then have the files avilable in linux. this is until i get the internet working in linux.

    Can you help


Comments

  • Registered Users, Registered Users 2, Paid Member Posts: 2,032 ✭✭✭lynchie


    Do you know what partition the fat32 dirve is under?

    If it is hda1, create a directory under mnt, called say xp and simply type mount /dev/hda1 /mnt/xp -t vfat

    You should now be able to see your xp drive. To make this mounted drive appear from boot you need to add an entry into /etc/fstab. The format of the file is quite simple. I dont have access to any linux boxes at the moment, so I can't post up a sample line.


  • Registered Users, Registered Users 2 Posts: 68,173 ✭✭✭✭seamus


    yep, do what lynchie there says.

    The commands will be (if you're gonna mount it to a dir called 'xp'):

    >mkdir /mnt/xp

    >vi /etc/fstab

    Then add the following line to fstab:
    /dev/hda1 <tab> /mnt/xp <tab> vfat <tab> defaults <tab> 0 <tab> 0
    

    And that should do it. Obviously <tab> means put in a tab space, and the last two yokes are zeros, not O's.

    Then it should be mounted automatically every time you boot up.

    A handy trick actually is to stick a file in the directory that will tell you whether the filesystem is mounted or not., for example:

    >cd /mnt/xp
    >vi ./Filesystem_not_mounted


    Then just save that file. When you type ls, and your windoze partition isn't mounted, it'll just say, 'Filesystem_not_mounted'. When the partition is mounted this file will essentially be underneath it, so it won't appear in your windows listing.

    :)

    {A quick google revealed: http://www.humbug.org.au/talks/fstab/fstab.html
    May be of help :)}


Advertisement