LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 10-17-2012, 08:54 PM   #1
JTHooker
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:
Code:
image = /boot/vmlinuz
  initrd = /boot/initrd.gz
  root = /dev/sdb1
  label = Slackware
  read-only

image = /vmlinuz
  initrd = /initrd.img
  root = /dev/sdb2
  label = Debian
  read-only
It will add Slack and Windows but says:
Code:
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
colorpurple21859
Senior Member
 
Registered: Jan 2008
Location: florida
Distribution: slackware64-current, puppy, ubuntu
Posts: 1,968

Rep: Reputation: 274Reputation: 274Reputation: 274
Quote:
I do have sdb2 mounted.
Code:
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
JTHooker
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
Knightron
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)
 
  


Reply


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


All times are GMT -5. The time now is 12:50 AM.

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