Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 09-29-2007, 02:03 PM   #1
Registered: Mar 2007
Location: New Jersey, USA
Distribution: Archlinux
Posts: 165

Rep: Reputation: 30
Hang at grub loading +1 Vista in a logical partition

I'm not sure this thread is in the right forum...couldn't find an installation forum.

My problem is that when grub loads "chainloader +1" to load Vista (which is located in a logical partition), everything hangs.

This is my partition table setup:

|<-----------------------DISK: /dev/sda (hd0)------------------------->|
................FAT16 100MB|
.............................|NTFS 4GB|SWAP|/ (root)|VISTA|/home/|FAT32|

Disk /dev/sda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

/dev/sda1,,,*,,,,,,,,,,,1,,,,,,,,,,13,,,,,,104391,,,de,,Dell Utility
/dev/sda3,,,,,,,,,,,,,,27,,,,,,,19457,,,156079507+,,,f,,W95 Ext'd (LBA)
/dev/sda7,,,,,,,,,,,,,664,,,,,,,,1045,,,,,3068383+,,82,,Linux swap / Solaris
/dev/sda10,,,,,,,,,,16982,,,,,,,19457,,,,19888438+,,,b,,W95 FAT32

DELL UTILITY is required for dell warranty (i think)
FAT16 100MB is to put grub in, and this is where grub "a" is installed (more in a sec).
NTFS 4GB is for Windows Vista Virtual Memory
(closer to the front of the disk for faster transfer rate)
SWAP is for SUSE, same reason as Windows Virtual Memory
/root is for SUSE grub "b" is installed here
VISTA is windblows
home is home
FAT32 is interOS storage.

the partitions in the extended parition are arranged for performance (i only have a 5400 RPM disk, this arragement lets SUSE fly)

ok: I did not want to change the dell factory MBR, so this is what i tried to do:

the windows mbr will automatically boot the active parition, which must be primary, so I made the FAT16 100MB as the active and installed grub "a" there, using this guide (

then, I pointed that grub to grub "b", which is on the SUSE / root. (I have the main grub there, because when SUSE does kernel updates it can automatically change the grub loader there).

grub "b" has an entry:

title Windows Vista
root (hd0,4)
chainloader +1

however, this doesn't work. when it boots, the system hangs, just showing the root and chainloader entries.

can someone tell me how to make grub boot into Windows Vista installed on a logical partition?

(yes, I did try reinstalling Vista, because it might have stopped booting because of vista's anti paritioning problems, but that did not fix it)

[the boot process is: WINDOWS MBR -> ACTIVE FAT16 100MB-> GRUB "a" -> GRUB "b" -> Windows Vista (hang here)

thanks everybody!

Last edited by lambchops468; 09-29-2007 at 02:15 PM.
Old 09-29-2007, 02:57 PM   #2
Registered: Mar 2007
Location: New Jersey, USA
Distribution: Archlinux
Posts: 165

Original Poster
Rep: Reputation: 30
on second thought...i solved it. i simply can't tell grub to chainload vista, because when vista installs in a logical partition, it places the boot manager files for windows in the root of the drive, which in my case ins DELL UITLITY.

great. windows vista just defeated the entire point of keeping the mbr original, and the diagnostics intact (because booting diagnostics yeilds VISTA!!)


Last edited by lambchops468; 09-29-2007 at 11:57 PM.
Old 09-30-2007, 11:28 AM   #3
Senior Member
Registered: Sep 2005
Location: Newcastle upon Tyne UK
Distribution: Any free distro.
Posts: 3,398
Blog Entries: 1

Rep: Reputation: 112Reputation: 112
I could be wrong on this but your Vista is boot from its boot loader residing in sda1 and so the chainloading can only work with (hd0,0) or sda1.

When you chainload an operating system you do not boot that system. You simply boot up its boot loader and pass the control over to it.
Old 09-30-2007, 10:45 PM   #4
Registered: Mar 2007
Location: New Jersey, USA
Distribution: Archlinux
Posts: 165

Original Poster
Rep: Reputation: 30
yes, i know.

i booted /dev/sda1 and instead of dell diagnostics, it booted vista

i no longer use the crazy parition would be too much to maintain, when i change OSes.

btw...i should thank you for all the help. When i was doing google searches your name popped up everywhere.

Last edited by lambchops468; 10-01-2007 at 07:00 PM.


grub, logical, mbr, partition, vista

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Grub Loading stage2.... (hang) zdenisl Linux - Software 8 02-23-2011 04:24 AM
GRUB/boot problems after deleting extra Windows logical partition atoms999 Linux - Newbie 7 03-15-2007 10:52 PM
Can Grub /LILO be installed on the logical partition? canaan Linux - Newbie 13 12-19-2005 10:18 PM
Add logical ntfs partition to GRUB loader ! Bonch Debian 1 12-09-2004 11:01 AM
grub stage 2 file on logical partition? Samsara Linux - Newbie 2 02-12-2004 04:47 PM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 03:39 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration