LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 01-22-2003, 09:44 PM   #1
leeman_s
Member
 
Registered: Jan 2003
Posts: 87

Rep: Reputation: 15
Dual-booting with two separate hard drives


Most things I read for dual-booting is for dual-booting with only 1 hard drive. In my case I'm going to be installing on a second physical hard drive. How do I setup LILO to do this?
 
Old 01-22-2003, 09:54 PM   #2
watashiwaotaku7
Member
 
Registered: Oct 2002
Location: wisconsin -- The Badger state
Distribution: gentoo
Posts: 654

Rep: Reputation: 30
its really very easy the only difference really should be the label of the hdd in lilo.conf make sure you install to the mbr of the first


driveprompt
nowarn
timeout=100
message=/boot/message
menu-scheme=wb:bw:wb:bw
ignore-table
image=/boot/bzImage-2.4.20
label=linux
root=/dev/hdb5
initrd=/boot/initrd.img
append="quiet devfs=mount hdc=ide-scsi"
vga=788
read-only
image=/boot/vmlinuz
label=linux-nonfb
root=/dev/hda5
initrd=/boot/initrd.img
append="devfs=mount hdc=ide-scsi"
read-only
image=/boot/vmlinuz
label=failsafe
root=/dev/hda5
initrd=/boot/initrd.img
append="failsafe devfs=nomount hdc=ide-scsi"
read-only
other=/dev/hda1
label=windows
table=/dev/hda
other=/dev/fd0
label=floppy
unsafe
 
Old 01-22-2003, 09:56 PM   #3
fstreed
Member
 
Registered: Aug 2002
Location: Oregon
Distribution: SuSE 11.3
Posts: 108

Rep: Reputation: 15
I don't know what distro you are using but with SuSE or Mandrake you just tell it to install LILO in the MBR and it will automatically install it on the first hard drive.
 
Old 01-22-2003, 11:16 PM   #4
rnturn
Senior Member
 
Registered: Jan 2003
Location: Illinois (SW Chicago 'burbs)
Distribution: openSUSE, Raspbian, Slackware. Previous: MacOS, Red Hat, Coherent, Consensys SVR4.2, Tru64, Solaris
Posts: 2,800

Rep: Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550
Re: Dual-booting with two separate hard drives

Quote:
Originally posted by leeman_s
I'm going to be installing on a second physical hard drive. How do I setup LILO to do this?
Make sure there's a `stanza' in your lilo.conf that contains the line:

root=/dev/hdb (or whatever the second drive is called)

and the appropriate line for specifying the name of the kernel file.

I use this on a couple of system. Works like a charm. You can boot off the third drive if you like as well, etc. (I boot Linux from /dev/sdc, for example.)
 
  


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
dual booting mandrake 10.1 and xp on separate drives I_Come_anon3410 Linux - Software 6 12-23-2004 01:13 AM
Dual Booting, 2 separate hard drives Jotun Linux - Newbie 6 04-30-2004 12:18 PM
Dual Boot on Separate Hard Drives? theonlylivinggo Linux - Newbie 6 02-26-2004 04:15 PM
dual boot w/ separate hard drives? aveach Linux - General 2 09-15-2003 03:33 PM
installing on separate drives/dual booting nuzzy Linux - Newbie 3 06-25-2002 05:30 PM

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

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