how do i know what drives are available for mounting
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
As far as i remember, those drives you are talking about are not added to fstab directly. You need to either mount them manually or edit /etc/fstab file to mount them automatically at boot. First, you need to make directories for each drive (partition) you want to mount and then edit fstab.
to mount my ntfs drive. noauto option doesnt mount drive at boot. user option lets users mount partition. After I add this to fstab, right click on gnome-desktop and I'll see disks>winxp.
For ntfs you need to patch your kernel to read NTFS partition. Look here for more info on NTFS in linux
there's only read-only support for NTFS in linux.
for fat32...support is inbuilt so you need not worry.
You can also see what devices were detected by looking at the file called dmesg (usually in the /var/log directory). Type
dmesg|less
at a console, or
dmesg|grep hd
and see all lines containing the string 'hd'. Here is a part of mine:
hda: WDC WD400BB-00AUA1, ATA DISK drive
hdb: ST340016A, ATA DISK drive
hdc: _NEC DVD_RW ND-2500A, ATAPI CD/DVD-ROM drive
ide2: BM-DMA at 0xac00-0xac07, BIOS settings: hde:pio, hdf:pio
ide3: BM-DMA at 0xac08-0xac0f, BIOS settings: hdg:pio, hdh:pio
hde: Maxtor 6Y080L0, ATA DISK drive
hdg: SAMSUNG DVD-ROM SD-616T, ATAPI CD/DVD-ROM drive
hdh: PHILIPS CDRW2412A, ATAPI CD/DVD-ROM drive
hda: max request size: 128KiB
hda: 78165360 sectors (40020 MB) w/2048KiB Cache, CHS=65535/16/63, UDMA(100)
hdb: max request size: 128KiB
hdb: 78165360 sectors (40020 MB) w/2048KiB Cache, CHS=65535/16/63, UDMA(100)
hde: max request size: 128KiB
hde: 160086528 sectors (81964 MB) w/2048KiB Cache, CHS=65535/16/63, UDMA(133)
Reiserfs journal params: device hda7, size 8192, journal first block 18 ...
Or try
dmesg|grep ide
As you can see from above my 80G hard drive is named hde, and I have the following lines in my /etc/fstab file:
/dev/hde5 /mnt/hde5 ext3 defaults,users 1 1
/dev/hde7 /mnt/hde7 ext3 defaults,users 1 1
where I created the directories /mnt/hde5 /mnt/hde7 beforehand.
This is just one way; as the other posters said, you may also use some utility to find out how your drives are mapped.
ok i am about to give up!!!! well i will try abit more.
ok now i know that i have
1. a drive called hdc1 and hdc2 that are fat32 i see this in the hardware browser 'i use them in windows to store documents'
2. created a directory named windows and a directory named drive1 in the /mnt directory.
3. opened from system tools a terminal and loged on as root with the su command.
4. then i typed the command mount -t vfat /dev/hdc1/mnt/windows
5. the i go to the windows directory i created int the /mnt and i see no files.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.