You are not logged in.

#1 2013-07-30 00:55:22

weirddan455
Member
Registered: 2012-04-15
Posts: 213

New Syslinux.cfg defaults to mounting root rw (Also slower boot time)

This may or may not be two seperate issues.

1. Since the kernel update to 3.10, my boot time has slightly increased by hanging for a couple seconds at "Triggering uevents."  I have my root partiton encrypted with LUKS and where it hangs is right before it asks for my passphrase.  It says "Triggering uevents" then "Running [encrypt] hook" but it's the uevents that causes the hang.  It's not a super big deal but I'd like to know what caused it.  There was no hang up with kernel 3.9.

2. I was hoping the update today would fix things since both Syslinux and linux-firmware updated.  However, this was not the case.  I did notice that the Syslinux update gave me a syslinux.cfg.pacnew which now defaults to "rw" instead of the old "ro" on the APPEND line for mounting root.  What is the difference here?  I tried both but I still have the same hangup on "Triggering uevents" and can't tell a difference in booting either way.

Offline

#2 2013-07-30 00:59:44

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

Re: New Syslinux.cfg defaults to mounting root rw (Also slower boot time)


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2013-07-30 01:02:48

cfr
Member
From: Cymru
Registered: 2011-11-27
Posts: 7,198

Re: New Syslinux.cfg defaults to mounting root rw (Also slower boot time)

I don't know about (1) but I am pretty sure that (2) is anticipating a change which is coming in systemd. The new version of systemd will fsck root twice unless it is mounted rw i.e. the way it will tell whether it needs to fsck it or not is by seeing if it is mounted rw. So to avoid having root fscked twice, it needs to be mounted rw at boot. If you search, there's a thread about this somewhere - probably in the testing forum as this hasn't hit the stable repos yet. At least, I'm still on version 204 and I think the change comes in around 206.

EDIT: Or if jasonwryan searches...

Last edited by cfr (2013-07-30 01:04:07)


CLI Paste | How To Ask Questions

Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L

Offline

#4 2013-07-30 11:36:49

Moosey_Linux
Member
From: Gotland Sweden
Registered: 2012-07-01
Posts: 45

Re: New Syslinux.cfg defaults to mounting root rw (Also slower boot time)

I changed  it to day but i did not notes any slower start up, it is exactly as it was before the ro/rw change

Offline

#5 2013-07-30 13:32:39

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

Re: New Syslinux.cfg defaults to mounting root rw (Also slower boot time)

Moosey_Linux wrote:

I changed  it to day but i did not notes any slower start up, it is exactly as it was before the ro/rw change

+1 although I'm not using LUKS.

Offline

#6 2013-07-30 15:08:03

Moosey_Linux
Member
From: Gotland Sweden
Registered: 2012-07-01
Posts: 45

Re: New Syslinux.cfg defaults to mounting root rw (Also slower boot time)

I use LUKS and LVM on both my computers if it makes a difference ;-)

Offline

#7 2013-07-30 15:21:58

jrussell
Member
From: Cape Town, South Africa
Registered: 2012-08-16
Posts: 510

Re: New Syslinux.cfg defaults to mounting root rw (Also slower boot time)

Just changed mine too, no noticeable change in speed


bitcoin: 1G62YGRFkMDwhGr5T5YGovfsxLx44eZo7U

Offline

#8 2013-07-30 16:14:22

weirddan455
Member
Registered: 2012-04-15
Posts: 213

Re: New Syslinux.cfg defaults to mounting root rw (Also slower boot time)

Re-read what I said. It was the upgrade to kernel 3.10 that caused the hang in "triggering uevents." Changing from "ro" to "rw" caused no noticible difference in boot speed. Thanks for the link explaining the config change for that but that still leaves the small hangup in boot time (which seems to be unrelated to my syslinux config)

Offline

#9 2013-07-30 19:02:36

Moosey_Linux
Member
From: Gotland Sweden
Registered: 2012-07-01
Posts: 45

Re: New Syslinux.cfg defaults to mounting root rw (Also slower boot time)

I’m sorry that was poorly written my bad butte to make it clear. To day i upgraded both my computers running arch white LUKS and LVM to kernel 3.10.3-1 and changed ro to rw in syslinux. I have rely tried to notes a hung up or a slow boot butte i cant see any change. So i’m clue less of way it works for me and not for you.

Last edited by Moosey_Linux (2013-07-30 19:05:07)

Offline

Board footer

Powered by FluxBB