Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 105013 - flawed dual boot entry in bootloader configuration
Summary: flawed dual boot entry in bootloader configuration
Status: RESOLVED FIXED
Alias: None
Product: [OLD] Docs-user
Classification: Unclassified
Component: Other (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Shyam Mani (RETIRED)
URL: http://www.gnu.org/software/grub/manu...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-09-06 06:23 UTC by Łukasz Damentko (RETIRED)
Modified: 2005-09-09 01:30 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
faq.xml.patch (faq.xml.patch,2.01 KB, patch)
2005-09-07 03:10 UTC, Łukasz Damentko (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Łukasz Damentko (RETIRED) gentoo-dev 2005-09-06 06:23:04 UTC
I've heard lots of whining from users who can't do dual booting of Gentoo and
Windows (many newbies want something like that). My idea is that we should
include information from URL i provided in one of three places: faq.xml,
grub-error-guide.xml or bootloader chapter of handbook (preferred), where's
mentioned how to dual boot Windows but current entry is broken and won't allow
them to do that. If we decided to tell users what to put inside grub.conf for
Windows, it should be something that actually works, right? 

Waiting input what other doc devs think about that. :)

Few links to make your life easier:
http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=1&chap=10
http://www.gentoo.org/doc/en/faq.xml
http://www.gentoo.org/doc/en/grub-error-guide.xml

Proposed entry should be very similar to grub help page, link to that page also
will do.
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2005-09-06 12:08:50 UTC
(In reply to comment #0)
> or bootloader chapter of handbook (preferred), where's
> mentioned how to dual boot Windows but current entry is broken and won't allow
> them to do that. If we decided to tell users what to put inside grub.conf for
> Windows, it should be something that actually works, right? 

Hmm, could you explain what's broken in that entry in handbook? That's exactly
what I've been using for years (except that partition numbers differ here, of
course)...
Comment 2 SpanKY gentoo-dev 2005-09-06 12:35:45 UTC
yeah, the code listing 3 (grub.conf for non-genkernel users) i pretty much copy
and paste for all my machines and other than changing the obvious (partition
#'s) to suite my setup, i dual boot Win2000/WinXP/FreeDOS with Gentoo
Comment 3 Shyam Mani (RETIRED) gentoo-dev 2005-09-06 12:47:34 UTC
(In reply to comment #2)

> yeah, the code listing 3 (grub.conf for non-genkernel users) i pretty much copy
> and paste for all my machines and other than changing the obvious (partition
> #'s) to suite my setup, i dual boot Win2000/WinXP/FreeDOS with Gentoo

Same here, same code listing, I dual boot Gentoo/Win2000 and have used the same
config on a friend's box Gentoo/WinXP without any hassles....

Comment 4 Łukasz Damentko (RETIRED) gentoo-dev 2005-09-06 15:05:54 UTC
You didn't read link. It's not about current entry being bad. It's about not
mentioning that you need additional things when Windows is not at first disk
which is very common situation.
Comment 5 Chris White (RETIRED) gentoo-dev 2005-09-06 15:26:51 UTC
I don't see much of an issue with this.  The problem at hand is that even 
though the mbr points to the bootable section of the secondary (third, blah 
etc) disk, windows fails to boot.  With the url mentioned technique, that disk 
iis made to look like it exists on the first disk (or something) and it Just 
Works(tm).   
 
Probably the best thing to do would be for rane to post his grub.conf file to 
show an example of how it's setup for better imagery. 
Comment 6 Łukasz Damentko (RETIRED) gentoo-dev 2005-09-06 15:43:08 UTC
I just want a mention "If you have Windows on second, third, fourth, or so disk,
please add that remap entry to make it load properly: <pre>$entry</pre>. Details
why you do that are in this $link. If you don't do that, Windows will just show
black screen and refuse to load."

Same thing in lilo and in grub sections.

Lilo's example with Windows at hdb and Gentoo at hda (mine home machine, works
perfect with that entry, without it just shows black screen):

other=/dev/hdb1
        label=Windows
        table=/dev/hdb
        map-drive = 0x80
        to = 0x81
        map-drive = 0x81
        to = 0x80


grub.conf sample of same situation with two hardrives and Windows at second one
(which is most common):

title Windows XP
        map (hd1) (hd0)
        map (hd0) (hd1)
        rootnoverify (hd1,0)
        chainloader +1

It's just the way Windows works, not my fault that it breaks when it shouldn't
and that mention for sure will make our users lifes easier. :)
Comment 7 Jose Luis Rivero (yoswink) (RETIRED) gentoo-dev 2005-09-06 18:10:40 UTC
My vote goes for:

- This info is useful and is a common problem (imho) so should be added.
- We should keep the handbook as small as we can so only relevant info goes
there, this looks more like an specific error from out of Gentoo and have
nothing to do with the installation so ... anywhere would be nice but not the
handbook.

Comment 8 Łukasz Damentko (RETIRED) gentoo-dev 2005-09-06 18:17:04 UTC
My vote goes for faq.xml now, will bug you with patch soon.
Comment 9 Łukasz Damentko (RETIRED) gentoo-dev 2005-09-07 03:10:08 UTC
Created attachment 67817 [details, diff]
faq.xml.patch

Finally, proposed addition to faq.xml. :)
Comment 10 Shyam Mani (RETIRED) gentoo-dev 2005-09-09 00:33:11 UTC
faq seems a nice place for now...
Comment 11 Shyam Mani (RETIRED) gentoo-dev 2005-09-09 01:30:13 UTC
Fixed in CVS, this is under installation.