Minor logging.warn adjustment, update FAT
authorMichael Prokop <mika@grml.org>
Mon, 2 Mar 2009 20:01:58 +0000 (21:01 +0100)
committerMichael Prokop <mika@grml.org>
Mon, 2 Mar 2009 20:01:58 +0000 (21:01 +0100)
grml2usb
grml2usb.8.txt

index 1470cb0..519083b 100755 (executable)
--- 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...")
     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'])
     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...")
     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 + '/'])
     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...")
     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'])
     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...")
     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'])
     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...")
     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'])
     else:
         logging.debug("cp %s %s" % (memtestimg, addons + '/memtest'))
         proc = subprocess.Popen(["cp", memtestimg, addons + 'memtest'])
index e3aa827..8e8cce1 100644 (file)
@@ -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.
 
 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?
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 
 Why do I have to use a FAT16 filesystem?
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~