From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 9B44613888F for ; Tue, 6 Oct 2015 16:08:36 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5EB5321C010; Tue, 6 Oct 2015 16:08:23 +0000 (UTC) Received: from smtp2.openmailbox.org (smtp2.openmailbox.org [62.4.1.36]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id E703AE07DF for ; Tue, 6 Oct 2015 16:08:21 +0000 (UTC) Received: by mail2.openmailbox.org (Postfix, from userid 1004) id CA6EA2AC127D; Tue, 6 Oct 2015 17:59:30 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=openmailbox.org; s=openmailbox; t=1444147169; bh=8VVGk6ntyeD6oFEjQ8Vp2Tb+AXe8EOADIQCfGZEO4so=; h=Date:From:To:Subject:From; b=EwgbgATRHun8twso9DZOf5i+3y2N1Jc8iihneghtaPs4KSsmzZze84ST8K4Sw7COk mrAhGNQnvrzVzlqKWfLB9Bzc+rrP5Px0Yh/r7bfxvz+ja8XoDStUxFTZHc0w44Flma RdbO1b5Xs21+5ONECDEXrmJEH6LqbhY+xbu0ZAsY= X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on openmailbox-b2 X-Spam-Level: X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,NO_RECEIVED,NO_RELAYS autolearn=no autolearn_force=no version=3.4.0 Date: Tue, 6 Oct 2015 16:59:25 +0100 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=openmailbox.org; s=openmailbox; t=1444147169; bh=8VVGk6ntyeD6oFEjQ8Vp2Tb+AXe8EOADIQCfGZEO4so=; h=Date:From:To:Subject:From; b=EwgbgATRHun8twso9DZOf5i+3y2N1Jc8iihneghtaPs4KSsmzZze84ST8K4Sw7COk mrAhGNQnvrzVzlqKWfLB9Bzc+rrP5Px0Yh/r7bfxvz+ja8XoDStUxFTZHc0w44Flma RdbO1b5Xs21+5ONECDEXrmJEH6LqbhY+xbu0ZAsY= From: =?utf-8?B?Sm/Do28=?= Miguel To: gentoo-user@lists.gentoo.org Subject: [gentoo-user] Root device as UUID not properly detected Message-ID: <20151006155925.GC2629@jmcf125-Acer-Arch.home> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit X-Archives-Salt: b1752d1e-d2ac-43e2-9989-78ec2ebb3586 X-Archives-Hash: d33ac23ecd08befc446a250f53799849 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