diff --git a/libguestfs.changes b/libguestfs.changes index 093c44d..b931777 100644 --- a/libguestfs.changes +++ b/libguestfs.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Fri Sep 21 20:03:21 CEST 2012 - ohering@suse.de + +- reorder debug output in /init script, print partitions last +- mention mount-rootfs-and-do-chroot.sh in rescue message + ------------------------------------------------------------------- Thu Sep 20 17:52:13 CEST 2012 - ohering@suse.de diff --git a/libguestfs.mkinitrd.boot.sh b/libguestfs.mkinitrd.boot.sh index 822ab32..6d913e8 100644 --- a/libguestfs.mkinitrd.boot.sh +++ b/libguestfs.mkinitrd.boot.sh @@ -123,15 +123,15 @@ if grep -sq guestfs_verbose=1 /proc/cmdline; then head -n 1234 \ /proc/mounts \ /proc/modules \ - /proc/partitions \ - /proc/version \ /proc/cpuinfo \ - /proc/uptime + /proc/uptime \ + /proc/version \ + /proc/partitions lvm pvs lvm vgs lvm lvs - ip a - ip r +# ip a +# ip r date echo "These commands might be called by guestfsd, but they were not available at buildtime:" echo "missing commands: $missing_commands" @@ -175,7 +175,8 @@ else echo echo "Note: The contents of / are the rescue appliance." echo "You have to mount the guest's partitions under /sysroot" - echo "before you can examine them." + echo "before you can examine them. A helper script for that exists:" + echo "mount-rootfs-and-do-chroot.sh /dev/sda2" echo setctsid "/dev/${console_kname}" bash -i echo