![]() |
|
|
#1 |
![]() Join Date: Nov 2011
Location: UT,US
Posts: 196 (0.35/day)
Thanks: 8
Thanked 5 Times in 5 Posts
|
I was using the boot loader that ubuntu installed to load linux and windows xp individually, but after I tried to reinstall xp using a bootable usb drive it erased my boot loader information leaving xp as the only os to boot.
I want to know what are the commands that I need to input maybe inside a live ubuntu so I can use my existing ubuntu instalation as well as xp like it was before this accident. |
|
|
|
|
|
#2 |
![]() Join Date: Mar 2009
Posts: 490 (0.32/day)
Thanks: 0
Thanked 171 Times in 158 Posts
|
grub-install should do the trick.
|
|
|
|
|
|
#3 |
![]() Join Date: Nov 2011
Location: Hi! I'm from the Internet
Posts: 3,735 (6.97/day)
Thanks: 2,528
Thanked 2,441 Times in 1,468 Posts
|
Yes grub will work.
__________________
Crunchers : Phenom II x6 1090t / 2x Phenom II x6 1055t / Phenom II x4 970BE / “I always succed in my mission tho. Beer just delays it!” -ChaoticAtmosphere
“TPU is very mild, and I love to tell people I love them when they are being retarded, it makes me feel special in my special places. What was the point of this thread again? Oh well, I love all of you.” -Steevo
|
|
|
|
|
|
#4 |
![]() Join Date: Sep 2010
Location: Nonlocal location
Posts: 1,897 (1.92/day)
Thanks: 62
Thanked 822 Times in 525 Posts
|
If you have problems with grub here's a straightforward guide from ubuntu forums:
Open terminal and type sudo grub This will get you a "grub>" prompt (i.e. the grub shell). At grub>. enter this find /boot/grub/stage1 This will return a location. If you have more than one, select the installation that you want to provide the grub files. THIS IS IMPORTANT, whatever was returned for the find command use it in the next line (you are still at grub>. when you enter the next 3 commands) root (hd?,?) Again use the value from the find command i.e. if find returned (hd0,1) then you would enter root (hd0,1). Next enter the command to install grub to the mbr setup (hd0) Finally exit the grub shell quit That is it. Grub will be installed to the mbr. When you reboot, you will have the grub menu at startup. http://ubuntuforums.org/showthread.php?t=224351
__________________
...the young Universe was filled with a hot dense soup of interacting protons, electrons and photons at about 2700ºC. When the protons and electrons joined to form hydrogen atoms, the light was set free |
|
|
|
|
|
#5 |
![]() |
For simplicity, sake I use a CD called Boot-Repair-disk.
|
|
|
|
|
|
#6 |
![]() Join Date: Mar 2012
Location: Bandung, Indonesia
Posts: 363 (0.88/day)
Thanks: 103
Thanked 73 Times in 45 Posts
|
boot with the ubuntu installation cd, open terminal, find root hdd for linux booting and mbr hdd partition then mounting and re-mapping it to grub, finally re-installing grub by typing #grub-install /mount-dir/mapped-mbr-partition /dev/orig-mbr-partition.
note : if you have 2 different disk locations for linux partition and windows mbr partition, while on successfully grub booting you should edit grub parameter by pressing 'e' then do manual re-map linux root partition |
|
|
|
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Move Boot Loader? | sonnytiger | General Software | 1 | Feb 16, 2010 06:17 AM |
| How to delete Nvidia RAID Boot Loader and install new HD? | bud951 | General Hardware | 0 | Jan 31, 2010 03:48 AM |
| How do I remove the Linux Boot Loader? | vbx | Linux / BSD / Mac OS X | 3 | May 6, 2009 09:19 PM |
| issues with Boot Loader | ASRockIQ | General Software | 7 | Apr 30, 2009 11:57 PM |
| how to change the entry point for secondary boot loader? | Lucky443 | Linux / BSD / Mac OS X | 0 | Apr 9, 2009 04:56 AM |