forked from pool/libguestfs
- reorder debug output in /init script, print partitions last
- mention mount-rootfs-and-do-chroot.sh in rescue message OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=104
This commit is contained in:
parent
de9dee77f4
commit
72cdcb7d7d
@ -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
|
Thu Sep 20 17:52:13 CEST 2012 - ohering@suse.de
|
||||||
|
|
||||||
|
@ -123,15 +123,15 @@ if grep -sq guestfs_verbose=1 /proc/cmdline; then
|
|||||||
head -n 1234 \
|
head -n 1234 \
|
||||||
/proc/mounts \
|
/proc/mounts \
|
||||||
/proc/modules \
|
/proc/modules \
|
||||||
/proc/partitions \
|
|
||||||
/proc/version \
|
|
||||||
/proc/cpuinfo \
|
/proc/cpuinfo \
|
||||||
/proc/uptime
|
/proc/uptime \
|
||||||
|
/proc/version \
|
||||||
|
/proc/partitions
|
||||||
lvm pvs
|
lvm pvs
|
||||||
lvm vgs
|
lvm vgs
|
||||||
lvm lvs
|
lvm lvs
|
||||||
ip a
|
# ip a
|
||||||
ip r
|
# ip r
|
||||||
date
|
date
|
||||||
echo "These commands might be called by guestfsd, but they were not available at buildtime:"
|
echo "These commands might be called by guestfsd, but they were not available at buildtime:"
|
||||||
echo "missing commands: $missing_commands"
|
echo "missing commands: $missing_commands"
|
||||||
@ -175,7 +175,8 @@ else
|
|||||||
echo
|
echo
|
||||||
echo "Note: The contents of / are the rescue appliance."
|
echo "Note: The contents of / are the rescue appliance."
|
||||||
echo "You have to mount the guest's partitions under /sysroot"
|
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
|
echo
|
||||||
setctsid "/dev/${console_kname}" bash -i
|
setctsid "/dev/${console_kname}" bash -i
|
||||||
echo
|
echo
|
||||||
|
Loading…
x
Reference in New Issue
Block a user