• CONTEST ALERT - Experience the power of DDR5 memory with Kingston Click for details

Install GRUB loader

Status
Not open for further replies.

Ishan

In the zone
I've installed XP, Vista and Ubuntu in my laptop
int the boot loader it first provides me two option
1.Ubuntu.....will boot in linux
2. Vista loader
In vista loa
der i am provided with
1. Earlier verson of Windows...boot to XP
2. Windows Vista......boot to Vista


Now as i want to reinstall Vista, Obviously my GRUB loader will e removed...
So then if i want to boot to ubuntu again what should i do?
How do i install GRUB?
 

hellknight

BSD init pwns System V
Follow these steps:-
Pop in the installation disc of Ubuntu and restart your pc
after that go to the rescue mode in ubuntu, you'll see that below the Installation selection
after your boot in the rescue mode, type grub
then type "install (hd0,1)

Grub should be restored,

you can also try searching the Ubuntuforums
 

Rahim

Married!
1: Boot with a Live CD
2: Open a Terminal
3:Type
Code:
sudo grub
4:Type
Code:
find /boot/grub/stage1
5:Type
Code:
root (hd?,?)
. Substitute (hd?,?) with results of Step4
6:Type
Code:
setup (hd0)
7:Quit the Terminal
Code:
quit
Now Reboot and your Grub will be restored.
 

skghosh44

dig_boy_dig,dig !
I have installed a NEW HDD with Win XP SP3. There is Ubuntu in another HDD. Win Xp in primary HDD and Ubuntu in slave. As the XP in primary system boots in XP I tried to restore GRUB by a third party software "UNetbootin Super Grub Disk Loader" and it install the GRUB in the primary HDD. But when I select OS as Ubuntu, it displays msg " no such partition" like this. Now how can I rectify this problem. If i mannualy change the partition as (hd0,hd9) will it solve the problem.
Note : Ubuntu is in HD partition 9 and swap in hd part 8.
 

skghosh44

dig_boy_dig,dig !
I have solved the problem other way -

1. Booted the system with Live CD
2. Manulay search all the drive to find the folder "boot/grub/menu.lst"
3. Right click on menu.lst> click copy
4. open Terminal> click paste (here pasted /media/disk-?/boot/grub/menu.lst
5. preceded the pasted command with "gksu gedit"
6. final command
Code:
gksu gedit /media/disk-?/boot/grub/menu.lst

7. menu.lst files open and change the value of {hd0,?} to (hd1,?} for all the ubuntu boot sequence except the Windows OS, rebooted the system and the problem solved for grub loader.

UTMOST CARE should be taken to modify Menu.lst file else it may not be start Win OS also. Always keep bakup of menu.lst file before doing any alteration.
 

shady_inc

Pee into the Wind...
1: Boot with a Live CD
2: Open a Terminal
3:Type
Code:
sudo grub
4:Type
Code:
find /boot/grub/stage1
5:Type
Code:
root (hd?,?)
. Substitute (hd?,?) with results of Step4
6:Type
Code:
setup (hd0)
7:Quit the Terminal
Code:
quit
Now Reboot and your Grub will be restored.
Best and most Hassle-free method.Have used it 2 times, once after Vista install and second time after Sabayon install.
 
Status
Not open for further replies.
Top Bottom