public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: "João Miguel" <jmcf125@openmailbox.org>
To: gentoo-user@lists.gentoo.org
Subject: [gentoo-user] Root device as UUID not properly detected
Date: Tue, 6 Oct 2015 16:59:25 +0100	[thread overview]
Message-ID: <20151006155925.GC2629@jmcf125-Acer-Arch.home> (raw)

Hello all,

I have decided to make a pen drive with Gentoo Linux installed, to have
a permanent pocket installation I can use in any computer as if it were
my own. The Gentoo Wiki guided me very well through it.

The problem I'm having only appears when I try to boot the pen drive
physically. That is, if I use a VM as such:

$ qemu-system-i386 -hda /dev/sdb -enable-kvm -m 2G

I have no error messages displayed. However, if I try to boot it from a
real PC, I get an error message alike "Could not find the root block
device in UUID=...". Now what is weird is this: in some PCs, if I click
Enter to try and use the same device, the system boots normally, or if I
drop to the shell, I can do blkid and see the root partition (usually
sdb4 or sdc4). But in at least one PC, the root device is not detected.
The same message appears even if I try for minutes. If I manually enter
the UUID or partition, it doesn't work either. It shows "Could not find
the root block device in ." (like in this question
https://forums.gentoo.org/viewtopic-t-971416.html)

The command I used to make the kernel and initram was
# genkernel --install --disklabel all
as I need basic support for any hardware.

I also found https://forums.gentoo.org/viewtopic-t-701116-start-0.html,
I expect the --disklabel option to help but the results are the same.

I use both UUIDs in /etc/fstab and /boot/syslinux/syslinux.cfg (tried
setting real_root and rootfstype besides root, no difference).

What sense does this problem make?! The BIOS sees the pen, syslinux
boots it using the UUID, why does the system suddenly forget where the
pen is?  Why does it have different behaviours in different computers,
and no problem as a VM? Is this a problem with the initrd, or with mdev?
I had a pen like this with Arch Linux and it ran just fine, maybe it was
because it used udev instead?

I hope you can help me, it's the 1st time I try Gentoo and it was going
so well! Thank you in advance,

João Miguel


             reply	other threads:[~2015-10-06 16:08 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-10-06 15:59 João Miguel [this message]
2015-10-06 16:17 ` [gentoo-user] Root device as UUID not properly detected Philip Webb
2015-10-06 16:55   ` João Miguel
2015-10-06 17:06     ` J. Roeleveld
2015-10-06 18:19       ` João Miguel
2015-10-06 21:15         ` J. Roeleveld
2015-10-06 22:03           ` João Miguel
2015-10-07 10:17             ` J. Roeleveld
2015-10-07 21:00               ` João Miguel
2015-10-08 21:23               ` João Miguel

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20151006155925.GC2629@jmcf125-Acer-Arch.home \
    --to=jmcf125@openmailbox.org \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox