Dual booting Ubuntu and FreeDOS

View: New views
2 Messages — Rating Filter:   Alert me  

Dual booting Ubuntu and FreeDOS

by karimruan :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I am running an HP DV67000 with Ubuntu 9.04 on it. I want to dual boot with freeDOS, choosing between them at start up. I already created a 12GB fat32 partition on my hard drive, so I just need to know what I do next. I am afraid of getting so far, and only being able to boot freeDOS.

A step by step relative to my situation would be helpful!

Karimruan

Re: Dual booting Ubuntu and FreeDOS

by rCX :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

These steps worked for me but be warned that adding another OS is risky.  Do not try this unless you are a skilled linux user.  It is often safer to use an emulater such as dosemu, qemu or etc. I may have left out some steps because It's been a few months since I last did this.

0.  Backup anything important!

1. Find the number of your 12GB partition.
- System->Administration->System Monitor
- On the "File Systems" tab note the number.  For example "/dev/sda3" is my FreeDOS partition.

2. Download and burn a FreeDOS LiveCD. (Use the same tool you probably used to make your Ubuntu LiveCD.)

3. Install FreeDOS.  This video should be helpful to watch.
- Insert it into your CD drive and restart your computer.
- When the FreeDOS splash screen with the fish appears, select "1" to boot FreeDOS from the LiveCD. Select "1" on the next screen to Install it.
- Follow the on screen instructions and FreeDOS should install itself to your Fat32 partition.

4. Add FreeDOS to your grub bootloader.
- Backup and edit your menu.lst...
sudo cp "/boot/grub/menu.lst" "/boot/grub/menu.bak"
sudo gedit "/boot/grub/menu.lst"
- Add the following to the file...
title FreeDOS
root (hdx,y)
savedefault
makeactive
chainloader +1
- Change the line "root (hdx,y)" to match where FreeDOS was installed. x tells which hard drive FreeDOS was installed on.  It should be 0, since this is your main hard drive. y is the partition it was installed on.  It should be one less than the partition number you found in step one.  For example on my system, FreeDOS was installed on "/dev/sda3". Therefore I had to use...
root (hd0,2)
- Save menu.lst and restart the computer. Select "FreeDOS" from the menu. If it doesn't work, try different values for x and y.

Good Luck :)
rCX