[plug] Windows XP and Debian
Quintin Lette
quintin at arach.net.au
Sun Mar 16 11:50:23 WST 2003
You need to actually copy the boot sector into a file and boot that with Lilo
(or NT loader), unfortunately I haven't done this for years, so I can't
remember how to do it with Lilo or NT loader.
I haven't actually used it on Debian, but Grub makes your life so much easier
for dual booting NT systems and Linux.
example config for grub would be
default 0
timeout 8
title linux
kernel (hd0,1)/boot/vmlinuz root=/dev/hda2
initrd (hd0,1)/boot/initrd
title floppy
root (fd0)
chainloader +1
title Windows XP
map (hd0) (hd1)
map (hd1) (hd0)
rootnoverify (hd1,0)
chainloader +1
makeactive
obviously modifying the linux entry to find your kernel.
copying your old bootsector to floppy would be wise, then if it doesn't work
you can put that floppy in and choose floppy under grub (or boot from it)
HTH
Quintin
On Sun, 16 Mar 2003 11:27 am, I am the LinuxAlien wrote:
> I am currently running both Windows XP and Debian. They are on separate
> disks, Debian on /dev/hda and XP on /dev/hdd. I installed it like
> recommended on the web and disconnected /dev/hda when I installed XP. I
> wish to be able to boot ether XP or Debian through a boot loader and am
> currently using lilo installed on /dev/hda. I can boot XP by selecting
> "IDE-1"as the boot device on the bios and I can boot Debian through lilo by
> selecting "IDE-0" as the boot device. I have tried to add XP to lilo but
> can't. If I add:
>
> other = /dev/hdd
> label = "XP"
>
> Then it says there is not bootable disk...
> If I add:
>
> Other = /dev/hdd1
> Label = "XP"
>
> Then it sits there doing nothing.
> The XP partition is set as bootable(active) on its drive.
> Any help would be appreciated as I don't like going into the bios every
> time i need to swap OSs.
> I have set 'root = /dev/hda8' globally in the lilo.conf file, could this be
> causing this?
> Thanks
> Tim
> p.s. I don't need to here a saga on how to get rid of XP and so on. I
> require a Windows version (NT) for work and XP is the current one i am
> using.
>
> LinuxAlien
>
> Riverton, Perth, WA
More information about the plug
mailing list