[Top] [All Lists]

Re: [ANNOUNCE] Red Hat Linux 9 XFS DVD Released

To: Felix <felix.zihlmann@xxxxxxxxxxx>
Subject: Re: [ANNOUNCE] Red Hat Linux 9 XFS DVD Released
From: Stefan Smietanowski <stesmi@xxxxxxxxxx>
Date: Fri, 18 Apr 2003 05:42:26 +0200
Cc: linux-xfs@xxxxxxxxxxx, cattelan@xxxxxxxxxxx
References: <3E9EC641.6050901@xxxxxxxxxxx>
Sender: linux-xfs-bounce@xxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.1) Gecko/20021003
Felix wrote:
Stefan Smietanowski wrote:
 > Why wouldn't I be able to remount / ro ? Wouldn't that be because
 > someone is holding a file on / open in write mode?

It is not possible to unmount /mnt/sysimage, because stage2.img is copied to the disk for CDROM installs. Then the loopback mount of stage2.img is "magically shifted" to the copied image. This is needed to be able to swap CD's. It is not really needed vor DVD's. I have no idea why remount ro is impossible; stage2.img is cramfs usually and ro...

My workaround for grub installs is the following post scriptlet:
# install grub loader files in /boot only, if installed by anaconda
if [ `uname -r | grep -c BOOT` -eq 1 ]; then
/sbin/grub-install --just-copy
This way the second stage loader has plenty of time to really hit the disk (since it is not the last package that gets installed), before anaconda installs the first stage loader in the MBR (that needs to know the pysical postition of the second stage loader on the disk).


You're basically just doing what the installer does in the step right
after this, no?

The Post Install script is being run just before the bootloader is
install. Hmm. Could be that you basically force a few extra writes that
make things get written to platter.

// Stefan

<Prev in Thread] Current Thread [Next in Thread>