On Fri, Feb 27, 2015 at 2:39 PM, Mick <michaelkintz...@gmail.com> wrote: > You can still use the kernel stub to boot directly your OS, but you may need > to specify the root fs, if it is BTRFS (not sure about others): > > $ grep CONFIG_CMDLINE /usr/src/linux/.config > # CONFIG_CMDLINE_PARTITION is not set > CONFIG_CMDLINE_BOOL=y > CONFIG_CMDLINE="root=/dev/sda2 rootfstype=btrfs" > # CONFIG_CMDLINE_OVERRIDE is not set > > Also the fs type should be built directly in the kernel, rather than a module.
Presumably you could also build an initramfs into the kernel, not that I've ever tried it. I think most just use gummiboot because it is far more flexible. If you're hard-coding all this stuff into your kernel then if anything changes you're going to be dropping to rescue disks. -- Rich