Problem fixing grub

Barry Pohlman barry.pohlman at
Mon Jun 22 06:48:20 UTC 2009

Not sure what is actually causing your problem so these suggestions
could be way off base. Just observations on the information your provided.

Did you run grub as super-user(root)?
	To do this you would type 'sudo grub'

Did you use the root command in grub?
	The command list I usually run is
	find /grub/boot/stage1
	root = <Results from above command>
	setup (hd0)

Other observations about this. It is failing on the step where it is
looking for menu.lst. That file contains the information that grub
references to boot. That file is a pain to recreate by hand. You might
want to try and boot into the live cd setup, mount the partition and see
if that file is actually there where you think it is.

Don't get me wrong; all is not lost if that is missing. You can make a
new one. For more information on how to do that just repost to the list
and I will try to help as soon as I can.

Good Luck

vellingiri wrote:
> n3mo wrote:
>> Hi,
>> I have problem with fixing grub. So I've installed ubuntu 9.04 and 
>> then windows xp 64 bits with sp2. Now I try to fix grub and here is 
>> the error:
>> grub> setup (hd0)
>>  Checking if "/boot/grub/stage1" exists... yes
>>  Checking if "/boot/grub/stage2" exists... yes
>>  Checking if "/boot/grub/e2fs_stage1_5" exists... yes
>>  Running "embed /boot/grub/e2fs_stage1_5 (hd0)"...  17 sectors are 
>> embedded.
>> succeeded
>>  Running "install /boot/grub/stage1 (hd0) (hd0)1+17 p 
>> (hd0,7)/boot/grub/stage2
>> /boot/grub/menu.lst"... failed
>> Error 22: No such partition
>> I have no idea how to fix this, and after all I can't reinstall my 
>> Ubuntu because the partitioner doesn't see any partitions and OS ot my 
>> hard drive. So I'm fucked up a lot, because now I can't fix grub, I 
>> can't reinstal Ubuntu and my Windows 64 bits freezes on boot sometimes...
>> How to fix grub?
> Dear Friend,
>        Please use SuperGrub to recover your windows and linux.
>  Regards,
> Vellingiri

More information about the ubuntu-users mailing list