LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 02-08-2014, 12:26 AM   #16
kikinovak
MLED Founder
 
Registered: Jun 2011
Location: Montpezat (South France)
Distribution: CentOS, OpenSUSE
Posts: 3,453

Original Poster
Rep: Reputation: 2156Reputation: 2156Reputation: 2156Reputation: 2156Reputation: 2156Reputation: 2156Reputation: 2156Reputation: 2156Reputation: 2156Reputation: 2156Reputation: 2156

Quote:
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
    Code:
    mdadm -E -s > /boot/initrd-tree/etc/mdadm.conf
  3. run the following command as root
    Code:
    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:
Code:
# mdadm -E -s > /etc/mdadm.conf
Edit /etc/mkinitrd.conf and set RAID="1" (meaning "yes" and not the RAID level)

Generate an initrd:
Code:
# mkinitrd -F
Speed up disk synchronization:
Code:
# 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.

Cheers,

Niki
 
  


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
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

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

All times are GMT -5. The time now is 05:00 AM.

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