Getting errors and dropped into emergency shell when turning on
I just finished installing Arch from a flash drove following the official guide, and I'm getting an error when booting it up. I'm then dropped into an emergency shell.
: : running early hook [udev]
starting version 239
: : running hook [udev]
: : Triggering uevents. . .
ERROR: device ` ` not found. Skipping fsck.
: : mounting ` ` on real root
mount: /new_root: no filesystem type specified.
You are now being dropped into an emergency shell.
sh: can't access tty; job control turned off
[rootfs ]#
I just finished up by installing and configuring systemd-boot and intel-ucode.
Anyone know what's going on?
About this post
- Posted
- Archived
- Score
- 7 · 100% up
- Kind
- Text
- ID
- 990ud8
18 comments
Looks like you never specified the root kernel parameter.
Hmm. What's the command for that?
It isn't "a command". Go to the wiki for whatever bootloader you're using and make sure you've seen it up correctly.
seems like you didn't specify your partitions and drives in
fstab, boot back into the archiso and mount your drives to inspect itMeh, overkill. You can mount / from the emergency shell and boot from there
How do I do that?
mount /dev/nvme0n1p2 /mnt/boot?Hmm. My fdisk commands were
g, then
new partition of 1gb type EFI system,
new partition of 60gb,
new partition of 2gb type linux swap,
new partition of 120gb.
After fdisk, I formatted my drives -
mkfs.vfat -F32 /dev/nvme0n1p1
mkfs.ext4 /dev/nvme0n1p2
mkfs.ext4 /dev/nvme0n1p4
mkswap /dev/nvme0n1p3
I then mounted my 60gb partition to /mnt, then my 1gb to /mnt/boot and my 120 gb to /mnt/home.
mount /dev/nvme0n1p2 /mnt
mkdir /mnt/boot
mkdir /mnt/home
mount /dev/nvme0n1p1 /mnt/boot
mount /dev/nvme0n1p4 /mnt/home
swapon /dev/nvme0n1p3
What am I missing?
fdisk is not the same thing as fstab.
Try