Trying to install Slackware 13.1 on a Dell 2950. I have a Perc5 RAID card and my kernel sees it as /dev/sda for the raw device.
I've created 3 partitions:
/dev/sda1 -- /boot partition type=82
/dev/sda2 -- swap partition type=83
/dev/sda3 -- my LVM partition type=82
Here are the steps I've been using:
1. pvcreate /dev/sda3 (is this necessary since the partition already exists from fdisk?)
2. vgcreate vg00 /dev/sda3
3. lvcreate -L 20G -n root vg00
4. vgscan --mknodes
5. vgchange -ay
I then install Slackware 13.1 as usual, picking /dev/vg00/root for root (/) and /dev/sda1 for (/boot) and /dev/sda2 for the swap.... All goes well.
After the install I then run these commands to make my initrd image.
chroot /mnt
mkinitrd -c -k 2.6.33.4 \
-m jfs:uhci_hcd:ehci_hcd:usbhid:hid:megaraid_sas:bnx2 \
-f jfs \
-r /dev/vg00/root \ (also tried /dev/mapper/vg00-root)
-L
This command runs without any errors and I do get an initrd.gz and initrd-tree in /boot
The relevant parts of my /etc/lilo.conf looks as follows:
boot=/dev/sda
image = /boot/vmlinuz-generic-2.6.33.4
initrd = /boot/vg00/root
label = linux
read-only
When I reboot the computer, I get the LILO boot manager. Kernel loads but it appears that the LVMs never come up. I get an error that there is no /root partition and that device /dev/vg00/root could not be found.
I've been using Linux for many years but I've never dealt with mkinitrd so I'm a bit unfamiliar with process and how the drivers are extracted. I do see the lvm binaries in the /boot/initrd-tree/sbin directory. (dmsetup, lvm, vgchange, vgscan; the latter two are sym linked to lvm)
I also tried to unzip and mount the initrd to have a look-see but could not figure that out either using mount -o loop -t ramfs /dev/boot/initrd /tmp
any help or suggestions greatly appreciated.