Re: [gentoo-user] Kernel does not boot after adding a new SATA drive

2016-09-08 Thread gevisz
2016-09-07 21:46 GMT+03:00 Rich Freeman : > On Wed, Sep 7, 2016 at 2:25 PM, gevisz wrote: >> >> What you have just said implies that I had not had a problem >> booting the system after adding a new drive had I used initramfs >> correctly. Well, I do agree that,

Re: [gentoo-user] Kernel does not boot after adding a new SATA drive

2016-09-07 Thread Rich Freeman
On Wed, Sep 7, 2016 at 2:25 PM, gevisz wrote: > > What you have just said implies that I had not had a problem > booting the system after adding a new drive had I used initramfs > correctly. Well, I do agree that, after loading the initramfs, the system > may find the kernel to

Re: [gentoo-user] Kernel does not boot after adding a new SATA drive

2016-09-07 Thread gevisz
2016-09-07 16:19 GMT+03:00 Rich Freeman : > On Wed, Sep 7, 2016 at 7:57 AM, gevisz wrote: >> 2016-09-07 12:36 GMT+03:00 Rich Freeman : >>> On Tue, Sep 6, 2016 at 11:36 PM, Mike Gilbert wrote: grub-mkconfig is not

Re: [gentoo-user] Kernel does not boot after adding a new SATA drive

2016-09-07 Thread Rich Freeman
On Wed, Sep 7, 2016 at 7:57 AM, gevisz wrote: > 2016-09-07 12:36 GMT+03:00 Rich Freeman : >> On Tue, Sep 6, 2016 at 11:36 PM, Mike Gilbert wrote: >>> >>> grub-mkconfig is not finding an initramfs, as evidenced by the lack of >>> an "initrd"

Re: [gentoo-user] Kernel does not boot after adding a new SATA drive

2016-09-07 Thread Raffaele BELARDI
gevisz wrote: > So, the question remains: why not to desing the GRUB in such a way > that it could look for the boot partition by its UUID on any available > hard drives? Why don't you ask to the GRUB designers? This is a GENTOO mailing list. raffaele

Re: [gentoo-user] Kernel does not boot after adding a new SATA drive

2016-09-07 Thread gevisz
2016-09-07 12:36 GMT+03:00 Rich Freeman : > On Tue, Sep 6, 2016 at 11:36 PM, Mike Gilbert wrote: >> >> grub-mkconfig is not finding an initramfs, as evidenced by the lack of >> an "initrd" in in grub.cfg. >> >> If it is unable to find an initramfs, it will

Re: [gentoo-user] Kernel does not boot after adding a new SATA drive

2016-09-07 Thread Rich Freeman
On Tue, Sep 6, 2016 at 11:36 PM, Mike Gilbert wrote: > > grub-mkconfig is not finding an initramfs, as evidenced by the lack of > an "initrd" in in grub.cfg. > > If it is unable to find an initramfs, it will always output > root=/dev/sdX instead of root=UUID=... > For

Re: [gentoo-user] Kernel does not boot after adding a new SATA drive

2016-09-07 Thread Neil Bothwick
On Wed, 7 Sep 2016 09:22:59 +0300, gevisz wrote: > After many attempts, I finally managed to boot with the new drive > attached manually editing the above entry in /boot/grub/grub.cfg > 1) deleting the root=UUID=44*** part of its line (which probably means > that adding

Re: [gentoo-user] Kernel does not boot after adding a new SATA drive

2016-09-07 Thread Alan McKinnon
On 07/09/2016 08:22, gevisz wrote: > 3) changing hd1 and ahci1 throughout the entry to hd3 and ahci3 > (currently I am not sure about the last number but will find it > out in the next boots) > wich is strange as BIOS reports that the boot disk sits on the > 0th IDE chanel and >

Re: [gentoo-user] Kernel does not boot after adding a new SATA drive

2016-09-07 Thread gevisz
2016-09-07 1:03 GMT+03:00 gevisz : > 2016-09-07 0:32 GMT+03:00 Neil Bothwick : >> On Wed, 7 Sep 2016 00:05:32 +0300, gevisz wrote: >> >>> >> But it seems that GRUB does not read fstab... :( >>> > >>> > It does not, because it has not loaded the kernel yet, so

Re: [gentoo-user] Kernel does not boot after adding a new SATA drive

2016-09-06 Thread Mike Gilbert
On Tue, Sep 6, 2016 at 6:03 PM, gevisz wrote: > 2016-09-07 0:32 GMT+03:00 Neil Bothwick : >> On Wed, 7 Sep 2016 00:05:32 +0300, gevisz wrote: >> >>> >> But it seems that GRUB does not read fstab... :( >>> > >>> > It does not, because it has not loaded the

Re: [gentoo-user] Kernel does not boot after adding a new SATA drive

2016-09-06 Thread Dutch Ingraham
On Wed, Sep 07, 2016 at 12:38:40AM +0100, Neil Bothwick wrote: > On Tue, 6 Sep 2016 18:22:54 -0500, Dutch Ingraham wrote: > > > > grub-mkconfig doesn't care about the fstab of the running distro > > > since it scans your drives for all operating systems it can boot. > > > > > Sorry if I missed

Re: [gentoo-user] Kernel does not boot after adding a new SATA drive

2016-09-06 Thread Neil Bothwick
On Tue, 6 Sep 2016 18:22:54 -0500, Dutch Ingraham wrote: > > grub-mkconfig doesn't care about the fstab of the running distro > > since it scans your drives for all operating systems it can boot. > > > Sorry if I missed something in this tome, but I was under the > impression that a seperate

Re: [gentoo-user] Kernel does not boot after adding a new SATA drive

2016-09-06 Thread Dutch Ingraham
On Tue, Sep 06, 2016 at 10:32:35PM +0100, Neil Bothwick wrote: > On Wed, 7 Sep 2016 00:05:32 +0300, gevisz wrote: > > > grub-mkconfig doesn't care about the fstab of the running distro since it > scans your drives for all operating systems it can boot. > Sorry if I missed something in this

Re: [gentoo-user] Kernel does not boot after adding a new SATA drive

2016-09-06 Thread Neil Bothwick
On Wed, 7 Sep 2016 01:03:19 +0300, gevisz wrote: > > grub-mkconfig doesn't care about the fstab of the running distro > > since it scans your drives for all operating systems it can boot. > > > > Either look in grub.cfg to see what it going on or post it here along > > with the exact error

Re: [gentoo-user] Kernel does not boot after adding a new SATA drive

2016-09-06 Thread gevisz
2016-09-07 0:32 GMT+03:00 Neil Bothwick : > On Wed, 7 Sep 2016 00:05:32 +0300, gevisz wrote: > >> >> But it seems that GRUB does not read fstab... :( >> > >> > It does not, because it has not loaded the kernel yet, so it cannot do >> > anything on the system. >> >> Oh, poor

Re: [gentoo-user] Kernel does not boot after adding a new SATA drive

2016-09-06 Thread Neil Bothwick
On Wed, 7 Sep 2016 00:05:32 +0300, gevisz wrote: > >> But it seems that GRUB does not read fstab... :( > > > > It does not, because it has not loaded the kernel yet, so it cannot do > > anything on the system. > > Oh, poor little Grand Unified Boot Loader! > > It cannot do anything! Even to

Re: [gentoo-user] Kernel does not boot after adding a new SATA drive

2016-09-06 Thread gevisz
2016-09-07 0:07 GMT+03:00 Rich Freeman : > On Tue, Sep 6, 2016 at 4:57 PM, gevisz wrote: >> >> It seems that now I should edit /boot/grub/grub.cfg directly >> without even knowing its commands. >> > > Well, if nothing else you can certainly read it and see what

Re: [gentoo-user] Kernel does not boot after adding a new SATA drive

2016-09-06 Thread Alan McKinnon
On 06/09/2016 23:05, gevisz wrote: > 2016-09-06 22:54 GMT+03:00 Neil Bothwick : >> On Tue, 6 Sep 2016 21:38:07 +0300, gevisz wrote: >> grub-mkconfig should use UUIDs by default, unless you have uncommented >> >> #GRUB_DISABLE_LINUX_UUID=true > > I did not. So, it is a bug in

Re: [gentoo-user] Kernel does not boot after adding a new SATA drive

2016-09-06 Thread Rich Freeman
On Tue, Sep 6, 2016 at 4:57 PM, gevisz wrote: > > It seems that now I should edit /boot/grub/grub.cfg directly > without even knowing its commands. > Well, if nothing else you can certainly read it and see what it is putting in there. If you page down you'll hit the actual

Re: [gentoo-user] Kernel does not boot after adding a new SATA drive

2016-09-06 Thread gevisz
2016-09-06 22:54 GMT+03:00 Neil Bothwick : > On Tue, 6 Sep 2016 21:38:07 +0300, gevisz wrote: > >> > 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.

Re: [gentoo-user] Kernel does not boot after adding a new SATA drive

2016-09-06 Thread gevisz
2016-09-06 22:48 GMT+03:00 Daniel Frey : > On 09/06/2016 12:39 PM, gevisz wrote: >> 2016-09-06 22:08 GMT+03:00 Rich Freeman : >>> On Tue, Sep 6, 2016 at 3:01 PM, gevisz wrote: I have already looked into this file but did not find

Re: [gentoo-user] Kernel does not boot after adding a new SATA drive

2016-09-06 Thread Rich Freeman
On Tue, Sep 6, 2016 at 4:10 PM, Alan McKinnon wrote: > On 06/09/2016 21:39, gevisz wrote: >> >> 2016-09-06 22:08 GMT+03:00 Rich Freeman : >>> >>> On Tue, Sep 6, 2016 at 3:01 PM, gevisz wrote: I have already looked into

Re: [gentoo-user] Kernel does not boot after adding a new SATA drive

2016-09-06 Thread Alan McKinnon
On 06/09/2016 21:39, gevisz wrote: 2016-09-06 22:08 GMT+03:00 Rich Freeman : On Tue, Sep 6, 2016 at 3:01 PM, gevisz wrote: I have already looked into this file but did not find where to set the UUID of the root partion. It depends. :) Usually you end

Re: [gentoo-user] Kernel does not boot after adding a new SATA drive

2016-09-06 Thread Neil Bothwick
On Tue, 6 Sep 2016 21:38:07 +0300, gevisz wrote: > > 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

Re: [gentoo-user] Kernel does not boot after adding a new SATA drive

2016-09-06 Thread Daniel Frey
On 09/06/2016 12:39 PM, gevisz wrote: > 2016-09-06 22:08 GMT+03:00 Rich Freeman : >> On Tue, Sep 6, 2016 at 3:01 PM, gevisz wrote: >>> >>> I have already looked into this file but did not find where to set the >>> UUID of the root partion. >>> >> >> It depends.

Re: [gentoo-user] Kernel does not boot after adding a new SATA drive

2016-09-06 Thread gevisz
2016-09-06 22:08 GMT+03:00 Rich Freeman : > On Tue, Sep 6, 2016 at 3:01 PM, gevisz wrote: >> >> I have already looked into this file but did not find where to set the >> UUID of the root partion. >> > > It depends. :) > > Usually you end up with root=UUID=abc

Re: [gentoo-user] Kernel does not boot after adding a new SATA drive

2016-09-06 Thread Rich Freeman
On Tue, Sep 6, 2016 at 3:01 PM, gevisz wrote: > > I have already looked into this file but did not find where to set the > UUID of the root partion. > It depends. :) Usually you end up with root=UUID=abc on your kernel command line. It looks like grub-mkconfig is supposed to

Re: [gentoo-user] Kernel does not boot after adding a new SATA drive

2016-09-06 Thread gevisz
2016-09-06 21:45 GMT+03:00 Willie M : > On 09/06/2016 11:38 AM, gevisz wrote: >> 2016-09-06 21:21 GMT+03:00 Neil Bothwick : >>> On Tue, 6 Sep 2016 21:16:12 +0300, gevisz wrote: >>> I had one IDE hard drive for / and one SATA hard drive for

Re: [gentoo-user] Kernel does not boot after adding a new SATA drive

2016-09-06 Thread Willie M
On 09/06/2016 11:38 AM, gevisz wrote: > 2016-09-06 21:21 GMT+03:00 Neil Bothwick : >> 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

Re: [gentoo-user] Kernel does not boot after adding a new SATA drive

2016-09-06 Thread gevisz
2016-09-06 21:21 GMT+03:00 Neil Bothwick : > 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

Re: [gentoo-user] Kernel does not boot after adding a new SATA drive

2016-09-06 Thread Neil Bothwick
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