Rocksolid Light

Welcome to RetroBBS

mail  files  register  newsreader  groups  login

Message-ID:  

"The only way for a reporter to look at a politician is down." -- H. L. Mencken


computers / alt.os.linux.ubuntu / Re: Can't clone drive

SubjectAuthor
* Can't clone drivephilo
+* Re: Can't clone drivePaul
|`* Re: Can't clone drivephilo
| `* Re: Can't clone driveAragorn
|  +* Re: Can't clone drivephilo
|  |`* Re: Can't clone driveJonathan N. Little
|  | `- Re: Can't clone drivephilo
|  `- Re: Can't clone drivephilo
+* Re: Can't clone driveAragorn
|`- Re: Can't clone drivephilo
`* Re: Can't clone drive all OK nowphilo
 `* Re: Can't clone drive all OK nowPaul
  `* Re: Can't clone drive all OK nowphilo
   `* Re: Can't clone drive all OK nowPaul
    `- Re: Can't clone drive all OK nowphilo

1
Can't clone drive

<skrtik$aoa$1@gioia.aioe.org>

  copy mid

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

  copy link   Newsgroups: alt.os.linux.ubuntu
Path: i2pn2.org!i2pn.org!aioe.org!/MVVmDNshHCopnbIJv7Pvw.user.46.165.242.91.POSTED!not-for-mail
From: philo@privacy.net (philo)
Newsgroups: alt.os.linux.ubuntu
Subject: Can't clone drive
Date: Thu, 21 Oct 2021 09:30:44 -0500
Organization: Aioe.org NNTP Server
Message-ID: <skrtik$aoa$1@gioia.aioe.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=windows-1252; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Info: gioia.aioe.org; logging-data="11018"; posting-host="/MVVmDNshHCopnbIJv7Pvw.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org";
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101
Thunderbird/78.13.0
Content-Language: en-US
X-Mozilla-News-Host: news://news.aioe.org:119
X-Notice: Filtered by postfilter v. 0.9.2
 by: philo - Thu, 21 Oct 2021 14:30 UTC

All I wanted to do was use dd to clone a Mint Linux installation on an
ATA drive over to a SATA.

I booted from a Ubuntu 20.04 live DVD and when I used dd
I got "permission" denied /dev/sda (source)

I've used dd before to clone Windows and Mac drives and it worked, so I
don't know what is going on here.

I tried Clonezilla and it said it had an unrepairable problem with the
boot partition.

I don't get it, the machine boots just fine.

BTW: Why the heck does Linux use FAT32 as the boot partition, that seems
like asking for trouble.

Just for fun, I did run CHKDSK (without the /f) on that partition from
a Windows machine and no problems were found.

With all the time I've wasted, I could have done a fresh install already
but am curious as to what is going on.

Re: Can't clone drive

<skru2a$hp2$1@dont-email.me>

  copy mid

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

  copy link   Newsgroups: alt.os.linux.ubuntu
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: nospam@needed.invalid (Paul)
Newsgroups: alt.os.linux.ubuntu
Subject: Re: Can't clone drive
Date: Thu, 21 Oct 2021 10:38:30 -0400
Organization: A noiseless patient Spider
Lines: 55
Message-ID: <skru2a$hp2$1@dont-email.me>
References: <skrtik$aoa$1@gioia.aioe.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=windows-1252; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Thu, 21 Oct 2021 14:39:06 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="b84d90e41de92cec498cb0babebdbc72";
logging-data="18210"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX184eT0i9HJNAsIkMO25qhekAZ2+d/3Bp2A="
User-Agent: Ratcatcher/2.0.0.25 (Windows/20130802)
Cancel-Lock: sha1:xQL3Vvtd1fhkx56zsJUmXeeezDc=
In-Reply-To: <skrtik$aoa$1@gioia.aioe.org>
Content-Language: en-US
 by: Paul - Thu, 21 Oct 2021 14:38 UTC

On 10/21/2021 10:30 AM, philo wrote:
> All I wanted to do was use dd to clone a Mint Linux installation on an ATA drive over to a SATA.
>
>
> I booted from a Ubuntu 20.04 live DVD and when I used dd
> I got "permission" denied /dev/sda     (source)
>
> I've used dd before to clone Windows and Mac drives and it worked, so I don't know what is going on here.
>
>
> I tried Clonezilla and it said it had an unrepairable problem with the boot partition.
>
>
> I don't get it, the machine boots just fine.
>
>
> BTW: Why the heck does Linux use FAT32 as the boot partition, that seems like asking for trouble.
>
>
> Just for fun, I did run CHKDSK  (without the /f) on that partition from a Windows machine and no problems were found.
>
>
>
>
> With all the time I've wasted, I could have done a fresh install already but am curious as to what is going on.
>

# Show us an example of your invocation please :-)

sudo dd if=/dev/sdb of=/dev/sdc

Without the sudo, it will end badly.

*******

# There is also a dd.exe for Windows, in case you
# want to prove it really does work as a hard drive.

Instructions:

http://www.chrysocome.net/dd

Download:

http://www.chrysocome.net/downloads/dd-0.6beta3.zip

In an Administrator Command Prompt:

cd /d C:\where\I\unpacked\my\dd\prog

dd --list # collect win namespace info

Paul

Re: Can't clone drive

<skrun6$ta6$1@gioia.aioe.org>

  copy mid

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

  copy link   Newsgroups: alt.os.linux.ubuntu
Path: i2pn2.org!i2pn.org!aioe.org!/MVVmDNshHCopnbIJv7Pvw.user.46.165.242.91.POSTED!not-for-mail
From: philo@privacy.net (philo)
Newsgroups: alt.os.linux.ubuntu
Subject: Re: Can't clone drive
Date: Thu, 21 Oct 2021 09:50:14 -0500
Organization: Aioe.org NNTP Server
Message-ID: <skrun6$ta6$1@gioia.aioe.org>
References: <skrtik$aoa$1@gioia.aioe.org> <skru2a$hp2$1@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=windows-1252; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Info: gioia.aioe.org; logging-data="30022"; posting-host="/MVVmDNshHCopnbIJv7Pvw.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org";
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101
Thunderbird/78.13.0
Content-Language: en-US
X-Notice: Filtered by postfilter v. 0.9.2
 by: philo - Thu, 21 Oct 2021 14:50 UTC

On 10/21/21 9:38 AM, Paul wrote:
> On 10/21/2021 10:30 AM, philo wrote:
>> All I wanted to do was use dd to clone a Mint Linux installation on an
>> ATA drive over to a SATA.
>>
>>
>> I booted from a Ubuntu 20.04 live DVD and when I used dd
>> I got "permission" denied /dev/sda     (source)
>>
>> I've used dd before to clone Windows and Mac drives and it worked, so
>> I don't know what is going on here.
>>
>>
>> I tried Clonezilla and it said it had an unrepairable problem with the
>> boot partition.
>>
>>
>> I don't get it, the machine boots just fine.
>>
>>
>> BTW: Why the heck does Linux use FAT32 as the boot partition, that
>> seems like asking for trouble.
>>
>>
>> Just for fun, I did run CHKDSK  (without the /f) on that partition
>> from a Windows machine and no problems were found.
>>
>>
>>
>>
>> With all the time I've wasted, I could have done a fresh install
>> already but am curious as to what is going on.
>>
>
> # Show us an example of your invocation please :-)
>
>   sudo dd if=/dev/sdb of=/dev/sdc
>
> Without the sudo, it will end badly.

Is sudo necessary from a live DVD?

I can open gparted, for example directly

I don't ever recall using sudo from a live DVD
>
> *******
>
> # There is also a dd.exe for Windows, in case you
> # want to prove it really does work as a hard drive.
>
> Instructions:
>
>    http://www.chrysocome.net/dd
>
> Download:
>
>    http://www.chrysocome.net/downloads/dd-0.6beta3.zip
>
> In an Administrator Command Prompt:
>
>    cd /d C:\where\I\unpacked\my\dd\prog
>
>    dd --list                        # collect win namespace info
>
>  Paul
>
>

Re: Can't clone drive

<20211021165303.070c9a51@nx-74205>

  copy mid

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

  copy link   Newsgroups: alt.os.linux.ubuntu
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: thorongil@telenet.be (Aragorn)
Newsgroups: alt.os.linux.ubuntu
Subject: Re: Can't clone drive
Date: Thu, 21 Oct 2021 16:53:03 +0200
Organization: A noiseless patient Strider
Lines: 26
Message-ID: <20211021165303.070c9a51@nx-74205>
References: <skrtik$aoa$1@gioia.aioe.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
Injection-Info: reader02.eternal-september.org; posting-host="e1b20730ab0b93cd2af3ef1512509489";
logging-data="14035"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX181LBoXohGxJdDGJ44keG1U"
Cancel-Lock: sha1:pyMKp+PBTNmKkMdPlvRGzhBDu2c=
X-Newsreader: Claws Mail 4.0.0 (GTK+ 3.24.30; x86_64-pc-linux-gnu)
 by: Aragorn - Thu, 21 Oct 2021 14:53 UTC

On 21.10.2021 at 09:30, philo scribbled:

> BTW: Why the heck does Linux use FAT32 as the boot partition, that
> seems like asking for trouble.

It's part of the UEFI specification. The UEFI firmware needs FAT — or
a FAT-derivative such as FAT32 or exFAT — for the EFI system
partition because it doesn't understand any other filesystems.

On a machine that boots in native UEFI mode, GRUB will install a
special version of its first stage — effectively an EFI executable — in
the EFI system partition. On dual-boot/multi-boot machines, this allows
one to directly choose which operating system to boot from the UEFI boot
manager menu.

Systems that boot in legacy BIOS mode don't have an EFI system
partition, and then the first stage of GRUB is commonly installed in
the master boot record of the drive.

--
With respect,
= Aragorn

Re: Can't clone drive

<20211021165609.6630322f@nx-74205>

  copy mid

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

  copy link   Newsgroups: alt.os.linux.ubuntu
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: thorongil@telenet.be (Aragorn)
Newsgroups: alt.os.linux.ubuntu
Subject: Re: Can't clone drive
Date: Thu, 21 Oct 2021 16:56:09 +0200
Organization: A noiseless patient Strider
Lines: 23
Message-ID: <20211021165609.6630322f@nx-74205>
References: <skrtik$aoa$1@gioia.aioe.org>
<skru2a$hp2$1@dont-email.me>
<skrun6$ta6$1@gioia.aioe.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
Injection-Info: reader02.eternal-september.org; posting-host="e1b20730ab0b93cd2af3ef1512509489";
logging-data="14035"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/++lvNyvjh1Z1WKJntAASq"
Cancel-Lock: sha1:AIir7GeOWzSvbMQDq8qnagAAzDk=
X-Newsreader: Claws Mail 4.0.0 (GTK+ 3.24.30; x86_64-pc-linux-gnu)
 by: Aragorn - Thu, 21 Oct 2021 14:56 UTC

On 21.10.2021 at 09:50, philo scribbled:

> On 10/21/21 9:38 AM, Paul wrote:
>
> > # Show us an example of your invocation please :-)
> >
> >   sudo dd if=/dev/sdb of=/dev/sdc
> >
> > Without the sudo, it will end badly.
>
> Is sudo necessary from a live DVD?
>
> I can open gparted, for example directly
>
> I don't ever recall using sudo from a live DVD

It depends on the live CD. Some live CDs have a polkit setup that
allows you to do things without needing sudo or su.

--
With respect,
= Aragorn

Re: Can't clone drive

<skrv96$123h$3@gioia.aioe.org>

  copy mid

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

  copy link   Newsgroups: alt.os.linux.ubuntu
Path: i2pn2.org!i2pn.org!aioe.org!/MVVmDNshHCopnbIJv7Pvw.user.46.165.242.91.POSTED!not-for-mail
From: philo@privacy.net (philo)
Newsgroups: alt.os.linux.ubuntu
Subject: Re: Can't clone drive
Date: Thu, 21 Oct 2021 09:59:50 -0500
Organization: Aioe.org NNTP Server
Message-ID: <skrv96$123h$3@gioia.aioe.org>
References: <skrtik$aoa$1@gioia.aioe.org> <20211021165303.070c9a51@nx-74205>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Info: gioia.aioe.org; logging-data="34929"; posting-host="/MVVmDNshHCopnbIJv7Pvw.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org";
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101
Thunderbird/78.13.0
Content-Language: en-US
X-Notice: Filtered by postfilter v. 0.9.2
 by: philo - Thu, 21 Oct 2021 14:59 UTC

On 10/21/21 9:53 AM, Aragorn wrote:
> On 21.10.2021 at 09:30, philo scribbled:
>
>> BTW: Why the heck does Linux use FAT32 as the boot partition, that
>> seems like asking for trouble.
>
> It's part of the UEFI specification. The UEFI firmware needs FAT — or
> a FAT-derivative such as FAT32 or exFAT — for the EFI system
> partition because it doesn't understand any other filesystems.
>
> On a machine that boots in native UEFI mode, GRUB will install a
> special version of its first stage — effectively an EFI executable — in
> the EFI system partition. On dual-boot/multi-boot machines, this allows
> one to directly choose which operating system to boot from the UEFI boot
> manager menu.
>
> Systems that boot in legacy BIOS mode don't have an EFI system
> partition, and then the first stage of GRUB is commonly installed in
> the master boot record of the drive.
>
>

Aha!

Well the machine has a legacy BIOS so I don't need that partition then
but if I simply clone the system drive to the new drive, the machine
won't boot unless I also clone the boot sector.

At any rate, this is not as easy as it should be.

Re: Can't clone drive

<skrvc0$123h$4@gioia.aioe.org>

  copy mid

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

  copy link   Newsgroups: alt.os.linux.ubuntu
Path: i2pn2.org!i2pn.org!aioe.org!/MVVmDNshHCopnbIJv7Pvw.user.46.165.242.91.POSTED!not-for-mail
From: philo@privacy.net (philo)
Newsgroups: alt.os.linux.ubuntu
Subject: Re: Can't clone drive
Date: Thu, 21 Oct 2021 10:01:20 -0500
Organization: Aioe.org NNTP Server
Message-ID: <skrvc0$123h$4@gioia.aioe.org>
References: <skrtik$aoa$1@gioia.aioe.org> <skru2a$hp2$1@dont-email.me>
<skrun6$ta6$1@gioia.aioe.org> <20211021165609.6630322f@nx-74205>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Info: gioia.aioe.org; logging-data="34929"; posting-host="/MVVmDNshHCopnbIJv7Pvw.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org";
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101
Thunderbird/78.13.0
X-Notice: Filtered by postfilter v. 0.9.2
Content-Language: en-US
 by: philo - Thu, 21 Oct 2021 15:01 UTC

On 10/21/21 9:56 AM, Aragorn wrote:
> On 21.10.2021 at 09:50, philo scribbled:
>
>> On 10/21/21 9:38 AM, Paul wrote:
>>
>>> # Show us an example of your invocation please :-)
>>>
>>>   sudo dd if=/dev/sdb of=/dev/sdc
>>>
>>> Without the sudo, it will end badly.
>>
>> Is sudo necessary from a live DVD?
>>
>> I can open gparted, for example directly
>>
>> I don't ever recall using sudo from a live DVD
>
> It depends on the live CD. Some live CDs have a polkit setup that
> allows you to do things without needing sudo or su.
>

AFAIK sudo is not needed, and were it so, I have no idea what the
password would be.

There should be a simple way to clone a Linux drive

Re: Can't clone drive

<sks2jb$uft$1@gioia.aioe.org>

  copy mid

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

  copy link   Newsgroups: alt.os.linux.ubuntu
Path: i2pn2.org!i2pn.org!aioe.org!/MVVmDNshHCopnbIJv7Pvw.user.46.165.242.91.POSTED!not-for-mail
From: philo@privacy.net (philo)
Newsgroups: alt.os.linux.ubuntu
Subject: Re: Can't clone drive
Date: Thu, 21 Oct 2021 10:56:27 -0500
Organization: Aioe.org NNTP Server
Message-ID: <sks2jb$uft$1@gioia.aioe.org>
References: <skrtik$aoa$1@gioia.aioe.org> <skru2a$hp2$1@dont-email.me>
<skrun6$ta6$1@gioia.aioe.org> <20211021165609.6630322f@nx-74205>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Info: gioia.aioe.org; logging-data="31229"; posting-host="/MVVmDNshHCopnbIJv7Pvw.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org";
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101
Thunderbird/78.13.0
X-Notice: Filtered by postfilter v. 0.9.2
Content-Language: en-US
 by: philo - Thu, 21 Oct 2021 15:56 UTC

On 10/21/21 9:56 AM, Aragorn wrote:
> On 21.10.2021 at 09:50, philo scribbled:
>
>> On 10/21/21 9:38 AM, Paul wrote:
>>
>>> # Show us an example of your invocation please :-)
>>>
>>>   sudo dd if=/dev/sdb of=/dev/sdc
>>>
>>> Without the sudo, it will end badly.
>>
>> Is sudo necessary from a live DVD?
>>
>> I can open gparted, for example directly
>>
>> I don't ever recall using sudo from a live DVD
>
> It depends on the live CD. Some live CDs have a polkit setup that
> allows you to do things without needing sudo or su.
>

I am now running the clone operation from a machine with Linux on it and
not a live DVD. It is now in the clone process, when it's done, I will
confirm that it boots.

Now I have to figure out if sudo can be used on a live DVD

Re: Can't clone drive all OK now

<sks8bo$5o7$1@gioia.aioe.org>

  copy mid

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

  copy link   Newsgroups: alt.os.linux.ubuntu
Path: i2pn2.org!i2pn.org!aioe.org!/MVVmDNshHCopnbIJv7Pvw.user.46.165.242.91.POSTED!not-for-mail
From: philo@privacy.net (philo)
Newsgroups: alt.os.linux.ubuntu
Subject: Re: Can't clone drive all OK now
Date: Thu, 21 Oct 2021 12:34:48 -0500
Organization: Aioe.org NNTP Server
Message-ID: <sks8bo$5o7$1@gioia.aioe.org>
References: <skrtik$aoa$1@gioia.aioe.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=windows-1252; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Info: gioia.aioe.org; logging-data="5895"; posting-host="/MVVmDNshHCopnbIJv7Pvw.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org";
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101
Thunderbird/78.13.0
X-Notice: Filtered by postfilter v. 0.9.2
Content-Language: en-US
 by: philo - Thu, 21 Oct 2021 17:34 UTC

On 10/21/21 9:30 AM, philo wrote:
> All I wanted to do was use dd to clone a Mint Linux installation on an
> ATA drive over to a SATA.
>
>
> I booted from a Ubuntu 20.04 live DVD and when I used dd
> I got "permission" denied /dev/sda     (source)
>
> I've used dd before to clone Windows and Mac drives and it worked, so I
> don't know what is going on here.
>
>
> I tried Clonezilla and it said it had an unrepairable problem with the
> boot partition.
>
>
> I don't get it, the machine boots just fine.
>
>
> BTW: Why the heck does Linux use FAT32 as the boot partition, that seems
> like asking for trouble.
>
>
> Just for fun, I did run CHKDSK  (without the /f) on that partition from
> a Windows machine and no problems were found.
>
>
>
>
> With all the time I've wasted, I could have done a fresh install already
> but am curious as to what is going on.
>
>
>

Indeed, I should have used sudo from the live DVD

thank you

Re: Can't clone drive all OK now

<skscgc$o2b$2@dont-email.me>

  copy mid

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

  copy link   Newsgroups: alt.os.linux.ubuntu
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: nospam@needed.invalid (Paul)
Newsgroups: alt.os.linux.ubuntu
Subject: Re: Can't clone drive all OK now
Date: Thu, 21 Oct 2021 14:44:58 -0400
Organization: A noiseless patient Spider
Lines: 40
Message-ID: <skscgc$o2b$2@dont-email.me>
References: <skrtik$aoa$1@gioia.aioe.org> <sks8bo$5o7$1@gioia.aioe.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=windows-1252; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Thu, 21 Oct 2021 18:45:32 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="7e5c0e536774578e0ce54738f36549e7";
logging-data="24651"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/4KRtRixWd5QX79n4CTrIi9O9kyRYOa38="
User-Agent: Ratcatcher/2.0.0.25 (Windows/20130802)
Cancel-Lock: sha1:bJfcQ8JKr+/Yj7lzO1Sh/Cem/S8=
In-Reply-To: <sks8bo$5o7$1@gioia.aioe.org>
Content-Language: en-US
 by: Paul - Thu, 21 Oct 2021 18:44 UTC

On 10/21/2021 1:34 PM, philo wrote:
> On 10/21/21 9:30 AM, philo wrote:
>> All I wanted to do was use dd to clone a Mint Linux installation on an ATA drive over to a SATA.
>>
>>
>> I booted from a Ubuntu 20.04 live DVD and when I used dd
>> I got "permission" denied /dev/sda     (source)
>>
>> I've used dd before to clone Windows and Mac drives and it worked, so I don't know what is going on here.
>>
>>
>> I tried Clonezilla and it said it had an unrepairable problem with the boot partition.
>>
>>
>> I don't get it, the machine boots just fine.
>>
>>
>> BTW: Why the heck does Linux use FAT32 as the boot partition, that seems like asking for trouble.
>>
>>
>> Just for fun, I did run CHKDSK  (without the /f) on that partition from a Windows machine and no problems were found.
>>
>>
>>
>>
>> With all the time I've wasted, I could have done a fresh install already but am curious as to what is going on.
>>
>>
>>
>
> Indeed, I should have used sudo from the live DVD
>
> thank you

And the Live Session does not ask for the password,
on some of the ones I've used here at least.

It's really an easy-going situation :-)

Paul

Re: Can't clone drive all OK now

<sksgo5$g6p$1@gioia.aioe.org>

  copy mid

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

  copy link   Newsgroups: alt.os.linux.ubuntu
Path: i2pn2.org!i2pn.org!aioe.org!/MVVmDNshHCopnbIJv7Pvw.user.46.165.242.91.POSTED!not-for-mail
From: philo@privacy.net (philo)
Newsgroups: alt.os.linux.ubuntu
Subject: Re: Can't clone drive all OK now
Date: Thu, 21 Oct 2021 14:57:57 -0500
Organization: Aioe.org NNTP Server
Message-ID: <sksgo5$g6p$1@gioia.aioe.org>
References: <skrtik$aoa$1@gioia.aioe.org> <sks8bo$5o7$1@gioia.aioe.org>
<skscgc$o2b$2@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=windows-1252; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Info: gioia.aioe.org; logging-data="16601"; posting-host="/MVVmDNshHCopnbIJv7Pvw.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org";
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101
Thunderbird/78.13.0
Content-Language: en-US
X-Notice: Filtered by postfilter v. 0.9.2
 by: philo - Thu, 21 Oct 2021 19:57 UTC

On 10/21/21 1:44 PM, Paul wrote:
> On 10/21/2021 1:34 PM, philo wrote:
>> On 10/21/21 9:30 AM, philo wrote:
>>> All I wanted to do was use dd to clone a Mint Linux installation on
>>> an ATA drive over to a SATA.
>>>
>>>
>>> I booted from a Ubuntu 20.04 live DVD and when I used dd
>>> I got "permission" denied /dev/sda     (source)
>>>
>>> I've used dd before to clone Windows and Mac drives and it worked, so
>>> I don't know what is going on here.
>>>
>>>
>>> I tried Clonezilla and it said it had an unrepairable problem with
>>> the boot partition.
>>>
>>>
>>> I don't get it, the machine boots just fine.
>>>
>>>
>>> BTW: Why the heck does Linux use FAT32 as the boot partition, that
>>> seems like asking for trouble.
>>>
>>>
>>> Just for fun, I did run CHKDSK  (without the /f) on that partition
>>> from a Windows machine and no problems were found.
>>>
>>>
>>>
>>>
>>> With all the time I've wasted, I could have done a fresh install
>>> already but am curious as to what is going on.
>>>
>>>
>>>
>>
>> Indeed, I should have used sudo from the live DVD
>>
>> thank you
>
> And the Live Session does not ask for the password,
> on some of the ones I've used here at least.
>
> It's really an easy-going situation :-)
>
>    Paul

Yep. All I had to do was use sudo and that was it

Anyway as it turned out dd worked fine but there was another problem as
grub did not recognize a file system.

I had a look at both the original and the cloned drive in gparted and
where the ext4 partition should have been it listed and unknown partition.

I then decided to just do a fresh install on my "new" drive...that only
took a few minutes.

Then I decided to delete all on the original drive but I first confirmed
that it was bootable and it was.

With gparted I first deleted the UEFI partition...as soon as I did, the
unrecognized partition showed up as ext4 and I could not delete it or
unmount it>

It said device is busy ...even after a reboot.

I finally took the mfg's tools and did a quick zero wipe and put the
drive back in storage.

Sheesh.

Re: Can't clone drive all OK now

<sksjk0$1ruu$1@gioia.aioe.org>

  copy mid

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

  copy link   Newsgroups: alt.os.linux.ubuntu
Path: i2pn2.org!i2pn.org!aioe.org!kp5VtOabX4+1HQ0xbPntxQ.user.46.165.242.75.POSTED!not-for-mail
From: nospam@needed.invalid (Paul)
Newsgroups: alt.os.linux.ubuntu
Subject: Re: Can't clone drive all OK now
Date: Thu, 21 Oct 2021 16:46:21 -0400
Organization: Aioe.org NNTP Server
Message-ID: <sksjk0$1ruu$1@gioia.aioe.org>
References: <skrtik$aoa$1@gioia.aioe.org> <sks8bo$5o7$1@gioia.aioe.org>
<skscgc$o2b$2@dont-email.me> <sksgo5$g6p$1@gioia.aioe.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=windows-1252; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Info: gioia.aioe.org; logging-data="61406"; posting-host="kp5VtOabX4+1HQ0xbPntxQ.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org";
User-Agent: Ratcatcher/2.0.0.25 (Windows/20130802)
X-Notice: Filtered by postfilter v. 0.9.2
Content-Language: en-US
 by: Paul - Thu, 21 Oct 2021 20:46 UTC

On 10/21/2021 3:57 PM, philo wrote:
> On 10/21/21 1:44 PM, Paul wrote:
>> On 10/21/2021 1:34 PM, philo wrote:
>>> On 10/21/21 9:30 AM, philo wrote:
>>>> All I wanted to do was use dd to clone a Mint Linux installation on an ATA drive over to a SATA.
>>>>
>>>>
>>>> I booted from a Ubuntu 20.04 live DVD and when I used dd
>>>> I got "permission" denied /dev/sda     (source)
>>>>
>>>> I've used dd before to clone Windows and Mac drives and it worked, so I don't know what is going on here.
>>>>
>>>>
>>>> I tried Clonezilla and it said it had an unrepairable problem with the boot partition.
>>>>
>>>>
>>>> I don't get it, the machine boots just fine.
>>>>
>>>>
>>>> BTW: Why the heck does Linux use FAT32 as the boot partition, that seems like asking for trouble.
>>>>
>>>>
>>>> Just for fun, I did run CHKDSK  (without the /f) on that partition from a Windows machine and no problems were found.
>>>>
>>>>
>>>>
>>>>
>>>> With all the time I've wasted, I could have done a fresh install already but am curious as to what is going on.
>>>>
>>>>
>>>>
>>>
>>> Indeed, I should have used sudo from the live DVD
>>>
>>> thank you
>>
>> And the Live Session does not ask for the password,
>> on some of the ones I've used here at least.
>>
>> It's really an easy-going situation :-)
>>
>>     Paul
>
>
>
> Yep. All I had to do was use sudo and that was it
>
> Anyway as it turned out dd worked fine but there was another problem as grub did not recognize a file system.
>
> I had a look at both the original and the cloned drive in gparted and where the ext4 partition should have been it listed and unknown partition.
>
>
> I then decided to just do a fresh install on my "new" drive...that only took a few minutes.
>
> Then I decided to delete all on the original drive but I first confirmed that it was bootable and it was.
>
> With gparted I first deleted the UEFI partition...as soon as I did, the unrecognized partition showed up as ext4 and I could not delete it or unmount it>
>
> It said device is busy ...even after a reboot.
>
>
> I finally took the mfg's tools and did a quick zero wipe and put the drive back in storage.
>
>
> Sheesh.

When you "clone" with "dd", that is too exact of a copy.

Being lazy individuals, that's why we search for "smart"
cloning tools, that reduce the labor needed to complete a clone.

The problem is, the second drive needs blkid changed on the
partitions, and blkid identifiers to be changed in GRUB things.
Such a procedure would make the source drive and the
destination drive "independent" of one another.

The fun begins, if you clone a disk, and now there are
two identical disks installed in the computer. Imagine
GRUBs surprise when it finds two slash partitions with
exactly the same identifier. The boot process could jump off
one disk, onto the other.

This is something the Macrium Boot Repair on the CD, does for
Windows partitions. Is modify the GUIDs in the boot menu, so
that two clones are independent of one another.

This is why you might want to try "lsblk" or similar
and see what the identifiers look like.

Paul

Re: Can't clone drive all OK now

<de5808071010582e26a970059ba35d28@news.novabbs.com>

  copy mid

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

  copy link   Newsgroups: alt.os.linux.ubuntu
Path: i2pn2.org!.POSTED.10.136.168.121!not-for-mail
From: philo@news.novabbs.com (philo)
Newsgroups: alt.os.linux.ubuntu
Subject: Re: Can't clone drive all OK now
Date: Thu, 21 Oct 2021 21:51:11 +0000
Organization: novaBBS
Message-ID: <de5808071010582e26a970059ba35d28@news.novabbs.com>
References: <skrtik$aoa$1@gioia.aioe.org> <sks8bo$5o7$1@gioia.aioe.org> <skscgc$o2b$2@dont-email.me> <sksgo5$g6p$1@gioia.aioe.org> <sksjk0$1ruu$1@gioia.aioe.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Info: i2pn2.org; posting-account="retrobbs1"; posting-host="10.136.168.121";
logging-data="4603"; mail-complaints-to="usenet@i2pn2.org"
User-Agent: Rocksolid Light (www.novabbs.com/getrslight)
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on novabbs.com
X-Rslight-Site: $2y$10$4rFs0sjiCzEmh7DuJbFXkeIXcUqumfqXk09QEUMzGM.3Dw7Ozz./e
 by: philo - Thu, 21 Oct 2021 21:51 UTC

Well, I am now done with my project.

On my bench...test machine I got rid of all the ATA drives.

I now have Ubuntu, Win2k, XP, Win7 and Win10 each on its own drive.
The machine is a dual core 2ghz CPU with 4 gigs of RAM.

My other machine is an AMD 550 and I have a huge box full of drives for running older OSes such as Nt3.51 and OS/2.
I even have Windows 2 and 3.0

Re: Can't clone drive

<skuvqt$ag8$1@dont-email.me>

  copy mid

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

  copy link   Newsgroups: alt.os.linux.ubuntu
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: lws4art@gmail.com (Jonathan N. Little)
Newsgroups: alt.os.linux.ubuntu
Subject: Re: Can't clone drive
Date: Fri, 22 Oct 2021 14:27:40 -0400
Organization: LITTLE WORKS STUDIO
Lines: 42
Message-ID: <skuvqt$ag8$1@dont-email.me>
References: <skrtik$aoa$1@gioia.aioe.org> <skru2a$hp2$1@dont-email.me>
<skrun6$ta6$1@gioia.aioe.org> <20211021165609.6630322f@nx-74205>
<skrvc0$123h$4@gioia.aioe.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Fri, 22 Oct 2021 18:27:42 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="6ea83494f326c9d537864fd2810f05c8";
logging-data="10760"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18WTNTwqHq+eGJyHBrs8Kq+/vqJDVGCK5o="
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:60.0) Gecko/20100101
Firefox/60.0 SeaMonkey/2.53.9.1
Cancel-Lock: sha1:7LhkgqWwjQWNfLNt97Z2I7IzLTg=
In-Reply-To: <skrvc0$123h$4@gioia.aioe.org>
X-Dan: Yes Dan this is a Winbox
X-Face: o[H8T0h*NGH`K`P)s+4PmYlcy|GNl`~+L6Fi.m:%15m[c%{C7V-ump|WiCYPkQ+hFJhq;XW5^1Rg_El'"fE$~AcYW$Pq\yeh9K_-dJqlQ5\y2\;[yw5DYCtOtsf_.TUy}0U\oL^>[3Y#{AP2^o'bG`bwj`]]UNpCxY\(~xK9b+uZKxrb*4-rkD+
 by: Jonathan N. Little - Fri, 22 Oct 2021 18:27 UTC

philo wrote:
> On 10/21/21 9:56 AM, Aragorn wrote:
>> On 21.10.2021 at 09:50, philo scribbled:
>>
>>> On 10/21/21 9:38 AM, Paul wrote:
>>>
>>>> # Show us an example of your invocation please :-)
>>>>
>>>>     sudo dd if=/dev/sdb of=/dev/sdc
>>>>
>>>> Without the sudo, it will end badly.
>>>
>>> Is sudo necessary from a live DVD?
>>>
>>> I can open gparted, for example directly
>>>
>>> I don't ever recall using sudo from a live DVD
>>
>> It depends on the live CD.  Some live CDs have a polkit setup that
>> allows you to do things without needing sudo or su.
>>
>
>
>
> AFAIK sudo is not needed, and were it so, I have no idea what the
> password would be.
>
> There should be a simple way to clone a Linux drive

With the Ubuntu CD your are user ubuntu and the password is "" empty so
when using sudo just hit enter at the password prompt. Of course if you
want you can set a password with command passwd...

--
Take care,

Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com

Re: Can't clone drive

<skvb8r$17mq$1@gioia.aioe.org>

  copy mid

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

  copy link   Newsgroups: alt.os.linux.ubuntu
Path: i2pn2.org!i2pn.org!aioe.org!/MVVmDNshHCopnbIJv7Pvw.user.46.165.242.91.POSTED!not-for-mail
From: philo@privacy.net (philo)
Newsgroups: alt.os.linux.ubuntu
Subject: Re: Can't clone drive
Date: Fri, 22 Oct 2021 16:42:51 -0500
Organization: Aioe.org NNTP Server
Message-ID: <skvb8r$17mq$1@gioia.aioe.org>
References: <skrtik$aoa$1@gioia.aioe.org> <skru2a$hp2$1@dont-email.me>
<skrun6$ta6$1@gioia.aioe.org> <20211021165609.6630322f@nx-74205>
<skrvc0$123h$4@gioia.aioe.org> <skuvqt$ag8$1@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Info: gioia.aioe.org; logging-data="40666"; posting-host="/MVVmDNshHCopnbIJv7Pvw.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org";
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101
Thunderbird/78.13.0
Content-Language: en-US
X-Notice: Filtered by postfilter v. 0.9.2
 by: philo - Fri, 22 Oct 2021 21:42 UTC

On 10/22/21 1:27 PM, Jonathan N. Little wrote:
> philo wrote:
>> On 10/21/21 9:56 AM, Aragorn wrote:
>>> On 21.10.2021 at 09:50, philo scribbled:
>>>
>>>> On 10/21/21 9:38 AM, Paul wrote:
>>>>
>>>>> # Show us an example of your invocation please :-)
>>>>>
>>>>>     sudo dd if=/dev/sdb of=/dev/sdc
>>>>>
>>>>> Without the sudo, it will end badly.
>>>>
>>>> Is sudo necessary from a live DVD?
>>>>
>>>> I can open gparted, for example directly
>>>>
>>>> I don't ever recall using sudo from a live DVD
>>>
>>> It depends on the live CD.  Some live CDs have a polkit setup that
>>> allows you to do things without needing sudo or su.
>>>
>>
>>
>>
>> AFAIK sudo is not needed, and were it so, I have no idea what the
>> password would be.
>>
>> There should be a simple way to clone a Linux drive
>
>
> With the Ubuntu CD your are user ubuntu and the password is "" empty so
> when using sudo just hit enter at the password prompt. Of course if you
> want you can set a password with command passwd...
>
>

Yep.

Next time, I will know


computers / alt.os.linux.ubuntu / Re: Can't clone drive

1
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor