Gentoo Archives: gentoo-user

From: "J. Roeleveld" <joost@××××××××.org>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] New AMD hardware. Still can't boot (but making progress).
Date: Sat, 29 Apr 2017 06:41:16
Message-Id: 15242752.AlkVpMixFi@eve
In Reply to: Re: [gentoo-user] New AMD hardware. Still can't boot (but making progress). by Daniel Frey
1 On Saturday, April 29, 2017 1:17:11 AM CEST Daniel Frey wrote:
2 > On 04/28/2017 12:51 PM, Alan Mackenzie wrote:
3 > > Hello, Mick and the whole World.
4 > >
5 > > # Load a linux kernel, passing the root filesystem and init process as
6 > > parameters echo "Loading kernel..."
7 > > echo "grub_platform = " $grub_platform
8 > > gfxpayload=text # For debugging.
9 > > linux /vmlinuz-4.9.16-gentoo root=/dev/md127 #rootfstype=btrfs
10 > > init=/usr/lib/systemd/systemd echo "just loaded kernel"
11 > > boot
12 > >
13 > > #echo "Loading initramfs..."
14 > > #initrd /initramfs-4.7.2.img
15 > >
16 > > }
17 >
18 > Just FYI, I boot off of a RAID10 on imsm, albiet on older hardware. Some
19 > time ago there was a change that the kernel would not autoassemble a
20 > RAID with a kernel only, you need to use an initramfs. (OK, I just
21 > looked and all I find are "my raid won't boot" results rather than the
22 > changes I found a couple years ago. But I did try.)
23 >
24 > I spent a couple of days trying to get mine to boot and eventually went
25 > hell with it and used dracut to create an initramfs, and it was smooth
26 > sailing after that.
27
28 Raid-autoassemble still works, but you need to use the "0.9" metadata for
29 that.
30 If you use the new metadata (1.x), you will need an initramfs. Same when using
31 "imsm". I would assume the same is true when using "ddf".
32
33 I use my own initramfs embedded into the kernel, had too many issues with the
34 genkernel initramfs and dracut when I tried full disk encryption on my laptop.
35 My own version is a lot smaller and simpler to maintain and (more importantly)
36 debug.
37
38 --
39 Joost