General :: Cannot Reboot After Extracting Tar (Fedora On LG X110)?
Jul 8, 2011
I wish to set up a backup and recovery procedure for a linux machine. However, when I extract the archive, the system works fine until the next time I want to boot up. Then the system behaves as if it does not know what to do after running bios.Am I missing something simple? Complex?I am trying to isolate the error now, but here is the error recreation procedure so far.Error recreation procedure:
-install Fedora 15 from live CD
-power down
-disconnect the usb DVD drive
I've just downloaded a vidio from ..... and converted it to an .avi file. What I want, however, is just the soundtrack as an .mpg to add to my mp3 player. I'm sure Fedora has software to do this, but I don't know enough about audio/video editing to know where to look.
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 created a tar of the /var/www/html directory from a live web server and I want to extract it onto another server that will eventually become a backup server to the live server.When I extract the tar file, I see the whole directory structure /var/www/html. How do I extract the file just leaving the contents of the html directory in the directory of the new server?
After having downloaded unrar, I find I can't actually use it to extract rar files. Whenever I use the command unrar e filename.rar, (obviously using the correct filename), I just get told there's no such file or directory.
I am using XFCE spin Fedora, so my default archiver is Xarchiver. I have downloaded a 2 part .RAR file, and when I used to use them in Windows, I would tell WinRAR to extract the first part, and then it would automatically start extracting part 2 if it was in the same directory. When I try to do the same in Xarchiver it tells me "An error occurred! Please check the 'Store archiver output' option to see it." I don't know what 'store archiver output' is or how to access it. What do I need to do to extract both components and successfully join them?
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'm trying to extract all files permissions and write them in a text file in order to use regular expression(using python) and search for world writeable files
I am new in Linux and I need to extract alot of zipped files (different format (e.g tar.gz, tar.gz2)) which are in subdirs and I do not want to go to each subdir and extract each file because it will take alot of time. Is there away to extract all files that are existing in dirs and subdir with "for loop" or is there a script that can do the job automatically.
Oftentimes, I want to restore a directory from a tar.gz backup file.When I extract the backup tar.gz, is there a way to make it only replace newer files in t directory?Currently, I have only been able to achieve this bydeleting the entire target directory and extracting the entire backup file. This is timeonsuming because the backups are sometimes hundreds of gigabytes.
I have a large number of paper sheets to scan. Instead of an autofeed or flatbed scanner, I'd like to use my photo camera. After a while, it occurred to me that instead of making a photo for each page, I could install the camera on a tripod, set it to record video and then extract the images from the video.
That way, I'd just have to handle the papers: Pick one, place it in front of the camera, wait a moment, replace it. Is there a Linux software to get all images without motion out of a movie? Kind of a non-motion-detection.
Code: $ffmpeg -i /data/sumeet/video/hollywood/you don't know jack/You.Dont.Know.Jack.2010.DVDRipwww.theevolution.org_by_digoloko.rmvb FFmpeg version git-1dbd813, Copyright (c) 2000-2010 the FFmpeg developers built on Oct 1 2010 19:28:12 with gcc 4.4.3
[Code].....
At least one output file must be specified Actually the video has embedded subtitles. I thing that is stream 0.2 in real media container. How can i pull that data out ?
I have a large number of zip-archives which I would like to extract and then delete, keeping only the extracted files. The files are located in a number of directories and I issued the following command, hoping that it would solve my problem (which it didn't):
Code:find . -name "*.zip" -execdir unzip '{}' ; -deleteWhat happened was that find continued to extract the files as intended, but then it deletednot only the zip-archives but also the newly extracted files.it only affected a portion of the files that I had already backed up.I don't have enough space on my hard drive to extract all the files without simultaneously removing any data and I don't have the energy to go through all the directories one by one manually. Surely there must be a better way. Is there a way to fix the code snippet above so that it works as I intended or is there a better way of doing this?
i am working on a project that requires updation after every 10 days that is after 10 days , i have to apply a new release. every time i need to copy all things from one path and paste it to different locations that is a manual work, i want to create a self extractor, in which i have to give only path, that is the path where i need to paste the files.
I am using sda1 as /, which is a bootable drive. I do not know if my problem is that I did not create a /boot drive. After removing the iso dvd, I tried to reboot and I get this back: -bash: /sbin/reboot: input/output error Then it returns me to the terminal prompt.
Someone has sent me a zip file containing some fonts. I extracted it using unzip under Linux, and there are empty files in the top level of the archive, and some files similarly named but beginning with ._ in a __MACOSX subdirectory.
I understand that the __MACOSX contents should be metadata, and normally I'd delete it. In this case, however, all of the data seems to be in there! Is there a tool that I can use to reassemble the original data?
I would appreciate help with how to extract the date and time from at command jobs. From what I can tell, the date and time is embedded in the file name (/var/spool/atjobs).I'd be using this information in a (bash) shell script.
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'd like to extract a single column from 5 different files and put them gether in an output file. I saw a similar question for 2 input files, and the line of code workd very well, the code is:awk 'NR==FNR{a[NR]=$2; next} {print a[FNR], $2}' file1 file2I added the file3, file4 and file5 at the end, but it doesn't work. Does anyone know what do I have to do?
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 recently (and accidentally) wiped a hard-drive which should NOT have been formatted. PhotoRec was able to recover some of the most important files from the disk.
Part of those files include a large music collection of flac files. I've placed these in a folder named 'FLAC' that looks like this:
[Start of FLAC Folder] f11655088.flac f11698672.flac ... (around 2,000 files total) f291142600.flac [End of FLAC Folder]
I'm running a livecd to rescue this data. I have access to a standard terminal in Ubuntu 10.10. I've noticed that the music player in linux will display the song title when I open any of these songs.
My goal is to automatically extract the song title from these files and update their names from f12313512.flac to 'Libera - Rebirth.flac'
I am an astronomy student using Ubunut 10.04, and a frequent user of IRAF ( an *nix image processing application geared toward astronomy). IRAF produces, amongst other things, a text document with various values on it (example below).
Code: K IRAF = NOAO/IRAFV2.14.1 version %-23s #K USER = name %-23s #K HOST = Balthazar computer %-23s #K DATE = 2010-04-29 yyyy-mm-dd %-23s
[Code]...
Now, the information I'm actually interested is the X and Y coordinates down towards the bottom (in this case, 973.505, 271.474).
I have about 800 of these output text files, and I was wondering if there's any sort of script or command that could go through them (presumably reading from a list of file names), and extract the coordinates. Ideally, the output would be a list of coordinates (i.e. X-coordinate, Y-coordinate).
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.
I need to extract the absolute directory from the type command when I pass it a program name. E.g.
Code:
>type cat cat is hashed (/bin/cat)
There is one other case (I believe):
Code:
>type lpr lpr is /usr/bin/lpr
I thought of using regex, but it returns the whole line, not just the match. In addition, there is no option cited in the man page for type that returns just the command directory.
Note: this is part of my solution to a programming assignment in bash shell scripting.
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.