|
Linux Problem solving for all open source distributions of Linux, such as Debian/Ubuntu, Fedora, RedHat, Suse, Mandriva and other proprietary unixes such as Solaris, SGI Irix. Newbie friendly too! |
|
Topic Tools |
#1
|
|||
|
|||
Hey guys. I tried to be Billy Badass by dualbooting XP w/ Ubuntu 6.06, but after installing Ubuntu on my 2nd hard drive (the 250 gig) and rebooting, I kept getting a GRUB Error 22 message and the computer would just hang. I deleted the ext3 and linux swap partitions I used for Ubuntu, but GRUB is still the bootloader and now I can't get XP to load.
Below is the fdisk -l output: Quote:
|
#2
|
||||
|
||||
Grub is installed into the MBR of your hard drive. Deleting the linux partitions will not remove it. The only way to remove it is to either fill your MBR with 0's (erasing it completely) or install a new MBR record.
One thing you did do with deleting your linux partition was erase the grub configuration file, which is stored in /boot/grub of your linux slice. If you boot up your windows installation disk, choose the repair console, and log into your windows partition, running 'FIXBOOT' and then 'FIXMBR' should put your windows bootloader back on the disk. |
#3
|
|||
|
|||
Thanks for the fast response!
I tried using the install disk, but the GRUB bootloader message still came up. Should I set the boot order to start w/ the CD first, or the HD? |
#4
|
||||
|
||||
Your bios should boot the cdrom first, before booting your hard drive.
|
#5
|
|||
|
|||
No dice. No matter what I set it to, the Grub bootloader comes up and gives me the Error 21 message, then hangs.
Is setting up the bootloader to chainload Windows out of the question? Would reinstalling Ubuntu in its own partition give me access to the GRUB? |
#6
|
|||
|
|||
ok, I reinstalled Ubuntu. Here are the results from the fdisk -l:
Quote:
|
#7
|
||||
|
||||
Post your /boot/grub/menu.lst grub configuration file.
|
#8
|
|||
|
|||
Here ya go:
Quote:
|
#9
|
||||
|
||||
Is your windows installation on hda2, hda3, or hdd1?
|
#10
|
|||
|
|||
hda3 (long story)
|
#11
|
||||
|
||||
Would you mind telling the long story? It could be helpful.
|
#12
|
|||
|
|||
lol
Long story short: Last year I tried to dual boot XP Pro (on a new partition, D: ) w/ XP Home (residing on C: ), but wound up screwing up my C: Drive. PRo installed fine, so I kept it. I've just been too lazy to reinstall it on C:, so it resides on D:. So as you can see, I have something of a history of screwing up dual boots. LOL |
#13
|
||||
|
||||
When grub loads, select windows and press 'e' to edit this line. At the 'root' line, press 'e' to edit it, and change hd(0,2) to hd(0). Then press 'enter', and then 'b' to boot this configuration. See what happens. If that does not work, also try using 'hd(0,3)'.
|
#14
|
|||
|
|||
I should be doing all of this while logged into the live cd?
|
#15
|
||||
|
||||
No, you do it after the grub bootloader has loaded, but before you try booting windows/linux.
|
Bookmarks |
«
Previous Topic
|
Next Topic
»
|
|
Similar Topics | ||||
Topic | Topic Starter | Forum | Replies | Last Post |
can't get rid of grub | tez49 | Windows XP | 1 | February 11th, 2006 11:01 PM |
Grub | shaell | Linux | 1 | October 20th, 2005 06:33 PM |
Need Help With Grub. | TokiDaSada | Linux | 4 | July 14th, 2005 11:38 AM |
getting rid of GRUB | mouth_TKE | Linux | 5 | January 28th, 2005 01:37 AM |
Grub??? | salamifreak | Linux | 0 | August 6th, 2004 02:01 AM |
All times are GMT +1. The time now is 04:39 AM.