LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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, 01:45 AM   #1
TL_CLD
Member
 
Registered: Sep 2006
Posts: 366

Rep: Reputation: 45
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, 07: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, 09:20 AM   #3
TL_CLD
Member
 
Registered: Sep 2006
Posts: 366

Original Poster
Rep: Reputation: 45
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 12:25 AM
booting linux from a nforce4 raid ede1103 Linux - Hardware 5 11-17-2005 02:13 PM
Booting Linux From Raid 0 ZenDrum Linux - Newbie 7 10-16-2005 09:08 PM
triple booting, RAID Hectic Linux - General 3 11-08-2004 02:16 PM
Booting from Mylex RAID sascha Slackware 2 06-02-2003 12:41 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 08:17 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