Register a domain and help support LQ
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 02-08-2014, 12:26 AM   #16
Senior Member
Registered: Jun 2011
Location: Montpezat (South France)
Distribution: MLES, MLED
Posts: 2,650

Original Poster
Rep: Reputation: 1422Reputation: 1422Reputation: 1422Reputation: 1422Reputation: 1422Reputation: 1422Reputation: 1422Reputation: 1422Reputation: 1422Reputation: 1422

Originally Posted by Richard Cranium View Post
Try this:
  1. Boot into your system using the huge kernel.
  2. run the following command as root
    mdadm -E -s > /boot/initrd-tree/etc/mdadm.conf
  3. run the following command as root
    mkinitrd -o /boot/initrd.gz
  4. reboot and try using the generic kernel

The command in bullet #2 should create a valid mdadm.conf file in your initrd-tree area. The command in bullet #3 should rebuild your initrd using only what is in your initrd-tree.

Please let us know if that worked. If it doesn't work, please tell us what was put into /boot/initrd-tree/etc/mdadm.conf after you ran the command in bullet #2.
Sorry for the late response, I only found some time now doing some extensive testing. Here's what worked for me.

Once the installation is finished, chroot into the newly installed environment.

Generate mdadm.conf:
# mdadm -E -s > /etc/mdadm.conf
Edit /etc/mkinitrd.conf and set RAID="1" (meaning "yes" and not the RAID level)

Generate an initrd:
# mkinitrd -F
Speed up disk synchronization:
# echo 50000 > /proc/sys/dev/raid/speed_limit_min
Edit LILO, exit and reboot.

With a RAID 1 setup, rebooting can be done even when the disks are not yet synchronized. With a RAID 5 setup, disk synchronization has to be finished, otherwise you get a kernel panic on reboot.

Now everything works like a charm.

I humbly suggest a little update for the official Slackware RAID documentation. Some stuff is missing.




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
kernel panic Slackware64-14.1 Jeebizz Slackware 2 11-08-2013 02:50 PM
Kernel panic after upgrading slackware64-current to 2.6.32.x kernel Lenard Spencer Slackware 4 01-22-2010 11:54 AM
Kernel Panic: Booting into RAID 1 elliotfuller Linux - Hardware 0 09-07-2005 03:01 AM
Kernel panic - HPT366 RAID breenbaron Linux - Hardware 14 10-07-2004 04:20 PM
Kernel 2.6, RAID-1 & reiserfs kernel panic Raptor Ramjet Slackware 2 01-04-2004 08:25 AM

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