Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 10-17-2012, 08:54 PM   #1
LQ Newbie
Registered: Oct 2012
Location: Eastern KY
Distribution: Slackware 14, Debian
Posts: 9

Rep: Reputation: Disabled
Using lilo to boot a second partition (Debian)

I'm on Slackware 14 (sdb1) and I want to add Debian (sdb2) to lilo. I've read the manpages and I can't figure out what to put in lilo.conf. What I have right now:
image = /boot/vmlinuz
  initrd = /boot/initrd.gz
  root = /dev/sdb1
  label = Slackware

image = /vmlinuz
  initrd = /initrd.img
  root = /dev/sdb2
  label = Debian
It will add Slack and Windows but says:
Warning: The boot sector and map file are on different disks.
Added Windows  *
Added Slackware  +
Fatal: open /vmlinuz: No such file or directory
vmlinuz and initrd.img are in the root of sdb2. I've tried pointing lilo.conf to the kernel and image in /boot but it does the same thing. I do have sdb2 mounted. What am I missing? Sorry for the dumb question but I've read the manpages and I don't know what to add.
Old 10-17-2012, 10:09 PM   #2
Senior Member
Registered: Jan 2008
Location: florida panhandle
Distribution: slackware64-current, puppy, ubuntu
Posts: 2,109

Rep: Reputation: 294Reputation: 294Reputation: 294
I do have sdb2 mounted.
image = /location of mounted sdb2/vmlinuz
  initrd = /location of mounted sdb2/initrd.img
1 members found this post helpful.
Old 10-18-2012, 01:21 AM   #3
LQ Newbie
Registered: Oct 2012
Location: Eastern KY
Distribution: Slackware 14, Debian
Posts: 9

Original Poster
Rep: Reputation: Disabled
Thanks. For some reason it didn't want me using the symlinks, I had to use the actual kernel in /boot.
Old 10-18-2012, 01:24 AM   #4
Senior Member
Registered: Jan 2011
Location: Australia
Distribution: OpenSUSE
Posts: 1,396
Blog Entries: 7

Rep: Reputation: 166Reputation: 166
You need to tell us if you want to chainload Debian or if you don't. (I recomend chainloading, but that's just me)


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Trying to set up LILO on /boot partition Rapalmer19 Linux - Newbie 2 03-08-2012 12:53 PM
Lilo boot a partition boot record darkmanta Mandriva 1 10-09-2006 01:21 AM
Can LILO boot Win2k from logical partition? Kokoro Linux - General 5 01-18-2006 11:29 AM
Install Grub/Lilo at the First Sector of the Boot Partition?? ckamheng Linux - General 2 08-21-2004 09:35 AM
LILO wont boot WinXP NTFS partition cirkut5732 Linux - Newbie 1 10-24-2003 07:06 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:55 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration