Laptop died, moved HDD to external enclosure. Can't boot.
I have an Acer Travelmate 2480 that died on me. I pulled the HDD out and moved it to an external USB enclosure.
If I boot into the normal installs on the host laptop (either Win7 or Karmic) I can access the drive and read/write files as though it were just an external storage device with multiple partitions. If I try to boot from the drive (either WinXP or Mint7), however, it goes so far and throws an error. For XP it's just a BSOD and a reboot. Under Mint7, I get errors about it trying to mount various directories and then it just faults out to a command line. Is there a way to make Mint7 boot on this external disk, or should I just pull all the personal data off it and reformat/reinstall everything? I figure the WinXP install on it is a lost cause, but I'm hoping to get the Mint install up and running... |
Determine which filesystem can't mount. If it isn't used for a system directory, then commenting out the entry in /etc/fstab will allow you to boot up. When it faults out to a command line, you are probably running in the initrd environment. From there you can enter "mount" to see which filesystems are mounted and which aren't.
If you are lucky, the problem is a filesystem error on the Windows' partition. Comment out the lines in /etc/fstab for the Windows partitions. You may be able to boot Mint, and then copy off the files in the Windows partition. |
Quote:
I did manage to write down the error(s) that it gives me before dumping me into the initrd CLI: Quote:
Code:
# /etc/fstab: static file system information. (EDIT: Checking the mount command on my regular install shows /dev/sdbX as the devices on that enclosure. What should I change? How should I update grub on the external drive? The initrd environment is very limited; I don't even have nano or vi there!) |
I finally got it to work. And it turns out, the key was more or less in fstab as you previously suggested.
Searching on Google led me down a number of different roads, all of them wrong. First I was trying to chroot into the disk and re-installing GRUB, reinstalling the ubuntu-minimal package, along with a few other things. That was a total waste of time (though I never used chroot before and I find it to be quite a handy utility). It was as simple as changing the device labels in /boot/grub/menu.lst from (hd0,X) to (hd1,X) and changing the entries in fstab from UUIDs to /dev/sdbX designations, with separate entries for root, /home, and the swap partition that's there. The XP install on the drive is lost and won't boot at all, but it is still accessible from inside any of the OSs I have installed on this computer or on that drive. Since the XP install there is lost and the Mint install is outdated, I'll probably still just remove all the personal data on it and re-install everything. Thanks for your help. |
All times are GMT -5. The time now is 05:48 PM. |