Gentoo Archives: gentoo-user

From: Neil Bothwick <neil@××××××××××.uk>
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:54:47
Message-Id: 20160906205426.54d72839@digimed.co.uk
In Reply to: Re: [gentoo-user] Kernel does not boot after adding a new SATA drive by gevisz
1 On Tue, 6 Sep 2016 21:38:07 +0300, gevisz wrote:
2
3 > > It sounds like you are specifying the root device by device node and
4 > > those have changed with the addition of a new drive. Using UUID or
5 > > LABEL will avoid this problem.
6 >
7 > Thank you for the prompt reply!
8 >
9 > In my fstab, all the old drives are specified by UUID.
10 > And the new one does not have UUID yet.
11 >
12 > But it seems that GRUB does not read fstab... :(
13
14 It does not, because it has not loaded the kernel yet, so it cannot do
15 anything on the system.
16
17 > Where else should I specify them?
18
19 grub.cfg in the kernel options.
20
21 > Do you think that running
22 > # grub-mkconfig -o /boot/grub/grub.cfg
23 > with a new drive connected will be enough?
24
25 grub-mkconfig should use UUIDs by default, unless you have uncommented
26
27 #GRUB_DISABLE_LINUX_UUID=true
28
29 in /etc/default/grub
30
31
32 --
33 Neil Bothwick
34
35 Top Oxymorons Number 8: Tight slacks

Replies

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