LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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 08-02-2005, 07:40 AM   #1
shadkong
Member
 
Registered: Apr 2005
Location: Guangzhou, China
Distribution: Slackware 10.2
Posts: 114

Rep: Reputation: 15
lilo: how to boot two Linux systems?


*************************************
# Boot Slackware
image = /boot/vmlinuz
root = /dev/hda7
label = Slackware
read-only

# Boot Debian
image = /mnt/hda8/boot/vmlinuz
root = /dev/hda8
label = Debian
read-only
*************************************
I wirte the lilo.conf like this. But it cannot boot Debian. I use Slackware before, and install Debian today, but I don't know how to boot it. Who can tell me?
Thanks!

Last edited by shadkong; 08-02-2005 at 07:41 AM.
 
Old 08-02-2005, 07:46 AM   #2
tuxrules
Senior Member
 
Registered: Jun 2004
Location: Chicago
Distribution: Slackware64 -current
Posts: 1,158

Rep: Reputation: 62
Did you run

Code:
#/sbin/lilo
Running lilo is necessary after you make changes to lilo config file...Also check the device/partition you are using for Debian.


Tux,
 
Old 08-02-2005, 07:49 AM   #3
tuxrules
Senior Member
 
Registered: Jun 2004
Location: Chicago
Distribution: Slackware64 -current
Posts: 1,158

Rep: Reputation: 62
Your problem seems to be here

Quote:
# Boot Debian
image = /mnt/hda8/boot/vmlinuz
 
Old 08-02-2005, 11:51 AM   #4
urka58
Member
 
Registered: Nov 2003
Distribution: slackware 15
Posts: 546

Rep: Reputation: 43
have a look here...
some suggestions

http://www.linuxquestions.org/questi...18#post1473418

Ciao
 
Old 08-02-2005, 03:36 PM   #5
sundialsvcs
LQ Guru
 
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 10,642
Blog Entries: 4

Rep: Reputation: 3933Reputation: 3933Reputation: 3933Reputation: 3933Reputation: 3933Reputation: 3933Reputation: 3933Reputation: 3933Reputation: 3933Reputation: 3933Reputation: 3933
Hmm... the most basic suggestion I would make is: run grub, not LILO! It's simply better. And quite easy to install.

With LILO, if you make a careless mistake you'll find yourself rummaging around for a boot-CDROM. Whereas with grub you find yourself in an environment from which you can actually do something about the problem and continue. (For instance, if you tpyo'd something in the grub.conf file, you can get the system up-and-running anyway.)
 
  


Reply



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
An Alternative boot loader for dual boot systems. randrake Linux - General 3 09-06-2005 07:31 PM
2 x linux systems DUAL BOOT and only one /var directory cccc Linux - Security 1 06-23-2005 01:37 PM
Another Lilo dual boot (Linux+Linux) question tigerflag Slackware 11 05-22-2004 04:14 PM
dual boot - XP and Linux - Need to reinstall XP without effecting linux -LILO boot godofmind Linux - General 1 05-05-2004 08:13 AM
Boot more than one Linux Systems NoviceW Linux - General 1 11-11-2003 04:44 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:10 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
Open Source Consulting | Domain Registration