DIGIT-ARC read-only archive · snapshot: July 23, 2026

Install GRUB loader

10 posts · originally from https://geek.digit.in/community/threads/install-grub-loader.78780/

Ishan
Ishan Original post #1
Jan 22, 2008 at 5:30 PM
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
Jan 22, 2008 at 7:53 PM
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
Rahim #3
Jan 22, 2008 at 9:12 PM
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.
P
Jan 22, 2008 at 9:20 PM
u can also use super grub disk...it's very handy
Ishan
Ishan #5
Jan 23, 2008 at 9:10 AM
Ok Thank you I'll try that and tell u later...Bye
A
adi007 #6
Jan 23, 2008 at 12:18 PM
the best solution is to use grub for windows ..i am currently using this..
link ..
linux.softpedia.com/get/System/Boot/GRUB-for-DOS-3507.shtml
after u use this no need to worry about the missing grub no need to fear to reinstall windows...
if u have any doubt using it post it here..
i have some what become a expert in using GRUB-for-DOS :D
skghosh44
Feb 9, 2008 at 6:25 PM
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.
Dark Star
Feb 9, 2008 at 7:12 PM
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.

+1 This is the best way . Use this to install GFX Grub *www.thinkdigit.com/forum/showthread.php?t=78481
skghosh44
Feb 9, 2008 at 7:33 PM
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
shady_inc #10
Feb 10, 2008 at 2:14 PM
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.