For reasons unknown, my Ubuntu upgrade was interrupted mid-install by an automated shutdown of my machine. On restart I get these errors shortly after Grub loads:
[ 27.466347] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0.0)
kernel direct mapping tables up to 10000000 @ 8000-4000
I booted off a Live CD and tried to mount the hard drive. On boot I noticed a bunch of console lines like this when the OS was trying to mount file systems...
Buffer I/O error on device sda1, logical block 0
Buffer I/O error on device sda1, logical block 1
Once loaded I tried to mount the disk manually...
$mount -t xfs /dev/sda /mnt/temp
But got a superblock read failed error.
- creating 4 worker thread(s)
Phase 1 - find and verify superblock
superblock read failed, offset 0, size 524288, ag 0, rval 0
fatal error -- Invalid argument
I don't think it's an xfs issue though, because, following other threads, I tried running this test:
$dd if=/dev/hdd1 bs=512 count=1 | hexdump
But got read errors instead of the expected hex values.
The HD is a Seagate Barracuda, less than a year old. It seems unlikely there's been a hardware failure - particularly after that shutdown mid-install. I opened the case and isolated the drive - it's definitely spinning and not making any odd noises.
What are my options here? As a relative noob, it seems to me the disk geometry or partition map is corrupted. Is there any possibility of repairing the disk to a point where I can at least mount it and retrieve my data. Does SystemRescue disk provide tools to do this?
Thanks for you help!