I've searched here and found some good information but nothing exactly like what I'm looking for. Consider this a "newbie" post. I've got a fair amount of experience with some things on Linux, but I've never had to do anything like this.
I was previously running a server under RH9 and it experienced (what I assume was) a hard drive "crash". I don't know the particulars as I'm not smart on drive post-mortem tools. It now refuses to boot with a kernel panic and some nasty EXT3 errors. I can possibly capture those errors if there is a need but I figured it would be just as easy to remount the drive in an external USB box and pull the vital data off. Truthfully, my question is not related to the crash directly -- I've resolved that the drive will not boot but would really like to get certain bits of data off the drive.
The RH9 drive was the only drive in the machine and hence had a swap partition and the other standard (don't know what else to call them... default?) partitions for a run-of-the-mill RH9 install.
I've got an FC4 box handy so I figured with the HAL (?) it would be easy enough to mount the old drive via USB and get into the partitions to grab the data.
The FC4 box is running kernel: 2.6.15-1.1833_FC4
Plugging in the USB box creates the following:
In fstab:
Code:
# This file is edited by fstab-sync - see 'man fstab-sync' for details
/dev/VolGroup00/LogVol00 / ext3 defaults 1 1
LABEL=/boot /boot ext3 defaults 1 2
/dev/devpts /dev/pts devpts gid=5,mode=620 0 0
/dev/shm /dev/shm tmpfs defaults 0 0
/dev/proc /proc proc defaults 0 0
/dev/sys /sys sysfs defaults 0 0
/dev/VolGroup00/LogVol01 swap swap defaults 0 0
/dev/fd0 /media/floppy auto pamconsole,exec,noauto,utf8,managed 0 0
/dev/hdd /media/cdrom auto pamconsole,exec,noauto,managed 0 0
/dev/sda1 /media/usbdisk ext3 pamconsole,exec,noauto,managed 0 0
/dev/sda2 /media/usbdisk1 ext3 pamconsole,exec,noauto,managed 0 0
and /var/log/messages shows:
Code:
Mar 27 20:39:42 dorkus kernel: usb 1-2: new high speed USB device using ehci_hcd and address 2
Mar 27 20:39:42 dorkus kernel: SCSI subsystem initialized
Mar 27 20:39:42 dorkus kernel: Initializing USB Mass Storage driver...
Mar 27 20:39:42 dorkus kernel: scsi0 : SCSI emulation for USB Mass Storage devices
Mar 27 20:39:42 dorkus kernel: usbcore: registered new driver usb-storage
Mar 27 20:39:42 dorkus kernel: USB Mass Storage support registered.
Mar 27 20:39:47 dorkus kernel: Vendor: Maxtor 5 Model: 2049U4 Rev: DA62
Mar 27 20:39:47 dorkus kernel: Type: Direct-Access ANSI SCSI revision: 00
Mar 27 20:39:47 dorkus kernel: SCSI device sda: 39882527 512-byte hdwr sectors (20420 MB)
Mar 27 20:39:47 dorkus kernel: sda: assuming drive cache: write through
Mar 27 20:39:47 dorkus kernel: SCSI device sda: 39882527 512-byte hdwr sectors (20420 MB)
Mar 27 20:39:47 dorkus kernel: sda: assuming drive cache: write through
Mar 27 20:39:47 dorkus kernel: sda: sda1 sda2 sda3
Mar 27 20:39:47 dorkus kernel: sd 0:0:0:0: Attached scsi disk sda
Mar 27 20:39:47 dorkus scsi.agent[4321]: disk at /devices/pci0000:00/0000:00:10.3/usb1/1-2/1-2:1.0/host0/target0:0:0/0:0:0:0
Mar 27 20:39:48 dorkus fstab-sync[4373]: added mount point /media/usbdisk for /dev/sda1
Mar 27 20:39:48 dorkus fstab-sync[4382]: added mount point /media/usbdisk1 for /dev/sda2
I would take it from this that FC4 has mounted two of the drive's partitions at /media/usbdisk and /media/usbdisk1? However these directories are empty. When I log on to the desktop, there is an icon for a USB drive and it is labeled "/boot(2)". When I click on it, it shows all my stuff from the boot directory of the RH9 drive (or at least some stuff). There is no icon for any other partition.
Question: What, if anything, else do I need to do to mount the remaining partitions of the RH9 drive? Does the fact that the FC4 box didn't automatically mount them mean that they are trashed and not accessible? What other tools could I use to get to the data?
o.k. so that was questions plural, not question.... ;-)
One more bit of data. When I mount the drive on a Windows box it of course can't do anything with the EXT3 partitions but it does show four partitions.
Any insight would be appreciated. Thanks.