systemd fails to boot most of the time

Oliver Grawert ogra at ubuntu.com
Tue Feb 28 10:19:59 UTC 2017


hi,
Am Montag, den 27.02.2017, 18:57 -0500 schrieb Tom H:
> On Fri, Feb 24, 2017 at 1:59 PM, Oliver Grawert <ogra at ubuntu.com>
> wrote:
> > 
> > On Fr, 2017-02-24 at 13:28 -0500, Tom H wrote:
> > > 
> > > > 
> > > > > 
> > > > > 
> > > > > My second thought is to rebuild your current initramfs:
> > > > > 
> > > > > cd /boot
> > > > > update-initramfs -ut -k $(name -r)
> > > > But boots work, intermittently. As initramfs is RO, it can't be
> > > > an
> > > > error in that, can it?
> > > The intermittnent success/failure is weird (and Ralph might be
> > > correct in wonderting whather it's hardware-related) but I was
> > > thinking that the initramfs might have an incorrect fstab.
> > there is no fstab in the initrd :)
> I remember doing an lsinitramfs and seeing an fstab; perhaps not.
> 
well, there is a file node but it is completely empty ...

when using full disk encryption an fstab entry for the rootfs is
created dynamically in it from the kernel commandline args.

the actual read_fstab_entry() function in the initrd uses:

"for file in ${rootmnt}/etc/fstab; do" 

where $rootmnt is the already mounted rootfs disk (unless overridden
mounted in /root by default at that point)

ciao
	oli
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: This is a digitally signed message part
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20170228/42994802/attachment.pgp>


More information about the ubuntu-users mailing list