Re: grub question read-only
michael wrote: Hi, I have this in my /boot/grub/menu.lst file. (pasted below) I'm wondering whey there is an option ro on the main kernel line, even though the system boots normal rw? The initramfs is mounted read-only I believe, and for the initial mount, your root filesystem is also read-only, remounted read-write later in the boot process. If you use ext3, you'll notice after an unclean shutdown you'll see messages similar to the following: EXT3-fs: recovery required on read-only filesystem. EXT3-fs: write access will be enabled during recovery. -- Andrew J. Barr | http://www.pridelands.dyndns.org/ Why must I fail at every attempt at masonry? -- Homer Simpson, Mom and Pop Art [AABF15] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: grub question read-only
On Thu, Apr 19, 2007 at 01:17:28PM -0700, michael wrote: [...] What would I do if I actually wanted to boot and have my system / mounted read only? when / is remounted, the flags in /etc/fstab are used, so to have / finish up mounted ro, you have to set it up so in the fstab. i think. A signature.asc Description: Digital signature
Re: grub question read-only
On Thu, 19 Apr 2007 13:42:16 -0700, Andrew Sackville-West wrote On Thu, Apr 19, 2007 at 01:17:28PM -0700, michael wrote: [...] What would I do if I actually wanted to boot and have my system / mounted read only? when / is remounted, the flags in /etc/fstab are used, so to have / finish up mounted ro, you have to set it up so in the fstab. I ended up booting to single mode. (typed in root password for command line) # init 1 # mount -o remount,ro / This seemed to work. Thanks -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: grub question read-only
On Thu, Apr 19, 2007 at 04:30:35PM -0700, michael wrote: On Thu, 19 Apr 2007 13:42:16 -0700, Andrew Sackville-West wrote On Thu, Apr 19, 2007 at 01:17:28PM -0700, michael wrote: [...] What would I do if I actually wanted to boot and have my system / mounted read only? when / is remounted, the flags in /etc/fstab are used, so to have / finish up mounted ro, you have to set it up so in the fstab. I ended up booting to single mode. (typed in root password for command line) # init 1 # mount -o remount,ro / This seemed to work. Thanks I see. I thought, from your question above, that you were ask how to do it in general. the fstab thing will cause it to always mount ro. For one-time use, yours is a fine solution. A signature.asc Description: Digital signature