Please support VectorLinux!

Author Topic: LILO and a third OS  (Read 758 times)

macondo

  • Member
  • *
  • Posts: 57
LILO and a third OS
« on: July 20, 2012, 05:56:24 pm »
I installed debian stable as my third OS on my second drive, i need to make lilo point to debian's kernel 2.6.32. Can somebody help me? I did not install a boot manager for debian.
Is there a way i can edit and put something like:
/boot/vmlinuz -> vmlinuz-2.6.32 ?
« Last Edit: July 20, 2012, 06:01:52 pm by macondo »
VL 7.0 Light - Barebones Install - Kernel 3.0.17
Debian Testing - Minimal Install - kernel 3.4.0-6.dmz.1-liquorix-686
Desktop: Atom Processor || 1 GB RAM || 500 GB HD

nightflier

  • Administrator
  • Vectorian
  • *****
  • Posts: 4072
Re: LILO and a third OS
« Reply #1 on: July 21, 2012, 04:50:28 am »
With Debian, I have found that it helps to make symlinks to the kernel and initrd in the boot dir.
Something like:
Code: [Select]
cd (debian root)/boot
ln -s vmlinuz-2.6.32 vmlinuz
ln -s initrd.img-2.6.32 initrd

Then run vliloconf and see if it picks it up.

macondo

  • Member
  • *
  • Posts: 57
Re: LILO and a third OS
« Reply #2 on: July 21, 2012, 05:35:50 am »
Thanks, i'll try that :)
VL 7.0 Light - Barebones Install - Kernel 3.0.17
Debian Testing - Minimal Install - kernel 3.4.0-6.dmz.1-liquorix-686
Desktop: Atom Processor || 1 GB RAM || 500 GB HD

fogpipe

  • Vectorite
  • ***
  • Posts: 105
Re: LILO and a third OS
« Reply #3 on: July 22, 2012, 02:51:17 pm »
Here is how i do it:

Code: [Select]
image = /boot/tamu/vmlinuz
     root = /dev/sda5
     label = VL7STD64
  #   append = "resume=swap:/dev/sda7 splash=silent"
   #  initrd = /boot/initrd
     read-only

image = /boot/vmlinuz
     root = /dev/sda1
     label = 1337
    append = "video=640x480"
   #  initrd = /boot/initrd
     read-only
image = /boot/vmlinuz-huge-2.6.37.6
     root = /dev/sda1
     label = hugeslack
    append = "video=640x480"
   #  initrd = /boot/initrd
     read-only

Lilo is installed on /dev/sda1. You need to have the kernel and System.map in the sub directory of /boot on the partition where lilo is installed as well as in /boot on the partition you are booting to. If you have a seperate boot partition, nevermind :)