Jump to content

Trying to get rid of grub...


wellerson

Recommended Posts

So... when i was installing the new version of ubuntu on my laptop(sony vaio) vgnfw250j i accidentally wrote over my windows partition... i still have a restore partition but it wont work because when it goes through the process restarts and says grub error 22 i need to reinstall the boot loader maybe? but how? please help im trying to reinstall windows and dual boot with ubuntu 9.04 thanks.

Link to comment
Share on other sites

Humm error 22, sounds like you messed up the ubuntu partition, in any case,

boot from a windows recovery disk (or windows boot disk and choose recovery console) and type

FIXBOOT
FIXMBR

that should sort it for the restore partition, but your loss grub

 

you could also try to keep grub

 

Boot off of the live CD

Open a Terminal

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

 

To Add windows to grub,

sudo gedit /boot/grub/menu.lst

 

and add

title   Windows XP
root   (hd0,0)
makeactive
chainloader   +1

 

hope that helps

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.