|
#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.
__________________
Tips for Linux Newcommers If we have helped you, please consider supporting Cyber Tech Help with a subscription.
|
|
#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.
__________________
Tips for Linux Newcommers If we have helped you, please consider supporting Cyber Tech Help with a subscription.
|
|
#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.
__________________
Tips for Linux Newcommers If we have helped you, please consider supporting Cyber Tech Help with a subscription.
|
|
#8
|
|||
|
|||
|
Here ya go:
Quote:
|
|
#9
|
||||
|
||||
|
Is your windows installation on hda2, hda3, or hdd1?
__________________
Tips for Linux Newcommers If we have helped you, please consider supporting Cyber Tech Help with a subscription.
|
|
#10
|
|||
|
|||
|
hda3 (long story)
|
|
#11
|
||||
|
||||
|
Would you mind telling the long story? It could be helpful.
__________________
Tips for Linux Newcommers If we have helped you, please consider supporting Cyber Tech Help with a subscription.
|
|
#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)'.
__________________
Tips for Linux Newcommers If we have helped you, please consider supporting Cyber Tech Help with a subscription.
|
|
#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.
__________________
Tips for Linux Newcommers If we have helped you, please consider supporting Cyber Tech Help with a subscription.
|
![]() |
| Bookmarks |
«
Previous Topic
|
Next Topic
»
| Topic Tools | |
|
|
All times are GMT +1. The time now is 01:24 PM.
[
RSS ]









