+ utils.sysexec("mount -t ext2 %s %s" % (PARTITIONS["root"],SYSIMG_PATH),log)
+ except BootManagerException, e:
+ log.write( "BootManagerException during mount of /root: %s\n" % str(e) )
+ return -2
+
+ try:
+ PROC_PATH = "%s/proc" % SYSIMG_PATH
+ utils.makedirs(PROC_PATH)
+ log.write( "mounting /proc\n" )
+ utils.sysexec( "mount -t proc none %s" % PROC_PATH, log )
+ except BootManagerException, e:
+ log.write( "BootManagerException during mount of /proc: %s\n" % str(e) )
+ return -2