Changes

Jump to navigation Jump to search
no edit summary
== Editing Disable write Access to /boot ==

Problem:

If you setup a multiuser Linux a unwanted or broken update or a unwanted power loss <br>
can destroy your boot image named "initrd.img"

Solution:

edit as root /etc/fstab and mount /boot readonly !:

<pre>
#sudo nano /etc/fstab
</pre>
change line with /boot add "ro":
<pre>
# /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
...
...
UUID=XXX...XXX /boot ext3 defaults,ro 0 2

<pre>
this will protect your boot partition, after power failure, the PC boots normal up, if Boot on Power is set on at the PC Bios!

Navigation menu