Bug 760775 - "guestfish: multi-boot operating systems are not supported by the -i option" should be more explanatory
Summary: "guestfish: multi-boot operating systems are not supported by the -i option" ...
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Virtualization Tools
Classification: Community
Component: libguestfs
Version: unspecified
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Richard W.M. Jones
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-12-06 22:16 UTC by Richard W.M. Jones
Modified: 2011-12-07 11:48 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-12-07 11:48:00 UTC
Embargoed:


Attachments (Terms of Use)

Description Richard W.M. Jones 2011-12-06 22:16:57 UTC
Description of problem:

$ guestfish -a disk.img -i
guestfish: multi-boot operating systems are not supported by the -i option

It would be better if this offered some tips, such as removing
the -i option and using 'list-filesystems'.  We need to be
careful because the same message appears with tools like
virt-cat (and needs to be changed there too).

Version-Release number of selected component (if applicable):

1.15.9

Comment 1 Richard W.M. Jones 2011-12-07 11:48:00 UTC
Fixed in commit 7d3848ddc046f79cc1112809bd9970eea8060018.

Updated messages:

$ ./run ./cat/virt-cat /tmp/test1.img /etc/passwd
virt-cat: no operating system was found on this disk

If using guestfish '-i' option, remove this option and instead
use the commands 'run' followed by 'list-filesystems'.
You can then mount filesystems you want by hand using the
'mount' or 'mount-ro' command.

If using guestmount '-i', remove this option and choose the
filesystem(s) you want to see by manually adding '-m' option(s).
Use 'virt-filesystems' to see what filesystems are available.

If using other virt tools, this disk image won't work
with these tools.  Use the guestfish equivalent commands
(see the virt tool manual page).

$ ./run ./cat/virt-cat -a ArchLinux -a F16x64 /etc/passwd
virt-cat: multi-boot operating systems are not supported

If using guestfish '-i' option, remove this option and instead
use the commands 'run' followed by 'list-filesystems'.
You can then mount filesystems you want by hand using the
'mount' or 'mount-ro' command.

If using guestmount '-i', remove this option and choose the
filesystem(s) you want to see by manually adding '-m' option(s).
Use 'virt-filesystems' to see what filesystems are available.

If using other virt tools, multi-boot operating systems won't work
with these tools.  Use the guestfish equivalent commands
(see the virt tool manual page).


Note You need to log in before you can comment on or make changes to this bug.