Discussion:
[SLE] Boot Problem with Windows XP (Grub)
m***@Safe-mail.net
2005-04-29 00:35:47 UTC
Permalink
Hi There!

I have the problem that i cant figure out why
Windows XP wont boot. I installed Suse 9.3 as
first OS and then I transfered with an Image
tool (True Image) my Windows Partition to
/dev/hde6 . By the way can grub handle Win XP
on a ntfs partition? I tryed after it didnt
worked - i made a new windows installation on
fat32 but it still wont boot.

I tryed to fix it with the yast module to do
the grub configuration and on the shell.
I used something like that and replaced x with
different numbers. Imho its root (hd0,6)

title Windoof XP
root (hd0,x)
makeactive
chainloader +1

----------------------------------------------------------

Device Boot Start End Blocks Id System
/dev/hde1 * 1 13 104391 83 Linux
/dev/hde2 14 274 2096482+ 82 Linux swap / Solaris
/dev/hde3 275 2885 20972857+ 83 Linux
/dev/hde4 2886 14946 96879982+ f W95 Ext'd (LBA)
/dev/hde5 2886 7584 37744686 83 Linux
/dev/hde6 7585 8419 6707106 b W95 FAT32
/dev/hde7 8420 13118 37744686 b W95 FAT32
/dev/hde8 13119 14946 14683378+ 7 HPFS/NTFS


<< ------------------------>>
Greetings from ... >>
Mr. Gates @ Suse Linux :=) >>
=============================
--
Check the headers for your unsubscription address
For additional commands send e-mail to suse-linux-e-***@suse.com
Also check the archives at http://lists.suse.com
Please read the FAQs: suse-linux-e-***@suse.com
Luca Mollica
2005-04-29 13:57:49 UTC
Permalink
Post by m***@Safe-mail.net
Hi There!
I have the problem that i cant figure out why
Windows XP wont boot. I installed Suse 9.3 as
first OS and then I transfered with an Image
tool (True Image) my Windows Partition to
/dev/hde6 . By the way can grub handle Win XP
on a ntfs partition? I tryed after it didnt
worked - i made a new windows installation on
fat32 but it still wont boot.
I tryed to fix it with the yast module to do
the grub configuration and on the shell.
I used something like that and replaced x with
different numbers. Imho its root (hd0,6)
title Windoof XP
root (hd0,x)
makeactive
chainloader +1
(My suggestion is to use shell editor like pico, vi etc.)

I think that the right solution should be

root (hd0,5)

according to the attached partition table.
Post by m***@Safe-mail.net
----------------------------------------------------------
Device Boot Start End Blocks Id System
/dev/hde1 * 1 13 104391 83 Linux
/dev/hde2 14 274 2096482+ 82 Linux swap / Solaris
/dev/hde3 275 2885 20972857+ 83 Linux
/dev/hde4 2886 14946 96879982+ f W95 Ext'd (LBA)
/dev/hde5 2886 7584 37744686 83 Linux
/dev/hde6 7585 8419 6707106 b W95 FAT32
/dev/hde7 8420 13118 37744686 b W95 FAT32
/dev/hde8 13119 14946 14683378+ 7 HPFS/NTFS
Your boot table seems to be very confused / overcrowded, and more than
one primary partition with Win/DOS could generate a bit confusion in
GRUB settings: hide and unhide commands have to be used to overcome this
confusion.
The GNU manual seems to esplain very well this concept:

http://www.gnu.org/software/grub/manual/grub.html#DOS%2fWindows

Nice GRUB!!

L
--
Check the headers for your unsubscription address
For additional commands send e-mail to suse-linux-e-***@suse.com
Also check the archives at http://lists.suse.com
Please read the FAQs: suse-linux-e-***@suse.com
m***@Safe-mail.net
2005-04-29 16:53:43 UTC
Permalink
Note for "Michael E. Jaggers" - i send you a BCC
copy of this mail (for background Informations)
and will answer your email directly after this one.
Maybe you can help me too -thanks!
Post by Luca Mollica
Post by m***@Safe-mail.net
Hi There!
I have the problem that i cant figure out why
Windows XP wont boot. I installed Suse 9.3 as
first OS and then I transfered with an Image
tool (True Image) my Windows Partition to
/dev/hde6 . By the way can grub handle Win XP
on a ntfs partition? I tryed after it didnt
worked - i made a new windows installation on
fat32 but it still wont boot.
I tryed to fix it with the yast module to do
the grub configuration and on the shell.
I used something like that and replaced x with
different numbers. Imho its root (hd0,6)
title Windoof XP
root (hd0,x)
makeactive
chainloader +1
(My suggestion is to use shell editor like pico, vi etc.)
I already tryed by hand and with the yast module for grub.
Post by Luca Mollica
I think that the right solution should be
root (hd0,5)
I will keep it in my mind - but why you think its (hd0,5)
and not 0,6 ? I will give more details on the end of that
answer. I tryed 0,4 up to 0,7 and it didnt worked for me.
I got a other mail from a list user and i think he has right
that there isnt any grub problem - windows boot.ini seams to
be "wrong" because i transfered the system.

I just have not really a idea how to correct it that windows
xp can boot from the "new" partition hde6 with fat32 filesystem.

linux:~ # cat /mnt/winxp/boot/boot.ini
[boot loader]
timeout=30
default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS
[operating systems]
multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Professional" /fastdetect /NoExecute=OptIn
Post by Luca Mollica
according to the attached partition table.
Post by m***@Safe-mail.net
----------------------------------------------------------
Device Boot Start End Blocks Id System
/dev/hde1 * 1 13 104391 83 Linux
/dev/hde2 14 274 2096482+ 82 Linux swap / Solaris
/dev/hde3 275 2885 20972857+ 83 Linux
/dev/hde4 2886 14946 96879982+ f W95 Ext'd (LBA)
/dev/hde5 2886 7584 37744686 83 Linux
/dev/hde6 7585 8419 6707106 b W95 FAT32
/dev/hde7 8420 13118 37744686 b W95 FAT32
/dev/hde8 13119 14946 14683378+ 7 HPFS/NTFS
Your boot table seems to be very confused / overcrowded, and more than
one primary partition with Win/DOS could generate a bit confusion in
Okay here is the reason why i did that - maybe its
more clear for you with this few details.

1 = /boot (for linux)
2 = Linux Swap
3 = / Linux System
4 = In Use for Extended Partitions
5 = /home (more "Linux Only" space)
6 = Win XP (small fat32) just for OS
7 = Bigger fat32 (for both OS accessable)
8 = NTFS (only big Files over 4 GB that i
sometimes need on Windows)
Post by Luca Mollica
GRUB settings: hide and unhide commands have to be used to overcome this
confusion.
http://www.gnu.org/software/grub/manual/grub.html#DOS%2fWindows
I already visited this link before but thanks!
Post by Luca Mollica
Nice GRUB!!
L
Greets and thanks for your comments!
--
Check the headers for your unsubscription address
For additional commands send e-mail to suse-linux-e-***@suse.com
Also check the archives at http://lists.suse.com
Please read the FAQs: suse-linux-e-***@suse.com
m***@Safe-mail.net
2005-04-29 17:05:50 UTC
Permalink
Hello!

I sended you a BCC from a other mail with the
same problem that i answered - to give you more
background details about this problem. I checked
the boot.ini and it seams that you have 100 % right.
I thought that grub "override" OS Settings and bring
it up booting correctly.

With fdisk on linux i checked the partition table.
It is this one here ...

Device Boot Start End Blocks Id System
/dev/hde1 * 1 13 104391 83 Linux
/dev/hde2 14 274 2096482+ 82 Linux swap / Solaris
/dev/hde3 275 2885 20972857+ 83 Linux
/dev/hde4 2886 14946 96879982+ f W95 Ext'd (LBA)
/dev/hde5 2886 7584 37744686 83 Linux
/dev/hde6 7585 8419 6707106 b W95 FAT32
/dev/hde7 8420 13118 37744686 b W95 FAT32
/dev/hde8 13119 14946 14683378+ 7 HPFS/NTFS

Windows is on /dev/hde6 and should start there.

The boot.ini is (if i understand it correctly)
configured to let windows boot from the 1. Partition
(Device C called by Mr Gates :).

linux:~ # cat /mnt/winxp/boot/boot.ini
[boot loader]
timeout=30
default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS
[operating systems]
multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Professional" /fastdetect /NoExecute=OptIn

I am not really sure how the boot loader count the
partition numbers and what i need to update that it
can boot from /dev/hde6 correctly.

Any idea how to fix? Thanks!


-------- Original Message --------
From: ""Michael E. Jaggers" <***@mindspring.com>" <***@mindspring.com>
To: ***@Safe-mail.net
Subject: Re: [SLE] Boot Problem with Windows XP (Grub)
Date: Thu, 28 Apr 2005 20:00:25 -0500 (GMT-05:00)
You probably need to look at boot.ini in the Windows XP partition. It has a syntax that references the partition that Windows is installed by an ordinal, so that it has to be modified if Windows XP is moved from the standard location. Most successful installations of Windows XP in a dual-boot configuration use the boot loader in Windows to act as the controller for the boot (i.e. install the Linux boot to the first Linux partition, not the MBR.)
Do a google for boot.ini and Windows.
It's been a while since I've done it, so...
Mike
-----Original Message-----
Sent: Apr 28, 2005 7:35 PM
Subject: [SLE] Boot Problem with Windows XP (Grub)
Hi There!
I have the problem that i cant figure out why
Windows XP wont boot. I installed Suse 9.3 as
first OS and then I transfered with an Image
tool (True Image) my Windows Partition to
/dev/hde6 . By the way can grub handle Win XP
on a ntfs partition? I tryed after it didnt
worked - i made a new windows installation on
fat32 but it still wont boot.
I tryed to fix it with the yast module to do
the grub configuration and on the shell.
I used something like that and replaced x with
different numbers. Imho its root (hd0,6)
title Windoof XP
root (hd0,x)
makeactive
chainloader +1
----------------------------------------------------------
Device Boot Start End Blocks Id System
/dev/hde1 * 1 13 104391 83 Linux
/dev/hde2 14 274 2096482+ 82 Linux swap / Solaris
/dev/hde3 275 2885 20972857+ 83 Linux
/dev/hde4 2886 14946 96879982+ f W95 Ext'd (LBA)
/dev/hde5 2886 7584 37744686 83 Linux
/dev/hde6 7585 8419 6707106 b W95 FAT32
/dev/hde7 8420 13118 37744686 b W95 FAT32
/dev/hde8 13119 14946 14683378+ 7 HPFS/NTFS
--
Check the headers for your unsubscription address
For additional commands send e-mail to suse-linux-e-***@suse.com
Also check the archives at http://lists.suse.com
Please read the FAQs: suse-linux-e-***@suse.com
John Scott
2005-04-29 19:21:05 UTC
Permalink
Boot into linux, mount /dev/hde6 and edit boot.ini with your favorite
editor (vi, pico, etc.). Change the (1) to (6), save, reboot and
choose Windows from the list. That (1) tells NTLDR where the system
files are located. NTLDR is looking at partition 1 which it can't
read since its a linux partition. BTW, your grub entry for Windows
should have root (hd0,5).

boot.ini entry:
[operating systems]
multi(0)disk(0)rdisk(0)partition(6)\WINDOWS="Microsoft Windows XP
Professional" /fastdetect
/NoExecute=OptIn

menu.lst entry:
title Windoof XP
root (hd0,5)
makeactive
chainloader +1

John
--
Check the headers for your unsubscription address
For additional commands send e-mail to suse-linux-e-***@suse.com
Also check the archives at http://lists.suse.com
Please read the FAQs: suse-linux-e-***@suse.com
m***@Safe-mail.net
2005-04-29 22:55:07 UTC
Permalink
Hi

I tryed that and replaced the numbers for partitions
in grub and&or the boot.ini . Something like "try and
error". No damn way - i get the error "error 12: invalid
device requested. It dont show me a bootup screen or anything
that looks like a booting windows ...

Device Manager Error Codes List - reports me this ...

This device cannot find enough free resources that it can use.
If you want to use this device, you will need to disable one
of the other devices on this system. (Code 12).

Recommended Resolution:

Two devices have been assigned the same input/output (I/O) ports,
the same interrupt, or the same Direct Memory Access channel (either
by the BIOS, the operating system, or a combination of the two).
This error message can also appear if the BIOS did not allocate enough
resources to the device (for example, if a universal serial bus (USB)
controller does not get an interrupt from the BIOS because of a corrupt Multiprocessor System (MPS) table). You can use Device Manager to determine
where the conflict is and disable the conflicting device. On the General Properties tab of the device, click Troubleshoot to start the troubleshooting wizard.


----- Some words from me here ---

Anyway - its a pain in my eyes but i guess that windows
is not able to boot from extended partitions. Imho i have
no other chance then install damn xp on a primary partition.

My last chance before i give up is that i can hide hde1-3
from the system and get it so configured that windows think
it run on the first partition.

THANKS FOR ALL FOR YOUR HELP!
Post by John Scott
Boot into linux, mount /dev/hde6 and edit boot.ini with your favorite
editor (vi, pico, etc.). Change the (1) to (6), save, reboot and
choose Windows from the list. That (1) tells NTLDR where the system
files are located. NTLDR is looking at partition 1 which it can't
read since its a linux partition. BTW, your grub entry for Windows
should have root (hd0,5).
[operating systems]
multi(0)disk(0)rdisk(0)partition(6)\WINDOWS="Microsoft Windows XP
Professional" /fastdetect
/NoExecute=OptIn
title Windoof XP
root (hd0,5)
makeactive
chainloader +1
John
--
Check the headers for your unsubscription address
Also check the archives at http://lists.suse.com
--
Check the headers for your unsubscription address
For additional commands send e-mail to suse-linux-e-***@suse.com
Also check the archives at http://lists.suse.com
Please read the FAQs: suse-linux-e-***@suse.com
Continue reading on narkive:
Loading...