> . . .am in trouble?
> I have two hard drives the first with Win98
> I got a second for Linux.
> After installing Linux and using lilo to allow dual boot
> I forgot to tell lilo to allow boot up also to DOS.
> Now, of course, when I boot up I only have one
> selection to boot to, Linux.
> I would like to rerun lilo and tell it to include DOS
> which I assume is allowing me to boot to Win98.
> If thats not possible can I reset the boot record to point to
> Win98 by
> "fdisk /mbr"
> and press enter?
Noooooooooooo! this only works with the MS version of fdisk
> Restore Win98 by booting from your Win98 floppy and then when you get
> to the command prompt type "sys c:"
> is this correct ???
Nope. You can boot from a win98 floppy then run fdisk /mbr if you like
but then you'll have to use a floppy to boot into Linux. What you
really want to do is edit your /etc/lilo.conf to reflect the existence
of your win98 drive. Your /etc/lilo.conf should look something like
delay = 20
vga = normal
Don't worry if yours doesn't have the same options towards the top (you
can see waht these do using 'man lilo.conf'). The image block tells lilo
where to find your Linux kernel and which partition it should load as
the root partition. In this case the kernel image is in the root
directory called vmlinuz and the root partition is /dev/hdb1.
Windows stores the path to its system files in the partition table so
the windows entry is slightly different. You need to add the following
lines to the end of /etc/lilo.conf. This assumes Windows is on your C:
If you want lilo to boot Windows by default instead of Linux then you
need to swap the Linux and win98 blocks around. This is because lilo
will default to the first entry it finds.
Once this is done and you've saved your changes run /sbin/lilo to update
the boot sector. Reboot and you're away. Enjoy!