Web lists-archives.com

Re: Gparted error report




On 01/01/2019 08:03 AM, tomas@xxxxxxxxxx wrote:
On Tue, Jan 01, 2019 at 06:07:21AM -0600, Richard Owlett wrote:
I am trying to modify the partitioning of a 240GB USB connected SSD.
It was originally created on a laptop running Debian 9.1 which is in
the shop for cooling problems.

I attempted to repartition it on a laptop running Debian 8.6 and
received an error message that the installed revision of e2fsck
could not analyze the first partition.

I then tried to perform the repartitioning on a machine I believe to
be running Debian 9.1.

*FIRST QUESTION*
How do I determine just what Debian release is running?

To a first approximation:

   tomas@trotzki:~$ cat /etc/debian_version
   9.6

Since it's possible to install packages from other releases (cf.
FrankenDebian) or from alien repositories, this is just a first
approximation.

My system reports 9.1 {as I thought it was}
It was initially installed from a purchased DVD 1.
My sources list now has a line
"deb http://deb.debian.org/debian/ stretch main contrib".
The only packages I've added have been from that repository.


When I attempted the repartition on the second machine the error report was:
GParted 0.25.0 --enable-libparted-dmraid --enable-online-resize

Libparted 3.2
Shrink /dev/sdc1 from 124.96 GiB to 80.00 GiB  00:00:00    ( ERROR )
     	
calibrate /dev/sdc1  00:00:00    ( SUCCESS )
     	
path: /dev/sdc1 (partition)
start: 2048
end: 262051839
size: 262049792 (124.96 GiB)
check file system on /dev/sdc1 for errors and (if possible) fix them 00:00:00    ( ERROR )
     	
e2fsck -f -y -v -C 0 /dev/sdc1  00:00:00    ( ERROR )
     	
Possibly non-existent device?
e2fsck 1.43.4 (31-Jan-2017)
e2fsck: No such file or directory while trying to open /dev/sdc1

It is obviously *NOT* a "non-existent device" as it is readable on
another machine.

Actually it is also readable on this machine.


Note that this device doesn't have to be called /dev/sdc* on your
current machine. The kernel just picks whatever /dev/sda, /dev/sdb...
is free and allocates it. Those names are not permanent.
[snip]

*SECOND QUESTION*
What is this telling me?

That (most probably) the device didn't end up as /dev/sdc, but possiblyas
/dev/sdb (because that name was free). Most probably your other machine
has two block devices, thus /dev/sda and /dev/sdb are already taken.

I just reran. Everything worked. Murphy did not take a holiday ;<


This is, btw, the reason why nowadays the preferred way is to address
the partitions by UUID.

I working inside Gparted's GUI and just saved its error report.

Thanks/


HTH
-- tomás