LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices



Reply
 
Search this Thread
Old 06-27-2005, 07:29 PM   #1
hamish
Member
 
Registered: Aug 2003
Location: Edinburgh
Distribution: Server: Gentoo2004; Desktop: Ubuntu
Posts: 720

Rep: Reputation: 30
RAID 1 on boot/root: LILO error


Hello

I'm setting up RAID 1 on my boot and root partitions, using hda and hdc

In order to be redundant, I would like to install my LILO configuration onto the MBR of both my hard drives.

My lill.conf looks like this:

Code:
lba32

# MBR to install LILO to:
#disk = /dev/md0
boot = /dev/hda #LOOK HERE
map = /boot/.map

install = /boot/boot-menu.b   
menu-scheme=Wb
prompt
delay = 50
vga = 791

#
# Linux bootable partition config begins
#
image = /boot/gentoo-2.6.11
        root = /dev/md1
        #root = /devices/discs/disc0/part3
        label = Gentoo
        read-only # read-only for checking
When boot = /dev/hda (as above), I get no errors when running /sbin/lilo. Thus, the MBR is correctly installed on /dev/hda and the computer will boot if hda is plugged in.

However, when I chagne the line and set boot = /dev/hdc, and then run /sbin/lilo, I get an error:

Code:
localhost root # lilo
Warning: /dev/hdc is not on the first disk
Warning: The boot sector and map file are on different disks.
Added Gentoo *
Added Windows
What does this mean? I know that it isn't the first disk, but that should not matter.

When I unplug hda and try and boot with just /dev/hdc plugged in, my screen is just filled with "999999999".

Any suggestions?

Cheers
Hamish
 
Old 06-27-2005, 07:33 PM   #2
mugstar
Member
 
Registered: Jun 2004
Location: Scotland
Distribution: Anything that'll install...
Posts: 305

Rep: Reputation: 30
When it comes to MBR's, there can be only one, and it can only go on the first sectors of the first disk. No way round it, AFAIK.
 
Old 06-28-2005, 03:47 AM   #3
hamish
Member
 
Registered: Aug 2003
Location: Edinburgh
Distribution: Server: Gentoo2004; Desktop: Ubuntu
Posts: 720

Original Poster
Rep: Reputation: 30
But I'm sure I've read on sites that you should install LILO/Grub to the MBR for both.

Maybe grub would work better.

Hamish
 
  


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
[SOLVED] Lilo fails with root on raid 1 device cjcone Suse/Novell 1 06-15-2010 04:04 PM
LILO -boot and root ..... wombat53 Linux - General 7 07-17-2005 04:22 PM
New install - with Raid 1 - no boot during lilo dacosta Suse/Novell 10 11-13-2004 12:58 PM
IDE RAID-1 Setup; LILO error rwdaigle Slackware - Installation 3 05-09-2004 12:57 PM
boot + root on software raid 1 kris.kj.jacobs Linux - Software 2 06-03-2001 08:15 AM


All times are GMT -5. The time now is 05:34 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration