LinuxQuestions.org
Visit Jeremy's Blog.
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 12-30-2008, 03:50 AM   #1
Dankles
Member
 
Registered: May 2004
Location: /dev/null
Distribution: Slackware
Posts: 245

Rep: Reputation: 31
DMRaid on boot up


Hey all! I just installed the "dmraid" package from source to get my Nvidia 'fakeraid' to work.

It all works fine... but I have to manually run "dmraid -ay" to start the raid system every reboot then mount it manually.

So is there a way to automate this to come at boot up and put the mount entry in fstab? I've been spoiled the past few years with other distros that do everything for you... but now is the time to repent and go back to my slacking days

Thanks!
 
Old 12-30-2008, 11:41 PM   #2
gankoji
Member
 
Registered: Nov 2007
Location: Southern California
Distribution: Slackware-13.0 x86_64, Slackware 12.2, slackware64-current
Posts: 225

Rep: Reputation: 35
well I have no idea about DMRaid as I've never used it, but if you can start everything from the command line then at least you know you can put all of your commands in /etc/rc.local. Hopefully that helps!

P.S. Welcome back to slack bud ;-).
 
Old 12-31-2008, 09:37 AM   #3
mostlyharmless
Senior Member
 
Registered: Jan 2008
Distribution: Arch/Knoppix
Posts: 1,823
Blog Entries: 14

Rep: Reputation: 282Reputation: 282Reputation: 282
If you use an initrd (which you probably do if you're using the generic kernel as recommended), you can also add dmraid -ay to your "init" file in /boot/initrd-tree. You have to include the dmraid files to /boot/initrd-tree and rebuild initrd, but that is actually very straightforward.

The advantage is that you can then not only mount your fakeraid, you can actually boot off of it or use it as swap, or encrypt it with LUKS or all the above. There's a pretty good howto thread here somewhere outlining the process.

Here it is: https://www.linuxquestions.org/quest...k-12.0-586440/

You can find others with search "dmraid Slackware"

Last edited by mostlyharmless; 12-31-2008 at 09:40 AM. Reason: added link
 
Old 12-31-2008, 11:24 AM   #4
Dankles
Member
 
Registered: May 2004
Location: /dev/null
Distribution: Slackware
Posts: 245

Original Poster
Rep: Reputation: 31
gankoji:
Thanks for the tip! Thats actually what I'm doing right now I guess I should have posted that part.

mostlyharmless:
I'll give that a try this afternoon when i get a chance. It sound like what I need.
 
  


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
Install Ubuntu on Sata Raid 0 - dmraid - dual boot windows xp matsie Ubuntu 4 07-11-2011 10:59 AM
DISCUSSION: How to boot from RAID using "dmraid" Erik_FL LinuxAnswers Discussion 1 01-04-2010 12:11 AM
dmraid mounting at boot sonicbuddha Linux - General 2 03-25-2007 11:18 PM
using dmraid bbbb LinuxQuestions.org Member Success Stories 0 12-23-2005 08:46 PM
help setting dmraid at boot M&M Linux - Software 0 03-01-2005 03:21 PM

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

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