You are not logged in.

#1 2018-04-22 20:03:34

Enderger
Member
Registered: 2018-04-22
Posts: 9

[SOLVED]Can't boot into Arch without manually mounting root first.

I can't boot into arch without manually mounting root every time I boot. I have already regenerated my /etc/fstab and would rather not reinstall arch, but the boot error is getting to me.
My /etc/fstab

 GNU nano 2.9.5                               /etc/fstab                                          
 
# Static information about the filesystems.
# See fstab(5) for details.
 
# <file system> <dir> <type> <options> <dump> <pass>
# /dev/sdb5
/dev/sdb5       /               ext4            rw,relatime,data=ordered        0 1
/var/cache/swap/myswap    none    swap    sw    0   0

The error
Please help!
My root partition IS /dev/sdb5!

Last edited by Enderger (2018-04-22 22:01:40)

Offline

#2 2018-04-22 20:05:35

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,672

Re: [SOLVED]Can't boot into Arch without manually mounting root first.

Your fstab is irrelevant here, what your bootloader config looks like is much more important at this stage.

Offline

#3 2018-04-22 20:07:06

loqs
Member
Registered: 2014-03-06
Posts: 17,327

Re: [SOLVED]Can't boot into Arch without manually mounting root first.

Welcome to the arch linux forums Enderger.  The error will not be releated to /etc/fstab as that is on the root filesystem which is to be mounted.
What bootloader is the system using and what is its configuration.  You seem to be passing an empty value for root= which causes the failure.

Offline

#4 2018-04-22 20:12:54

Enderger
Member
Registered: 2018-04-22
Posts: 9

Re: [SOLVED]Can't boot into Arch without manually mounting root first.

My bootloader is rEFInd
It uses the automatic entry

Offline

#5 2018-04-22 20:18:40

Enderger
Member
Registered: 2018-04-22
Posts: 9

Re: [SOLVED]Can't boot into Arch without manually mounting root first.

Offline

#6 2018-04-22 20:40:04

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,672

Re: [SOLVED]Can't boot into Arch without manually mounting root first.

Why did you edit out the UUID in your first post? You should be using the UUID as an identifier in both your fstab and your bootloader.

According to https://wiki.archlinux.org/index.php/RE … parameters you should have a refind_linux.conf in your /boot directory, what does that look like?

Offline

#7 2018-04-22 20:41:11

loqs
Member
Registered: 2014-03-06
Posts: 17,327

Re: [SOLVED]Can't boot into Arch without manually mounting root first.

As all those entries are disabled refind will not use any of them.

Offline

#8 2018-04-22 20:44:30

Enderger
Member
Registered: 2018-04-22
Posts: 9

Re: [SOLVED]Can't boot into Arch without manually mounting root first.

I found the issue! Refind seems to not generate a working refind_linux.conf file. Thanks for the help!

Last edited by Enderger (2018-04-22 20:48:41)

Offline

#9 2018-04-22 20:47:21

Enderger
Member
Registered: 2018-04-22
Posts: 9

Re: [SOLVED]Can't boot into Arch without manually mounting root first.

For reference, the old config looked like this:

"Boot with standard options"  "archisobasedir=arch archisolabel=ARCH_201804"
"Boot to single-user mode"    "archisobasedir=arch archisolabel=ARCH_201804 single"
"Boot with minimal options"   "ro root=UUID=30f5f967-84c1-4787-9637-3fd1a60bdaba"

and the new one looks like this:

"Boot with standard options"  "rw root=UUID=30f5f967-84c1-4787-9637-3fd1a60bdaba intrd=/boot/initramfs-linux.img"

Offline

#10 2018-04-22 20:48:14

Enderger
Member
Registered: 2018-04-22
Posts: 9

Re: [SOLVED]Can't boot into Arch without manually mounting root first.

Thanks for the lead!

Offline

#11 2018-04-22 21:56:09

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,672

Re: [SOLVED]Can't boot into Arch without manually mounting root first.

No problem, please mark as [SOLVED] by editing the title in your first post.

For the future, rather than bumping your thread edit your post to append new information if you've been the last to reply, read: https://wiki.archlinux.org/index.php/Co … ow_to_post as well.

Offline

#12 2018-04-22 22:02:03

Enderger
Member
Registered: 2018-04-22
Posts: 9

Re: [SOLVED]Can't boot into Arch without manually mounting root first.

*message deleted*

Last edited by Enderger (2018-04-22 22:04:55)

Offline

Board footer

Powered by FluxBB