xfs
[Top] [All Lists]

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

To: linux-xfs@xxxxxxxxxxx
Subject: Re: [ANNOUNCE] Red Hat Linux 9 XFS DVD Released
From: Mogens Kjaer <mk@xxxxxx>
Date: Tue, 15 Apr 2003 14:38:41 +0200
In-reply-to: <3E96CC6E.7010707@xxxxxx>
Organization: Carlsberg Laboratory
References: <3E94C880.2070003@xxxxxxxxxx> <3E96BB77.5000902@xxxxxx> <1050067526.7662.8.camel@xxxxxxxxxxxxxxxxxxx> <3E96CC6E.7010707@xxxxxx>
Sender: linux-xfs-bounce@xxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2.1) Gecko/20030225
Mogens Kjaer wrote:
...
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

--
Mogens Kjaer, Carlsberg A/S, Computer Department
Gamle Carlsberg Vej 10, DK-2500 Valby, Denmark
Phone: +45 33 27 53 25, Fax: +45 33 27 47 08
Email: mk@xxxxxx Homepage: http://www.crc.dk


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