Re: A big slice of dd hell

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed August 20 2025 17:23:21 dep via tde-users wrote:
> My SSD for the ThinkPad arrived, so I pulled the drive from the machine and
> using a separate machine to dd the contents of the existing drive onto the
> new one. It being a 1-tb drive on both ends, it took a few hours. dd
> reported success.

Different drives of the "same" size can actually be slightly different sizes.

I use dd to zero a partition or to put an ISO onto a thumb drive but otherwise
I always use rsync which is like cp -av but I find it thinks more like I do
even when only copying locally.

> I put the new SSD into the machine and booted it. I was happy to see it
> booted readily. I was less happy to see what happened next.
>
> I got to the nice graphical login window. I typed in my password. Screen
> went black with a mouse pointer, then after a few seconds returned to the
> login screen. Damn, I thought. So I shut down and reinstalled the original
> drive.
>
> And guess what? *Same thing*! Perfectly working installation has now lost
> the contents of its /home partition. Only thing there is /lost+found. This
> on the original drive, which dd shouldn't have touched at all.

Back around 1982 a sysadmin mistyped one letter of a disk to disk backup
command on a VAX and us programmers had very little we could do for the
next several days while the system was rebuilt from mag tape.

> To say I am at a loss is an understatement. Everything else seems to work.
____________________________________________________
tde-users mailing list -- users@xxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxx
Web mail archive available at https://mail.trinitydesktop.org/mailman3/hyperkitty/list/users@xxxxxxxxxxxxxxxxxx



[Index of Archives]     [Trinity Devel]     [KDE]     [Linux Sound]     [ALSA Users]     [ALSA Devel]     [Linux Audio Users]     [Linux Media]     [Kernel]     [Gimp]     [Yosemite News]     [Linux Media]     [Trinity Desktop Environment]

  Powered by Linux