On a new install of wily. update-grub is improperly inserting a carriage return on the "linux" line of the grub.cfg menu items, between the two devices of a btrfs raid1 system (which for my system is in a luks container). The menu entries all looks like this:
menuentry 'Ubuntu' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-/dev/mapper/luks.root1_/dev/mapper/luks.root2' {
recordfail
load_video
gfxmode $linux_gfx_mode
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_msdos
insmod btrfs
set root='hd2,msdos1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd2,msdos1 --hint-efi=hd2,msdos1 --hint-baremetal=ahci2,msdos1 fe74974e-3e23-43af-bfb1-7b520673c52b
else
search --no-floppy --fs-uuid --set=root <UUID>
fi
linux /@s3970boot/vmlinuz-4.2.0-23-generic root=/dev/mapper/luks.root1
/dev/mapper/luks.root2 ro rootflags=subvol=@ quiet splash $vt_handoff
initrd /@s3970boot/initrd.img-4.2.0-23-generic
}
On a new install of wily. update-grub is improperly inserting a carriage return on the "linux" line of the grub.cfg menu items, between the two devices of a btrfs raid1 system (which for my system is in a luks container). The menu entries all looks like this:
menuentry 'Ubuntu' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_ id_option 'gnulinux- simple- /dev/mapper/ luks.root1_ /dev/mapper/ luks.root2' { platform_ search_ hint = xy ]; then bios=hd2, msdos1 --hint- efi=hd2, msdos1 --hint- baremetal= ahci2,msdos1 fe74974e- 3e23-43af- bfb1-7b520673c5 2b vmlinuz- 4.2.0-23- generic root=/dev/ mapper/ luks.root1 luks.root2 ro rootflags=subvol=@ quiet splash $vt_handoff initrd. img-4.2. 0-23-generic
recordfail
load_video
gfxmode $linux_gfx_mode
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_msdos
insmod btrfs
set root='hd2,msdos1'
if [ x$feature_
search --no-floppy --fs-uuid --set=root --hint-
else
search --no-floppy --fs-uuid --set=root <UUID>
fi
linux /@s3970boot/
/dev/mapper/
initrd /@s3970boot/
}
Removing that <cr> makes everything boot fine.