Rocksolid Light

Welcome to RetroBBS

mail  files  register  newsreader  groups  login

Message-ID:  

7 May, 2024: fms is rebuilding. Don't expect much in that section for quite a few days, maybe longer.


computers / alt.os.linux.mint / Clone a disk problem

SubjectAuthor
* Clone a disk problemRobH
`* Re: Clone a disk problemRobH
 `* Re: Clone a disk problempinnerite
  `* Re: Clone a disk problemJack Strangio
   `* Re: Clone a disk problempinnerite
    `- Re: Clone a disk problemPaul

1
Clone a disk problem

<l4juddFkti7U1@mid.individual.net>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=7791&group=alt.os.linux.mint#7791

  copy link   Newsgroups: alt.os.linux.mint
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: rob@nospam.com (RobH)
Newsgroups: alt.os.linux.mint
Subject: Clone a disk problem
Date: Sun, 3 Mar 2024 18:38:37 +0000
Lines: 9
Message-ID: <l4juddFkti7U1@mid.individual.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Trace: individual.net eATt31lLtny2Km8VPqQDyg02YsHqCy0mJj6LJIvaatHRKS8V+v
Cancel-Lock: sha1:tR5IkSbml7cMgyr6mupQ6SLxzRk= sha256:31xohoSeVur2NPM4UfLoq0usz0bXMhun4//CNZFfdV4=
User-Agent: Mozilla Thunderbird
Content-Language: en-US
 by: RobH - Sun, 3 Mar 2024 18:38 UTC

I am wanting to clone sda to sdb1 using dd:

dd if=/dev/sdb of=/dev/sdb bs=64k conv=noerror, sync

but I get an error saying
dd: invalid conversion

What am I doing wrong?
Thanks

Re: Clone a disk problem

<l4jvi8Fkti7U2@mid.individual.net>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=7793&group=alt.os.linux.mint#7793

  copy link   Newsgroups: alt.os.linux.mint
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: rob@nospam.com (RobH)
Newsgroups: alt.os.linux.mint
Subject: Re: Clone a disk problem
Date: Sun, 3 Mar 2024 18:58:15 +0000
Lines: 14
Message-ID: <l4jvi8Fkti7U2@mid.individual.net>
References: <l4juddFkti7U1@mid.individual.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Trace: individual.net V07WKuSwnj1j2cx4piyuHw0xzjuEqqMVO3tJg/gLNkthFSfHvo
Cancel-Lock: sha1:y8BbI84CmsYB15ar0SovPVmk7Xg= sha256:81ozrEqJJZBrndmwtYPdgM79aSlrqm/gq+VUqOzQGNc=
User-Agent: Mozilla Thunderbird
Content-Language: en-US
In-Reply-To: <l4juddFkti7U1@mid.individual.net>
 by: RobH - Sun, 3 Mar 2024 18:58 UTC

On 03/03/2024 18:38, RobH wrote:
> I am wanting to clone sda to sdb1 using dd:
>
> dd if=/dev/sdb of=/dev/sdb bs=64k conv=noerror, sync
>
> but I get an error saying
> dd: invalid conversion
>
> What am I doing wrong?
> Thanks

Update:
I found what it was: a space between conv=noerror, and sync.
After removing the space , it works fine.

Re: Clone a disk problem

<20240305185202.8989ecd33c8ebd266444adf3@gmail.com>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=7811&group=alt.os.linux.mint#7811

  copy link   Newsgroups: alt.os.linux.mint
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: pinnerite@gmail.com (pinnerite)
Newsgroups: alt.os.linux.mint
Subject: Re: Clone a disk problem
Date: Tue, 5 Mar 2024 18:52:02 +0000
Organization: A noiseless patient Spider
Lines: 26
Message-ID: <20240305185202.8989ecd33c8ebd266444adf3@gmail.com>
References: <l4juddFkti7U1@mid.individual.net>
<l4jvi8Fkti7U2@mid.individual.net>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Injection-Info: dont-email.me; posting-host="ee95f3adc03e3b474e9e7c54289d586a";
logging-data="4107760"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/FvDlk1QtW0iVAFlwM9u+GRkZHvz78e6Q="
Cancel-Lock: sha1:s9mx4xOVPb+oLGutj0Rqt7jIqig=
X-Newsreader: Sylpheed 3.7.0 (GTK+ 2.24.33; x86_64-pc-linux-gnu)
 by: pinnerite - Tue, 5 Mar 2024 18:52 UTC

On Sun, 3 Mar 2024 18:58:15 +0000
RobH <rob@nospam.com> wrote:

> On 03/03/2024 18:38, RobH wrote:
> > I am wanting to clone sda to sdb1 using dd:
> >
> > dd if=/dev/sdb of=/dev/sdb bs=64k conv=noerror, sync
> >
> > but I get an error saying
> > dd: invalid conversion
> >
> > What am I doing wrong?
> > Thanks
>
> Update:
> I found what it was: a space between conv=noerror, and sync.
> After removing the space , it works fine.

There was a lot more than that:

dd if=/dev/sda of=/dev/sdb1 bs=64k conv=noerror

I always add status=progress if it is to be a long job.
I have never seen ..., sync
What does that do?

Re: Clone a disk problem

<sA9svG.3Fn@yahoo.com>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=8081&group=alt.os.linux.mint#8081

  copy link   Newsgroups: alt.os.linux.mint
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: jackstrangio@yahoo.com (Jack Strangio)
Newsgroups: alt.os.linux.mint
Subject: Re: Clone a disk problem
Date: Wed, 13 Mar 2024 05:07:58 -0000 (UTC)
Organization: North Star Horizon Builders Club
Lines: 25
Message-ID: <sA9svG.3Fn@yahoo.com>
References: <20240305185202.8989ecd33c8ebd266444adf3@gmail.com>
Injection-Date: Wed, 13 Mar 2024 05:07:58 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="83f627019175a7a88907b5f3e7d5384f";
logging-data="844490"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18fWVTND/L0zkNDdbd2P7AJpP1tvhCuyGU="
Cancel-Lock: sha1:SmEd8NKfLawwDZKktNu7I3aiQUs=
X-Newsreader: TASS News Reader 3.7.2 jvs [linux]
 by: Jack Strangio - Wed, 13 Mar 2024 05:07 UTC

pinnerite <pinnerite@gmail.com> writes:
> There was a lot more than that:
>
> dd if=/dev/sda of=/dev/sdb1 bs=64k conv=noerror
>

Did you really use the raw device for a whole hard drive (/dev/sda) and
copy that to a partition on the second hard drive (/dev/sdb1)??

Or was it /dev/sda to /dev/sdb ?

Or /dev/sda1 to /dev/sdb1 ?

Obviously 'dd' doesn't care in the least what you think you want, it will
go ahead and do it exactly as you have commanded. But, like most people,
I have personally destroyed more filesystem than I can shake a stick at, and
I try to be extremely careful over situations like this.

Regards,

Jack
--
Why do meteorites always land in craters?

Re: Clone a disk problem

<20240313174140.8af8a1ff52ffa2677948cbb1@gmail.com>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=8089&group=alt.os.linux.mint#8089

  copy link   Newsgroups: alt.os.linux.mint
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: pinnerite@gmail.com (pinnerite)
Newsgroups: alt.os.linux.mint
Subject: Re: Clone a disk problem
Date: Wed, 13 Mar 2024 17:41:40 +0000
Organization: A noiseless patient Spider
Lines: 36
Message-ID: <20240313174140.8af8a1ff52ffa2677948cbb1@gmail.com>
References: <20240305185202.8989ecd33c8ebd266444adf3@gmail.com>
<sA9svG.3Fn@yahoo.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Injection-Info: dont-email.me; posting-host="1809afa125fbeac6e1ee405e8a2e0786";
logging-data="1125555"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/XIBSOe/qrYiMW0qtTPxfixD4Jbdj94V4="
Cancel-Lock: sha1:mNhDNT8eREmfSqDlMSUJ0P+LE4Y=
X-Newsreader: Sylpheed 3.7.0 (GTK+ 2.24.33; x86_64-pc-linux-gnu)
 by: pinnerite - Wed, 13 Mar 2024 17:41 UTC

On Wed, 13 Mar 2024 05:07:58 -0000 (UTC)
Jack Strangio <jackstrangio@yahoo.com> wrote:

> pinnerite <pinnerite@gmail.com> writes:
> > There was a lot more than that:
> >
> > dd if=/dev/sda of=/dev/sdb1 bs=64k conv=noerror
> >
>
> Did you really use the raw device for a whole hard drive (/dev/sda) and
> copy that to a partition on the second hard drive (/dev/sdb1)??
>
> Or was it /dev/sda to /dev/sdb ?
>
> Or /dev/sda1 to /dev/sdb1 ?

I was replying to what the op wrote.

>
>
> Obviously 'dd' doesn't care in the least what you think you want, it will
> go ahead and do it exactly as you have commanded. But, like most people,
> I have personally destroyed more filesystem than I can shake a stick at, and
> I try to be extremely careful over situations like this.
>
> Regards,
>
> Jack
> --
> Why do meteorites always land in craters?
>

--
Linux Mint 21.3 kernel version 5.15.0-100-generic Cinnamon 6.0.4
AMD Phenom II x4 955 CPU 16Gb Dram 2TB Barracuda

Re: Clone a disk problem

<usst92$13jd1$1@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=8095&group=alt.os.linux.mint#8095

  copy link   Newsgroups: alt.os.linux.mint
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: nospam@needed.invalid (Paul)
Newsgroups: alt.os.linux.mint
Subject: Re: Clone a disk problem
Date: Wed, 13 Mar 2024 15:02:57 -0400
Organization: A noiseless patient Spider
Lines: 33
Message-ID: <usst92$13jd1$1@dont-email.me>
References: <20240305185202.8989ecd33c8ebd266444adf3@gmail.com>
<sA9svG.3Fn@yahoo.com> <20240313174140.8af8a1ff52ffa2677948cbb1@gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit
Injection-Date: Wed, 13 Mar 2024 19:02:58 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="aa1e8035af1ac62c45ab949e6d0b0b10";
logging-data="1166753"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/5sjWO5mUjtHIF0GTRlYyl81KWRwawjZY="
User-Agent: Ratcatcher/2.0.0.25 (Windows/20130802)
Cancel-Lock: sha1:Fb4XJ+6ymBVYwzMLLarXkgE+mAM=
Content-Language: en-US
In-Reply-To: <20240313174140.8af8a1ff52ffa2677948cbb1@gmail.com>
 by: Paul - Wed, 13 Mar 2024 19:02 UTC

On 3/13/2024 1:41 PM, pinnerite wrote:
> On Wed, 13 Mar 2024 05:07:58 -0000 (UTC)
> Jack Strangio <jackstrangio@yahoo.com> wrote:
>
>> pinnerite <pinnerite@gmail.com> writes:
>>> There was a lot more than that:
>>>
>>> dd if=/dev/sda of=/dev/sdb1 bs=64k conv=noerror
>>>
>>
>> Did you really use the raw device for a whole hard drive (/dev/sda) and
>> copy that to a partition on the second hard drive (/dev/sdb1)??
>>
>> Or was it /dev/sda to /dev/sdb ?
>>
>> Or /dev/sda1 to /dev/sdb1 ?
>
> I was replying to what the op wrote.

OP:

dd if=/dev/sdb of=/dev/sdb bs=64k conv=noerror, sync # "My eyes, the goggles do nothing"

You:

dd if=/dev/sda of=/dev/sdb1 bs=64k conv=noerror # "Here, splash this in your face"
^ ^
| |
| |

That extra "1" sneaking in there, is not a good thing.

Paul

1
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor