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!
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
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.
You can also see what devices were detected by looking at the file called dmesg (usually in the /var/log directory). Type
at a console, or
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 ...
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.