Windows XP wont boot - Grub error

Questions about Grub, UEFI,the liveCD and the installer
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
User avatar
67GTA
Level 6
Level 6
Posts: 1301
Joined: Wed Jun 06, 2007 9:49 pm
Location: Kentucky, USA

Re: Windows XP wont boot - Grub error

Post by 67GTA »

There have been problems with the Ubuntu ubiquity installer not assigning external drives correctly. Open a terminal (with the external drive plugged in) and post the output of

Code: Select all

sudo fdisk -l
Also post a copy of /boot/grub/menu.lst and /etc/fstab
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
"The only thing necessary for the triumph of evil is for good men to do nothing." Edmund Burke
User avatar
67GTA
Level 6
Level 6
Posts: 1301
Joined: Wed Jun 06, 2007 9:49 pm
Location: Kentucky, USA

Re: Windows XP wont boot - Grub error

Post by 67GTA »

You need to run the fdisk command again. Just copy and paste this into a terminal

Code: Select all

sudo fdisk -l
You can just copy and paste it here if you want.
"The only thing necessary for the triumph of evil is for good men to do nothing." Edmund Burke
User avatar
67GTA
Level 6
Level 6
Posts: 1301
Joined: Wed Jun 06, 2007 9:49 pm
Location: Kentucky, USA

Re: Windows XP wont boot - Grub error

Post by 67GTA »

It looks like you are just running

Code: Select all

fdisk
You need to run the exact command as I have it right here

Code: Select all

sudo fdisk -l
It should show all of your drives like this:

Disk /dev/sda: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x02bf1904

Device Boot Start End Blocks Id System
/dev/sda1 * 1 12748 102398278+ 7 HPFS/NTFS
/dev/sda2 12749 12781 265072+ 82 Linux swap / Solaris
/dev/sda3 12782 60801 385720650 83 Linux
"The only thing necessary for the triumph of evil is for good men to do nothing." Edmund Burke
User avatar
67GTA
Level 6
Level 6
Posts: 1301
Joined: Wed Jun 06, 2007 9:49 pm
Location: Kentucky, USA

Re: Windows XP wont boot - Grub error

Post by 67GTA »

That's what I needed. It all looks good to me. Do you know if the windows drive has the boot flag on? Boot into Mint, plug in your drive, and open the partition editor. Menu>Administration>Partition Editor. In the right top corner will be a drop down menu. Use that to select your Windows drive. Right click on the partition and select "Manage Flags". Make sure the boot flag is checked. If it wasn't checked before, it should boot after it is checked. If it was already checked, then the problem might be with grub. Open a terminal and run these one at a time:

Code: Select all

sudo grub

Code: Select all

find /boot/grub/stage1
Post the results.
"The only thing necessary for the triumph of evil is for good men to do nothing." Edmund Burke
Locked

Return to “Installation & Boot”