Click to See Complete Forum and Search --> : Need to put Lilo on Linux partition


oldbie
04-24-2002, 11:46 PM
I have Win2000 and Redhat 7.3
When installing Redhat beta - I opted not to install Lilo or Grub - but instead use the floppy disk.
I have seen documentation since which shows how to boot to linux by using the
dd if=/dev/hdxx of=/bootsect.lnx bs=512 count=1 and then modifying boot.ini.

I need to install LILO on my Linux partition - but cant see how to do it unless I reinstall from scratch. Is this possible? (My update option doesnt work from my CD installation)

I just want not to mess with the MBR - but have LILO on its linux partition - then I can mess around with bootsect.lnx and boot.ini files.

Thanks

z0mbix
04-25-2002, 03:42 AM
There's no need to reinstall. If you want to install lilo, just edit your /etc/lilo.conf file so that it's being installed in the required location and run lilo -v -t. If that looks fine, with no errors then just run lilo. If you need a hand with your lilo.conf, just post that and your /etc/fstab.

oldbie
04-25-2002, 11:17 AM
Cheeky-Zombie - thanks for the response.

here is some information. My syslinux.cfg from the boot floppy reads:

default linux
prompt 1
display boot.msg
timeout 100
label linux
kernel vmlinuz
append initrd=initrd.img root=/dev/hdd5

Even though my boot partition is /dev/hdd2 - when I boot linux it still says booting from /dev/hdd5

my df info:

[root@localhost floppy]# df
Filesystem 1k-blocks Used Available Use% Mounted on
/dev/hdd5 505605 123361 356140 26% /
/dev/hdd2 46668 14164 30095 33% /boot
/dev/hdd3 901308 50744 804780 6% /home
none 257192 0 257192 0% /dev/shm
/dev/hdd7 1968588 1151196 717392 62% /usr
/dev/fd0 1423 1292 132 91% /mnt/floppy
[root@localhost floppy]#

can u respond how my lilo./etc/lilo.conf should be

thanks

z0mbix
04-25-2002, 12:12 PM
I don't know about redhat, but does it have liloconfig? If so, just run this as root and answer a few simple questions. Also, if you installed linuxconf, you can configure lilo from there.