You are not logged in.

#1 2013-08-16 00:31:22

kwintruder
Member
Registered: 2009-03-18
Posts: 7

Unable to start, stuck in early userspace after custom mkinitcpio

Hi archers, my system wont start properly, I'm stuck in the early userspace after trying some hook to boot faster, with this
mkinitcpio.conf:

MODULES="ahci sd_mod ext4"
BINARIES="fsck fsck.ext4"
HOOKS="base"
COMPRESSION="lzma"

so, I ran:

# mkinitcpio -k /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux.img

Surely it goes well)), but after a reboot just early userspace and nothing more...
Okay, I though, it was a nice try, now you boot with secure fallback image and drink some tee... yea sure:(
NO fallback, NO luck, just another landing in early userspace...

So, my root fs is now /new_root, some sym/hardlink or just a new label perhaps?


Im not too well with system internals, so please, show me a way out.
Many greetings from Germany!

Offline

#2 2013-08-16 00:44:33

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: Unable to start, stuck in early userspace after custom mkinitcpio

Chroot in, fix your mknintcpio.conf and regenerate the initrd.

I don't think this approach is going to make any noticeable impact on your boot time, even if it had worked.


Not an Installation Issue, moving to NC...


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2013-08-16 01:14:09

falconindy
Developer
From: New York, USA
Registered: 2009-10-22
Posts: 4,111
Website

Re: Unable to start, stuck in early userspace after custom mkinitcpio

Please don't use lzma. Even lzma upstream prefers it never existed.

If you really want a small initramfs, use xz. However, if you want a fast initramfs, use gzip. Or nothing at all (cat).

kwintruder wrote:

Im not too well with system internals, so please, show me a way out.

Your way out is the stock initramfs, until you learn more about the boot process.

Last edited by falconindy (2013-08-16 01:15:15)

Offline

Board footer

Powered by FluxBB