The officially official Devuan Forum!

You are not logged in.

#1 Re: DIY » Custom Live Boot for Devuan Base System » 2021-07-22 05:16:37

fsmithred wrote:

I don't have any ideas on what you should do to fix it, but I found the following by poking around in the sysvinit-core source. This can be found in /lib/init/rc....

Thanks.... I will try to look at that.

#2 DIY » Custom Live Boot for Devuan Base System » 2021-07-21 11:40:21

lordwolf
Replies: 2

Hello all,

I am playing with some scripts that runs in initramfs and loads squashfs-compressed Devuan Beowulf root fs created using debootstrap. It runs ok, but I found an error message that I simply cannot find solution for... plus an itch...

INIT: version 2.93 booting
[info] Using makefile-style concurrent boot in runlevel S.
ERROR: could not open /proc/stat: No such file or directory
[info] Setting the system clock.
[info] System Clock set to: Wed Jul 21 11:29:42 UTC 2021.
[ ok ] Activating swap...done.
[....] Checking file systems...fsck from util-linux 2.33.1
done.
[ ok ] Cleaning up temporary files....
[ ok ] Mounting local filesystems...done.
[ ok ] Activating swapfile swap...done.
[ ok ] Cleaning up temporary files....
[ ok ] Cleaning up temporary files....
INIT: Entering runlevel: 2
[info] Using makefile-style concurrent boot in runlevel 2.

1) Notice that ERROR on third line - about not being able to open /proc/stat. Any ideas on what can cause this? Are there anything special I need to setup before starting init? I use busybox switch_root for that...

2) I actually have no filesystems to check... a single overlayfs mounted on tmpfs as root. Is there a way for me to tell init to skip that so that I do not see the fsck message? I skipped the root by simply marking 0 in fstab. I have no idea what it is trying to check...

The system boots fine and I can login and run apt and everything... but, I simply have to make those things go away tongue

Thanks for any ideas!

Board footer

Forum Software