Windows XP wont boot - Grub error

Questions about Grub, UEFI,the liveCD and the installer
Forum rules
Before you post please read this

Windows XP wont boot - Grub error

Postby Scunnered on Sun Sep 07, 2008 5:40 am

I have just loaded Elyssa from a DVD provided by Linux Format mag and like what I see so far with one exception.

When I boot from my USB external HD and attempt to select Windows the text shows Grub 1.5 followed by an error message 29 and then hangs.

I require to have access to XP as my partner is not convinced that Linux will fully meet her needs.

Can anyone offer a solution to my problem
Last edited by Scunnered on Sun Sep 07, 2008 3:24 pm, edited 1 time in total.
Scunnered
Level 1
Level 1
 
Posts: 10
Joined: Sun Sep 07, 2008 5:24 am

Linux Mint is funded by ads and donations.
 

Re: Windows XP wont boot - Grub error

Postby 67GTA on Sun Sep 07, 2008 11:54 am

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
"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

Postby Scunnered on Sun Sep 07, 2008 3:29 pm

67GTA

Many thanks for your reply. I hope that I have followed what you asked correctly.

I have saved the info to OpenOffice writer and hope that this will assist.
Attachments
BOOT QUEST.odt
(21.67 KiB) Downloaded 24 times
Scunnered
Level 1
Level 1
 
Posts: 10
Joined: Sun Sep 07, 2008 5:24 am

Re: Windows XP wont boot - Grub error

Postby 67GTA on Sun Sep 07, 2008 3:58 pm

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

Postby Scunnered on Wed Sep 10, 2008 1:42 pm

67GTA

Firstly please accept my apology for the delay in replying to you but between one thing and another I have been kept away from my system

I hope I have followed your request properly this time

This is what was displayed

Usage: fdisk [-b SSZ] [-u] DISK Change partition table
fdisk -l [-b SSZ] [-u] DISK List partition table(s)
fdisk -s PARTITION Give partition size(s) in blocks
fdisk -v Give fdisk version
Here DISK is something like /dev/hdb or /dev/sda
and PARTITION is something like /dev/hda7
-u: give Start and End in sector (instead of cylinder) units
-b 2048: (for certain MO disks) use 2048-byte sectors

For information when I save this to my external drive it works OK but when I attempt to access Windows XP from my internal drive it will not respond displaying the error message.

To let my partner use XP I have been forced to do a restore and fixmbr and when this is done it appears that Grub is trashed by Doz (surprise surprise). I have performed the exercise 3 times and in each instance the result is the same.

I had on my initial setup downloaded about 11GB of photos and when I was unable to boot Mint I accessed the drive via Puppy and found that everything that I had downloaded was there but as I was unable to boot I came to the conclusion the Grub had been trashed.

Hope this will be enough to assist me as I like what I see and want to take matters further.
Scunnered
Level 1
Level 1
 
Posts: 10
Joined: Sun Sep 07, 2008 5:24 am

Re: Windows XP wont boot - Grub error

Postby 67GTA on Wed Sep 10, 2008 1:57 pm

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

Postby Scunnered on Wed Sep 10, 2008 3:56 pm

Tried again and got this :

Disk /dev/sda: 320.0 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xe760e760

Device Boot Start End Blocks Id System
/dev/sda1 * 1 38912 312560608+ 7 HPFS/NTFS

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

Device Boot Start End Blocks Id System
/dev/sdb1 1 60068 482496178+ 83 Linux
/dev/sdb2 60069 60801 5887822+ 5 Extended
/dev/sdb5 60069 60801 5887791 82 Linux swap / Solaris

How does this suit
Scunnered
Level 1
Level 1
 
Posts: 10
Joined: Sun Sep 07, 2008 5:24 am

Re: Windows XP wont boot - Grub error

Postby 67GTA on Wed Sep 10, 2008 4:39 pm

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
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

Postby Scunnered on Wed Sep 10, 2008 5:35 pm

I can confirm that the NTFS partition has the boot flag check marked.

Running sudo grub produced :

[ Minimal BASH-like line editing is supported. For
the first word, TAB lists possible command
completions. Anywhere else TAB lists the possible
completions of a device/filename. ]

grub> find /boot/grub/stage1
(hd1,0)

Hope this is clear to you as it leaves me totally confused.

Edit. I managed to download the manual and found about the update. There were a number of these to be downloaded which I did. Now when I boot the Grub display shows up as expected but this time when I select XP it displays "error 29 disk write error and when I click on the display this time rather than doing nothing it reverts to the Grub display. Hope this assists
Scunnered
Level 1
Level 1
 
Posts: 10
Joined: Sun Sep 07, 2008 5:24 am

Linux Mint is funded by ads and donations.
 

Return to Installation & Boot

Who is online

Users browsing this forum: TTW and 10 guests