xfs
[Top] [All Lists]

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

To: Stefan Smietanowski <stesmi@xxxxxxxxxx>
Subject: Re: [ANNOUNCE] Red Hat Linux 9 XFS DVD Released
From: Russell Cattelan <cattelan@xxxxxxxxxxx>
Date: 15 Apr 2003 19:18:09 -0500
Cc: Mogens Kjaer <mk@xxxxxx>, linux-xfs@xxxxxxxxxxx
In-reply-to: <3E9C9D84.6020509@stesmi.com>
Organization:
References: <3E94C880.2070003@stesmi.com> <3E96BB77.5000902@crc.dk> <1050067526.7662.8.camel@swathi.krithika.net> <3E96CC6E.7010707@crc.dk> <3E9BFD51.8060206@crc.dk> <3E9C22C5.9010300@stesmi.com> <3E9C9D84.6020509@stesmi.com>
Sender: linux-xfs-bounce@xxxxxxxxxxx
On Tue, 2003-04-15 at 19:02, Stefan Smietanowski wrote:
> Hi Mogens.
> 
> 
> >>> Hm, there must be a better way of doing this (tm). Remounting
> >>> the installation partition?
> >>
> >>
> >> ...
> >>
> >> Success! It turned out to be easier than I thought:
> >>
> >> I couldn't umount /mnt/sysimage, it was busy because
> >> /mnt/sysimage/proc and /mnt/sysimage/dev/pts were
> >> also mounted.
> >>
> >> To umount everything, and mount it again,
> >> one has to add these two lines to
> >> /usr/lib/booty/bootloaderInfo.py in stage2.img,
> >> near line 806, (inbetween the calls
> >> of /sbin/grub-install and /sbin/grub):
> >>
> >>             fsset.umountFilesystems(instRoot)
> >>             fsset.mountFilesystems(instRoot)
> >>
> >> - maybe the upgradeGrub function needs to
> >> be changed as well...
> >>
> >> It works both if the /boot directory
> >> is a part of the root directory, and if
> >> /boot is on an XFS partition of its own.
> >>
> >> Mogens
> >>
> > 
> > Excellent work. I'll be testing this and will probably release a new DVD
> > with this fix tomorrow. Thanx alot.
> 
> Sadly enough it didn't help.
> 
> I got an exception because the partition is in use...
> 
> And yes, I inserted those two lines on line 806.

Yes I discoverd the same thing.
I think the real solutions is to do a readonly
and then a read write mount.
I just don't know if the python code supports a remount.

> 
> // Stefan
-- 
Russell Cattelan <cattelan@xxxxxxxxxxx>


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