Forum     

Go Back   Digit Technology Discussion Forum > Software > Open Source
Register FAQ Calendar Mark Forums Read

Open Source A place where you can talk to like-minded people about the fastest growing software movement today! Discuss anything and everything about Open Source software and Operating Systems.

Closed Thread
 
LinkBack Thread Tools Display Modes
Old 22-01-2008, 05:30 PM   #1 (permalink)
In The Zone
 
Ishan's Avatar
 
Join Date: Jun 2005
Location: Bharuch,Gujarat,India
Posts: 366
Lightbulb Install GRUB loader

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?
__________________
When was the last time when you did something for the first time?
So many words for the broken heart.....

for world wars. ishangajera.blogspot.com
Ishan is offline  
Advertisements. Register and be a member of the community to get rid of them.
Advertisement

Old 22-01-2008, 07:53 PM   #2 (permalink)
BSD init pwns System V
 
hellknight's Avatar
 
Join Date: Sep 2006
Location: atapi.sys as Stuxnet
Posts: 1,076
Default Re: Install GRUB loader

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
hellknight is offline  
Old 22-01-2008, 09:12 PM   #3 (permalink)
Married!
 
Rahim's Avatar
 
Join Date: Apr 2007
Location: Calcutta
Posts: 1,515
Default Re: Install GRUB loader

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.
__________________
|| GNU/Linux User || PCLOS KDE 4.6 || 17" DELL Studio ||

topdocumentaryfilms.com
Rahim is offline  
Old 22-01-2008, 09:20 PM   #4 (permalink)
Apprentice
 
Join Date: May 2006
Posts: 84
Default Re: Install GRUB loader

u can also use super grub disk...it's very handy
purujitb is offline  
Old 23-01-2008, 09:10 AM   #5 (permalink)
In The Zone
 
Ishan's Avatar
 
Join Date: Jun 2005
Location: Bharuch,Gujarat,India
Posts: 366
Default Re: Install GRUB loader

Ok Thank you I'll try that and tell u later...Bye
__________________
When was the last time when you did something for the first time?
So many words for the broken heart.....

for world wars. ishangajera.blogspot.com
Ishan is offline  
Old 23-01-2008, 12:18 PM   #6 (permalink)
Alpha Geek
 
adi007's Avatar
 
Join Date: Sep 2007
Location: hassan
Posts: 714
Default Re: Install GRUB loader

the best solution is to use grub for windows ..i am currently using this..
link ..
http://linux.softpedia.com/get/Syste...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
__________________
☼ onlyfreewares.info ► Onlyfreewares...Nothing Else !!
☼ regtweak.info ► Windows Registry hacks and tricks
☼ blog.aditech.info ► There is something for everyone
adi007 is offline  
Old 09-02-2008, 06:25 PM   #7 (permalink)
dig_boy_dig,dig !
 
skghosh44's Avatar
 
Join Date: Sep 2006
Location: Birth Place of IOCL
Posts: 414
Default Re: Install GRUB loader

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.
__________________
________________________________________________
I like signature after 10 P.M.
skghosh44 is offline  
Old 09-02-2008, 07:12 PM   #8 (permalink)
Wise Old Owl
 
Dark Star's Avatar
 
Join Date: Feb 2006
Location: /dev/hd0
Posts: 1,487
Default Re: Install GRUB loader

Quote:
Originally Posted by rahimveron View Post
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 How to : Install GFX Grub In Ubuntu !
__________________
Me Myself and My Tux Blog :- http://tuxenclave.wordpress.com/
Dark Star is offline  
Old 09-02-2008, 07:33 PM   #9 (permalink)
dig_boy_dig,dig !
 
skghosh44's Avatar
 
Join Date: Sep 2006
Location: Birth Place of IOCL
Posts: 414
Default Re: Install GRUB loader

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.
__________________
________________________________________________
I like signature after 10 P.M.
skghosh44 is offline  
Old 10-02-2008, 02:14 PM   #10 (permalink)
Pee into the Wind...
 
shady_inc's Avatar
 
Join Date: May 2007
Location: Mumbai
Posts: 782
Default Re: Install GRUB loader

Quote:
Originally Posted by rahimveron View Post
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.
__________________
Life is as complicated as you say it is.
shady_inc is offline  
Closed Thread

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Ubuntu 6.06 - Grub loader failed..!! prasad_den Open Source 18 06-12-2006 09:59 PM
Recovering My Linux Boot Loader (GRUB)? paragkalra Open Source 4 07-07-2006 01:52 PM
Removing GRUB loader of SuSE 9.1?? //siddhartha// Open Source 9 11-06-2006 08:55 PM
Remove GRUB Boot Loader wtf Open Source 8 10-08-2005 05:02 PM
grub boot loader query niranjan_mcarenyold Open Source 6 13-06-2005 12:30 AM


All times are GMT +5.5. The time now is 09:07 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.

Search Engine Optimization by vBSEO 3.3.2