Mount root filesystem readonly during boot

If creating an image of a disto without grub2 extlinux is instead used,
extlinux was being configured to mount the root filesystem as
read/write which in turn causes e2fsck to fail to test the filesystem,
on RHEL 6.5 this causes the boot process to fail.

Change-Id: I07859e0df9a2bc1ddd8c5f2ed4509ba14312e140
This commit is contained in:
Derek Higgins 2014-01-23 15:56:30 +00:00
parent b12c28dde8
commit 2c8d4b2271
1 changed files with 1 additions and 1 deletions

View File

@ -49,7 +49,7 @@ DEFAULT linux
LABEL linux
KERNEL $kernel
APPEND rw root=LABEL=cloudimg-rootfs
APPEND ro root=LABEL=cloudimg-rootfs
INITRD $initrd
_EOF_
}