Web Hosting Talk







View Full Version : How do I mount the second hard drive?


pmak0
02-13-2002, 12:55 PM
Scenario: Our RaQ's hard disk got some corruption that caused it to become unable to boot. The RackShack technicians replaced the hard disk with a fresh one, and attached the old hard disk as the slave drive in order to enable us to get our data.

Problem: I don't know how to get the secondary hard drive mounted in order to get at the data.

Can anyone help us figure out how to do it? We're under a 48 hour time limit (RackShack is going to take the hard drive back after 48 hours).

[root /]# df -k
Filesystem 1k-blocks Used Available Use% Mounted on
/dev/hda1 743466 585670 157796 79% /
/dev/hda3 198601 10318 188283 5% /var
/dev/hda4 17671528 136709 17534819 1% /home
[root /]# mount
/dev/hda1 on / type ext2 (rw)
none on /proc type proc (rw)
/dev/hda3 on /var type ext2 (rw,nosuid)
/dev/hda4 on /home type ext2 (rw,usrquota,grpquota,grpid)
none on /dev/pts type devpts (rw,gid=5,mode=0622)
[root /]# mount -t ext2 /dev/hdb old
mount: /dev/hdb is not a valid block device
[root /]# hdparm -I /dev/hdb
/dev/hdb: Device not configured

pmak0
02-13-2002, 03:33 PM
Never mind, I figured it out thanks to this great tutorial about mounting:
http://www.linuxnewbie.org/nhf/intel/hardware/hd_add.html