hard disk failure

kitepilot at kitepilot.com kitepilot at kitepilot.com
Fri Feb 17 10:15:52 MST 2012


Boot your box with a live CD (I can place one in my server for you)
type:
cat /proc/partitions 

If you see your partition, then:
mount -o ro /dev/{my partition} /mnt 

DO A BACKUP NOW!, your stuff will be in /mnt/{somewhere} 

After you backup, then:
umount /mnt
fsck /dev/{my partition} 

If all goes well, then again:
mount -t{your filesystem type} /dev/{my partition} /mnt
chroot /mnt
grub-install /dev/{my partition}
(elevate a prayer...)
exit
reboot
Best of luck...
ET 

 


Michael Havens writes: 

> Yep.... I think I had a hard disk failure. I restarted my computer and was
> presented with: 
> 
>      error: unknown filesystem.
>      grub rescue> 
> 
> I then typed 'ls' and the response was 
> 
>      (hd0) (hd0,msdos5) (hd0,msdos3) (hd0,msdos1) (fd0) 
> 
> which is two partitions, the swap drive, and the floppy disk
> how do I verify my suspicion of drive failure?
> funny how all this happened just as I was attempting to back it up. 
> 
> -- 
> :-)~MIKE~(-:


More information about the PLUG-discuss mailing list