[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Can't boot after harddrive replacement



Hi Itay,

maybe it is  a problem with the UUID. Just check on the new harddrive the file 
/etc/fstab, if there is an UUID set for the harddrive.

If so, comment it out and set just an entry with /dev/sda1 (or whatever) fpor 
the required. Here is an example:

# /dev/sda7      /               ext3    errors=remount-ro 0       1
UUID=da2bbacb-1b05-461e-8b72-9eef666b9bf6        /               ext4    
discard,noatime,errors=remount-ro 0       1

In this case, I commented the line beginning with "# /dev/sda7............" 
out and the new active one is the line beginning with 
"UUID=da2bbacb..............."

For your needs, you should mount the partition with /etc/fstab on by using a 
live-file system like Knoppix, TRK, Debian-Live-file or similar and then edit 
/etc/fstab.

Comment ALL lines beginning with UUID= and add the physical partition like in 
my example beginning with /dev/sdaX whatever. 

Then you should be able to reboot.

I guess, you already have a bootloader installed, mostly grub or grub2. If 
not, Debian installer DVD may help, or use my favourite choice Super-Grub-
Disk-2.

Hope, this helps. Good luck!

Best regards

Hans


Reply to: