On Mon, 23 Apr 2001, Ashish Grover wrote:
> i read somewhere that floppy is not a very reliable source, if u use linux
> frequently................. because of wear and tear problems.
very true.
> so, thats why i want to configure my sytem, so thats why i want to configure
> lilo so that i have an option in the beginning ........... which way to go
> ........ windows or linux.
you can either go the loadlin route, or the lilo way.
loadlin way:
locate your linux boot partition. This will be what you have in your
lilo.conf on your floppy or hdisk as
boot=/dev/hd?
once you locate that, you need to copy the boot-sector, say onto a floppy.
So mount a floppy and
dd if=/dev/hd<linux_boot_sector_u located> of=/mnt/floppy/lnx bs=1 count=512
now copy this file int your windows drive, say as lnx.lnx. Now you should
be able to boot into linux from dos using loadlin giving this file as
arguement.
lilo way:
edit your lilo.conf, to include the windows boot partition information.
Then run lilo. Now you should be able to choose between linux and windows
at booting.
-- sreangsu
example lilo.conf
boot = <your boot partition here>
delay = 40
root = <your root here>
image = /boot/vimlinuz
label = linux
other = /dev/hda3 ## the entry for windows
label = winduhs ## -- do --
And dont worry, lilo can detect screw-ups and will not write the changes
in such case
-- sreangsu
----------------------------------------------
LIH is all for free speech. But it was created
for a purpose. Violations of the rules of
this list will result in stern action.