Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #178565

Re: Some help with dd backing up into an iso

From David Christensen <dpchrist@holgerdanske.com>
Newsgroups linux.debian.user
Subject Re: Some help with dd backing up into an iso
Date 2017-03-08 07:00 +0100
Message-ID <tiCNH-237-1@gated-at.bofh.it> (permalink)
References <tir5T-2l6-9@gated-at.bofh.it> <tisOl-3ze-15@gated-at.bofh.it> <tiAVz-JT-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 03/07/2017 07:53 PM, GiaThnYgeia wrote:
> Once you install a system like debian, does the information
> in the hidden part of the disk ever change, of can I just copy the file
> system partition as a backup and replace it if it breaks?

AFAIK when using MBR partitioning, the partition table (blocks 0-62) 
does not change if the partitions are not changed (start sector, size, 
type, flags, etc.).


> OK, let's say swap is sdb1 and the filesystem is sdb2 (for this example
> there is no other partition). There are about 2mb in the beggining of
> the sdb then 2 partitions.  This is an actual working installation not a
> live system.  With the exception of having to reinstall sound drivers I
> got it working on 2 different but similar systems.  I was surprised it
> did, but it does.  This may help me from having to maintain two separate
> but parallel systems and just have one portable one and just use the hd
> for just data files of work that I do.

I discovered that I can copy a Wheezy system drive image from an HDD/SSD 
to a USB flash drive, and the USB flash drive will then boot and run in 
several of my computers.  I have not tried it with Jesse yet, but expect 
it will work.


> Many of the examples I found were specific to partitions and not a whole
> bootable disk.  Unless one studies filesystems it is hard to understand
> why this 9660 is important.  What I understood is its limitation to long
> and complex filenames.  So if I was to back up something with huge
> filenames I suspect it may run into problems of altering them and not
> being able to restore them correctly.  Have I made stew out of what I read?

If you want to burn files and directories to optical disc (I call this 
"archiving"), I suggest you start by using a simple GUI tool such as Xfburn.


> My specific question with this is how often in a debian system do things
> in the boot sector change, if ever.  I can't believe that if you have a
> Debian2 and you change the source to jessie the bootloader stays the
> same of it is the same with entering a fresh install of 8.7.1

The way to find out if the partition table changes between Debian 
releases would be to install a release of Debian, take an image of the 
first 2048 sectors of the system drive, hex dump it, install another 
release of Debian, take an image of the first 2048 sectors, hex dump 
that, and then run 'diff' on the two hex dumps.


> ... guitarist that
> only cares about backing up his composition, recordings, midi files into
> a stick and transport it to the studio.  If the studio only uses some
> commercial expensive apple stuff it helps  having a file-system with you
> to edit the files while on the run.

Having working copies of files on multiple disks is a double-edged 
sword.  It works best if you only read the files.  If and when you 
modify a file, now you have to figure out how to synchronize it to all 
the other disks.  The risk is that you'll edit a given file in two or 
more places, and then have to solve the three way merge problem:

https://en.wikipedia.org/wiki/Merge_%28version_control%29#Three-way_merge


A version control system is very useful for keeping things straight, and 
warning you when you have a problem.  I use CVS.  The repository is 
stored on my file server.  I can check out, update, and commit files on 
whatever computer and disk I want.  The trick is to always update before 
you work on files, and always commit when you are done.


David

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Some help with dd backing up into an iso GiaThnYgeia <GiaThnYgeia@openmailbox.org> - 2017-03-07 01:20 +0100
  Re: Some help with dd backing up into an iso Michael Lange <klappnase@freenet.de> - 2017-03-07 02:10 +0100
  Re: Some help with dd backing up into an iso David Christensen <dpchrist@holgerdanske.com> - 2017-03-07 06:10 +0100
    Re: Some help with dd backing up into an iso David Christensen <dpchrist@holgerdanske.com> - 2017-03-07 07:00 +0100
      Re: Some help with dd backing up into an iso "Thomas Schmitt" <scdbackup@gmx.net> - 2017-03-07 09:00 +0100
        Re: Some help with dd backing up into an iso GiaThnYgeia <GiaThnYgeia@openmailbox.org> - 2017-03-07 18:30 +0100
          Re: Some help with dd backing up into an iso "Thomas Schmitt" <scdbackup@gmx.net> - 2017-03-07 20:20 +0100
            Re: Some help with dd backing up into an iso GiaThnYgeia <GiaThnYgeia@openmailbox.org> - 2017-03-08 05:00 +0100
              Re: Some help with dd backing up into an iso David Christensen <dpchrist@holgerdanske.com> - 2017-03-08 07:00 +0100
              Re: Some help with dd backing up into an iso "Thomas Schmitt" <scdbackup@gmx.net> - 2017-03-08 12:10 +0100
                MBR partitioning, and content after partition table but before first  partition David Christensen <dpchrist@holgerdanske.com> - 2017-03-09 06:50 +0100
                Re: MBR partitioning, and content after partition table but before  first partition Felix Miata <mrmazda@earthlink.net> - 2017-03-09 08:00 +0100
                Re: MBR partitioning, and content after partition table but before  first partition David Christensen <dpchrist@holgerdanske.com> - 2017-03-10 06:10 +0100
                Re: MBR partitioning, and content after partition table but before  first partition Jonathan Dowland <jmtd@debian.org> - 2017-03-10 10:00 +0100
                Re: MBR partitioning, and content after partition table but before  first partition David Christensen <dpchrist@holgerdanske.com> - 2017-03-11 07:10 +0100
                Re: MBR partitioning, and content after partition table but before  first partition Jonathan Dowland <jmtd@debian.org> - 2017-03-13 10:10 +0100
                Re: MBR partitioning, and content after partition table but before  first partition David Christensen <dpchrist@holgerdanske.com> - 2017-03-14 04:40 +0100
                Re: MBR partitioning, and content after partition table but before  first partition David <bouncingcats@gmail.com> - 2017-03-14 11:40 +0100
                Re: MBR partitioning, and content after partition table but before  first partition David Christensen <dpchrist@holgerdanske.com> - 2017-03-15 03:50 +0100
                Re: MBR partitioning, and content after partition table but before  first partition The Wanderer <wanderer@fastmail.fm> - 2017-03-14 13:00 +0100
                Re: MBR partitioning, and content after partition table but before  first partition David Christensen <dpchrist@holgerdanske.com> - 2017-03-15 04:10 +0100
                Re: MBR partitioning, and content after partition table but before  first partition Andy Smith <andy@strugglers.net> - 2017-03-15 04:40 +0100
                Re: MBR partitioning, and content after partition table but before  first partition Jonathan Dowland <jmtd@debian.org> - 2017-03-15 13:00 +0100
                Re: MBR partitioning, and content after partition table but before first partition "Thomas Schmitt" <scdbackup@gmx.net> - 2017-03-09 08:30 +0100
                Re: MBR partitioning, and content after partition table but before  first partition Jonathan Dowland <jmtd@debian.org> - 2017-03-09 15:40 +0100
    Re: Some help with dd backing up into an iso Teemu Likonen <tlikonen@iki.fi> - 2017-03-07 09:30 +0100
      Re: Some help with dd backing up into an iso <tomas@tuxteam.de> - 2017-03-07 09:40 +0100
        Re: Some help with dd backing up into an iso Teemu Likonen <tlikonen@iki.fi> - 2017-03-07 10:00 +0100
          Re: Some help with dd backing up into an iso <tomas@tuxteam.de> - 2017-03-07 10:10 +0100
          Re: Some help with dd backing up into an iso David Wright <deblis@lionunicorn.co.uk> - 2017-03-07 16:20 +0100
      Re: Some help with dd backing up into an iso Jonathan Dowland <jmtd@debian.org> - 2017-03-07 11:10 +0100
      Re: Some help with dd backing up into an iso David Christensen <dpchrist@holgerdanske.com> - 2017-03-08 06:00 +0100
  Re: Some help with dd backing up into an iso Mark Fletcher <mark27q1@gmail.com> - 2017-03-07 12:10 +0100
  Re: Some help with dd backing up into an iso Eduardo M KALINOWSKI <eduardo@kalinowski.com.br> - 2017-03-07 14:50 +0100
  Re: Some help with dd backing up into an iso Elimar Riesebieter <riesebie@lxtec.de> - 2017-03-07 15:20 +0100
  Re: Some help with dd backing up into an iso David Wright <deblis@lionunicorn.co.uk> - 2017-03-07 16:20 +0100
    Re: Some help with dd backing up into an iso "Thomas Schmitt" <scdbackup@gmx.net> - 2017-03-07 18:10 +0100
      Re: Some help with dd backing up into an iso David Wright <deblis@lionunicorn.co.uk> - 2017-03-07 19:00 +0100
        Re: Some help with dd backing up into an iso "Thomas Schmitt" <scdbackup@gmx.net> - 2017-03-07 20:30 +0100
          Re: Some help with dd backing up into an iso David Wright <deblis@lionunicorn.co.uk> - 2017-03-07 21:30 +0100
            Re: Some help with dd backing up into an iso "Thomas Schmitt" <scdbackup@gmx.net> - 2017-03-07 22:10 +0100
              Re: Some help with dd backing up into an iso GiaThnYgeia <GiaThnYgeia@openmailbox.org> - 2017-03-08 18:30 +0100
                Re: Some help with dd backing up into an iso David Wright <deblis@lionunicorn.co.uk> - 2017-03-08 19:20 +0100

csiph-web