View Full Version : Install GRUB loader
Ishan
22-01-2008, 05: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
22-01-2008, 07: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
rahimveron
22-01-2008, 09:12 PM
1: Boot with a Live CD
2: Open a Terminal
3:Typesudo grub
4:Typefind /boot/grub/stage1
5:Typeroot (hd?,?). Substitute (hd?,?) with results of Step4
6:Typesetup (hd0)
7:Quit the Terminalquit
Now Reboot and your Grub will be restored.
purujitb
22-01-2008, 09:20 PM
u can also use super grub disk...it's very handy
Ishan
23-01-2008, 09:10 AM
Ok Thank you I'll try that and tell u later...Bye
adi007
23-01-2008, 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
09-02-2008, 06: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
09-02-2008, 07:12 PM
1: Boot with a Live CD
2: Open a Terminal
3:Typesudo grub4:Typefind /boot/grub/stage15:Typeroot (hd?,?). Substitute (hd?,?) with results of Step4
6:Typesetup (hd0)7:Quit the TerminalquitNow Reboot and your Grub will be restored.
+1 This is the best way . Use this to install GFX Grub http://www.thinkdigit.com/forum/showthread.php?t=78481
skghosh44
09-02-2008, 07: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
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
10-02-2008, 02:14 PM
1: Boot with a Live CD
2: Open a Terminal
3:Typesudo grub
4:Typefind /boot/grub/stage1
5:Typeroot (hd?,?). Substitute (hd?,?) with results of Step4
6:Typesetup (hd0)
7:Quit the Terminalquit
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.
vBulletin® v3.7.0, Copyright ©2000-2008, Jelsoft Enterprises Ltd.