Linux + Windows install question

Star nhstar at gmail.com
Sat Oct 29 11:30:01 EDT 2005


On 10/27/05, Peter <vote4pedro at fastmail.us> wrote:
>
> I am going to be installing Linux (Debian) on a new HD. I also have a
> Windows HD that will likely make it onto that machine.


Currently, I'm running debian on my first drive and xp on my second. I have
it setup that way so that I only need to either change the disk in BIOS or
remove it entirely and whatever's in there will boot as normal.

Since Debian and grub both exist on the first disk, and XP ~really~ likes
only booting from the first disk, there's two more lines in grub's
menu.lstfile, the "map" instruction. As I recall it, it informs
windows that "No,
really, you're on the first hard disk." It's not really much of a kludge if
you ask me, no more so than having to point it to the write drive.

The boot entries in my file look like

## Begin file clip
title Debian GNU/Linux, kernel 2.6.12
root (hd0,0)
kernel /vmlinuz-2.6.12 root=/dev/hda3 ro vga=791 splash=silent
initrd /initrd.img-2.6.12
savedefault
boot

title Microsoft Windows XP Professional
map (hd0) (hd1)
map (hd1) (hd0)
root (hd1,0)
savedefault
makeactive
chainloader +1
## End file clip

Hope it helps.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.gnhlug.org/mailman/private/gnhlug-discuss/attachments/20051029/1c302cee/attachment.html


More information about the gnhlug-discuss mailing list