Once upon a time I used dual boot with Lenny and windows. Yesterday I nuked my Windows XP from the disk and installed Squeeze on that partition. I chose the option 'bootable flag on' during the installation process. Is that alright? The installations went fine!
However, grub didn't show the new system in the menu at start up. It was just the same, with the windows option and everything. Windows wouldn't boot, of course: incompatible file system (it wasn't Squeeze). I booted into Lenny and ran grub-update. Rebooted and now I can't even boot into my old system. I'm using a live cd. Grub still keeps showing Lenny and Windows at the menu, although there's no windows installed anymore. When I try to boot Lenny, I get this message:
Error:22 no such partition.
I'm quite sure there's something wrong the the menu.lst at /boot/grub
Here it is:
Code: Select all
title Debian GNU/Linux, kernel 2.6.26-1-686 root (hd0,6) kernel /boot/vmlinuz-2.6.26-1-686 root=/dev/hda7 ro quiet initrd /boot/initrd.img-2.6.26-1-686 title Debian GNU/Linux, kernel 2.6.26-1-686 (single-user mode) root (hd0,6) kernel /boot/vmlinuz-2.6.26-1-686 root=/dev/hda7 ro single initrd /boot/initrd.img-2.6.26-1-686 ### END DEBIAN AUTOMAGIC KERNELS LIST # This is a divider, added to separate the menu items below from the Debian # ones. title Other operating systems: root # This entry automatically added by the Debian installer for a non-linux OS # on /dev/hda1 title Microsoft Windows XP Professional root (hd0,3) savedefault makeactive chainloader +1
Thank you very much in advance!