error 23 error while parsing number

I spent many hours trying to figure out why the hell the latest Debian (Squeeze) broke my boot loader. After a reboot my server has been unavailable.
I was getting the error: error 23 error while parsing number because my partitioning scheme was based on software RAID.

In my setup /dev/md0 was the root filesystem. To solve the issue do the following. Click c on grub to move on to command line and type:


grub> find /boot/grub/stage1

grub>root (hd0,0)
grub>setup (hd0)

and then edit the kernel boot parameter and change /dev/md0 to (hd0,0)

Posted on: 05/05/2011

If you want to leave a comment please Login or Register