Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
mdadm --assemble --scan
This will assemble and start all arrays listed in the standard confile file. This command will typi-
cally go in a system startup file.
Just an addendum:
If you compile all the md related eatures into your kernel (ide drivers, sata drivers if needed, md support etc), the kernel can do autodetection for any raid devices at boot time.
So you don't have to care for raidtools or mdadm any more.
I think, that the initrd should help in case you prefer modules - but no experience here.
Clemente
Just an addendum:
If you compile all the md related eatures into your kernel (ide drivers, sata drivers if needed, md support etc), the kernel can do auto-detection for any raid devices at boot time.
So you don't have to care for raid tools or mdadm any more.
I think, that the initrd should help in case you prefer modules - but no experience here.
Clemente
i think life is easier with inird (when it has the right modules).
i have RAID-1 on my PC at home, it boots like this,
the grub configurations is as so (located at /boot/grub/menu.lst):
Code:
title MEPIS at hda2 RAID, kernel 2.6.14-686
root (hd2,0)
kernel /boot/vmlinuz-2.6.14-2-686 root=/dev/md0 md=0,/dev/hda2,/dev/hdc1 nomce quiet splash=verbose vga=791
initrd /boot/initrd.img-2.6.14-2-686
savedefault
while the initrd image is created with mkinitramfs and not mkinitrd (otherwise you don't have the right modules). this should work with any kernel later than 2.6.12
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.