Jumat, 28 Agustus 2015

Bristol Digest, Vol 615, Issue 3

Send Bristol mailing list submissions to
bristol@mailman.lug.org.uk

To subscribe or unsubscribe via the World Wide Web, visit
https://mailman.lug.org.uk/mailman/listinfo/bristol
or, via email, send a message with subject or body 'help' to
bristol-request@mailman.lug.org.uk

You can reach the person managing the list at
bristol-owner@mailman.lug.org.uk

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Bristol digest..."


Today's Topics:

1. dd dev to dev multipartition and more... (RT)
2. Re: dd dev to dev multipartition and more... (Amias Channer)


----------------------------------------------------------------------

Message: 1
Date: Thu, 27 Aug 2015 17:42:01 +0200
From: RT <rwatollenaar@gmail.com>
To: Bristol and Bath Linux User Group <bristol@mailman.lug.org.uk>
Subject: [bristol] dd dev to dev multipartition and more...
Message-ID: <55DF2FC9.7000102@gmail.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

Hi All and Anyone,

been a while since I called upon some help here.....

I have two sd cards one big one with Raspbian and another smaller one
that is clean.

I want to get the image of the first onto the latter and someone on
internet suggests pluggin both in to a linux machine and dd-ing across

dd if=/dev/sdxx of=/dev/sdyy

The actual useful part of the image is much smaller than the size of the
clean sd card and the claim is that losing the garbage should not hurt.

dd would execute the above through some errors but it should work.

1-dd executes but gives no error

2-I have two partitions on the source sd card which I copied across

dd if=/dev/sdx1 of=/dev/sdy1
dd if=/dev/sdx2 of=/dev/sdy1

which may be me overwriting the work of the first dd with the efforts of
the second dd.

In any event the result of all this cookery does not boot my raspberry Pi.

Can anyone advise how best to get the larger image onto a smaller card,
preferably without the use of things like GParted or other tools not
available on a very basic linux distribution.

Thanks.

Roland.




------------------------------

Message: 2
Date: Fri, 28 Aug 2015 08:39:13 +0100
From: Amias Channer <me@amias.net>
To: Bristol and Bath Group <bristol@mailman.lug.org.uk>,
rwatollenaar@gmail.com
Subject: Re: [bristol] dd dev to dev multipartition and more...
Message-ID:
<CAMgU7XVx1Lb+kWgeRR3FOCpqegTsqqGLoWrytaPMSPzrw+SEMQ@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"

Hello RT,

Your second DD command is indeed overwriting the first partition with the
second one. You might do better to run on DD command that does the whole
disk not the just a partition.

E.g. dd if=/dev/sdx of=/dev/sdy

Cheers
Amias
On 27 Aug 2015 16:42, "RT" <rwatollenaar@gmail.com> wrote:

> Hi All and Anyone,
>
> been a while since I called upon some help here.....
>
> I have two sd cards one big one with Raspbian and another smaller one that
> is clean.
>
> I want to get the image of the first onto the latter and someone on
> internet suggests pluggin both in to a linux machine and dd-ing across
>
> dd if=/dev/sdxx of=/dev/sdyy
>
> The actual useful part of the image is much smaller than the size of the
> clean sd card and the claim is that losing the garbage should not hurt.
>
> dd would execute the above through some errors but it should work.
>
> 1-dd executes but gives no error
>
> 2-I have two partitions on the source sd card which I copied across
>
> dd if=/dev/sdx1 of=/dev/sdy1
> dd if=/dev/sdx2 of=/dev/sdy1
>
> which may be me overwriting the work of the first dd with the efforts of
> the second dd.
>
> In any event the result of all this cookery does not boot my raspberry Pi.
>
> Can anyone advise how best to get the larger image onto a smaller card,
> preferably without the use of things like GParted or other tools not
> available on a very basic linux distribution.
>
> Thanks.
>
> Roland.
>
>
> _______________________________________________
> Bristol mailing list
> Bristol@mailman.lug.org.uk
> https://mailman.lug.org.uk/mailman/listinfo/bristol
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.lug.org.uk/mailman/private/bristol/attachments/20150828/28f64af0/attachment-0001.html>

------------------------------

Subject: Digest Footer

_______________________________________________
Bristol mailing list
Bristol@mailman.lug.org.uk
https://mailman.lug.org.uk/mailman/listinfo/bristol

------------------------------

End of Bristol Digest, Vol 615, Issue 3
***************************************

Tidak ada komentar:

Posting Komentar