Computing.Net > Forums > Linux > mounting a secondary hard drive

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

mounting a secondary hard drive

Reply to Message Icon

Name: atlantis
Date: April 9, 2003 at 12:32:44 Pacific
OS: red hat 9
CPU/Ram: p4 2ghz
Comment:

this is how my drive is layed out
primary
--windows
secondary
--d:
--linux

im trying to mount the d: (fat32) in my linux, i can do primary ok, but i dont know how to mount secondary, this is what is happening

[root@atlantis mnt]# mount -t vfat /dev/hda1 /mnt/d_drive
[root@atlantis mnt]# mount -t vfat /dev/hda2 /mnt/d_drive
mount: wrong fs type, bad option, bad superblock on /dev/hda2,
or too many mounted file systems
(could this be the IDE device where you in fact use
ide-scsi so that sr0 or sda or so is needed?)



Sponsored Link
Ads by Google

Response Number 1
Name: egkenny
Date: April 9, 2003 at 15:23:44 Pacific
Reply:

Your D drive is probably not /dev/hda2. To see what it is type the following command to see all the partitions:
fdisk -l /dev/hda

Here is an example:

[root]# fdisk -l /dev/hda

Device Boot Start End Blocks Id System
/dev/hda1 * 1 2550 20482843+ b Win95 FAT32 (LBA)
/dev/hda2 2551 9964 59552955 f Win95 Ext'd (LBA)
/dev/hda5 2551 5100 20482843+ b Win95 FAT32
/dev/hda6 5101 7650 20482843+ b Win95 FAT32
/dev/hda7 7651 7663 104391 83 Linux
/dev/hda8 7664 7917 2040223+ 82 Linux swap
/dev/hda9 7918 9964 16442496 83 Linux

Notice that in this case:
/dev/hda1 Windows C drive (primary partition)
/dev/hda2 (extended partition)
/dev/hda5 Windows D drive
/dev/hda6 Windows E drive
/dev/hda7 Linux /boot
/dev/hda8 Linux swap
/dev/hda9 Linux /

Note the extended partition (/dev/hda2) is just a holder for all the logical drives in it (/dev/hda5, /dev/hda6, /dev/hda7, /dev/hda8, /dev/hda9).


0
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Linux Forum Home


Sponsored links

Ads by Google


Results for: mounting a secondary hard drive

How to Mount a SCSI DAT DRIVE i.e. st0 www.computing.net/answers/linux/how-to-mount-a-scsi-dat-drive-ie-st0/4981.html

Installing Linux on a new hard drive www.computing.net/answers/linux/installing-linux-on-a-new-hard-drive/12805.html

Bootable hard drive? www.computing.net/answers/linux/bootable-hard-drive/30330.html