Keith Owens wrote:
On Wed, 16 Apr 2003 09:37:22 +0200,
Mogens Kjaer <mk@xxxxxx> wrote:
mount tells me that nothing below /mnt/sysimage is mounted,
so /mnt/sysimage/proc/ and /mnt/sysimage/dev/pts has
been unmounted.
I can't see any references to /mnt/sysimage among the
/proc/*/fd links - how do I find out what file is open?
Probably one of the daemons has a current working directory pointing at
the CD, I have seen this on other install disks.
ls -l /proc/*/{cwd,fd} | grep -B 10 sysimage
I added some code to remount /boot or / read only and then back to read
write (/boot or / depending on if /boot is a seperate partition) and
if /boot is a seperate partition it can be remounted ro and back to rw
just fine without any problems and then it all works and grub installs
fine but with / I still get the same problem that Filesystem in use.
Why wouldn't I be able to remount / ro ? Wouldn't that be because
someone is holding a file on / open in write mode?
// Stefan
|