this post was submitted on 23 Nov 2023
5 points (66.7% liked)

Linux

45460 readers
1961 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
5
submitted 7 months ago* (last edited 7 months ago) by Hiro8811 to c/[email protected]
 

Fixed by using grub.

Error when trying to boot into new install. ERROR: device ' ' not found. Skipping fsck. :: mounting ' ' on real root mount : /new_root: no valid filesystem type specified. ERROR: Failed to mount ' ' on real root And I'm getting dropped in emergency shell. I used official wiki, used refind as bootloader. Second time I tried installing and got same error.
Edit1: fstab
`#/dev/nvme0n1p2
UUID=4dae009f-c08f-4636-b1b5-85a4713a6f40 / ext4 rw,relatime 0 1

#/dev/nvme0n1p1
UUID=0019-78B6 /boot vfat rw,relatime, fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortname=mixed,utf8,errors=remount-ro 0 2 `
p2 is root partition
p1 is efi partition.

Edit2: running timedatectl in chroot returns System has not been booted with systemd as init system (PID 1). Can't operate. Failed to connect to bus: Host is down

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 5 points 7 months ago* (last edited 7 months ago) (1 children)

You'll need to post more info about your bootloader/fstab config. The error ERROR: device ' ' not found implies there's something set to an empty string.

[–] Hiro8811 2 points 7 months ago (2 children)

I'm relatively new to arch so what do I need to look for?

[–] [email protected] 4 points 7 months ago

I use Grub for my bootloader so I'm probably not the best person to ask for rEFind problems, but a good place to start for everything Arch related is the wiki. The page for rEFInd has a configuration section that outlines where the config files are and how to read them. Check that everything there matches what you expect it to be: https://wiki.archlinux.org/title/REFInd#Configuration.

If you've verified that your bootloader config is correct and it's installed on the drive you're booting from correctly another config to check is /etc/fstab to ensure you have a root device set in there too. The wiki is your friend here too: https://wiki.archlinux.org/title/Fstab

[–] [email protected] 3 points 7 months ago (1 children)

Like foo said, sounds like a bad fstab. Post your fstab here.

Also, pro-tip: Keep a bootable live distro like linux mint on a usb drive for situations like this, so you can easily mount the drive, chroot, and do whatever maintenance you need if you get to an unbootable state.

[–] Hiro8811 1 points 7 months ago