Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
linuxHowtoconvertaTARfileintoanISOfileServerFault
ServerFaultisaquestionandanswer
siteforsystemandnetwork
administrators.Jointhemitonlytakesa
minute:
signup
login
tour
Here'showitworks:
Signup
help
Anybodycanask
aquestion
Anybodycan
answer
Thebestanswersarevoted
upandrisetothetop
HowtoconvertaTARfileintoanISOfile
IhaveaLinuxTARfilethatIwouldliketoconvertdirectlyintoanISO.Isthereawaytodothis,preferably,withouthavingtoextractthe
contentsofthefilefirst?
Thiswouldbesimilartothefollowingquestionhowever,thisisfocusedonplainorstraightuptarfilesandnotrelatedtobziporabzippedtar.
ThisisalsosomethingthatIintendedtousewithinascriptandthereasonthatIdonotwanttoextractitfirst.
linux tar iso convert diskimage
editedSep29'11at20:26
askedSep29'11at20:15
John
1,041
23
51
fromthearchiveinordertobeputintothenewimage),butIdon'tknowofanythingthatdoes.
IgnacioVazquezAbrams Sep29'11at20:20
Whydoyouwanttodothiswithoutextractingthetar? Nils Sep29'11at20:23
Iwonderifthereisawaytopipeittosomethinglikestdinandthenpipeitonovertotheisofile???
John Sep29'11at20:23
Iamnotsureifthiswouldworkornot,sinceIamnot100%forsurewhatthecommandisdoing.tarjxf
currentlyitmentionstarinthedocsforthisoption(andusesitintheexamplesforit).AbbafeiDec28'12
at6:08
4Answers
UseAVFStoaccessthecontentsofthetararchiveasifitwasadirectory.AVFSisavirtual
filesystembuiltonFUSE.PointyourfavoriteISObuildertothedirectoryinsidethetararchive.
mountavfs
cd~/.avfs/path/to/archive.tar\#
genisoimageo/path/to/iso.
answeredSep29'11at21:12
Gilles
7,268
19
42
@Gillesthanksfortheidea.Thislookslikeitmightbeanexcellentideahowever,IamonCentOS6and
Ifyourprimaryobjectivesaretoexpeditetheprocessandtoavoidunnecessarydiskactivityfor
performancereasons,andyouhaveplentyofRAMtosparerelativetothesizeofyourtarball,
youcanextractthe.tarintoRAMusingtmpfs .Thisoptionisverylikelythefastestavailable,
unlessyou'reabletoget@bulleric'spipeapproachtoworkandyou'rereadingfromonediskand
writingtoanother.
answeredSep30'11at8:45
Skyhawk
12.8k
37
84
archivemount/file.tar/media/ISO
oruncompressed.tarand
genisoimageomyfile.isodirectory_src
file:///D:/linux%20%20How%20to%20convert%20a%20TAR%20file%20into%20an%20ISO%20file%20%20Server%20Fault.html
1/2
29/09/2016
(canbefolder
linuxHowtoconvertaTARfileintoanISOfileServerFault
/media/ISO
orpointmount
/media/cdrom
editedSep4at18:23
answeredSep4at13:06
techraf
1,142
eternoi
1
18
Youmustextractitbutyoudontmustextractittoyourharddriveyoucanusestdtoutandpipeit
togenisoimageormkisofs
tartostdoutxftareddata.tar|genisoimageoimage.isotareddata
testit:
mountoloopimage.iso/mnt
youcanwriteasmallscripttoautomizethisissue
greezbull
editedSep29'11at21:01
answeredSep29'11at20:55
bulleric
174
label'options.Thenexterroris:I:inputcharsetnotspecified,usingutf8(detectedinlocalesettings).The
lasterroris:genisoimage:Nosuchfileordirectory.Invalidnode'tareddata'. John Sep29'11at21:09
thefirstproblemisolvetihavetakeawrongoptionintarthe2ndonehmminmyopinionthefirstdirectory
getextractetthesamenameastheastheunextracteddirectoryliketardata.tartardatabulleric Sep29'11
at21:15
Sorry,I'mfairlysurethere'snowaythiscanwork1. MadHatter Sep30'11at9:00
file:///D:/linux%20%20How%20to%20convert%20a%20TAR%20file%20into%20an%20ISO%20file%20%20Server%20Fault.html
2/2