You are not logged in.

#1 2016-08-25 19:23:00

spwx
Member
Registered: 2015-12-23
Posts: 8

[SOLVED] Kernel paramaters: rw or ro

Hello, I am confused on which kernel parameter i should use:

ro or rw

I have one SSD with 2 physical partitions:
/dev/sda1 - EFI System Partition
/dev/sda2 - LVM2 partition which houses my root and home partitions

I keep my init ram disk and kernels on /dev/sda1

As i understand it, you would use ro in order to run a file system check on the root partition.

My question is, when does this fsck happen? Do I have to do it manually?


Also i am noticing a box made of astrisks fly by during boot up. This only occurs when NOT passing the rw kernel parameter.

I appreciate any clarification!

Last edited by spwx (2016-08-25 21:23:18)

Offline

#2 2016-08-25 19:27:45

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,597
Website

Re: [SOLVED] Kernel paramaters: rw or ro

I believe the Grub default is 'rw' but I can't explain if or how that affects the fsck operations.


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

#3 2016-08-25 19:49:02

alex.theoto
Member
From: Athens Greece
Registered: 2014-11-30
Posts: 307

Re: [SOLVED] Kernel paramaters: rw or ro

Offline

#4 2016-08-25 21:22:32

spwx
Member
Registered: 2015-12-23
Posts: 8

Re: [SOLVED] Kernel paramaters: rw or ro

Thanks for the replys graysky and alex.theoto.

alex.theoto: yes that does help!

I checked my /etc/mkinitcpio.conf, and 'fsck' is in the HOOKS.

Which means that my initramfs will fsck the root partition before it mounts it.

I guess if you do NOT pass 'rw' as a kernel parameter, then systemd might re-fsck the device.

So I need to make sure I am passing 'rw' as a kernel parameter.

Offline

Board footer

Powered by FluxBB