VectorLinux

Please login or register.

Login with username, password and session length
Advanced search  

News:

Visit our home page for VL info. For support and documentation, visit the Vector Linux Knowledge Center or search the Knowledge Center and this Forum using the search box above.

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

macondo

  • Member
  • *
  • Posts: 57
LILO and a third OS
« on: July 20, 2012, 06: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, 07:01:52 pm by macondo »
Logged
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: 4105
Re: LILO and a third OS
« Reply #1 on: July 21, 2012, 05: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.
Logged

macondo

  • Member
  • *
  • Posts: 57
Re: LILO and a third OS
« Reply #2 on: July 21, 2012, 06:35:50 am »

Thanks, i'll try that :)
Logged
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, 03: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 :)
Logged