You are not logged in.

#1 2015-06-03 00:07:04

proof
Member
Registered: 2015-05-25
Posts: 19

Edit fstab before boot.

I've run into a situation twice now and was wondering if there was a remedy other than the one I've been doing.

What happens is I put a mount entry into fstab which seems to be ok when I initialize it with the mount -a command from a shell prompt.

However during boot, it seems to choke on this same entry and drops me into emergency mode.

I then have to edit fstab, remming out the offending line and rebooting.

My question is, I know I can press tab during my initial boot to set additional kernel parameters with my bootloader (syslinux), but is there a way to modify fstab in a similar manner?

Also, if not, during boot I have to wait 1:30 as it tries to mount the partition before it stops trying , is there way to cancel out of this wait period or adjust it?

Thanks!

Last edited by proof (2015-06-03 00:54:28)

Offline

#2 2015-06-03 00:51:43

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Edit fstab before boot.

Post the offending fstab.

Offline

#3 2015-06-03 00:54:00

proof
Member
Registered: 2015-05-25
Posts: 19

Re: Edit fstab before boot.

UUID=abbbc690-5502-48bd-8645-9c7ab1001f9f       /               ext4            rw,relatime,data=ordered        0 1
UUID=c3884a8f-d8d4-478a-91b0-97eef248b33a       /vbox           ext4            rw,relatime,data=ordered        0 1
PARTUUID=cc782cb5-02                       /windows        ntfs            rw,relatime,data=ordered        0 1

It's the third line that it's choking on.

Last edited by proof (2015-06-03 01:18:48)

Offline

#4 2015-06-03 00:58:01

proof
Member
Registered: 2015-05-25
Posts: 19

Re: Edit fstab before boot.

Should the pass value be 2 on the non root lines?

Offline

#5 2015-06-03 01:14:22

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

Re: Edit fstab before boot.

You can't fsck an NTFS filesystem: https://wiki.archlinux.org/index.php/NT … onfiguring


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#6 2015-06-03 01:19:29

proof
Member
Registered: 2015-05-25
Posts: 19

Re: Edit fstab before boot.

jasonwryan wrote:

I'll give that a shot in the morning.  Don't want to reboot remotely.  Thanks!

Offline

#7 2015-06-03 01:58:13

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,572
Website

Re: Edit fstab before boot.

The above sounds like the right fix for this problem, but more generally for what you asked about, see here:
https://wiki.archlinux.org/index.php/Fs … th_systemd


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

Board footer

Powered by FluxBB