Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230
dmg2img "Error: can't open input file"
dmg2img "Error: can't open input file"
PROBLEM: As stated in the title.
SETUP:
Guest OS: Debian 9.4.0
Host: Win 10 Pro
Via: VB 5.2.8
SCREENSHOTS:
postimg[dot]org/gallery/12qko8rvs/
QUESTION: please help troubleshoot.
SETUP:
Guest OS: Debian 9.4.0
Host: Win 10 Pro
Via: VB 5.2.8
SCREENSHOTS:
postimg[dot]org/gallery/12qko8rvs/
QUESTION: please help troubleshoot.
Re: dmg2img "Error: can't open input file"
a screenshot gallery does not replace a problem description.
if you take the time & effort to provide an understandable problem description, you are usually more than half way towards a solution.
if you don't, the help you get will only reflect your laziness.
if you take the time & effort to provide an understandable problem description, you are usually more than half way towards a solution.
if you don't, the help you get will only reflect your laziness.
Re: dmg2img "Error: can't open input file"
I would have used the word "negligence", rather than "laziness", but it's still more considerate than no feedback.
Here's the description of the problem in words:
In the terminal, I cd to folder where resides InstalledESD.dmg, a 6GB file written to an exFat external drive. Then, I type
and I get the msg:
Here's the description of the problem in words:
In the terminal, I cd to folder where resides InstalledESD.dmg, a 6GB file written to an exFat external drive. Then, I type
Code: Select all
$dmg2img InstalledESD.dmg osx-install.iso
What could be causing this error?dmg2img v 1.6.5
ERROR: can't open input file InstalledESD.dmg
- Hallvor
- Global Moderator
- Posts: 2043
- Joined: 2009-04-16 18:35
- Location: Kristiansand, Norway
- Has thanked: 151 times
- Been thanked: 212 times
Re: dmg2img "Error: can't open input file"
Maybe try adding -V to get more verbose output. http://manpages.ubuntu.com/manpages/pre ... img.1.html
[HowTo] Install and configure Debian bookworm
Debian 12 | KDE Plasma | ThinkPad T440s | 4 × Intel® Core™ i7-4600U CPU @ 2.10GHz | 12 GiB RAM | Mesa Intel® HD Graphics 4400 | 1 TB SSD
Debian 12 | KDE Plasma | ThinkPad T440s | 4 × Intel® Core™ i7-4600U CPU @ 2.10GHz | 12 GiB RAM | Mesa Intel® HD Graphics 4400 | 1 TB SSD
Re: dmg2img "Error: can't open input file"
so there's an apple mac os image that needs to be extracted with dmg2img.
- have you used that application succesfully before?
- did you read its man page? maybe it can be tested? maybe it requires something else?
- what are the permissions on the image file - do an 'ls -l' - and as what user are you executing the command?
- what does that virtualbox screenshot have to do with any of this???
i could not think of a better word last night. yep, negligence would have worked, too.
- have you used that application succesfully before?
- did you read its man page? maybe it can be tested? maybe it requires something else?
- what are the permissions on the image file - do an 'ls -l' - and as what user are you executing the command?
- what does that virtualbox screenshot have to do with any of this???
thank you for correcting me.erw1 wrote:I would have used the word "negligence", rather than "laziness", but it's still more considerate than no feedback.
i could not think of a better word last night. yep, negligence would have worked, too.
Re: dmg2img "Error: can't open input file"
Would have liked to try this suggestion, but Debian boot stalls at:
Apparently, trying to copy the dmg file from external drive to the virtual hard disk (file too big shouldn't have happened with dynamic allocation) messed things up... Will update when I have a new installation./dev/sda1: recovering journal
/dev/sda1: clean xxxx/yyyy, xxxxxxx/yyyyyy blocks
Re: dmg2img "Error: can't open input file"
The first screen short show you input/output on the command line and the second one the VB set up. I don't see how it could hurt or even irrelevant. Thanks for the other suggestions.debiman wrote: - what does that virtualbox screenshot have to do with any of this???
Re: dmg2img "Error: can't open input file"
I have new installation + extension pack to to access the external device through USB 2.0 or 3.0.erw1 wrote: Will update when I have a new installation.
I haven't tried dmg2img before and have no other dmg file at hand to test it, but I did open a pdf file just fine on the same ext. drive, which tells you read access works, and created an empty file with 'touch', which tells you write access works, all without root privileges.
Back to the original problem, with the suggested option,
Code: Select all
$dmg2img -V InstallESD.dmg osx.iso
Details about the input file
Calling dmg2img
Re: dmg2img "Error: can't open input file"
PS: it turns out there exists a Windows version of dmg2img and the same command returns the same error msg.
dmg2img
dmg2img
- Hallvor
- Global Moderator
- Posts: 2043
- Joined: 2009-04-16 18:35
- Location: Kristiansand, Norway
- Has thanked: 151 times
- Been thanked: 212 times
Re: dmg2img "Error: can't open input file"
Just out of curiosity, is the result any different if you try the following syntax?
Code: Select all
dmg2img -i InstalledESD.dmg -o osx.img
[HowTo] Install and configure Debian bookworm
Debian 12 | KDE Plasma | ThinkPad T440s | 4 × Intel® Core™ i7-4600U CPU @ 2.10GHz | 12 GiB RAM | Mesa Intel® HD Graphics 4400 | 1 TB SSD
Debian 12 | KDE Plasma | ThinkPad T440s | 4 × Intel® Core™ i7-4600U CPU @ 2.10GHz | 12 GiB RAM | Mesa Intel® HD Graphics 4400 | 1 TB SSD
Re: dmg2img "Error: can't open input file"
op failed to inform us that they're running debian in a vm, and the file in question is on soem sort of usb drive.
just one more important piece of information we had to puzzle together...
if you get the same error across OSs, it would suggest that the file is indeed unreadable.
maybe it's broken.
how did you come by it? download? did you check checksums afterwards?
just one more important piece of information we had to puzzle together...
if you get the same error across OSs, it would suggest that the file is indeed unreadable.
maybe it's broken.
how did you come by it? download? did you check checksums afterwards?
Re: dmg2img "Error: can't open input file"
I had the same error, it happened that I was misspelling the input file name, I wish the error message was more descriptive