Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Unsupported Software
  • Search

ntfsclone (or dd) split image dilemma

This forum covers all Gentoo-related software not officially supported by Gentoo. Ebuilds/software posted here might harm the health and stability of your system(s), and are not supported by Gentoo developers. Bugs/errors caused by ebuilds from overlays.gentoo.org are covered by this forum, too.
Post Reply
Advanced search
2 posts • Page 1 of 1
Author
Message
anonybosh
Guru
Guru
Posts: 324
Joined: Sun Nov 20, 2005 1:45 am

ntfsclone (or dd) split image dilemma

  • Quote

Post by anonybosh » Fri Sep 14, 2012 10:08 pm

Hi-
So I'm trying to figure out a way to make a gentoo boot disc that can restore split ntfsclone images (ie. ntfsclone -s /dev/hda1 -o - | gzip | split -b 650m - backup.hda1.gz) spanned over several (n < 20) discs (CDs or DVDs).

How can I restore the split image to a drive WITHOUT concatenating all of the separate images onto the hard drive prior to restoring them?
IE. Have ntfsclone start writing the part 1 of the image to disk, and upon reaching the end of that, pause, create a prompt to insert the next disk, start reading disc 2's contents and writing them to disk, and so forth through however many discs there are.

Also, having the same number of CD/DVD drives connected as number of image splits probably isn't an option (sure, one is fine, but what about where there are 10 discs?).

Any ideas would be greatly appreciated!

-Ryan

Edit: So I found a similar question posited here.
It was suggested to try using a FIFO special file as the intermediary that ntfsclone reads from. Any bash scripting gurus out there have any more insight?

Upon further thinking, I can broaden the search to include (or be replaced by) dd.
Top
NeddySeagoon
Administrator
Administrator
User avatar
Posts: 56094
Joined: Sat Jul 05, 2003 9:37 am
Location: 56N 3W

  • Quote

Post by NeddySeagoon » Fri Sep 14, 2012 10:35 pm

anonybosh,

Instead of gzip | split you might want tar with the -L option, then you can use tar -x to get a multi disk file back.

You might want to test wilth a small file and a couple of floppies/CDs/pen drives before you do it for real.
I've never needed to use -L in anger.
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Top
Post Reply

2 posts • Page 1 of 1

Return to “Unsupported Software”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic