making a bootable partition for windows after installing ubuntu

Kussh kushsingh at
Tue Jul 26 18:45:00 UTC 2005


I have been unable to find any literature on installing lilo properly on
my 120 GB hard disk though the GRUB bootloader which came with hoary is 
automatically installed.

I first created some partitions for ubuntu on the hard disk and then 
after installing it, am thinking of having a dual boot from windows too. 
have been able to create some fat 32 partitions for windows/dos but grub 
documentation says that it has some problems with fat32/ntfs 
partitions--therefore tried to setup lilo as the dual boot loader. But 
it gives an error at the stage where the master boot record is to be 

How can i install windows on the windows partition and setup lilo also?

Any ideas?

The linux partitions are all on "extended" partition and i suppose 
dos/windows can only be loaded on a primary partition. I have used 
gparted for partitioning but the new dos partitions have not been 
mounted as gparted has no such options.

I have also tried booting from a dos rescue disk but the dos fdisk 
command does not recognise the entire hard drive--only a small portion 
of it. I have not been able to format any dos partition with it.

wiki.ubuntu forum does not have any documentation on why the install mbr 
fails or how it can be solved.

the info lilo and info liloconfig details also do not shed any light on 
the problem.
etc/lilo.conf is as follows

# Generated by liloconfig

# This allows booting from any partition on disks with more than 1024
# cylinders.

# Specifies the boot device

# Specifies the device that should be mounted as root.
# If the special name CURRENT is used, the root device is set to the
# device on which the root file system is currently mounted. If the root
# has been changed with  -r , the respective device is used. If the
# variable ROOT is omitted, the root device setting contained in the
# kernel image is used. It can be changed with the rdev program.

# Bitmap configuration for /boot/sarge.bmp

# Enables map compaction:
# Tries to merge read requests for adjacent sectors into a single
# read request. This drastically reduces load time and keeps the map
# smaller. Using COMPACT is especially recommended when booting from a
# floppy disk.
# compact

# Install the specified file as the new boot sector.
# LILO supports built in boot sectory, you only need
# to specify the type, choose one from 'text', 'menu' or 'bitmap'.
# new: install=bmp      old: install=/boot/boot-bmp.b
# new: install=text     old: install=/boot/boot-text.b
# new: install=menu     old: install=/boot/boot-menu.b or boot.b
# default: 'menu' is default, unless you have a bitmap= line
# Note: install=bmp must be used to see the bitmap menu.
# install=menu

# Specifies the number of _tenths_ of a second LILO should
# wait before booting the first image.  LILO
# doesn't wait if DELAY is omitted or if DELAY is set to zero.
# delay=20

# Prompt to use certaing image. If prompt is specified without timeout,
# boot will not take place unless you hit RETURN

# Specifies the location of the map file. If MAP is
# omitted, a file /boot/map is used.

# Specifies the VGA text mode that should be selected when
# booting. The following values are recognized (case is ignored):
#   NORMAL  select normal 80x25 text mode.
#   EXTENDED  select 80x50 text mode. The word EXTENDED can be
#     abbreviated to EXT.
#   ASK  stop and ask for user input (at boot time).
#   <number>  use the corresponding text mode. A list of available modes
#     can be obtained by booting with  vga=ask  and pressing [Enter].

# These images were automagically added. You may need to edit something.

	label="Linux 2.6.10-0"

	label="Memory Test+"

# If you have another OS on this machine (say DOS),
# you can boot if by uncommenting the following lines
# (Of course, change /dev/hda2 to wherever your DOS partition is.)
# other=/dev/hda2
#   label="MS Windows"

More information about the ubuntu-users mailing list