Re: Boot process is stuck with "A start job ... "
Mansour Al Akeel <[email protected]> Wed, 17 Jun 2026 20:12:39 -0400
| Newsgroups | gmane.linux.gentoo.user |
|---|---|
| Message-ID | <CAFvvX=bd_4PgDi7xOe2Vdb1xfmGvMCR9o7AMZ1oZH2q2E6yzbg@mail.gmail.com> |
--0000000000005452e106547bf71e Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable My kernel build process is very similar to the Installation guide: $ make menuconfig $ make all $ make modules_install install Additionally, the filesystem for sda1 is ext4 and this is completed in the kernel so initrd wouldn't be needed for that part. However, you gave me a good hint. It could be something else I disabled that prevented the disk from being recognized. I think this narrows it to a level where I can continue investigation. Thank you. On Wed, Jun 17, 2026 at 5:16=E2=80=AFPM Michael <[email protected]> = wrote: > On Wednesday, 17 June 2026 21:42:32 British Summer Time Mansour Al Akeel > wrote: > > I am installing a new gentoo, with systemd. I have installed a kernel > > with the automatic process using "installkernel" which I will refer > > to kernel-dist. Then installed another kernel from "gentoo-sources". > > This is to be able to manually compile modules I need and optimize > > the kernel to my needs. The second manually installed kernel is > > kernel-6.18.35-r1. > > > > When booting with the customized kernel, the boot process hangs with a > > message like: > > "A start job is running for /dev/disk/by-uuid/6008cf.... ". > > What is partition is this? > > How did you install the custom kernel? > > Did you configure the root filesystem driver in the kernel, as opposed > to having it as a module? > > Is there an initrd for it? > > How was the bootloader configured/updated? > > It may help if you take a look here: > > https://wiki.gentoo.org/wiki/Handbook:AMD64/Installation/Kernel > > > > I tried to wait for the process to end, but I took 36 minutes and was > > still running without showing what was happening. > > It wasn't happening. TBH, 36 seconds would have been more than enough > to boot the whole system, let alone initialise and load a partition. It > seems the system was hanging because it couldn't load the block device > it detected - perhaps a missing filesystem driver. > > > > Journalctrl and > > dmesg didn't give me anything relevant. When I boot with kernel-dist, > > everything works fine. Searching the web for an answer, I found > > others talking about fstab, and udev, which doesn't make sense to me > > because the other kernel can boot properly. So I thought some > > configuration missing from the customized kernel is the only > > conclusion. I just can't pin point the issue clearly so left with > > trail and error option which is time consuming. > > > > Any idea what could be going wrong with the manually installed kernel > > or how to find the root cause ? > > By the way /etc/fstab is empty on my machine. > > As far as I know when systemd-boot is used as a bootloader, then an > fstab is not necessary, because systemd will check the GPT partition > type to find out what each partition is used for. However, I'm not > particularly familiar with systemd and I do not use it with Gentoo. > > If you changed the bootloader and did not create /etc/fstab, or systemd- > boot wasn't updated correctly to take account of the new kernel and > initrd (if you are using an initrd), then this may have caused the > problem you experienced at boot. > --0000000000005452e106547bf71e Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr"><div>My kernel build process is very similar to the Instal= lation guide:</div><div>$ make menuconfig</div><div>$ make all <br></div><d= iv>$ make modules_install install <br></div><div><br></div><div>Additionall= y, the filesystem for sda1 is ext4 and this is completed in the kernel so i= nitrd wouldn't be needed for that part. However, you gave me a good hin= t. It could be something else I disabled that prevented the disk from being= recognized. <br></div><div>I think this narrows it to a level where I can = continue investigation. Thank you.</div><div><br></div><div><br></div></div= ><br><div class=3D"gmail_quote gmail_quote_container"><div dir=3D"ltr" clas= s=3D"gmail_attr">On Wed, Jun 17, 2026 at 5:16=E2=80=AFPM Michael <<a hre= f=3D"mailto:[email protected]">[email protected]</a>> wrot= e:<br></div><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0= .8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On Wednesday,= 17 June 2026 21:42:32 British Summer Time Mansour Al Akeel <br> wrote:<br> > I am installing a new gentoo, with systemd. I have installed a kernel<= br> > with the automatic process using "installkernel" which I wil= l refer<br> > to kernel-dist. Then installed another kernel from "gentoo-source= s".<br> > This is to be able to manually compile modules I need and optimize<br> > the kernel to my needs. The second manually installed kernel is<br> > kernel-6.18.35-r1.<br> > <br> > When booting with the customized kernel, the boot process hangs with a= <br> > message like:<br> > "A start job is running for /dev/disk/by-uuid/6008cf.... ".<= br> <br> What is partition is this?<br> <br> How did you install the custom kernel?<br> <br> Did you configure the root filesystem driver in the kernel, as opposed <br> to having it as a module?<br> <br> Is there an initrd for it?<br> <br> How was the bootloader configured/updated?<br> <br> It may help if you take a look here:<br> <br> <a href=3D"https://wiki.gentoo.org/wiki/Handbook:AMD64/Installation/Kernel"= rel=3D"noreferrer" target=3D"_blank">https://wiki.gentoo.org/wiki/Handbook= :AMD64/Installation/Kernel</a><br> <br> <br> > I tried to wait for the process to end, but I took 36 minutes and was<= br> > still running without showing what was happening.<br> <br> It wasn't happening.=C2=A0 TBH, 36 seconds would have been more than en= ough <br> to boot the whole system, let alone initialise and load a partition.=C2=A0 = It <br> seems the system was hanging because it couldn't load the block device = <br> it detected - perhaps a missing filesystem driver.<br> <br> <br> > Journalctrl and<br> > dmesg didn't give me anything relevant. When I boot with kernel-di= st,<br> > everything works fine. Searching the web for an answer, I found<br> > others talking about fstab, and udev, which doesn't make sense to = me<br> > because the other kernel can boot properly. So I thought some<br> > configuration missing from the customized kernel is the only<br> > conclusion. I just can't pin point the issue clearly so left with<= br> > trail and error option which is time consuming.<br> > <br> > Any idea what could be going wrong with the manually installed kernel<= br> > or how to find the root cause ?<br> > By the way /etc/fstab is empty on my machine.<br> <br> As far as I know when systemd-boot is used as a bootloader, then an <br> fstab is not necessary, because systemd will check the GPT partition <br> type to find out what each partition is used for.=C2=A0 However, I'm no= t <br> particularly familiar with systemd and I do not use it with Gentoo.<br> <br> If you changed the bootloader and did not create /etc/fstab, or systemd-<br= > boot wasn't updated correctly to take account of the new kernel and <br= > initrd (if you are using an initrd), then this may have caused the <br> problem you experienced at boot.<br> </blockquote></div> --0000000000005452e106547bf71e--