Q: Hi,
I are dual-booting Linux and Windows 2k for a while. I have a boot floppy to use my linux side, but I want the Windows boot loader to boot linux, I read that I need to install Linux in the first sector of my Linux partition, but I have not Install LILO in the Linux partition when I install Linux. Is there a way to install lilo in the MBR of the Linux partition on Linux without problems?
thanks for the help,
pitupepito
Re:ok.
thanks guy. I will read up on the documentation
Re:So LILO – the program – is installed, you just haven't written any boot loader info to your hard drive yet. You'll need to create a lilo.conf, then. Your distro (which is…?) probably has a LILO setup tool which could create one for you. But someday you'll need to understand how LILO works – it might as well be today. RTFM for lilo.conf. It's a fair bit of reading, so take your time. If you don't think you get it, try posting your lilo.conf here before running lilo to actually install it.
Re:Hi,
I am currently using a boot floppy to get to Linux, so I don't think that I have a lilo config file. When I type lilo, I get "/etc/lilo.conf: No such file or directory". I don't think that I installed lilo when I set up my linux box in the beginning. I don't want to mess up my set up linux. Is there a way to check if I have lilo installed.
thanks for the help,
pitupepito
Re:yes they are both on the same physical disk
thanks for the help,
pitupepito
Re:When you say 'duel-booting' are these two OS's on the same physical disks? If not, then disconnect the 2K disk, boot into Linux, and re-run lilo.conf to specify a new configuration. Which Linux are we talking about?
Re:I'd expect there to be a simple command line option to install it. I found there is one for grub, like "grub -i" or something like that.
Re:You'll want to change the "boot=" line of /etc/lilo.conf. Right now, it probably points at /dev/fd0 (the floppy). To install it to the partition boot record, just make the line say "boot=/dev/hda2", replacing hda2 with whatever your Linux root partition is. BTW, that's not the MBR – there's only one MBR on a disk (that's why it's the "master" boot record), it's just the partition boot record.
edit: and make sure you run "lilo" afterwards to write that boot loader to the disk…
0 Comments.