Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Linux Forums > Linux - Software
User Name
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.


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

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


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:


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

install = /boot/boot-menu.b   
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:

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?

Old 06-27-2005, 06:33 PM   #2
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, 02:47 AM   #3
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.



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

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

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