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