2016-09-06 21:45 GMT+03:00 Willie M <matthews.willi...@gmail.com>: > On 09/06/2016 11:38 AM, gevisz wrote: >> 2016-09-06 21:21 GMT+03:00 Neil Bothwick <n...@digimed.co.uk>: >>> On Tue, 6 Sep 2016 21:16:12 +0300, gevisz wrote: >>> >>>> I had one IDE hard drive for / >>>> and one SATA hard drive for /home >>>> >>>> After adding another (yet non-formatted) SATA hard drive >>>> the system panics and complains that it cannot find kernel >>>> (if I understood it correctly :). >>>> >>>> As it happens after the GRUB(2) menu, I suspect GRUB(2). >>>> >>>> Just executed >>>> # grub-mkconfig -o /boot/grub/grub.cfg >>>> but have not tried to reboot yet. >>>> >>>> After disconnecting a new hard drive, the system boot normally. >>> >>> It sounds like you are specifying the root device by device node and >>> those have changed with the addition of a new drive. Using UUID or LABEL >>> will avoid this problem. >> >> Thank you for the prompt reply! >> >> In my fstab, all the old drives are specified by UUID. >> And the new one does not have UUID yet. >> >> But it seems that GRUB does not read fstab... :( >> >> Where else should I specify them? >> >> Do you think that running >> # grub-mkconfig -o /boot/grub/grub.cfg >> with a new drive connected will be enough? >> > I edit the /etc/default/grub.
I have already looked into this file but did not find where to set the UUID of the root partion.