Debian :: Mounting .iso Image Versus Extracting Data From .img File?
Feb 28, 2010
I use Lenny, and was trying to mount a .iso image, supposedly a cd imagem.
[code]....
This is what I get from dmesg | tail:
debian:/home/zac/cscd# dmesg | tail
[ 1811.505199] floppy0: disk absent or changed during operation
[ 1811.505207] end_request: I/O error, dev fd0, sector 0
[code]....
I did a little research on the web and it seems that this file is not really a cd image, but simply data in a .img file. What do you think of that?
debian:/home/zac/cscd# file cscd3.iso
cscd3.iso: data
Some people recommend to extract the data via the dd command, but it didn't seem very safe for me to do that!
[URL]
is it possible to extract the data into a directory (instead of a device) using dd? This file is supposed to be a software. I wanted to run it on wine by keeping it mounted on a mount point in my file system. Does it make any sense to try to do this if the file simply isn't a cd image?
I am trying to extract data from the xml file using c coding. here is the sample code. this code gets compiled with errorfree. but the call back functions start and end are not invoked. coding:
I am trying to upload some pics on my Facebook account using Firefox. When I click on Facebook's file upload icon, Firefox bring up a 'File Upload' window. I noticed that smaller image file is previewed on the lower right hand corner, while bigger image file is not. Is there anyway I can change this behavior or maybe change what Firefox is using to browse my files?
I installed Fedora 12 in a virtual environment using VMware workstation, I am learning a Linux book. 1. The book ask me to change my directory to Fedora 12 DVD's RPM file directory under terminal. It assumes the mounting point for the disk image would be e.g. '/media/dvd/packages/', but if I type in 'cd /media/dvd/packages/' it obviously won't find the directory. So how do I navigate to the directory using CD command, but I guess put it more accurately I will need to find out what is the mounting point of the Fedora 12 DVD image in my VM.
2. I have another question with my root password, I cannot login as root when the VM first boot up, at the login screen where you are asked about your account name and password screen, So I have to use my normal user account (made up by my first name and last name) when I installed Fedora. But I know exactly what my root password is. The weird thing is I can still access to the root account in the desktops windows environment no problem. e.g. if I go to the top bar 'system-administration-authentication' program, it will let me in after I typed in my root password. In other words, I have access to all the admin tools in the desktop environment.
I recently saved a large number of web pages from a website on my computer and all of them contains images. I needed help extracting all the images from the webpages(all of them) there are about 17000 saved webpages in the folder and all of them have images. I am not sure how to extract images from webpage in batch. google search dint turn up anything.. is there lika a tool or something for the job or should a script be written for it?
I placed Ubuntu on the same drive as my windows XP is, and there were no problems, everything was fine, all drivers were working...I need to use kernel 2.6.29 and i read about "how to install a new kernel" on this forum. I downloaded 3 files, I installed them in a good sequence. After reboot I can choose between 3 kernels, and if I choose this, then there is a mounting problem:
mounting none on /dev failed
Afterthat there is written something else, what I cant read. Some seconds later ubuntu boots, but my (non-USB) mouse isnt working.
I have come across a webpage where there are several (thousands of hyperlinks). Of those hyperlinks, many are named "CDS" and in each of these CDS hyperlink- there are certain lines which i need to chop off!! I kind of have this feeling that AWK would be the one to use.
I don't know almost anything about it so I was thinking of asking this question from the experts.I recently downloaded the xPUD 0.9.2.I LOVE that OS!It's simple,fast and smart.I just would like to add some other programs to it somehow.Is that possible for ex. extracting the image,modifying files,then remaking the iso?(Talking in Windows7)I would like to add some programs like Wine and some games also.Please reply as soon as possible because the xpud site is down for bandwidth exceeded.
i'm wondering if it's possible to restore the original image file that you have hidden data in with steghide. The basic Idea is you have a photo using gpg sign it and then embed the signature. then remove the signature at a later time and check it with the signature. I hope another "inverse" algorithm doesn't need to be written to undo the first (if a "inverse algorithm is possible). This assume you already have the pass phrase or that there is no pass phrase. I already know how to retrieve the original file just want to remove the hidden data from the Image and restore it's attributes.
I am trying to develop a method of reading files generated by other programs. I am trying to find the most versatile approach. I have been trying bash, and have been making good progress with sed, however I was wondering if there was a "standard" approach to this sort of thing. The main features I would like to implement concern reading finding strings based on various forms of context and storing them to variables and/or arrays. Here are the most general tasks:
a) Read the first word(or floating point) that comes after a given string (solved in another thread)
b) Read the nth line after a given string
c) Read all text between two given strings
d) Save the output of task a), task b) or task c) (above) into an array if the "given string(s)" is/are not unique.
e)Read text between two non-unique strings i.e. text between the nth occurrence of string1 and the mth occurrence of string2
As far as I can tell, those five scripts should be able to parse just about any text pattern. I am by no means fluent in these languages. But I could use a starting point. My main concern is speed. I intend to use these scripts in a program that reads and writes hundreds of input and output files--each with a different value of some parameter(s).
The files will most likely be no more than a few dozen lines, but I can think of some applications that could generate a few hundred lines. I have the input file generator down pretty well. Parsing the output is quite a bit trickier. And, of course, the option for parallelization will be very desirable for many practical applications.
I recently started trying fedora 10 out on live cd (in my case usb ) and loving it. I want to install it, should I get the dvd image, or would it be okay for me to just install off live cd (usb) and install whatever I want through the package manager later... Why/why not? Also on live usb, I can't find the package manager under applications.
I'm trying to run extract-ikconfig because I've mistakenly deleted an old kernel config that I'd like to recover. However, when running the script from the latest (2.6.32.5) tree I run into this error:
Quote:
ERROR: Unable to extract kernel configuration information.
This kernel image may not have the config info.
Coincidentally, this happens with all of my kernel images. Is it a fixable problem? I should really set CONFIG_IKCONFIG_PROC next time..
I have a remote Debian 5 machine on which I'm trying to extract a tar-file (Django 1.2.1, but that's unimportant). The first 1300 or so files extracts just fine (of about 2800 in total), after which errors liketar: Django-1.2.1/tests/urls.py: Cannot open: No such file or directoryshows up for the rest of the files, finally ending up with atar: Error exit delayed from previous errorsI use the commandtar xzvf Django-1.2.1.tar.gzI've also tried with sudo (but I'm extracting in my home directory, which I should obviusly have permissions to use without). I've tried gunzipping first (runs flawlessly) and then running tar xvf, but to no avail. I've fetched the file using wget:
My OS is Fedora 14 - 64bit. I want to extract and install this file "LEXMARK-INKJET-LEGACY-wJRE-1.0-1.x86_64.rpm.sh.tar.gz". At the moment this is in the download box in the top left corner of my monitor.
I have tried several ways, but all I get is Command Line Output. Gzip:stdin: unexpected end of file./bin/gtar: unexpcted EOF archive. /bin/gtar: error is not recoverable: exiting now.
I'm having difficulties mounting an FTP address to my file system automatically during boot. After a bit of research I have discovered a package called curlftpfs, I've installed this package using aptitude and I had no errors.
I've successfully mounted an FTP address manually using curlftpfs at the command line and proved to myself that this is working as it should...However, I can't get this to mount automatically and I am receiving the following error during boot when I try and mount it through /etc/fstab...
Error connecting to ftp: Failed to connect to (IP address of server): Network is unreachable
My research indicates this package should be able to do this.
I'm still a learner when it comes to Linux, but could this be because TCP/IP services are not started at the time of mounting the filesystems? I've tried a continuous ping at this computer whilst it is booting and I don't get a response until after /etc/fstab has been processed. If this is the reason, can I start them these processes earlier?
Another option would be to have a script/command run when the computer boots, but prior to MySQL loading. If this is possible, it would also satisfy my problems.
I have this file that is in ZIP. I can open it and browse the files inside via archive manager. But extracting it gives me an error. When using GUI it says that 'ERROR while extracting files' and in command line when I command: unzip -q myfile.zip
It display this errors
file #2109: bad zipfile offset (local header sig): -2122072556 file #2110: bad zipfile offset (local header sig): -2121511988 file #2111: bad zipfile offset (local header sig): -2121511886 file #2112: bad zipfile offset (local header sig): -2121375823 file #2113: bad zipfile offset (local header sig): -2121310073 file #2114: bad zipfile offset (local header sig): -2121282474 file #2115: bad zipfile offset (local header sig): -2121107851 file #2116: bad zipfile offset (local header sig): -2121015601 file #2117: bad zipfile offset (local header sig): -2120957317 file #2118: bad zipfile offset (local header sig): -2120906286 file #2119: bad zipfile offset (local header sig): -2120906193
I'm trying to extract a file from a zipped archive, and receive an error message saying "caution: filename not matched:".
I suspect the route cause of this is that the original filename contained accented characters (which now show as question marks in the zipped filename). I've tried renaming the file in the archive, but get the same error.
ish but I did manage to right-click the Firefox tar.bz2 file and choose to 'extract here'...now I've got the new extracted folder on the desktop but I'm lost as to how to run the installation of the 3.7 alpha 4 release.
9.10 Wubi with XP until 10.04 Google Chrome Widmer Drifter Pale Ale Tommyknocker Pick Axe Pale Ale 1992 Davies Washburn N4 w/ Suhr SSV/DSH+ pups Jazz and Prog Rock, Dream Theatre & Porcupine Tree
I have a bunch of tar files in a folder with the name in 'file_name.MMDDYYYY.HH.mm.SS.tar' format. I need to write a shell script that picks latest and greatest of the above tar files and extracts it to a particular folder
I am really trying to learn the heart of linux, and not rely on gui's and package managers for everything. I am trying to download firefox 3.6. I downloaded the arc file, and extracted it to my home folder, but I don't know what to do next. I am also clueless as to how to install tar or tar.gz files, and tell them where to go, etc. Firefox is the priority question here. I am sure I can get it from the package manager, but I want to learn to do it with the arc files, and tar files, etc, and not rely on the gui for everything like in Windows. I am a Linux newbie, converting to Linux for hobby and educational purposes, but I have no direction, or no sense of where to go, or how to learn. I am running Kubuntu 10.04 LTS.
I want to mount a (.iso) CD-image under Linux (I am using Ubuntu). I know that I can do it with mount using the loopback device, but for that, I need to be root. Is there any way to do it with user privileges?
I have a dedicated server that Ubuntu 9.04 operating system has been installed on it. Before this dedicated server, I had another server that according to some reasons, it was put aside and I requested my datacenter support team to attach previous server's HDD to my new server in order to transfer its information to the new server's HDD. On the disks of previous HDD, Ubuntu 8.04 LTS OS had been installed and most of its capacity was full, but while I mounted that HDD on the new server, the contents of the primary partition were visible but the contents of the extended partition weren't visible. After some inspectings, I observerd that the extended partition type is converted to LVM. Before this, I didn't deal with this kind of partition. I tried to mount this partition but I failed. I read many articles about this problem and implemented instructions on the HDD but the LVM partition was never mounted that returns many different errors and even I pursued the reasons of this errors but non of these remedies didn't solve this problem. Since the datacenter had determined a specifies time for transfering information. then I had to return the SCSI HDD on the specified time, so I was forced to make an image of the hard disk by "TestDisk" software. I've made that image from the LVM partition which its capacity amounts to 150 GB but still I'm not able to mount the image according to instructions on the different related websitres. Since I'm really dummy in Linux Fle System field, I request you to help me to mount this image or extract its contents.
For instance, using dd, you create an image of a whole hard drive, all partitions. The script then comes and mounts the partition located at offset 63 (or whatever the user picks).I do not see this option in the mount command.No other searches turned up anything meaningful. So I am bowing to the gurus.
I wanted to know if it is possible to mount an ISO image to a partition and boot from that instead of a CD or DVD. I know it is easy to do it from a CD but I would like to know if I can also do it this way.
I'm trying to extract the audio from an mp4 video file and convert it to mp3 using ffmpeg. The problem is that the resulting audio file is only 3m2s long, whereas the video file is 8m15s long. Anyone know why the audio file is being truncated? Am I doing something wrong? Apart from being truncated the mp3 file plays perfectly. Here's what ffmpeg has to say about the video file:
There are some log files that I wish to get some information from (Apache Access Log) but it is huge! All I need as of right now is any information from date and time A to date and time B. What commands can I use to extract this information from the access_log and put it into another file with just that information? I created a file called "access_info" by doing Code: touch access_info but I was not sure where to go from there.