* [gentoo-user] Hangs at "Run /init as init process"
@ 2020-06-12 17:45 Mark Knecht
2020-06-13 4:35 ` Ashley Dixon
2020-06-13 10:24 ` tedheadster
0 siblings, 2 replies; 3+ messages in thread
From: Mark Knecht @ 2020-06-12 17:45 UTC (permalink / raw
To: Gentoo User
[-- Attachment #1: Type: text/plain, Size: 1519 bytes --]
I was quite bored yesterday and having looked at the install guide recently
and seeing quite a few changes since the last time I did a completely new
install I thought I'd pound out a super simple Gentoo minimal stable
install as a VM in Virtualbox just to see how it went. I had no particular
problems with any of the build instructions. To build the kernel I used
'genkernel all' as an experiment. The boot loader is grub. I set almost
nothing by hand in my make.conf file. I have no USE flags. I had no obvious
problems following the install guide other than the machine didn't work.
(!!!) ;-)
When I boot the VM it appears to find the kernel and the initramfs, carries
on for a few seconds and stops at
Run /init as init process
where the boot process just hangs. In top on the host I see Virtualbox
spinning 1 CPU core at 100%.
QUESTIONS:
1) Anything obvious I should go back and check about the build? I've
remounted everything and chroot'ed in.
2) Because it says "Run /init" and not "Run /sbin/init" this problem is, I
assume, happening in the initramfs? I assume so as I don't see the drives
getting mounted, nor any messages about not finding the drives, etc. I know
very little about the details of the init process really. (So I'll get to
learn! Cool!)
3) Generically looking at a number of boot logs on the net it appears the
next thing it would have done would be to run udev and then start mounting
disks? Am I stuck in a bad initramfs or did I miss something about udev?
Thanks in advance,
Mark
[-- Attachment #2: Type: text/html, Size: 1801 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [gentoo-user] Hangs at "Run /init as init process"
2020-06-12 17:45 [gentoo-user] Hangs at "Run /init as init process" Mark Knecht
@ 2020-06-13 4:35 ` Ashley Dixon
2020-06-13 10:24 ` tedheadster
1 sibling, 0 replies; 3+ messages in thread
From: Ashley Dixon @ 2020-06-13 4:35 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 669 bytes --]
On Fri, Jun 12, 2020 at 10:45:04AM -0700, Mark Knecht wrote:
> When I boot the VM it appears to find the kernel and the initramfs, carries
> on for a few seconds and stops at
>
> Run /init as init process
This is often caused by an init script not properly returning (thus hanging).
It's a terribly generic error; can you provide the full boot log before it
starts to hang ? Some potential solutions to try in the mean time:
https://stackoverflow.com/q/10955609/
https://mtekk.us/archives/guides/fix-linux-boot-halting-on-run-init-as-init-process/
--
Ashley Dixon
suugaku.co.uk
2A9A 4117
DA96 D18A
8A7B B0D2
A30E BF25
F290 A8AA
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [gentoo-user] Hangs at "Run /init as init process"
2020-06-12 17:45 [gentoo-user] Hangs at "Run /init as init process" Mark Knecht
2020-06-13 4:35 ` Ashley Dixon
@ 2020-06-13 10:24 ` tedheadster
1 sibling, 0 replies; 3+ messages in thread
From: tedheadster @ 2020-06-13 10:24 UTC (permalink / raw
To: gentoo-user
You might verify what kind of console your VM is using. Is it VGA or
serial? You can tell it to print boot messages early:
earlyprintk=vga
or
earlyprintk=ttyS0,115200n8
- Matthew
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2020-06-13 10:24 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-06-12 17:45 [gentoo-user] Hangs at "Run /init as init process" Mark Knecht
2020-06-13 4:35 ` Ashley Dixon
2020-06-13 10:24 ` tedheadster
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox