LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - Installation
User Name
Password
Slackware - Installation This forum is for the discussion of installation issues with Slackware.

Notices

Reply
 
Search this Thread
Old 10-15-2006, 12:53 PM   #1
Slim Backwater
Member
 
Registered: Nov 2005
Distribution: Slackware 10.2 2.6.20
Posts: 68

Rep: Reputation: 15
Slackware 11 Install onto RAID?


I want to install Slackware 11 onto two fresh hard drives, with root on a Software RAID1.

I've booted the default (bare.i 2.4.33.3) kernel and partitioned the disks. I've set the partition types to FD (Linux RAID Autodetect), but what I don't know is how to create the raid devices.

I mean I *know* how to create the raid device:
Code:
mdadm --create /dev/md0 --level=raid1 --raid-devices=2 /dev/hda1 /dev/hdb1
But I don't know how to do this during the Slackware 11 installation, after booting off Disc 1.

First I noticed that mdadm was missing so I mounted disc1 and installed mdadm-2.5.3-i486-1. Now I have mdadm but it seems that all it does is say 'Bus error'.

Short of booting a liveCD, is there any way I can get the Slackware Installation CD to create the MD devices (essentially write the MD metadata to the disk)?

Thanks for any tips.

._.
*Edit: I think I got it. Short Story: I had run out of installation space. I found this which was for LVM, but gave steps to create a RAM disk and move important directories there *BEFORE* installing any packages. Once I did that, and reinstalled the mdadm package I've been able to create my raid devices.

The steps for the ramdisk are:
Code:
mkdir /ram
mount -t tmpfs none /ram
mv /sbin /ram
mv /bin /ram
/ram/bin/mv /lib/modules /ram
/ram/bin/ln -s /ram/sbin /
/ram/bin/ln -s /ram/bin /
/ram/bin/ln -s /ram/modules /lib
Maybe this will help someone else trying to do the same or similar things.
*Edit #2: I stated above that the default was bare.i; it's not. That's what I get for not paying attention. The Slackware 11 default is sata.i

Last edited by Slim Backwater; 10-15-2006 at 01:42 PM.
 
Old 11-06-2006, 08:59 AM   #2
hrp2171
Member
 
Registered: Aug 2004
Location: California, USA
Distribution: Ubuntu
Posts: 243
Blog Entries: 3

Rep: Reputation: 30
Hi,

Thanks for starting this thread. I searched on Google-Linux and it came up as one the results.

I'm looking into installing Slackware 11 on an IDE RAID 0 system. I have an add-on PCI IDE controller card with 2 separate channels on it. I'll connect each drive to its own channel then try and get RAID0 going for installation. Both drives are ATA133 and so is the controller card.

During the Google-Linux search, this other document came up:

Slack 8.2 RAID install

I understand exactly what's going on with that howto but I'm wondering what steps did you follow, if they were different from that document.

Should I read the Software-RAID HOWTO at tldp.org? Even though it might need some updating.

Thanks again. Looking forward to tinker with RAID.
 
Old 11-07-2006, 12:17 PM   #3
hrp2171
Member
 
Registered: Aug 2004
Location: California, USA
Distribution: Ubuntu
Posts: 243
Blog Entries: 3

Rep: Reputation: 30
Nevermind this. I just went ahead and installed 11.0 to regular partitions. RAID is too much trouble for use on a desktop installation. Hardware RAID would be a much better option whenever a server install is needed.
 
  


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
Slackware install with Raid ITE8212?? zhuningwll Slackware 1 04-23-2006 06:21 PM
Slackware 10.2 install - SCSI RAID OK but install can not see IDE disks ?? gepas Slackware 3 02-08-2006 03:29 PM
Slackware 10.0 & RAID install issue lordjaggy Slackware - Installation 1 01-31-2005 08:27 AM
Software Raid setup to install slackware 9.1 anvil82 Linux - Hardware 2 03-20-2004 08:59 PM
Slackware 8.1 install with sil680 RAID card raolin Slackware 2 11-11-2002 07:13 PM


All times are GMT -5. The time now is 06:37 AM.

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