From f8cfa36e0764782767d5a02dfda9b605440cb83e Mon Sep 17 00:00:00 2001 From: Chris Lumens Date: Fri, 19 Sep 2008 17:48:07 -0400 Subject: Remount /mnt/sysimage/dev after migrating filesystems. We need to do this so we can read the boot blocks from the hard drive and can present the bootloader upgrade option. --- packages.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'packages.py') diff --git a/packages.py b/packages.py index d8006a281..f5b5bee62 100644 --- a/packages.py +++ b/packages.py @@ -38,6 +38,7 @@ import traceback from flags import flags from product import * from constants import * +from upgrade import bindMountDevDirectory import logging log = logging.getLogger("anaconda") @@ -101,7 +102,8 @@ def doMigrateFilesystems(anaconda): anaconda.id.fsset.makeLVMNodes(anaconda.rootPath, trylvm1 = 1) # and we should write out a new fstab with the migrated fstype anaconda.id.fsset.write(anaconda.rootPath) - + # and make sure /dev is mounted so we can read the bootloader + bindMountDevDirectory(anaconda.rootPath) def turnOnFilesystems(anaconda): def handleResizeError(e, dev): -- cgit