Review your favorite Linux distribution.
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 10-31-2005, 08:24 AM   #1
Registered: Oct 2005
Distribution: SolydK, Linux Mint KDE, Debian
Posts: 180

Rep: Reputation: 30
Multiboot with Debian, Windows XP, and FreeDOS

Hi all. My current setup is with Debian on the first drive, XP on the second (that worked best, though I use XP more). The first drive is a 60gb, although with Debian I am using only a tenth of that and the rest is unpartitioned. I want to create a FAT32 partition and make a third boot option: FreeDOS (this would come in very handy for me). What I need to know is how to set up FreeDOS on the partition, and then how to configure the GRUB bootloader to add the option (this is probably the most important. The other I can probably figure out on my own).

The Windows XP was a bit of a trick, as I had to map/remap the drives in the bootloader. And I'm thinking that adding a third option may be even trickier.

Just for a recap, the current setup is:
hd0/0 - Bootloader and Debian 3.1
hd1/0 - Windows XP

Here's what I want:
hd0/0 - Bootloader and Debian 3.1
hd0/1 (or whatever it needs to be I guess) - FreeDOS
hd1/0 - Windows XP

Thanks for any suggestions/instructions!

Old 10-31-2005, 10:35 AM   #2
Registered: Dec 2004
Location: Vietnam (Việt Nam)
Distribution: Gentoo (desktop), Arch linux (laptop)
Posts: 728

Rep: Reputation: 33
I will give you the sample grub config file for your ideal system:
title Debian
 root (hd0,0)
 kernel /boot/<the linux kernel>
 initrd /boot/<the initial ramdisk>
title Windows XP
 rootnoverify (hd0,1)
 chainloader +1
title Freedos
 rootnoverify (hd1,0)
 map (hd0) (hd1)
 map (hd1) (hd0)
 chainloader +1
To boot to your Debian you will have to give grub the path to linux kernel image (in common, its name start with vmlinuz) and init ramdisk
After the path is the kernel options, it depends on your distro. If your debian is OK, you should keep the line for Debian unchanged
Try it.
I hope it will work. But I can't quarranty anythings because I have not used windows for one year and I have never configure grub to boot DOS.
You may access the grub info page
info grub


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
Poblem: Grub and Windows multiboot Paul L Linux - Newbie 6 07-19-2005 05:18 PM
Multiboot Fedora and Windows XP LemBit Linux - Newbie 6 08-08-2004 05:43 AM
How many of your Multiboot with Windows? lava Linux - General 46 08-19-2003 06:52 PM
can not multiboot linux with Windows XP fuzzylogix Linux - Newbie 2 02-27-2002 11:18 AM
Does anyone know how to multiboot Windows and redhat 7.1 steinberg Linux - Software 1 11-09-2001 04:58 AM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 08:16 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