Gentoo Archives: gentoo-user

From: Rich Freeman <rich0@g.o>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Kernel does not boot after adding a new SATA drive
Date: Tue, 06 Sep 2016 19:08:17
Message-Id: CAGfcS_knrAS4AdFNSeONO5+_fA64MM6qS71Czbpn=doxvc1neg@mail.gmail.com
In Reply to: Re: [gentoo-user] Kernel does not boot after adding a new SATA drive by gevisz
1 On Tue, Sep 6, 2016 at 3:01 PM, gevisz <gevisz@×××××.com> wrote:
2 >
3 > I have already looked into this file but did not find where to set the
4 > UUID of the root partion.
5 >
6
7 It depends. :)
8
9 Usually you end up with root=UUID=abc on your kernel command line. It
10 looks like grub-mkconfig is supposed to do this automatically.
11
12 Your initramfs tool may also do something here (I know dracut sticks a
13 copy of your fstab in the initramfs and uses it to help find the root
14 partition, assuming you have root in your fstab (if not it will
15 probably yell at you at some point)).
16
17 You have to use an initramfs to use a UUID to mount your root.
18
19 --
20 Rich

Replies

Subject Author
Re: [gentoo-user] Kernel does not boot after adding a new SATA drive gevisz <gevisz@×××××.com>