thebigslide l33t
Joined: 23 Dec 2004 Posts: 792 Location: under a car or on top of a keyboard
|
Posted: Thu May 07, 2015 6:38 pm Post subject: Dracut ignores kernel command line as dom0 under xen |
|
|
grub.cfg:
Code: | menuentry 'Gentoo 3.18.11 from RAID with Xen' --class gentoo --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-df5da91b-6f01-4f51-bd3e-ed070fa556d4' {
load_video
insmod gzio
insmod part_msdos
insmod ext2
set root='hd0,msdos1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 04e4877f-52bc-469d-b1e9-2d688e28314e
else
search --no-floppy --fs-uuid --set=root 04e4877f-52bc-469d-b1e9-2d688e28314e
fi
### multiboot /xen-4.2.5.gz placeholder
echo 'Loading Linux 3.18.11 from RAID with Xen...'
multiboot /xen-4.2.5.gz placeholder
module /vmlinuz-3.18.11-xen placeholder root=/dev/mapper/vg1Tr10-root ro dom0_mem=1024 rd.md.uuid=3fbc101b:f955240e:8879893c:e77f2dc8 rd.luks.uuid=luks-520ffcd8-8066-4598-8ab9-97c45f311a0f rd.lvm.lv=vg1Tr10/root rd.lvm.lv=vg1Tr10/var rootflags=rw,noatime,attr2,inode64,sunit=1024,swidth=2048,noquota rootfstype=xfs rd.auto=1 init=/usr/lib/systemd/systemd
module /initrd-3.18.11-gentoo-xen
} |
Works fine if I do:
Code: | linux /vmlinuz-3.18.11 root=/dev/mapper/vg1Tr10-root ro rd.md.uuid=3fbc101b:f955240e:8879893c:e77f2dc8 rd.luks.uuid=luks-520ffcd8-8066-4598-8ab9-97c45f311a0f rd.lvm.lv=vg1Tr10/root rd.lvm.lv=vg1Tr10/var rootflags=rw,noatime,attr2,inode64,sunit=1024,swidth=2048,noquota rootfstype=xfs rd.auto=1 init=/usr/lib/systemd/systemd
|
I'm going to reboot and take a picture of the boot messages with my phone since I can't even get dracut to drop to a shell. It's totally ignoring the kernel cmdline arguments. |
|