Gentoo Archives: gentoo-user

From: "João Miguel" <jmcf125@×××××××××××.org>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Root device as UUID not properly detected
Date: Tue, 06 Oct 2015 22:03:24
Message-Id: 20151006220304.GF2629@jmcf125-Acer-Arch.home
In Reply to: Re: [gentoo-user] Root device as UUID not properly detected by "J. Roeleveld"
1 > > > Possible causes:
2 > > > 1. USB stick doesn't work as boot device
3 > Ok, so scratch that one.
4 Okay, done.
5
6 > > > 2. USB port is not supported by kernel
7 > >
8 > > I'm not sure what you mean. Is there any option I should enable for
9 > > genkernel? I read on the Wiki page that
10 >
11 > It works with Arch, are you using the same kernel options now with Gentoo?
12 Yeah, I tried many more here actually, with Arch I only need APPEND root=...
13 (no rootfstype, ro, rw, rootdelay, etc.).
14
15 > > > 3. You don't use root_delay as boot option
16 > > If that's what I think it is, I tell syslinux to wait 5 seconds.
17 (turns out it's not what I thought it was, though I did try root_delay, it is
18 actually rootdelay...)
19 > How do you tell it that?
20 Here's my syslinux.cfg with more comments:
21 PROMPT 1
22 TIMEOUT 50 # <-- here
23 DEFAULT gentoo
24
25 LABEL gentoo
26 LINUX ../kernel-genkernel-x86-4.0.5-gentoo
27 INITRD ../initramfs-genkernel-x86-4.0.5-gentoo
28 APPEND rootdelay=5 root=UUID="6fc386ff-8342-42a2-be02-51a6eccf8430" rootfstype=ext4
29 # ^^--- I added this just now because you said so, though in the last message I had root_delay
30 # Neither of those has any effect (conditions 2 and 3 I told you about remain as they were)
31 # (as I thought this has nthing to do with the bootloader)
32 # pen (normalmente /dev/sdb4): UUID="6fc386ff-8342-42a2-be02-51a6eccf8430" TYPE="ext4" PARTLABEL="Root Gentoo GNU/Linux" PARTUUID="9c4f6479-9dd7-4a8f-86f2-f1320cc15aa5"
33
34 > I never used an initrd when building my own USB sticks.
35 I don't know, I always used an initrd. Though I must say, that is the
36 phase of starting the PC I understand the worst.
37 > I was talking about:
38 > rootdelay= [KNL] Delay (in seconds) to pause before attempting to
39 > mount the root filesystem
40 >
41 > (See the file "kernel-parameters.txt" in the kernel Documentation)
42 (I'm guessing I'm not supposed to include this in the boot loader config...)
43
44 > That's a default signature... :)
45 Ah, so that's why it showed with a couple of dashes above it :)
46
47 All the best,
48 João Miguel

Replies

Subject Author
Re: [gentoo-user] Root device as UUID not properly detected "J. Roeleveld" <joost@××××××××.org>