Trying to install slackware onto a raid 1 on 2 2TB drives.I followed the official readme.I have two drives, sda and sdb. They each have two partitions, one for /(50GB) and one for /home(Rest of drive, ~1950GB) No swap, have 32GB ram.I partitioned them with gparted in a live distro, as when I did it in the slackware setup with cfdisk, fdisk -l would say that the partition does not start on physical sector boundary, and I'm bad at fdisk (trying to get the trailing 100MB suggested by the readme was the hard bit there)So I get the disks partitioned, make both partitions raid 1, resulting in /dev/md0 and /dev/md1. I continue with the install, everything going smoothly. After setup finishes, I modify lilo.conf, setting boot = /dev/md0, and raid-extra-boot = mbr-onlyRestart, lilo comes up, starts booting slackware, then I getmd: autodetecting RAID arrays.md: Scanned 0 and added 0 devices...REISERFS warning (device md0): sh-2006 read_super_block: bread failed (dev md0, block 2, size 4096)REISERFS warning (device md0): sh-2006 read_super_block: bread failed (dev md0, block 16, size 4096)...EXT4-fs (md0): unable to read superblock...Please append a correct root= boot option ......kernel panic-not syncing VFS:unable to mount root fs on unknown-block(9,0)So it's not detecting the raid correctly, it seems.If I boot into parted magic, or the slackware setup, it does find /dev/md0.
Slackware 14.1 software raid kernel panic unable to mount root fs
raid;software raid;slackware
I am not familiar with Slackware, but if your initramfs does not detect the raid properly, you can try to make it work with the kernel's raid auto detection. To do that, set the partition type to 0xFD. I am not sure about the number, use the l command in fdisk or gdisk to find the raid autodetect partition type.