From 7c7d3dc2c37eb93a41b450dfa552481c23155122 Mon Sep 17 00:00:00 2001 From: Michael Prokop Date: Mon, 2 Mar 2009 21:01:58 +0100 Subject: [PATCH] Minor logging.warn adjustment, update FAT --- grml2usb | 10 +++++----- grml2usb.8.txt | 11 +++++++++++ 2 files changed, 16 insertions(+), 5 deletions(-) diff --git a/grml2usb b/grml2usb index 1470cb0..519083b 100755 --- a/grml2usb +++ b/grml2usb @@ -1032,7 +1032,7 @@ def copy_addons(iso_mount, target): allinoneimg = search_file('allinone.img', iso_mount) if allinoneimg is None: logging.warn("Warning: allinone.img not found - can not install it...") - logging.warn(" |-> that's fine if you don't need it - or are you using grml-small?") + logging.warn(" |-> that's fine if you don't need it") else: logging.debug("cp %s %s" % (allinoneimg, addons + '/allinone.img')) proc = subprocess.Popen(["cp", allinoneimg, addons + 'allinone.img']) @@ -1042,7 +1042,7 @@ def copy_addons(iso_mount, target): bsdimg = search_file('bsd4grml', iso_mount) if bsdimg is None: logging.warn("Warning: bsd4grml not found - can not install it...") - logging.warn(" |-> that's fine if you don't need it - or are you using grml-small?") + logging.warn(" |-> that's fine if you don't need it") else: logging.debug("cp -a %s %s" % (bsdimg, addons + '/')) proc = subprocess.Popen(["cp", "-a", bsdimg, addons + '/']) @@ -1052,7 +1052,7 @@ def copy_addons(iso_mount, target): balderimg = search_file('balder10.imz', iso_mount) if balderimg is None: logging.warn("Warning: balder10.imz not found - can not install it...") - logging.warn(" |-> that's fine if you don't need it - or are you using grml-small?") + logging.warn(" |-> that's fine if you don't need it") else: logging.debug("cp %s %s" % (balderimg, addons + '/balder10.imz')) proc = subprocess.Popen(["cp", balderimg, addons + 'balder10.imz']) @@ -1062,7 +1062,7 @@ def copy_addons(iso_mount, target): memdiskimg = search_file('memdisk', iso_mount) if memdiskimg is None: logging.warn("Warning: memdisk not found - can not install it...") - logging.warn(" |-> that's fine if you don't need it - or are you using grml-small?") + logging.warn(" |-> that's fine if you don't need it") else: logging.debug("cp %s %s" % (memdiskimg, addons + '/memdisk')) proc = subprocess.Popen(["cp", memdiskimg, addons + 'memdisk']) @@ -1072,7 +1072,7 @@ def copy_addons(iso_mount, target): memtestimg = search_file('memtest', iso_mount) if memtestimg is None: logging.warn("Warning: memtest not found - can not install it...") - logging.warn(" |-> that's fine if you don't need it - or are you using grml-small?") + logging.warn(" |-> that's fine if you don't need it") else: logging.debug("cp %s %s" % (memtestimg, addons + '/memtest')) proc = subprocess.Popen(["cp", memtestimg, addons + 'memtest']) diff --git a/grml2usb.8.txt b/grml2usb.8.txt index e3aa827..8e8cce1 100644 --- a/grml2usb.8.txt +++ b/grml2usb.8.txt @@ -347,6 +347,17 @@ Check whether the partition has the right partition type. For example do NOT use FAT16 (partition type 6) when using a ext3 filesystem on the partition but instead use the correct partition type ('83' - Linux) then. +grub-install complains about /sbin/grub-install and/or xfs_freeze?! +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +The following message: + + You shouldn't call /sbin/grub-install. Please call /usr/sbin/grub-install instead! + xfs_freeze: specified file ["/tmp/tmpqaBK6z/boot/grub"] is not on an XFS filesystem + +... is "normal". grub-install sends those messages to stderr. To avoid hiding any +possible real error messages grml2usb doesn't ignore those messages. + Why do I have to use a FAT16 filesystem? ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -- 2.1.4