LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 10-28-2004, 04:44 AM   #1
chaitu_iiit
LQ Newbie
 
Registered: Oct 2004
Location: India
Posts: 10

Rep: Reputation: 0
Splitting an ISO image


hi,
How can i split an ISO image?How can i combine them?
I want to burn some systemfiles or i want to take backup of linux into cd's
if the size of the total files is more than size that a cd can then i want to split that ISO image.How to split this ISO image.again when i restoring the files from cd's how can i recombine the files?
 
Old 10-28-2004, 05:15 AM   #2
whansard
Senior Member
 
Registered: Dec 2002
Location: Mosquitoville
Distribution: RH 6.2, Gen2, Knoppix, 98,2000 + various
Posts: 3,171

Rep: Reputation: 51
you can use split or dd.
i've used this many times to split tar backups into files.
tar clfvpz - . |split --bytes 650m - /1/hda$p.tgz-

to recombine them, use what you wish. with cat, you could cat file1 file2 file3 > whole.file

with dd to split the files, you could use skip.
dd if=bigfile of=file1 count=650 bs=1M
dd if=bigfile skip=650 of=file2 count=650 bs=1M
dd if=bigfile skip=1300 of=file3 count=650 bs=1M
and so on
recombine with cat or whatever you wish.


edit: sorry i copied that first command from a script without really looking at it first. i fixed it. you can change the tar part to a cat and the file you wish to split up for what you want to do.

Last edited by whansard; 10-28-2004 at 05:28 AM.
 
Old 10-28-2004, 05:21 AM   #3
jschiwal
Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 654Reputation: 654Reputation: 654Reputation: 654Reputation: 654Reputation: 654
This may take forever but using rar to break up the hd image into smaller pieces and adding redunancy with par or par2 may better in case part of a cd gets scratched.
 
Old 10-28-2004, 05:30 AM   #4
chaitu_iiit
LQ Newbie
 
Registered: Oct 2004
Location: India
Posts: 10

Original Poster
Rep: Reputation: 0
i don't need to take total backup of harddisk.whatever the files or directories that i want to take backu i will just select them in gui program.after that all the paths that are needed to take backup will be added to one file backup.txt after that i will make an iso image with all the files in backup.txt .In this if size is more than 650 mb it should split it and then burn the first image.like that
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Splitting VOB to create DVD ISO image jerryk Linux - General 1 05-17-2005 12:31 AM
splitting DVD ISO scm86 Fedora 1 01-04-2005 07:17 PM
What is an ISO image anastacio Linux - Newbie 30 06-08-2004 10:48 AM
HELP!!! What to do with iso image!!! nosebleed Linux - Newbie 17 03-03-2003 04:02 PM
What is an ISO image? 3.1416 Linux - General 4 01-13-2003 09:04 PM


All times are GMT -5. The time now is 03:18 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration