General discussion

Locked

Adding a new hard disk in linux 9

By chieftain18 ·
i have a dual boot operating sytem winxp & linux 9 on my desktop and i want to see the additional hard disk that i have.in win XP on my desktop i see the additional hard disk as drive d but when i check in linux 9,i did not see the additional hard disk.i try to use the 'new terminal command' to mount it manually but it says that the device mounted does not exist,can you please give me an idea on how to add the additional hard disk manually,except on terminal command

This conversation is currently closed to new comments.

3 total posts (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Comments

Collapse -

by Jaqui In reply to Adding a new hard disk in ...

which distribution?

linux 9 means nothing other than a linux distro's 9th release.

suse?
red hat?
mandrake?
slakware?
all are well beyond the 9th release.


open a console session
mount /dev/hdb /mnt/[ whatever mount point you want ]

hda1 = drive c
hda2 linux root /
hdb = drive d
you can add the drive to the initab, so it gets mounted on boot.

try man mount to get the options for use with mounting devices.

also, you have to make sure that the user you are logged in as has the permissions needed to mount devices / filesystems.

Collapse -

by stress junkie In reply to Adding a new hard disk in ...

I think that you need more than just a quick one line answer. Unfortunately this forum doesn't provide for dialog. Here is some helpful information.

If your WinXP partitions are both on your first hard disk then Linux will see them as /dev/hda1 and /dev/hda2. Your Linux boot partition is probably /dev/hdb1.

In order to mount your XP partitions you need to know the XP file system type and you need a directory in Linux to mount each partition. Try the following:

Log in as root
Enter the following two commands
mkdir /mnt/c
mkdir /mnt/d

These commands will create two directories to mount your XP partitions. Now if your XP partitions are both NTFS then Linux can only read them, not write to them. If a partition is FAT32 then Linux can read and write to it. Let's say that the XP C drive (/dev/hda1) is NTFS and the XP D drive (/dev/hda2) is FAT32. Then enter the next two commands while you are logged in as root.

mount -t ntfs /dev/hda1 /mnt/c
mount -t vfat /dev/hda2 /mnt/d

Now you should have your XP drive C mounted in the /mnt/c directory and the XP drive D mounted in the /mnt/d directory. Do the following commands to see if it worked.

ls -la /mnt/c
ls -la /mnt/d

Let me know via comments if you have problems. Be sure to include exact error messages. :-)

Collapse -

by jmgarvin In reply to Adding a new hard disk in ...

I assume you mean Red Hat 9. Make sure to get the NTFS rpm or you won't be able to read the information on the drive(s).

http://linux-ntfs.sourceforge.net/status.html#ntfsdriver

Try:
mkdir /mnt/d
mount /dev/hdb /mnt/d
ls /mnt/d

You can add it to your fstab if you so please.

Back to Linux Forum
3 total posts (Page 1 of 1)  

Related Discussions

Related Forums