PDA

View Full Version : Dual-Boot System Crash after Repartitioning



jMon54
12-09-2004, 03:11 PM
I ran out of room on my Linux partition (it's 8g and fairly new). From Windows 2000 I ran Partition Magic to decrease my NTFS partition and increase my EXT3 partition. The process was going very slowly so I left it to run overnight. This morning the screen contained a series of evenly spaced 99s along the top third. I rebooted and got the same thing. Booting up from a Knoppix CD I was able to use QTPARTED and see the partitions. And I was able to view the files in each. So how do I get the boot-up problem fixed?

Markus
12-09-2004, 05:20 PM
The 9999 problem is due to lilo not working. You can reinstall lilo with:
boot from cd
open console
sudo su
mount -o dev /dev/hdXY /mnt/hdXY (where XY is the drive/partition of your knoppix install)
chroot /mnt/hdXY
lilo -v
Ctrl-d to exit from chroot

You should probably check with sudo fdisk -l that the partition scheme looks fine before trying to fix it.
Did you increase the ext3 partition at the beginning? If so, I hope Partition Magic can handle it correctly.

jMon54
12-10-2004, 02:16 PM
The 9999 problem is due to lilo not working. You can reinstall lilo with:
boot from cd
open console
sudo su
mount -o dev /dev/hdXY /mnt/hdXY (where XY is the drive/partition of your knoppix install)
chroot /mnt/hdXY
lilo -v
Ctrl-d to exit from chroot

BINGO! Thanks! I'm back in business! :D