LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 09-11-2006, 02:45 AM   #1
TL_CLD
Member
 
Registered: Sep 2006
Posts: 342

Rep: Reputation: 34
Me, my RAID and booting it


I've managed to install Slackware 10.2 on two harddrives using software RAID 1. It wasn't as hard I could have feared, but there are though a lingering issue: Booting the thing.

What I do is start a regular Slackware install from CD. When I've reached the partition phase I setup my two disks using fdisk, and after having done that I setup the RAID. A quick reboot later and the Slackware installer is able to spot my brand new RAID and everything seems fine.

But when it's time to install LILO, something apparently goes awry: I tell it what to do, but it wont boot later on. It just hangs after BIOS post.

I then boot it from the CD (bare.i root=/dev/md0 noinitrd ro), and setup LILO again. This time I opt for an MBR install (instead of superblock), choose HDA as the place to go and /dev/md0 as my root partition. Things now work, but only as long as there's a disk present on the IDE0 interface. I go through the motions once again, but this time with HDC, and now I can boot from both IDE interfaces.

So basically my setup works. There's just something about it I don't like. Is this really the "right" way to setup a RAID1 system if I want to be able to boot from both IDE interfaces, in case one of the disks die on me?

Sincerely,
Thomas

ps. I feel I should say that I've learned more about Linux software RAID and LILO working 2 days with Slackware, compared to the several years I've been mucking about with Trustix. Awesome!
 
Old 09-11-2006, 08:50 AM   #2
lurko
Member
 
Registered: Jun 2006
Location: Ontario, Canada
Distribution: Debian
Posts: 448

Rep: Reputation: 35
just a couple links my googling came up with:

Booting RAID 1 with standard LILO, and the tldp.org Software RAID HOWTO, which has details on booting a RAID in the tweaking, tuning and troubleshooting section.
 
Old 09-12-2006, 10:20 AM   #3
TL_CLD
Member
 
Registered: Sep 2006
Posts: 342

Original Poster
Rep: Reputation: 34
I placed this nifty little thing in lilo.conf:

raid-extra-boot=/dev/hda,/dev/hdc

Let $lilo do it's thing, and voila all is well.

This is good stuff..
 
  


Reply

Tags
raid


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
Dual booting with RAID-0 TechnHED Linux - Hardware 7 06-13-2006 01:25 AM
booting linux from a nforce4 raid ede1103 Linux - Hardware 5 11-17-2005 03:13 PM
Booting Linux From Raid 0 ZenDrum Linux - Newbie 7 10-16-2005 10:08 PM
triple booting, RAID Hectic Linux - General 3 11-08-2004 03:16 PM
Booting from Mylex RAID sascha Slackware 2 06-02-2003 01:41 AM


All times are GMT -5. The time now is 10:50 PM.

Main Menu
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