[LUGSB] Re: Disk backup
Erez Zadok
ezk at cs.sunysb.edu
Mon Aug 30 12:29:03 EDT 2004
In message <Pine.LNX.4.60.0408291416580.27629 at linux11.mnl.cs.sunysb.edu>, Vinay Pai writes:
> > DD seems to be the easiest option, but will I be able to boot/mount a
> > dual-boot disk image in case the image doesn't work on restore? I really
> > don't care about the Windows data. If I use dump+restore, then
> > repartitioning the newly initialized disk to the exact same partition
> > sizes would be difficult.
>
> AFAIK there is no easy way to mount an image of the whole disk. You can
> maybe play some tricks with telling losetup to skip some bytes at the
> begining, manually override the total size etc. but its unnecessarily
> complicated and error prone
You have to check your partition table, and be sure that you dd the ENTIRE
disk including the first sector? So obviously don't dd /dev/hdaN but rather
/dev/hda: that *should* do the trick. IOW, you need your dd image to
include the MBR and the partition table.
Then run losetup on your dd image. Then setup a vmware to boot off of
/dev/loopN as a "raw partition." (I've not tried this before myself, but I
can't imagine why it shouldn't work. I'm sure you'd let us know. :-)
Erez.
>From dpanzell at ic.sunysb.edu Thu Sep 2 13:39:13 2004
Received: from mta5.srv.hcvlny.cv.net (mta5.srv.hcvlny.cv.net [167.206.5.78])
i82HdCqr008769
for <lugsb at fsl.cs.sunysb.edu>; Thu, 2 Sep 2004 13:39:13 -0400
Received: from [192.168.1.103] (ool-18b83514.dyn.optonline.net [24.184.53.20])
by mta5.srv.hcvlny.cv.net
(iPlanet Messaging Server 5.2 HotFix 1.25 (built Mar 3 2004))
with ESMTP id <0I3F006UAD1D8X at mta5.srv.hcvlny.cv.net> for
lugsb at fsl.cs.sunysb.edu; Thu, 02 Sep 2004 13:39:13 -0400 (EDT)
Date: Thu, 02 Sep 2004 13:38:33 -0400
From: Daniel Panzella <dpanzell at ic.sunysb.edu>
To: lugsb at fsl.cs.sunysb.edu
Message-id: <200409021338.33462.dpanzell at ic.sunysb.edu>
MIME-version: 1.0
Content-type: text/plain; charset=us-ascii
Content-transfer-encoding: 7BIT
Content-disposition: inline
User-Agent: KMail/1.7
Subject: [LUGSB] Welcome Back
X-BeenThere: lugsb at fsl.cs.sunysb.edu
X-Mailman-Version: 2.1.1
Precedence: list
Reply-To: Linux Users Group at Stony Brook <lugsb at fsl.cs.sunysb.edu>
List-Id: Linux Users Group at Stony Brook <lugsb.fsl.cs.sunysb.edu>
List-Unsubscribe: <http://www.fsl.cs.sunysb.edu/mailman/listinfo/lugsb>,
<mailto:lugsb-request at fsl.cs.sunysb.edu?subject=unsubscribe>
List-Archive: <http://lists.fsl.cs.sunysb.edu/pipermail/lugsb>
List-Post: <mailto:lugsb at fsl.cs.sunysb.edu>
List-Help: <mailto:lugsb-request at fsl.cs.sunysb.edu?subject=help>
List-Subscribe: <http://www.fsl.cs.sunysb.edu/mailman/listinfo/lugsb>,
<mailto:lugsb-request at fsl.cs.sunysb.edu?subject=subscribe>
X-List-Received-Date: Thu, 02 Sep 2004 17:39:13 -0000
Hello Everyone,
Well, I hope you all had a good summer and that all is going well with
classes/work for everyone. Hopefully LUGSB Meetings will be starting up
again soon, although when and where exactly is as of yet unknown. Right now
I think were looking to continue the every other thursday schedule of last
year but thats not for certain yet. I still have some paperwork and stuff to
take care of this week, but I wanted to say hello to everyone and I will post
to the list as soon as a schedule is decided...so i guess if you have any
particular times that would be better let me know.
Dan
PS..I need names, addresses, phone numbers, email addresses, sparky usernames,
blackboard usernames, and SOLAR ID numbers for each of the officers ASAP.
Please e-mail the info to me directly.
>From TCasp77 at cs.com Thu Sep 2 18:24:57 2004
Received: from imo-m20.mx.aol.com (imo-m20.mx.aol.com [64.12.137.1])
i82MOvqr013791
for <lugsb at fsl.cs.sunysb.edu>; Thu, 2 Sep 2004 18:24:57 -0400
Received: from TCasp77 at cs.com
by imo-m20.mx.aol.com (mail_out_v37_r3.4.) id u.13d.1a5aef (25305)
for <lugsb at fsl.cs.sunysb.edu>; Thu, 2 Sep 2004 18:24:50 -0400 (EDT)
From: TCasp77 at cs.com
Message-ID: <13d.1a5aef.2e68f7b2 at cs.com>
Date: Thu, 2 Sep 2004 18:24:50 EDT
Subject: Re: [LUGSB] Welcome Back
To: lugsb at fsl.cs.sunysb.edu
MIME-Version: 1.0
Content-Type: multipart/alternative;
boundary="part1_13d.1a5aef.2e68f7b2_boundary"
X-Mailer: 7.0 for Windows sub 8000
X-BeenThere: lugsb at fsl.cs.sunysb.edu
X-Mailman-Version: 2.1.1
Precedence: list
Reply-To: Linux Users Group at Stony Brook <lugsb at fsl.cs.sunysb.edu>
List-Id: Linux Users Group at Stony Brook <lugsb.fsl.cs.sunysb.edu>
List-Unsubscribe: <http://www.fsl.cs.sunysb.edu/mailman/listinfo/lugsb>,
<mailto:lugsb-request at fsl.cs.sunysb.edu?subject=unsubscribe>
List-Archive: <http://lists.fsl.cs.sunysb.edu/pipermail/lugsb>
List-Post: <mailto:lugsb at fsl.cs.sunysb.edu>
List-Help: <mailto:lugsb-request at fsl.cs.sunysb.edu?subject=help>
List-Subscribe: <http://www.fsl.cs.sunysb.edu/mailman/listinfo/lugsb>,
<mailto:lugsb-request at fsl.cs.sunysb.edu?subject=subscribe>
X-List-Received-Date: Thu, 02 Sep 2004 22:24:57 -0000
--part1_13d.1a5aef.2e68f7b2_boundary
Content-Type: text/plain; charset="US-ASCII"
Content-Transfer-Encoding: 7bit
Hey Dan,
I wasn't able to attend the meetings last semester. Are you the new
President, and has Mark graduated? Well, hopefully I will be back this
semester.
Tom
--part1_13d.1a5aef.2e68f7b2_boundary
Content-Type: text/html; charset="US-ASCII"
Content-Transfer-Encoding: quoted-printable
<HTML><FONT FACE=3Darial,helvetica><HTML><FONT SIZE=3D2 PTSIZE=3D10 FAMILY=
=3D"SANSSERIF" FACE=3D"Arial" LANG=3D"0">Hey Dan,<BR>
<BR>
I wasn't able to attend the meetings la=
st semester. Are you the new President, and has Mark graduated? =20=
Well, hopefully I will be back this semester.<BR>
<BR>
Tom</FONT></HTML>
--part1_13d.1a5aef.2e68f7b2_boundary--
>From dpanzell at ic.sunysb.edu Thu Sep 2 20:19:25 2004
Received: from mta2.srv.hcvlny.cv.net (mta2.srv.hcvlny.cv.net [167.206.5.68])
i830JPqr015489
for <lugsb at fsl.cs.sunysb.edu>; Thu, 2 Sep 2004 20:19:25 -0400
Received: from [192.168.1.103] (ool-18b83514.dyn.optonline.net [24.184.53.20])
by mta2.srv.hcvlny.cv.net
(iPlanet Messaging Server 5.2 HotFix 1.25 (built Mar 3 2004))
with ESMTP id <0I3F004D8VGKZA at mta2.srv.hcvlny.cv.net> for
lugsb at fsl.cs.sunysb.edu; Thu, 02 Sep 2004 20:17:09 -0400 (EDT)
Date: Thu, 02 Sep 2004 20:16:19 -0400
From: Daniel Panzella <dpanzell at ic.sunysb.edu>
Subject: Re: [LUGSB] Welcome Back
In-reply-to: <13d.1a5aef.2e68f7b2 at cs.com>
To: Linux Users Group at Stony Brook <lugsb at fsl.cs.sunysb.edu>
Message-id: <200409022016.19646.dpanzell at ic.sunysb.edu>
MIME-version: 1.0
Content-type: text/plain; charset=iso-8859-1
Content-transfer-encoding: 7BIT
Content-disposition: inline
User-Agent: KMail/1.7
References: <13d.1a5aef.2e68f7b2 at cs.com>
X-BeenThere: lugsb at fsl.cs.sunysb.edu
X-Mailman-Version: 2.1.1
Precedence: list
Reply-To: Linux Users Group at Stony Brook <lugsb at fsl.cs.sunysb.edu>
List-Id: Linux Users Group at Stony Brook <lugsb.fsl.cs.sunysb.edu>
List-Unsubscribe: <http://www.fsl.cs.sunysb.edu/mailman/listinfo/lugsb>,
<mailto:lugsb-request at fsl.cs.sunysb.edu?subject=unsubscribe>
List-Archive: <http://lists.fsl.cs.sunysb.edu/pipermail/lugsb>
List-Post: <mailto:lugsb at fsl.cs.sunysb.edu>
List-Help: <mailto:lugsb-request at fsl.cs.sunysb.edu?subject=help>
List-Subscribe: <http://www.fsl.cs.sunysb.edu/mailman/listinfo/lugsb>,
<mailto:lugsb-request at fsl.cs.sunysb.edu?subject=subscribe>
X-List-Received-Date: Fri, 03 Sep 2004 00:19:25 -0000
Hey Tom,
I probably should have mentioned that in the last e-mail. Yes, I am the new
president and yes Mark graduated. Hope to see you at some meetings.
Dan
On Thursday 02 September 2004 06:24 pm, TCasp77 at cs.com wrote:
> Hey Dan,
>
> I wasn't able to attend the meetings last semester. Are you the new
> President, and has Mark graduated? Well, hopefully I will be back this
> semester.
>
> Tom
>From cwright at cs.sunysb.edu Sun Aug 29 17:31:25 2004
Received: from localhost
(IDENT:YBwn93Nw0dv+5ZGN1L3Kac6Me7cWO2No at localhost.localdomain [127.0.0.1])
i7TLVPN3004819
for <lugsb at fsl.cs.sunysb.edu>; Sun, 29 Aug 2004 17:31:25 -0400
Subject: Re: [LUGSB] Re: Disk backup
From: "Charles P. Wright" <cwright at cs.sunysb.edu>
To: Linux Users Group at Stony Brook <lugsb at fsl.cs.sunysb.edu>
In-Reply-To: <Pine.LNX.4.60.0408291416580.27629 at linux11.mnl.cs.sunysb.edu>
References: <200408291714.i7THEIUR013613 at agora.fsl.cs.sunysb.edu>
<Pine.SOC.4.60.0408291350350.21039 at sparky.ic.sunysb.edu>
<Pine.LNX.4.60.0408291416580.27629 at linux11.mnl.cs.sunysb.edu>
Content-Type: text/plain
Message-Id: <1093815069.23428.4.camel at localhost.localdomain>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.4.6
Date: Sun, 29 Aug 2004 17:31:10 -0400
Content-Transfer-Encoding: 7bit
X-Mailman-Approved-At: Fri, 03 Sep 2004 08:26:55 -0400
X-BeenThere: lugsb at fsl.cs.sunysb.edu
X-Mailman-Version: 2.1.1
Precedence: list
Reply-To: Linux Users Group at Stony Brook <lugsb at fsl.cs.sunysb.edu>
List-Id: Linux Users Group at Stony Brook <lugsb.fsl.cs.sunysb.edu>
List-Unsubscribe: <http://www.fsl.cs.sunysb.edu/mailman/listinfo/lugsb>,
<mailto:lugsb-request at fsl.cs.sunysb.edu?subject=unsubscribe>
List-Archive: <http://lists.fsl.cs.sunysb.edu/pipermail/lugsb>
List-Post: <mailto:lugsb at fsl.cs.sunysb.edu>
List-Help: <mailto:lugsb-request at fsl.cs.sunysb.edu?subject=help>
List-Subscribe: <http://www.fsl.cs.sunysb.edu/mailman/listinfo/lugsb>,
<mailto:lugsb-request at fsl.cs.sunysb.edu?subject=subscribe>
X-List-Received-Date: Sun, 29 Aug 2004 21:31:25 -0000
This is where FreeBSD's GEOM ends up beating Linux pretty handily. They
pretty much just stack partitioning on top of another device, and don't
care if it is a hard disk or not.
Chip
On Sun, 2004-08-29 at 14:35, Vinay Pai wrote:
> > DD seems to be the easiest option, but will I be able to boot/mount a
> > dual-boot disk image in case the image doesn't work on restore? I really
> > don't care about the Windows data. If I use dump+restore, then
> > repartitioning the newly initialized disk to the exact same partition
> > sizes would be difficult.
>
> AFAIK there is no easy way to mount an image of the whole disk. You can
> maybe play some tricks with telling losetup to skip some bytes at the
> begining, manually override the total size etc. but its unnecessarily
> complicated and error prone
>
> You can make per-partition copies instead if you want /dev/hdax instead of
> /dev/hda. Then you can easily mount it with the loop device if you need
> to. Just make sure you partition it in the exact same way when you restore
> it (make an image of the MBR)
>
> > Knowing others' experience with HP, the first thing they do to your machine
> > is wipe the contents using the HP restore disk. (You're-using
> > Linux-that's-why-there's-an-ozone-hole)
>
> Some people report that when dealing with tech support, asking to speak
> with their supervisor sometimes gets you a person who actually knows
> some of the stuff, isn't bound by a script and might even be aware that
> Linux is 100% CFC-free
>
> Vinay
>
> _______________________________________________
> lugsb mailing list
> lugsb at fsl.cs.sunysb.edu
> http://www.fsl.cs.sunysb.edu/mailman/listinfo/lugsb
More information about the lugsb
mailing list