LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-29-2009, 04:23 PM   #1
Balana
LQ Newbie
 
Registered: Aug 2009
Posts: 1

Rep: Reputation: 0
Kubuntu load dmraid on startup


Hi all,

I recently installed a dual-boot of Kubuntu with Windows 7, which are both installed on partitions on a non-RAID disc. Separate from this drive and purely for data storage, I have an NTFS formatted RAID 5 array so I can access it in both Linux and Windows. The array is managed by Intel's controller on the motherboard. Yesterday I installed dmraid (RC14, as RC15 wasn't working for me, and after some research it seems I'm not the only one) and am able to manually mount/access the array with no problems. (I read through the FakeRaidHowto along with some various other sources, so I know about it.)

What I would like to do is set up my system so I don't have to 'dmraid -ay' and manually mount the array every time I boot up. I did step 10 of the fakeraidhowto under version 9.04 to add the dm-raid4-5 module into initramfs, and I've read up on adding an automatic mount entry to fstab (which I haven't done at this point). I'm still trying to figure out how to automatically substitute for the 'dmraid -ay' command.

What would be the best way to go about getting my array to mount automatically? Thanks in advance!
 
Old 08-29-2009, 05:22 PM   #2
DragonSlayer48DX
Registered User
 
Registered: Dec 2006
Posts: 1,454
Blog Entries: 1

Rep: Reputation: 74
Open System->Preferences->Sessions, and in the Startup Programs section, click Add. Choose a name and add a comment if you want, and type:

Code:
dmraid -ay
in the Command dialog box. Of course you'll need to edit fstab before you reboot so the drives will be mounted before the command is executed.

Cheers
 
Old 08-29-2009, 05:26 PM   #3
Quakeboy02
Senior Member
 
Registered: Nov 2006
Distribution: Debian Squeeze 2.6.32.9 SMP AMD64
Posts: 3,294

Rep: Reputation: 126Reputation: 126
It's doubtful that you actually have to put a specific command in there, since you've put dmraid in your initramfs. It's unlikely that the howto page would leave out something as critical as this. Have you actually tried looking in /dev/mapper to see if your devices exist? If they do, the just mount them.
 
  


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
Kubuntu doesn't load linuxisgreat Linux - Distributions 3 04-23-2009 02:01 PM
kubuntu startup itsmillertime167 Linux - Newbie 2 01-14-2009 08:14 PM
Kubuntu 8.04 and dmraid don_wombat_73 Linux - Hardware 1 06-18-2008 02:57 PM
Kubuntu 7.04 hangs on startup sydney-troz Ubuntu 1 05-30-2007 06:20 PM
Kubuntu startup question tokyo_ Ubuntu 2 06-16-2006 02:02 AM


All times are GMT -5. The time now is 05:12 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration