Cent OS fsck

Hello all,

I really haven't touched my linode in over a year… not really sure why I keep paying $20/mth, but having a command line can be pretty damn helpful every now and then.

Regardless, why do I have to set my root device to ro now? Otherwise I have to log into lish and hit "n" when it hangs during boot wanting to preform an fsck.

Running CentOS 5.0

Thanks,

Andrew

edit: I posted this as I was waiting for my linode to come back up running the "ro"… I now see that it re-mounts the root file system in rw mode after it runs the fsck. Why does this option even exist in the config editor then? Possibly for a different distro?

1 Reply

Init scripts want the disk images to NOT be mounted read/write right from the start, so they can perform things like fsck. After that, it remounts them read/write and the boot up continues.

A while ago, UML seemed to not care about the "ro" flag. More recent UML kernels and Xen do care.

-Chris

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct