Gentoo Archives: gentoo-user

From: Rich Freeman <rich0@g.o>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] EFI install ( continum) [ system hangs at boot ]
Date: Fri, 27 Feb 2015 20:04:16
Message-Id: CAGfcS_==hP5_YXcPDnG2RG+BWwLciADQL4BDy0hCY7VPWNx3DA@mail.gmail.com
In Reply to: Re: [gentoo-user] EFI install ( continum) [ system hangs at boot ] by Mick
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