Grub restoring problem

Status
Not open for further replies.

The Outsider

Beneath The Eyelids
reinstalled windows and then tried to restore grub,

my root partition is /dev/hdb4

first i tried the Kubuntu Edgy alternate install cd from which i had installed the distro.
Entered the rescue mode and tried to install the grub on mbr (/dev/hdb), after 50% i got an error, "grub-install failed and returned with an error code 20", then with the same options i tried it on root partition (/dev/hdb4), same error.

then i tried the dapper live shipit cd.
"sudo grub-install /dev/hdb"
got an error "the file /boot/stage2 could not be read properly"

"sudo grub-install /dev/hdb4"
got the same error "the file /boot/stage2 could not be read properly"

tried the other thing
"sudo grub"
"setup /dev/hdb"
got some wierd error which said the same thing /boot/stage2 could not be read proerply.


btw, instead of "/dev/hd*" notation i tried every method with the grub notation i.e. "(hd0,4)" etc but the same errors.

thanks for your time mates.
 

QwertyManiac

Commander in Chief
Re: Grub restroing problem

A newbish way to restore grub is like this:

1. Boot your computerr with Ubuntu CD.
2. Go through the install process until you reach "[!!!] Disk Partition."
3. Select Manually Partition.
4. Mount the appropriate linux partions:
/
/boot
swap
DO NOT FORMAT THEM
5. Finish the manual partitioning.
6. Select "Yes" when it asks you to save the changes.
7. It will give you errors saying that "The system couldn't install ....." after that; ignore them. Proceed with selecting "continue" until you get back to the Ubuntu installation menu.
8. Jump to "Install GRUB."
9. Once it is finished, simply restart your computer.
 

bizzare_blue

Journeyman
Re: Grub restroing problem

QwertyManiac said:
A newbish way to restore grub is like this:

1. Boot your computerr with Ubuntu CD.
2. Go through the install process until you reach "[!!!] Disk Partition."
3. Select Manually Partition.
4. Mount the appropriate linux partions:
/
/boot
swap
DO NOT FORMAT THEM
5. Finish the manual partitioning.
6. Select "Yes" when it asks you to save the changes.
7. It will give you errors saying that "The system couldn't install ....." after that; ignore them. Proceed with selecting "continue" until you get back to the Ubuntu installation menu.
8. Jump to "Install GRUB."
9. Once it is finished, simply restart your computer.

U say that I should not format them...wen I uncheck the "reformat" option...it says that "/ and /boot" should b reformatted...how do I config this?
 
OP
The Outsider

The Outsider

Beneath The Eyelids
those instructions were for the alternate install cd not the live cd.

for live cd you can a do a grub-install from the terminal.
 
Status
Not open for further replies.
Top Bottom