X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=grml2usb;h=453a2b8d9aaae14ac6ae790865ca2222903b6049;hb=67d58ac3c956907d2850ca530e913228af7756a3;hp=8e223a5bd96c8ab3b566e72a92619ac49cbeec47;hpb=88999a20fb382cf45025ec03c69f072d8f79c037;p=grml2usb.git diff --git a/grml2usb b/grml2usb index 8e223a5..453a2b8 100755 --- a/grml2usb +++ b/grml2usb @@ -283,9 +283,9 @@ menuentry "FreeDOS" { initrd /boot/addons/balder10.imz } -menuentry "MirBSD" { +menuentry "MirOS BSD" { set root=(hd0,%(install_partition)s) - linux /boot/addons/bsd4grml/ldbsd.com + multiboot /boot/addons/bsd4grml/ldbsd.com } menuentry "Boot OS of first partition on first disk" { @@ -453,7 +453,7 @@ title FreeDOS kernel (hd0,%(install_partition)s)/boot/addons/memdisk initrd (hd0,%(install_partition)s)/boot/addons/balder10.imz -title MirBSD +title MirOS BSD kernel (hd0,%(install_partition)s)/boot/addons/bsd4grml/ldbsd.com """ % {'grml_flavour': grml_flavour, 'local_datestamp': local_datestamp, @@ -869,7 +869,7 @@ def unmount(target, unmount_options): # make sure we unmount only already mounted targets target_unmount = False mounts = open('/proc/mounts').readlines() - mountstring = re.compile(".*%s.*" % re.escape(target)) + mountstring = re.compile(".*%s.*" % re.escape(os.path.realpath(target))) for line in mounts: if re.match(mountstring, line): target_unmount = True @@ -1606,6 +1606,8 @@ def main(): # make sure we have the appropriate permissions check_uid_root() + logging.info("Executing grml2usb version %s", PROG_VERSION) + if options.dryrun: logging.info("Running in simulation mode as requested via option dry-run.")