Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Hardware
User Name
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?


  Search this Thread
Old 04-23-2008, 06:37 PM   #1
LQ Newbie
Registered: Jul 2006
Posts: 3

Rep: Reputation: 0
Adding an old software-RAID array to a software-RAID installation.. Boot problems

Hi there, I hope this is the right place to post this thread.. Here is my problem:

I previously had a linux system installed and running from a software-RAID array - 2 250GB SATA drives (SATA channels 1+2 - partitions /dev/sda1 and /dev/sdb1) configured as /dev/md0. Slackware-10.2 was installed on this RAID array.

I wanted to re-install the server from fresh, so today I went out and bought 2 500GB SATA drives. I disconnected the old 250GB drives, plugged in the new drives into SATA 1+2, booted from the Slackware-12.0 installation CD, partitioned these two drives and configured /dev/md0 as /dev/sda1 and /dev/sda2, which is of course the new 500GB drives. Everything went fine, I installed Slackware and the system is up and running. I used this website as a guide to configuring the new RAID array:

The problem comes now, when I want to access the OLD RAID array from the NEW installation.

I connected the old 250GB drives to SATA3+4, then booted the system. I get the LILO prompt from the NEW 500GB drives, however when I choose a boot option, it boots with the OLD drives as the root partition - i.e. into Slackware-10.2! The old drives are mounted as /dev/md0 just as they were before, even though they now show up as /dev/sdc and /dev/sdb - not what /dev/md0 was configured as on the old installation. It doesn't seem to matter what configuration I choose, if those old drives are plugged in - even though the BIOS is booting from the new drives - LILO boots the old installation. As soon as I unplug the old drives, the same LILO prompt boots the new installation.

Does anybody know how I can have the old drives plugged in, but force LILO to boot the new installation?

Sorry for the long winded explanation, hope someone can help!
Old 04-24-2008, 07:22 AM   #2
LQ Newbie
Registered: Jul 2006
Posts: 3

Original Poster
Rep: Reputation: 0
I appreciate this is quite a specific question.. Does anybody perhaps have any suggestions as to mailing lists or any other resources I should look to for help?
Old 05-05-2008, 03:16 PM   #3
Senior Member
Registered: Jan 2008
Distribution: Arch/Knoppix
Posts: 1,823
Blog Entries: 14

Rep: Reputation: 282Reputation: 282Reputation: 282
Here's my suggestions:

(1) Check lilo.conf to make sure it says what you think it says and that the MBR you're booting from is the one you think you're booting from.

or if you can access the NEW installation when booting the OLD then maybe

(2) Rename one of the arrays (preferably the old one) as /dev/md1. I'd try that with a boot CD, make a new array /dev/md1, assemble the old pieces of /dev/md0 on the old installation into it, then get rid of /dev/md0. Then try plugging in the new drives.

(3) Leave everything plugged in and reinstall from scratch onto the new drives.


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
linux installation on dual boot software raid Sjaaksken Linux - Hardware 10 12-18-2007 03:31 PM
Cannot boot a software raid array with 'generic' kernel (Slackware 12) dieymir Slackware 2 07-11-2007 09:26 PM
Will a ex - Software Raid 1 disk boot without Raid software? carlosruiz Linux - Software 0 05-27-2006 01:12 PM
adding a hard drive to an existing software raid array iammisc Linux - Hardware 3 03-01-2006 06:08 PM
Software RAID & Installation Problems Dr_Cooke Linux - General 1 09-19-2003 11:35 AM > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 07:33 PM.

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