LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 11-22-2006, 08:13 PM   #1
ygloo
Member
 
Registered: Aug 2006
Distribution: slack
Posts: 323

Rep: Reputation: 30
2 hdd lilo dual boot


/dev/hda1 - vector linux
/dev/hdb1 - slackware

lilo is installed on /dev/hda1

lilo.conf:

# Start LILO global section
boot = /dev/hda
default = linux
prompt
timeout = 1200
# Override dangerous defaults that rewrite the partition table:
change-rules
reset
bitmap = /boot/bitmap/boot.bmp
...

# Partition 1 : Slack_11.0
image = /boot/vmlinuz
root = /dev/hdb1
label = slack
append = ""
read-only

when i boot, slackware loads with vector's kernel !?
how to tell lilo that kernel is on /dev/hdb1??
 
Old 11-22-2006, 08:17 PM   #2
cereal83
Member
 
Registered: Feb 2004
Location: Canada
Distribution: Slackware
Posts: 479

Rep: Reputation: 30
From me looking at that, it only shows 1 image which is slackware. You would need something like this for both of them to work


# Start LILO global section
boot = /dev/hda
default = linux
prompt
timeout = 1200
# Override dangerous defaults that rewrite the partition table:
change-rules
reset
bitmap = /boot/bitmap/boot.bmp
...

# Partition 1 : Slack_11.0
image = /boot/vmlinuz
root = /dev/hda1
label = vector


# Partition 2 : Slack_11.0
image = /boot/vmlinuz
root = /dev/hdb1
label = slack

After you make this change and run the lilo command it should work. Do you understand?
 
Old 11-22-2006, 08:24 PM   #3
ygloo
Member
 
Registered: Aug 2006
Distribution: slack
Posts: 323

Original Poster
Rep: Reputation: 30
here is other part of lilo...

# Partition 1 : Slack_11.0
image = /boot/vmlinuz
root = /dev/hdb1
label = slack
append = ""
read-only
....

....
# Partition 5: Linux
image = /boot/vmlinuz-2.6.12
root = /dev/hda1
label = linux
append = ""
read-only

Last edited by ygloo; 11-22-2006 at 08:26 PM.
 
Old 11-22-2006, 08:33 PM   #4
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian stable
Posts: 5,908

Rep: Reputation: 356Reputation: 356Reputation: 356Reputation: 356
This might help you figure it out.

http://www.troubleshooters.com/linux/lilo.htm
 
Old 11-23-2006, 05:15 AM   #5
ygloo
Member
 
Registered: Aug 2006
Distribution: slack
Posts: 323

Original Poster
Rep: Reputation: 30
this link solved the question...
i mounted slack partition
"mount /dev/hdb1 /mnt/slack"

and changed llilo.conf:
# Partition 2 : Slack_11.0
image = /mnt/slack/boot/vmlinuz
root = /dev/hdb1
label = slack

and then:
lilo

tux happy!

Last edited by ygloo; 11-23-2006 at 02:33 PM.
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
how to do a dual boot (Windows on portable HDD) linux on computer HDD izquierdista Linux - General 5 01-28-2006 09:50 AM
Dual boot XP(internal IDE HDD) Debian(external USB-IDE HDD) using boot.ini PolarDog Linux - Laptop and Netbook 2 07-01-2005 09:50 PM
Moving root from a dual-boot HDD to a new HDD Androoski SUSE / openSUSE 1 05-13-2005 10:34 PM
Dual HDD Interface Problem, Linux on SATA, NTFS Part on IDE HDD LILO Not Loading Blade44 Linux - Hardware 2 02-01-2005 06:56 PM
I install Slackware on small HDD with LILO, can't boot LILO? kleptophobiac Slackware 4 08-10-2003 04:50 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 04:38 PM.

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