• Here we go again

    From Davey@2:250/1 to All on Tuesday, September 02, 2025 11:03:07
    I need more help, please, folks.
    I often feel that I am floundering around with insufficient knowledge,
    but usually with help, I get where I want to go. Hopefully this is
    another of those times.

    After what I thought was a successful conclusion to the Lost Partition
    saga, which had finished in a sensible, understandable boot, when I
    went to shut down the laptop last night, it warned me that my working
    partition was running out of space. It offered to let me scrutinise it,
    which I did, and it showed that the biggest folder was the Videos one,
    which I understood because I had not been using the separate old m2SSD partition while I could not access it, but I now can. I noted that
    today's first job would be to do a massive house-keeping job on my
    Videos. This was not a surprise.

    But today, I can't boot the laptop. It hangs after the initial splash
    screen phase, with the line at the top left of the screen showing
    'clean: /dev/dsa2....' and various file quantities. The only way I can
    get it to return to any control is to use the old favourite Cntr-Alt-Del combination.

    I can boot into emergency mode, and I tried reverting the /etc/fstab
    file to earlier versions, but that doesn't change the boot failure.
    I have booted from a Live USB, but I'm not sure what to do next. One
    thought is that I need to empty the Rubbish Bin, and research shows
    some guidance on that, but it seems a little inconclusive, and fraught
    with danger.

    I read that it is possible to mount any partition on the PC's HDD (or
    SSD) from the Live USB, but I have never done it, and I cannot seem to
    find the magic combination to mount the /dev/sda2 partition that
    currently is my working, and almost full, partition. I think I do it,
    but then it shows no files, so it isn't going where I want it to.

    Please help! I will provide any information that I can get, such as
    blkid, mount etc displays. I won't do that right here, this is to
    establish a path to get my laptop back on the road.

    All help most welcome!

    --
    Davey.


    --- MBSE BBS v1.1.1 (Linux-x86_64)
    * Origin: A noiseless patient Spider (2:250/1@fidonet)
  • From Davey@2:250/1 to All on Wednesday, September 03, 2025 08:57:59
    On Tue, 2 Sep 2025 11:03:07 +0100
    Davey <davey@example.invalid> wrote:

    I need more help, please, folks.
    I often feel that I am floundering around with insufficient knowledge,
    but usually with help, I get where I want to go. Hopefully this is
    another of those times.

    After what I thought was a successful conclusion to the Lost Partition
    saga, which had finished in a sensible, understandable boot, when I
    went to shut down the laptop last night, it warned me that my working partition was running out of space. It offered to let me scrutinise
    it, which I did, and it showed that the biggest folder was the Videos
    one, which I understood because I had not been using the separate old
    m2SSD partition while I could not access it, but I now can. I noted
    that today's first job would be to do a massive house-keeping job on
    my Videos. This was not a surprise.

    But today, I can't boot the laptop. It hangs after the initial splash
    screen phase, with the line at the top left of the screen showing
    'clean: /dev/dsa2....' and various file quantities. The only way I
    can get it to return to any control is to use the old favourite
    Cntr-Alt-Del combination.

    I can boot into emergency mode, and I tried reverting the /etc/fstab
    file to earlier versions, but that doesn't change the boot failure.
    I have booted from a Live USB, but I'm not sure what to do next. One
    thought is that I need to empty the Rubbish Bin, and research shows
    some guidance on that, but it seems a little inconclusive, and fraught
    with danger.

    I read that it is possible to mount any partition on the PC's HDD (or
    SSD) from the Live USB, but I have never done it, and I cannot seem to
    find the magic combination to mount the /dev/sda2 partition that
    currently is my working, and almost full, partition. I think I do it,
    but then it shows no files, so it isn't going where I want it to.

    Please help! I will provide any information that I can get, such as
    blkid, mount etc displays. I won't do that right here, this is to
    establish a path to get my laptop back on the road.

    All help most welcome!


    I played around with this yesterday, and all I manged to achieve was to
    boot from a Live USB, and run GParted. It seemed totally confused,
    showing the /boot/efi partition, the partition on the same drive, and
    the one on the added SSD. But both of these had identical Used volumes,
    and I could still find no way of actually getting at anything.
    I am seriously wondering whether to remove the added SSD, the original
    m2SSD, and try again. This might lead to a total wipe and
    re-installation of the OS, the major problem being the loss of all my Thunderbird Local Folders since my last backup. In the perfect world,
    the replacement of the other SSD would restore it to the PC, but if it
    doesn't, I won't be surprised.

    It does seem that the main partition is full, and it won't complete a
    boot sequence.
    I really need some help here, please!


    --
    Davey.


    --- MBSE BBS v1.1.1 (Linux-x86_64)
    * Origin: A noiseless patient Spider (2:250/1@fidonet)
  • From Daniel James@2:250/1 to All on Wednesday, September 03, 2025 16:49:24
    On 03/09/2025 08:57, Davey wrote:
    ... I am seriously wondering whether to remove the added SSD, the original m2SSD, and try again. This might lead to a total wipe and
    re-installation of the OS, the major problem being the loss of all my Thunderbird Local Folders since my last backup. In the perfect world,
    the replacement of the other SSD would restore it to the PC, but if it doesn't, I won't be surprised.

    It does seem that the main partition is full, and it won't complete a
    boot sequence.
    I really need some help here, please!

    It's really hard to know what actually happened to bring about your
    problems in the first place, and how what you have done since to try to
    try to remedy matters may have made them worse, or at least more
    complicated.

    It would be easier if you had made image backups of all your disks
    before you started. Time taken making a backup is never wasted.

    TBH at this stage my course of action would be to get a new drive big
    enough to hold everything and do a clean install onto that, and then try
    to mount your existing drives one at a time (maybe in some sort of
    hot-swap (e.g. USB) external housing so they're not present at boot time
    and UEFI can't mistake one drive for another (they SHOULD have different GUIDs, but have they?)) and copy the the data you need onto that clean
    system.

    It should be easy enough to copy /home from your (partly-)working
    system(s) onto the new drive. Linux is pretty good at letting you
    transplant a /home from one system to another, and so long as you have installed all the applications you need onto the new one everything
    should Just Work(TM).

    Merging two separate /home systems from different sources, each of which
    may be more up-to-date than the other is different areas is a problem
    you may have to face, but if you do it is a problem of your own making.

    --
    Cheers,
    Daniel.

    --- MBSE BBS v1.1.1 (Linux-x86_64)
    * Origin: Daniel James (2:250/1@fidonet)
  • From Theo@2:250/1 to All on Wednesday, September 03, 2025 17:21:51
    Daniel James <daniel@me.invalid> wrote:
    On 03/09/2025 08:57, Davey wrote:
    ... I am seriously wondering whether to remove the added SSD, the original m2SSD, and try again. This might lead to a total wipe and
    re-installation of the OS, the major problem being the loss of all my Thunderbird Local Folders since my last backup. In the perfect world,
    the replacement of the other SSD would restore it to the PC, but if it doesn't, I won't be surprised.

    It does seem that the main partition is full, and it won't complete a
    boot sequence.
    I really need some help here, please!

    It's really hard to know what actually happened to bring about your
    problems in the first place, and how what you have done since to try to
    try to remedy matters may have made them worse, or at least more complicated.

    My guess is that there are two bootable drives (one M.2 and one SATA) and he
    is booting from the backup not the primary drive. And possibly it's using
    the boot partition on one and the rootfs on another, or some mixup like
    that.

    It would be easier if you had made image backups of all your disks
    before you started. Time taken making a backup is never wasted.

    TBH at this stage my course of action would be to get a new drive big
    enough to hold everything and do a clean install onto that, and then try
    to mount your existing drives one at a time (maybe in some sort of
    hot-swap (e.g. USB) external housing so they're not present at boot time
    and UEFI can't mistake one drive for another (they SHOULD have different GUIDs, but have they?)) and copy the the data you need onto that clean system.

    Sensible. I'd suggest that if you take full-disc image backup, it's never connected to the machine at boot time. Then there is never any confusion
    over which drive you've booted from.

    The same goes when you do a fresh install - if there is only one drive
    present in the machine, you can't get any pieces installed to the wrong
    drive.

    It should be easy enough to copy /home from your (partly-)working
    system(s) onto the new drive. Linux is pretty good at letting you
    transplant a /home from one system to another, and so long as you have installed all the applications you need onto the new one everything
    should Just Work(TM).

    For Thunderbird, make sure you copy the ~/.thunderbird folder,
    and if it's Ubuntu and you're on the snap, also ~/snap/thunderbird/common

    Theo

    --- MBSE BBS v1.1.1 (Linux-x86_64)
    * Origin: University of Cambridge, England (2:250/1@fidonet)
  • From Davey@2:250/1 to All on Wednesday, September 03, 2025 17:48:55
    On 03 Sep 2025 17:21:51 +0100 (BST)
    Theo <theom+news@chiark.greenend.org.uk> wrote:

    Daniel James <daniel@me.invalid> wrote:
    On 03/09/2025 08:57, Davey wrote:
    ... I am seriously wondering whether to remove the added SSD, the original m2SSD, and try again. This might lead to a total wipe and re-installation of the OS, the major problem being the loss of
    all my Thunderbird Local Folders since my last backup. In the
    perfect world, the replacement of the other SSD would restore it
    to the PC, but if it doesn't, I won't be surprised.

    It does seem that the main partition is full, and it won't
    complete a boot sequence.
    I really need some help here, please!

    It's really hard to know what actually happened to bring about your problems in the first place, and how what you have done since to
    try to try to remedy matters may have made them worse, or at least
    more complicated.

    My guess is that there are two bootable drives (one M.2 and one SATA)
    and he is booting from the backup not the primary drive. And
    possibly it's using the boot partition on one and the rootfs on
    another, or some mixup like that.


    I agree with that, it matches GParted and Disks views.

    It would be easier if you had made image backups of all your disks
    before you started. Time taken making a backup is never wasted.

    Unfortunately, one never knows when something is the beginning of a
    problem. A week ago, it was all working smoothly, including access to
    the 'lost' partition. The only known problem was the 'wrong' m2SSD'
    name, and which partition it was booting from. Then it wouldn't boot.

    TBH at this stage my course of action would be to get a new drive
    big enough to hold everything and do a clean install onto that, and
    then try to mount your existing drives one at a time (maybe in some
    sort of hot-swap (e.g. USB) external housing so they're not present
    at boot time and UEFI can't mistake one drive for another (they
    SHOULD have different GUIDs, but have they?)) and copy the the data
    you need onto that clean system.

    Sensible. I'd suggest that if you take full-disc image backup, it's
    never connected to the machine at boot time. Then there is never any confusion over which drive you've booted from.

    Sounds sensible. I need to look at large SSDs. I have never heard of
    USB housings for SSDs, but then, I have had no reason to.

    The same goes when you do a fresh install - if there is only one drive present in the machine, you can't get any pieces installed to the
    wrong drive.


    That was how it was originally set up. The extra SSD (m2SSD) was added
    later, and it all worked fine for a couple of years. Everything started
    to go wrong when I had to upgrade from Ubuntu 18.04 and went to 22.04.
    There have been various problems since then, culminating in the present uselessness.

    It should be easy enough to copy /home from your (partly-)working system(s) onto the new drive. Linux is pretty good at letting you transplant a /home from one system to another, and so long as you
    have installed all the applications you need onto the new one
    everything should Just Work(TM).

    For Thunderbird, make sure you copy the ~/.thunderbird folder,
    and if it's Ubuntu and you're on the snap, also
    ~/snap/thunderbird/common

    Theo

    I have been given the name of a local guy who specialises in data
    recovery, so presumably he knows a thing or two about this. I will call
    him tomorrow and see what help he can be. I do not trust myself to go
    deeper into uncharted waters at this point.
    For now, I will leave the laptop unpowered. It spent most of
    yesterday sitting there with a blinking cursor, but nothing else
    happened.

    Thank you both for the advice, I will report (any) progress.

    --
    Davey.


    --- MBSE BBS v1.1.1 (Linux-x86_64)
    * Origin: A noiseless patient Spider (2:250/1@fidonet)
  • From Theo@2:250/1 to All on Wednesday, September 03, 2025 18:20:55
    Davey <davey@example.invalid> wrote:
    I have been given the name of a local guy who specialises in data
    recovery, so presumably he knows a thing or two about this. I will call
    him tomorrow and see what help he can be. I do not trust myself to go
    deeper into uncharted waters at this point.
    For now, I will leave the laptop unpowered. It spent most of
    yesterday sitting there with a blinking cursor, but nothing else
    happened.

    Thank you both for the advice, I will report (any) progress.

    I'd guess the data is all still there, it's just not booting. So it's just repair needed, rather than data recovery per se.

    I'd invest in a new M.2 SSD and a couple of M.2 and SATA to USB adapters. Remove the M.2 and SATA drive from the laptop and put them in adapters. Install the blank new M.2 SSD into the laptop.

    Boot from an installer and do a fresh install to your new M.2.
    Once everything is installed, plug in your old drives and copy things over.

    It is likely possible to repair your existing install via booting a recovery USB stick, but a new drive avoids the risk of losing anything on your
    existing drives. It would also be possible to boot from a USB stick and
    copy anything important to the USB.

    Of course, if there is anything particularly valuable then there's no harm
    in calling in someone more experienced to do it for you.

    Theo

    --- MBSE BBS v1.1.1 (Linux-x86_64)
    * Origin: University of Cambridge, England (2:250/1@fidonet)
  • From Davey@2:250/1 to All on Wednesday, September 03, 2025 20:10:31
    On 03 Sep 2025 18:20:55 +0100 (BST)
    Theo <theom+news@chiark.greenend.org.uk> wrote:

    Davey <davey@example.invalid> wrote:
    I have been given the name of a local guy who specialises in data
    recovery, so presumably he knows a thing or two about this. I will
    call him tomorrow and see what help he can be. I do not trust
    myself to go deeper into uncharted waters at this point.
    For now, I will leave the laptop unpowered. It spent most of
    yesterday sitting there with a blinking cursor, but nothing else
    happened.

    Thank you both for the advice, I will report (any) progress.

    I'd guess the data is all still there, it's just not booting. So
    it's just repair needed, rather than data recovery per se.

    I'd invest in a new M.2 SSD and a couple of M.2 and SATA to USB
    adapters. Remove the M.2 and SATA drive from the laptop and put them
    in adapters. Install the blank new M.2 SSD into the laptop.

    Boot from an installer and do a fresh install to your new M.2.
    Once everything is installed, plug in your old drives and copy things
    over.

    It is likely possible to repair your existing install via booting a
    recovery USB stick, but a new drive avoids the risk of losing
    anything on your existing drives. It would also be possible to boot
    from a USB stick and copy anything important to the USB.

    Of course, if there is anything particularly valuable then there's no
    harm in calling in someone more experienced to do it for you.

    Theo

    I understand what you say, and I appreciate it. I will contact the guy
    in the morning, and see what he has to say. As he is used to data
    recovery, he will know a lot more than me about the processes involved.
    I think that the original drive is also an SSD, but I will check the
    spec. If he is sure that he knows the process, which is more than I do,
    I will see what he wants to charge, and take it from there.
    Watch this space....

    --
    Davey.


    --- MBSE BBS v1.1.1 (Linux-x86_64)
    * Origin: A noiseless patient Spider (2:250/1@fidonet)
  • From Davey@2:250/1 to All on Wednesday, September 03, 2025 20:50:40
    On 03 Sep 2025 18:20:55 +0100 (BST)
    Theo <theom+news@chiark.greenend.org.uk> wrote:

    Davey <davey@example.invalid> wrote:
    I have been given the name of a local guy who specialises in data
    recovery, so presumably he knows a thing or two about this. I will
    call him tomorrow and see what help he can be. I do not trust
    myself to go deeper into uncharted waters at this point.
    For now, I will leave the laptop unpowered. It spent most of
    yesterday sitting there with a blinking cursor, but nothing else
    happened.
    =20
    Thank you both for the advice, I will report (any) progress. =20
    =20
    I'd guess the data is all still there, it's just not booting. So
    it's just repair needed, rather than data recovery per se.
    =20
    I'd invest in a new M.2 SSD and a couple of M.2 and SATA to USB
    adapters. Remove the M.2 and SATA drive from the laptop and put them
    in adapters. Install the blank new M.2 SSD into the laptop.
    =20
    Boot from an installer and do a fresh install to your new M.2.
    Once everything is installed, plug in your old drives and copy things
    over.
    =20
    It is likely possible to repair your existing install via booting a
    recovery USB stick, but a new drive avoids the risk of losing
    anything on your existing drives. It would also be possible to boot
    from a USB stick and copy anything important to the USB.
    =20
    Of course, if there is anything particularly valuable then there's no
    harm in calling in someone more experienced to do it for you.
    =20
    Theo

    Some more information:
    1st Storage Drive: 1TB PCS 2.5" SSD, SATA 6 Gb (520MB/R, 470MB/W)

    Upgrade drive: 1st M.2 SSD Drive 1TB INTEL=C2=AE 670p M.2 NVMe PCIe SSD (up=
    to 3500MB/sR | 2500MB/sW)

    So, both are SSD, but the primary is a SATA. The upgrade is the only
    one that mentions NVMe, which is what GParted and Disks were showing.

    --=20
    Davey.


    --- MBSE BBS v1.1.1 (Linux-x86_64)
    * Origin: A noiseless patient Spider (2:250/1@fidonet)
  • From Gordon@2:250/1 to All on Thursday, September 04, 2025 00:31:36
    On 2025-09-03, Theo <theom+news@chiark.greenend.org.uk> wrote:
    Daniel James <daniel@me.invalid> wrote:
    On 03/09/2025 08:57, Davey wrote:
    ... I am seriously wondering whether to remove the added SSD, the original >> > m2SSD, and try again. This might lead to a total wipe and
    re-installation of the OS, the major problem being the loss of all my
    Thunderbird Local Folders since my last backup. In the perfect world,
    the replacement of the other SSD would restore it to the PC, but if it
    doesn't, I won't be surprised.

    It does seem that the main partition is full, and it won't complete a
    boot sequence.

    This could well be the case.

    I really need some help here, please!

    It's really hard to know what actually happened to bring about your
    problems in the first place, and how what you have done since to try to
    try to remedy matters may have made them worse, or at least more
    complicated.

    This is going to happen in real world cases. It is a sure bet.


    My guess is that there are two bootable drives (one M.2 and one SATA) and he is booting from the backup not the primary drive. And possibly it's using the boot partition on one and the rootfs on another, or some mixup like
    that.

    What happens if to press F12 at boot up. Can you boot into any of the
    options?


    It would be easier if you had made image backups of all your disks
    before you started. Time taken making a backup is never wasted.

    Totally correct. Also making some notes as to what the heck you have done is worth the time and paper.

    Another point is that cloning your system before you start means that you
    can try anything and when you have messed up you can reinstall the orginal messed up version.

    If possible also copy off your data and put it aside until you have sorted
    the situation out.

    There is a saying that it will take longer but it will be quicker.



    TBH at this stage my course of action would be to get a new drive big
    enough to hold everything and do a clean install onto that, and then try
    to mount your existing drives one at a time (maybe in some sort of
    hot-swap (e.g. USB) external housing so they're not present at boot time
    and UEFI can't mistake one drive for another (they SHOULD have different
    GUIDs, but have they?)) and copy the the data you need onto that clean
    system.

    Sensible. I'd suggest that if you take full-disc image backup, it's never connected to the machine at boot time. Then there is never any confusion over which drive you've booted from.

    The same goes when you do a fresh install - if there is only one drive present in the machine, you can't get any pieces installed to the wrong drive.

    All true.

    It should be easy enough to copy /home from your (partly-)working
    system(s) onto the new drive. Linux is pretty good at letting you
    transplant a /home from one system to another, and so long as you have
    installed all the applications you need onto the new one everything
    should Just Work(TM).

    For Thunderbird, make sure you copy the ~/.thunderbird folder,
    and if it's Ubuntu and you're on the snap, also ~/snap/thunderbird/common

    Once again get ./thunderbird off you machine while you are fiddling with it.
    It has all you mail within it and the config files.

    --- MBSE BBS v1.1.1 (Linux-x86_64)
    * Origin: Air Applewood, The Linux Gateway to the UK & Eire (2:250/1@fidonet)
  • From Gordon@2:250/1 to All on Thursday, September 04, 2025 00:46:51
    On 2025-09-03, Davey <davey@example.invalid> wrote:
    On 03 Sep 2025 17:21:51 +0100 (BST)
    Theo <theom+news@chiark.greenend.org.uk> wrote:

    Daniel James <daniel@me.invalid> wrote:
    On 03/09/2025 08:57, Davey wrote:
    ... I am seriously wondering whether to remove the added SSD, the
    original m2SSD, and try again. This might lead to a total wipe and
    re-installation of the OS, the major problem being the loss of
    all my Thunderbird Local Folders since my last backup. In the
    perfect world, the replacement of the other SSD would restore it
    to the PC, but if it doesn't, I won't be surprised.

    It does seem that the main partition is full, and it won't
    complete a boot sequence.
    I really need some help here, please!

    It's really hard to know what actually happened to bring about your
    problems in the first place, and how what you have done since to
    try to try to remedy matters may have made them worse, or at least
    more complicated.

    My guess is that there are two bootable drives (one M.2 and one SATA)
    and he is booting from the backup not the primary drive. And
    possibly it's using the boot partition on one and the rootfs on
    another, or some mixup like that.


    I agree with that, it matches GParted and Disks views.

    It would be easier if you had made image backups of all your disks
    before you started. Time taken making a backup is never wasted.

    Unfortunately, one never knows when something is the beginning of a
    problem. A week ago, it was all working smoothly, including access to
    the 'lost' partition. The only known problem was the 'wrong' m2SSD'
    name, and which partition it was booting from. Then it wouldn't boot.

    TBH at this stage my course of action would be to get a new drive
    big enough to hold everything and do a clean install onto that, and
    then try to mount your existing drives one at a time (maybe in some
    sort of hot-swap (e.g. USB) external housing so they're not present
    at boot time and UEFI can't mistake one drive for another (they
    SHOULD have different GUIDs, but have they?)) and copy the the data
    you need onto that clean system.

    Sensible. I'd suggest that if you take full-disc image backup, it's
    never connected to the machine at boot time. Then there is never any
    confusion over which drive you've booted from.

    Sounds sensible. I need to look at large SSDs. I have never heard of
    USB housings for SSDs, but then, I have had no reason to.

    The same goes when you do a fresh install - if there is only one drive
    present in the machine, you can't get any pieces installed to the
    wrong drive.


    That was how it was originally set up. The extra SSD (m2SSD) was added
    later, and it all worked fine for a couple of years. Everything started
    to go wrong when I had to upgrade from Ubuntu 18.04 and went to 22.04.
    There have been various problems since then, culminating in the present uselessness.

    How did you upgrade? By a fresh install, or via the command line?

    It should be easy enough to copy /home from your (partly-)working
    system(s) onto the new drive. Linux is pretty good at letting you
    transplant a /home from one system to another, and so long as you
    have installed all the applications you need onto the new one
    everything should Just Work(TM).

    For Thunderbird, make sure you copy the ~/.thunderbird folder,
    and if it's Ubuntu and you're on the snap, also
    ~/snap/thunderbird/common

    Theo

    I have been given the name of a local guy who specialises in data
    recovery, so presumably he knows a thing or two about this. I will call
    him tomorrow and see what help he can be. I do not trust myself to go
    deeper into uncharted waters at this point.
    For now, I will leave the laptop unpowered. It spent most of
    yesterday sitting there with a blinking cursor, but nothing else
    happened.

    Thank you both for the advice, I will report (any) progress.


    --- MBSE BBS v1.1.1 (Linux-x86_64)
    * Origin: Air Applewood, The Linux Gateway to the UK & Eire (2:250/1@fidonet)
  • From Davey@2:250/1 to All on Thursday, September 04, 2025 09:36:49
    On 3 Sep 2025 23:46:51 GMT
    Gordon <Gordon@leaf.net.nz> wrote:

    How did you upgrade? By a fresh install, or via the command line?


    A clean installation, using a Live USB. As is often the case with
    upgrades, lots of things with which I was familiar with 18.04 just
    weren't the same with 22.04.

    --
    Davey.


    --- MBSE BBS v1.1.1 (Linux-x86_64)
    * Origin: A noiseless patient Spider (2:250/1@fidonet)
  • From Davey@2:250/1 to All on Thursday, September 04, 2025 11:35:55
    On 03 Sep 2025 18:20:55 +0100 (BST)
    Theo <theom+news@chiark.greenend.org.uk> wrote:

    Davey <davey@example.invalid> wrote:
    I have been given the name of a local guy who specialises in data
    recovery, so presumably he knows a thing or two about this. I will
    call him tomorrow and see what help he can be. I do not trust
    myself to go deeper into uncharted waters at this point.
    For now, I will leave the laptop unpowered. It spent most of
    yesterday sitting there with a blinking cursor, but nothing else
    happened.
    =20
    Thank you both for the advice, I will report (any) progress. =20
    =20
    I'd guess the data is all still there, it's just not booting. So
    it's just repair needed, rather than data recovery per se.
    =20
    I'd invest in a new M.2 SSD and a couple of M.2 and SATA to USB
    adapters. Remove the M.2 and SATA drive from the laptop and put them
    in adapters. Install the blank new M.2 SSD into the laptop.
    =20
    Boot from an installer and do a fresh install to your new M.2.
    Once everything is installed, plug in your old drives and copy things
    over.
    =20
    It is likely possible to repair your existing install via booting a
    recovery USB stick, but a new drive avoids the risk of losing
    anything on your existing drives. It would also be possible to boot
    from a USB stick and copy anything important to the USB.
    =20
    Of course, if there is anything particularly valuable then there's no
    harm in calling in someone more experienced to do it for you.
    =20
    Theo

    Update.=20
    The guy whose name I was given no longer works with Linux, or even
    Windows, PCs. he is good on Atari and similar equipment. He sounded
    interested when I said I have a Sinclair ZX-81 in my archive.=20
    He will talk to a guy who might be able to help, b t that will not be
    until tomorrow.
    Meanwhiel, I have been looking at CPC or components.
    I am not familiar with all this, but I have identified the following: https://cpc.farnell.com/kingston/snv3s-2000g/ssd-nv3-m-2-2280-pcie4-0-nvme/= dp/CS37703?st=3Dpcie%20to%20pci
    for the new SSD.
    Then a choice:
    For the SATA-USB adapter, possibly, at =C2=A39.78: https://cpc.farnell.com/startech/usb3s2sat3cb/lead-sata-to-usb-with-uasp/dp= /CS34473?st=3Dssd%20to%20usb%20adapters
    or at =C2=A328.48: https://cpc.farnell.com/startech/usb312sat3/adapter-usb3-1-10gb-s-sata-ssd/= dp/CS30219?st=3Dssd%20to%20usb%20adapters
    I do not see why there is such a price difference, unless one gets what
    one pays for.

    Looking for an M2-USB adapter, I found, for =C2=A342.38: https://cpc.farnell.com/startech/m2-usb-c-nvme-sata/enclosure-usb-c-to-m-2-= nvme-sata/dp/CS35447?st=3Dm2%20to%20usb%20adapters
    which looks as though it would do both jobs (not at the same time, of
    course).

    Any comments on these most welcome, I am a stranger in a strange land
    here, and doing my best. If any, or all, of these are totally
    unsuitable for the job envisaged, I would really appreciate knowing
    why. I won't order anything yet.

    Meanwhile, how am I supposed to mount the PC's partitions when booting
    from a Live USB? I read various descriptions, but whatever I try does
    not seem to work. I know that it might not work anyway, as the system
    is borked, but I would love to know what I should be doing to make this
    happen. If it still doesn't, then I will know that I have tried the
    correct procedure, but it has failed.
    'Disks' identifies the partitions. but won't let me mount them. (that
    sounds rude!).

    All help much appreciated.

    --=20
    Davey.


    --- MBSE BBS v1.1.1 (Linux-x86_64)
    * Origin: A noiseless patient Spider (2:250/1@fidonet)
  • From Daniel James@2:250/1 to All on Thursday, September 04, 2025 17:30:57
    On 04/09/2025 11:35, Davey wrote:
    I am not familiar with all this, but I have identified the following: https://cpc.farnell.com/kingston/snv3s-2000g/ssd-nv3-m-2-2280-pcie4-0- nvme/dp/CS37703?st=pcie%20to%20pci
    for the new SSD.
    Then a choice:
    For the SATA-USB adapter, possibly, at £9.78: https://cpc.farnell.com/startech/usb3s2sat3cb/lead-sata-to-usb-with- uasp/dp/CS34473?st=ssd%20to%20usb%20adapters
    or at £28.48: https://cpc.farnell.com/startech/usb312sat3/adapter-usb3-1-10gb-s-sata- ssd/dp/CS30219?st=ssd%20to%20usb%20adapters
    I do not see why there is such a price difference, unless one gets what
    one pays for.

    It's probably that the more expensive adaptor works with 3.5" drives,
    and they have different power requirements. The page you linked to does
    say that a power adaptor is included.

    2.5" drives (whether SSD or spinning rust) need only 5V.

    Looking for an M2-USB adapter, I found, for £42.38: https://cpc.farnell.com/startech/m2-usb-c-nvme-sata/enclosure-usb-c-to-m-2-nvme-sata/dp/CS35447?st=m2%20to%20usb%20adapters
    which looks as though it would do both jobs (not at the same time, of course).

    Both jobs? It'll house your M.2 NVMe drive (and would work with an M.2
    SATA drive) but won't work with a 2.5" SATA drive. Different interface.

    Nice that it comes with both USB-A and USB-C cables ... but I'm guessing
    you only need the former?

    It looks a little expensive, too. Have a look at:

    https://www.scan.co.uk/products/sabrent-ec-snve-usb32-type-c-enclosure-m2-pcie-nvme-sata-ssd-tool-free-10gbps-speeds-plug-and-play-a

    or for that matter:

    https://business.currys.co.uk/catalogue/computing/P219238P

    which is perhaps an older version of the one you found?

    --
    Cheers,
    Daniel.

    --- MBSE BBS v1.1.1 (Linux-x86_64)
    * Origin: Daniel James (2:250/1@fidonet)
  • From Davey@2:250/1 to All on Thursday, September 04, 2025 19:52:59
    On Thu, 4 Sep 2025 17:30:57 +0100
    Daniel James <daniel@me.invalid> wrote:

    On 04/09/2025 11:35, Davey wrote:
    I am not familiar with all this, but I have identified the
    following: https://cpc.farnell.com/kingston/snv3s-2000g/ssd-nv3-m-2-2280-pcie4-0- nvme/dp/CS37703?st=3Dpcie%20to%20pci for the new SSD.
    Then a choice:
    For the SATA-USB adapter, possibly, at =C2=A39.78: https://cpc.farnell.com/startech/usb3s2sat3cb/lead-sata-to-usb-with-=20 uasp/dp/CS34473?st=3Dssd%20to%20usb%20adapters
    or at =C2=A328.48: https://cpc.farnell.com/startech/usb312sat3/adapter-usb3-1-10gb-s-sata-=
    =20
    ssd/dp/CS30219?st=3Dssd%20to%20usb%20adapters
    I do not see why there is such a price difference, unless one gets
    what one pays for. =20
    =20
    It's probably that the more expensive adaptor works with 3.5" drives,=20
    and they have different power requirements. The page you linked to
    does say that a power adaptor is included.
    =20
    2.5" drives (whether SSD or spinning rust) need only 5V.
    =20
    Looking for an M2-USB adapter, I found, for =C2=A342.38: https://cpc.farnell.com/startech/m2-usb-c-nvme-sata/enclosure-usb-c-to-=
    m-2-nvme-sata/dp/CS35447?st=3Dm2%20to%20usb%20adapters
    which looks as though it would do both jobs (not at the same time,
    of course). =20
    =20
    Both jobs? It'll house your M.2 NVMe drive (and would work with an
    M.2 SATA drive) but won't work with a 2.5" SATA drive. Different
    interface.
    =20
    Nice that it comes with both USB-A and USB-C cables ... but I'm
    guessing you only need the former?
    =20
    It looks a little expensive, too. Have a look at:
    =20
    https://www.scan.co.uk/products/sabrent-ec-snve-usb32-type-c-enclosure-m2=
    -pcie-nvme-sata-ssd-tool-free-10gbps-speeds-plug-and-play-a
    =20
    or for that matter:
    =20
    https://business.currys.co.uk/catalogue/computing/P219238P
    =20
    which is perhaps an older version of the one you found?
    =20

    Briefly:
    I thought the one-drive was too good to be true! This is why I need
    help here. Thanks.

    I'll check up on the links tomorrow.
    Much appreciated.

    --=20
    Davey.


    --- MBSE BBS v1.1.1 (Linux-x86_64)
    * Origin: A noiseless patient Spider (2:250/1@fidonet)
  • From Daniel James@2:250/1 to All on Thursday, September 04, 2025 20:07:34
    On 04/09/2025 11:35, Davey wrote:
    Meanwhile, how am I supposed to mount the PC's partitions when booting
    from a Live USB? I read various descriptions, but whatever I try does
    not seem to work. I know that it might not work anyway, as the system
    is borked, but I would love to know what I should be doing to make this happen. If it still doesn't, then I will know that I have tried the
    correct procedure, but it has failed.
    'Disks' identifies the partitions. but won't let me mount them. (that
    sounds rude!).

    Oops! Almost overlooked this bit.

    First: It's usually obvious if the disk is recognized as having a
    meaningful filesystem.

    I use Debian rather than Ubuntu, but when I boot from a live USB on a PC
    that has an installed Linux system then IIRC there's a desktop icon you
    can just click on to mount that system's partitions.

    Second: You don't want to do that.

    Take the existing drives out of the system. Put the new big drive in.
    Boot from USB and install onto the new drive. Then boot from the new
    drive and connect the old drives (one at a time is probably best) using
    the USB adaptors.

    --
    Cheers,
    Daniel.

    --- MBSE BBS v1.1.1 (Linux-x86_64)
    * Origin: Daniel James (2:250/1@fidonet)
  • From Davey@2:250/1 to All on Friday, September 05, 2025 02:47:20
    On Thu, 4 Sep 2025 20:07:34 +0100
    Daniel James <daniel@me.invalid> wrote:

    On 04/09/2025 11:35, Davey wrote:
    Meanwhile, how am I supposed to mount the PC's partitions when
    booting from a Live USB? I read various descriptions, but whatever
    I try does not seem to work. I know that it might not work anyway,
    as the system is borked, but I would love to know what I should be
    doing to make this happen. If it still doesn't, then I will know
    that I have tried the correct procedure, but it has failed.
    'Disks' identifies the partitions. but won't let me mount them.
    (that sounds rude!).

    Oops! Almost overlooked this bit.

    First: It's usually obvious if the disk is recognized as having a
    meaningful filesystem.

    I use Debian rather than Ubuntu, but when I boot from a live USB on a
    PC that has an installed Linux system then IIRC there's a desktop
    icon you can just click on to mount that system's partitions.

    Second: You don't want to do that.

    Take the existing drives out of the system. Put the new big drive in.
    Boot from USB and install onto the new drive. Then boot from the new
    drive and connect the old drives (one at a time is probably best)
    using the USB adaptors.


    Thank you for the information. II didn't see any such icons when I
    booted from the Live USB. What you write makes sense, for sure.
    I will see if there is any help from the other local guy, but then, I
    might end up buying the necessary parts.
    Again, wish me luck!

    --
    Davey.


    --- MBSE BBS v1.1.1 (Linux-x86_64)
    * Origin: A noiseless patient Spider (2:250/1@fidonet)
  • From Davey@2:250/1 to All on Friday, September 05, 2025 23:49:46
    On Thu, 4 Sep 2025 17:30:57 +0100
    Daniel James <daniel@me.invalid> wrote:

    On 04/09/2025 11:35, Davey wrote:
    I am not familiar with all this, but I have identified the
    following: https://cpc.farnell.com/kingston/snv3s-2000g/ssd-nv3-m-2-2280-pcie4-0- nvme/dp/CS37703?st=3Dpcie%20to%20pci for the new SSD.
    Then a choice:
    For the SATA-USB adapter, possibly, at =C2=A39.78: https://cpc.farnell.com/startech/usb3s2sat3cb/lead-sata-to-usb-with-=20 uasp/dp/CS34473?st=3Dssd%20to%20usb%20adapters
    or at =C2=A328.48: https://cpc.farnell.com/startech/usb312sat3/adapter-usb3-1-10gb-s-sata-=
    =20
    ssd/dp/CS30219?st=3Dssd%20to%20usb%20adapters
    I do not see why there is such a price difference, unless one gets
    what one pays for. =20
    =20
    It's probably that the more expensive adaptor works with 3.5" drives,=20
    and they have different power requirements. The page you linked to
    does say that a power adaptor is included.
    =20
    2.5" drives (whether SSD or spinning rust) need only 5V.
    =20
    Looking for an M2-USB adapter, I found, for =C2=A342.38: https://cpc.farnell.com/startech/m2-usb-c-nvme-sata/enclosure-usb-c-to-=
    m-2-nvme-sata/dp/CS35447?st=3Dm2%20to%20usb%20adapters
    which looks as though it would do both jobs (not at the same time,
    of course). =20
    =20
    Both jobs? It'll house your M.2 NVMe drive (and would work with an
    M.2 SATA drive) but won't work with a 2.5" SATA drive. Different
    interface.
    =20
    Nice that it comes with both USB-A and USB-C cables ... but I'm
    guessing you only need the former?
    =20
    It looks a little expensive, too. Have a look at:
    =20
    https://www.scan.co.uk/products/sabrent-ec-snve-usb32-type-c-enclosure-m2=
    -pcie-nvme-sata-ssd-tool-free-10gbps-speeds-plug-and-play-a
    =20
    or for that matter:
    =20
    https://business.currys.co.uk/catalogue/computing/P219238P
    =20
    which is perhaps an older version of the one you found?
    =20

    Ok. So I can go for the https://www.scan.co.uk/products/sabrent-ec-snve-usb32-type-c-enclosure-m2-p= cie-nvme-sata-ssd-tool-free-10gbps-speeds-plug-and-play-a
    for the nvme SSD.

    And the https://cpc.farnell.com/startech/usb3s2sat3cb/lead-sata-to-usb-with-uasp/dp= /CS34473?st=3Dssd%20to%20usb%20adapters
    for the 2.5" SSD SATA drive.

    The manufacturer, PCSpecialists, offers a replacement for the primary
    drive of 2TB HDD, for =C2=A370, or a 4TB SSD for =C2=A3324! Or a straight replacement 1TB SSD for =C2=A348. I am not keen on going back to a physical HDD, but if that the 2TB HDD the best solution, so be it. I prefer to
    use something provided by them, as that removes a big uncertainty, as I
    am not comfortable in this world!

    If it all works, then once the new HDD is installed, then I can use the
    two original SSDs in their new external homes and, assuming I can
    actually mount them to the PC, I can then grab what I need, item by
    item, from them and transfer to the new 2TB HDD onboard, and process
    the data in there
    Correct?

    All help much appreciated.

    --
    Davey.


    --- MBSE BBS v1.1.1 (Linux-x86_64)
    * Origin: A noiseless patient Spider (2:250/1@fidonet)
  • From Davey@2:250/1 to All on Monday, September 08, 2025 11:50:19
    On Thu, 4 Sep 2025 17:30:57 +0100
    Daniel James <daniel@me.invalid> wrote:

    On 04/09/2025 11:35, Davey wrote:
    I am not familiar with all this, but I have identified the
    following: https://cpc.farnell.com/kingston/snv3s-2000g/ssd-nv3-m-2-2280-pcie4-0- nvme/dp/CS37703?st=3Dpcie%20to%20pci for the new SSD.
    Then a choice:
    For the SATA-USB adapter, possibly, at =C2=A39.78: https://cpc.farnell.com/startech/usb3s2sat3cb/lead-sata-to-usb-with-=20 uasp/dp/CS34473?st=3Dssd%20to%20usb%20adapters
    or at =C2=A328.48: https://cpc.farnell.com/startech/usb312sat3/adapter-usb3-1-10gb-s-sata-=
    =20
    ssd/dp/CS30219?st=3Dssd%20to%20usb%20adapters
    I do not see why there is such a price difference, unless one gets
    what one pays for. =20
    =20
    It's probably that the more expensive adaptor works with 3.5" drives,=20
    and they have different power requirements. The page you linked to
    does say that a power adaptor is included.
    =20
    2.5" drives (whether SSD or spinning rust) need only 5V.
    =20
    Looking for an M2-USB adapter, I found, for =C2=A342.38: https://cpc.farnell.com/startech/m2-usb-c-nvme-sata/enclosure-usb-c-to-=
    m-2-nvme-sata/dp/CS35447?st=3Dm2%20to%20usb%20adapters
    which looks as though it would do both jobs (not at the same time,
    of course). =20
    =20
    Both jobs? It'll house your M.2 NVMe drive (and would work with an
    M.2 SATA drive) but won't work with a 2.5" SATA drive. Different
    interface.
    =20
    Nice that it comes with both USB-A and USB-C cables ... but I'm
    guessing you only need the former?
    =20
    It looks a little expensive, too. Have a look at:
    =20
    https://www.scan.co.uk/products/sabrent-ec-snve-usb32-type-c-enclosure-m2=
    -pcie-nvme-sata-ssd-tool-free-10gbps-speeds-plug-and-play-a
    =20
    or for that matter:
    =20
    https://business.currys.co.uk/catalogue/computing/P219238P
    =20
    which is perhaps an older version of the one you found?
    =20

    OK, this is where I am. I am rapidly thinking that the easiest solution
    will be to remove the m2 SSD, which I believe still has the video files
    on it. Even if they are lost, they are mostly stored elsewhere.
    Then I would re-install the OS as a clean install onto the original
    SATA 1TB SSD, knowing that I would lose anything on there. Maybe not.
    The only major loss would be the Local Folders saved since the last
    Backup. Since my e-mail is via gmail. all messages are still available
    the server, and so the missing Local Folders could be restored, with
    some work. I have always backed up any altered documents every night.

    Parts of my reasoning are that:=20

    1. The manufacturer does not offer now a direct 1TB or 2TB SATA SSD.
    Buying one from a different source would just add another possible
    layer of confusion, as if there were not enough already. It offers
    those sizes in HDD, but that would compromise speed. For a replacement
    SSD, it offers either 500GB (=C2=A359) or 4TB (=C2=A3324).

    2. One thought is to buy the 500GB SSD, use that for the new install,
    grab the 'lost' data, save it elsewhere, and finally return the 1TB SSD
    and start again. But would a 500GB drive be big enough?
    Or possibly, for this job only, either the 1TB HDD, (=C2=A348), or the 2TB
    HDD (=C2=A371). But then they would sit on the shelf.

    3. The whole process of trying to mount the old SSDs and grabbing the
    data from them is an unknown to me, I have not managed to mount
    such partitions while booted from a Live USB. Essentially, I am talking
    about the Devil I know rather than the Devil I don't.

    I can't help feeling that this simpler process would ultimately be more successful, and faster than attempting to grab the old data.

    Hmmm. Remember, I am a Stranger in a Strange Land here. Thoughts?

    --=20
    Davey.


    --- MBSE BBS v1.1.1 (Linux-x86_64)
    * Origin: A noiseless patient Spider (2:250/1@fidonet)
  • From Vincent Coen@2:250/1 to Davey on Monday, September 08, 2025 16:11:46

    Hello Davey!

    08 Sep 25 11:50, Davey wrote to all:

    <lRh*hRHlA@news.chiark.greenend.org.uk>
    <1099rhn$18ptm$1@dont-email.me>
    <lRh*94HlA@news.chiark.greenend.org.uk>
    <109bq2b$1lg6g$2@dont-email.me> <109ces1$1sb4s$1@dont-email.me>
    Daniel James <daniel@me.invalid> wrote:

    On 04/09/2025 11:35, Davey wrote:
    I am not familiar with all this, but I have identified the
    following:

    https://cpc.farnell.com/kingston/snv3s-2000g/ssd-nv3-m-2-2280-pcie4-
    0-
    nvme/dp/CS37703?st=pcie%20to%20pci for the new SSD.
    Then a choice:
    For the SATA-USB adapter, possibly, at £9.78:

    https://cpc.farnell.com/startech/usb3s2sat3cb/lead-sata-to-usb-with-

    uasp/dp/CS34473?st=ssd%20to%20usb%20adapters
    or at £28.48:

    https://cpc.farnell.com/startech/usb312sat3/adapter-usb3-1-10gb-s-sa
    ta-
    ssd/dp/CS30219?st=ssd%20to%20usb%20adapters
    I do not see why there is such a price difference, unless one gets
    what one pays for.

    It's probably that the more expensive adaptor works with 3.5"
    drives, and they have different power requirements. The page you
    linked to does say that a power adaptor is included. 2.5" drives
    (whether SSD or spinning rust) need only 5V.
    Looking for an M2-USB adapter, I found, for £42.38:

    https://cpc.farnell.com/startech/m2-usb-c-nvme-sata/enclosure-usb-c-
    to-m-2-nvme-sata/dp/CS35447?st=m2%20to%20usb%20adapters
    which looks as though it would do both jobs (not at the same time,
    of course).

    Both jobs? It'll house your M.2 NVMe drive (and would work with an
    M.2 SATA drive) but won't work with a 2.5" SATA drive. Different
    interface.

    Nice that it comes with both USB-A and USB-C cables ... but I'm
    guessing you only need the former?

    It looks a little expensive, too. Have a look at:

    https://www.scan.co.uk/products/sabrent-ec-snve-usb32-type-c-enclosu
    re-m2-pcie-nvme-sata-ssd-tool-free-10gbps-speeds-plug-and-play-a or
    for that matter:
    https://business.currys.co.uk/catalogue/computing/P219238P which
    is perhaps an older version of the one you found?

    OK, this is where I am. I am rapidly thinking that the easiest
    solution will be to remove the m2 SSD, which I believe still has the
    video files on it. Even if they are lost, they are mostly stored
    elsewhere. Then I would re-install the OS as a clean install onto the original SATA 1TB SSD, knowing that I would lose anything on there.
    Maybe not. The only major loss would be the Local Folders saved since
    the last Backup. Since my e-mail is via gmail. all messages are still available the server, and so the missing Local Folders could be
    restored, with some work. I have always backed up any altered
    documents every night.

    Parts of my reasoning are that:

    1. The manufacturer does not offer now a direct 1TB or 2TB SATA SSD.
    Buying one from a different source would just add another possible
    layer of confusion, as if there were not enough already. It offers
    those sizes in HDD, but that would compromise speed. For a replacement
    SSD, it offers either 500GB (£59) or 4TB (£324).

    2. One thought is to buy the 500GB SSD, use that for the new install,
    grab the 'lost' data, save it elsewhere, and finally return the 1TB
    SSD and start again. But would a 500GB drive be big enough? Or
    possibly, for this job only, either the 1TB HDD, (£48), or the
    2TB HDD (£71). But then they would sit on the shelf.

    3. The whole process of trying to mount the old SSDs and grabbing the
    data from them is an unknown to me, I have not managed to mount
    such partitions while booted from a Live USB. Essentially, I am
    talking about the Devil I know rather than the Devil I don't.

    I can't help feeling that this simpler process would ultimately be
    more successful, and faster than attempting to grab the old data.

    Hmmm. Remember, I am a Stranger in a Strange Land here. Thoughts?

    I do use both M.2 and sata SSD units and having tried a.m. other brand
    (Crucial and found it was too painful to use cleaning using fstrim because
    of a very poor controller) I switched to a Samsung 990 PRO M.2 unit of 1TB although I wished I had purchased a larger one say 2 - 4 TB.

    I still run fstrim one per day I am keeping an eye on its o.p to see if I
    need to change it to 2 times per day at 00:00,12:00 and 40 minutes (my
    semi-ish quiet time).

    My system is on 24/7 running bbs, ftp, web servers as well as other
    services such as Mysql/mariadb server and a mainframe gateway / inteerlink.

    On line I still do Cobol development for my O/S ACAS accounting system with many manual updates heavy in the mix using LibreOffice writer. There are
    around a dozen of these, many over 100 A4 pages.

    This I hope will reduce within the next month or two - there again I have
    been saying that kind of thing for some years :(

    Still at 78, I do need something to keep me occupied as flying has gotten
    way too expensive in the UK at 250 pounds per hour for 60 year old Pipers
    and Cessnas singles - twins are out of question being on a pension :)

    It is cheaper to rent time in a B737-8 sim than use one of these well over priced a/c's and I do not have to pay extra for an instructor / 2nd pilot.

    Vincent



    SEEN-BY: 25/0 21 250/0 1 2 4 5 8 13 14 15 362/6 371/52 712/1321
  • From Davey@2:250/1 to All on Monday, September 08, 2025 17:28:04
    On Mon, 08 Sep 2025 16:11:46 +0100
    "Vincent Coen" <VBCoen@gmail.com> wrote:

    Hello Davey!
    edited for brevity


    I do use both M.2 and sata SSD units and having tried a.m. other brand (Crucial and found it was too painful to use cleaning using fstrim
    because of a very poor controller) I switched to a Samsung 990 PRO
    M.2 unit of 1TB although I wished I had purchased a larger one say 2
    - 4 TB.

    I still run fstrim one per day I am keeping an eye on its o.p to see
    if I need to change it to 2 times per day at 00:00,12:00 and 40
    minutes (my semi-ish quiet time).

    I have not heard of fstrim, now that I know about it, I will look at
    it and implement it.

    Thanks very much. I'm too old to be learning all this new stuff, just a
    few years behind you.

    --
    Davey.


    --- MBSE BBS v1.1.1 (Linux-x86_64)
    * Origin: A noiseless patient Spider (2:250/1@fidonet)
  • From Theo@2:250/1 to All on Monday, September 08, 2025 21:33:10
    Davey <davey@example.invalid> wrote:
    OK, this is where I am. I am rapidly thinking that the easiest solution
    will be to remove the m2 SSD, which I believe still has the video files
    on it. Even if they are lost, they are mostly stored elsewhere.
    Then I would re-install the OS as a clean install onto the original
    SATA 1TB SSD, knowing that I would lose anything on there. Maybe not.
    The only major loss would be the Local Folders saved since the last
    Backup. Since my e-mail is via gmail. all messages are still available
    the server, and so the missing Local Folders could be restored, with
    some work. I have always backed up any altered documents every night.

    Parts of my reasoning are that:

    1. The manufacturer does not offer now a direct 1TB or 2TB SATA SSD.
    Buying one from a different source would just add another possible
    layer of confusion, as if there were not enough already. It offers
    those sizes in HDD, but that would compromise speed. For a replacement
    SSD, it offers either 500GB (£59) or 4TB (£324).

    I would not worry about matching brands - I can't think of any
    incompatibility of SATA SSDs nowadays, they're all pretty mature. I'd just
    a buy one from a mainstream make (ie not a Chinese brand sold on Amazon)
    from a decent retailer - eg from Scan:

    https://www.scan.co.uk/shop/computer-hardware/solid-state-drives/ssd-25-sata-iii
    https://www.scan.co.uk/shop/computer-hardware/solid-state-drives/15tb-to-5tb-25-sata3-ssds

    My normal technique is to not always buy the cheapest for a given size, but look at
    maybe the second or third cheapest. But none of the models Scan sell should give you problems - they aren't selling the budget brands.


    Just do this:

    1. Make an installer USB stick (I think you already did this)

    2. Check you can successfully boot the installer USB.
    Then power off, don't install anything.

    3. Remove both the existing M.2 and SATA SSDs

    4. Fit the new SATA SSD in place of the old one

    5. Boot into BIOS and check the SATA SSD is detected. Don't change any settings. Power down.

    6. Plug in and boot into the installer USB

    7. Install a fresh Linux onto your only drive

    8. Boot into your fresh install

    9. Transfer the old SSDs into USB enclosures. Scan's selection isn't the cheapest in
    the world but should be decent enough:

    One of: https://www.scan.co.uk/shop/computer-hardware/solid-state-drives/enclosure-usb-31-18-25-sata
    or https://www.scan.co.uk/shop/computer-hardware/solid-state-drives/enclosure-usb-3-18-25-sata
    plus one of: https://www.scan.co.uk/shop/computer-hardware/solid-state-drives/enclosure-m2-usb

    10. Plug them into your new system and they should be mountable as USB
    drives. Your data is likely all safe.

    3. The whole process of trying to mount the old SSDs and grabbing the
    data from them is an unknown to me, I have not managed to mount
    such partitions while booted from a Live USB. Essentially, I am talking
    about the Devil I know rather than the Devil I don't.

    It's likely to be just a case of plugging them into a USB port and clicking
    on the icon(s) for the drive in your file manager. If you've mounted a USB drive before it's exactly the same. If you've mounted a USB drive in
    Windows before it's pretty similar.

    If that isn't working then there are more things to try, but try the above first. There's a good chance it'll just work.

    I can't help feeling that this simpler process would ultimately be more successful, and faster than attempting to grab the old data.

    Hmmm. Remember, I am a Stranger in a Strange Land here. Thoughts?

    Don't throw your data away for no reason. In my process above, nothing is irreversible - you can always put back the old drives to return to how
    things were before. But at the end of the day it's your call as to whether
    the data matters to you, and if it doesn't then just wiping your existing
    SSD is another way to go. In which case the procedure is just the same as above, except that you'd only remove the M.2 and keep the existing SATA.

    Theo

    --- MBSE BBS v1.1.1 (Linux-x86_64)
    * Origin: University of Cambridge, England (2:250/1@fidonet)
  • From Davey@2:250/1 to All on Tuesday, September 09, 2025 09:04:23
    On Mon, 08 Sep 2025 16:11:46 +0100
    "Vincent Coen" <VBCoen@gmail.com> wrote:

    Hello Davey!
    =20
    08 Sep 25 11:50, Davey wrote to all:
    =20
    <lRh*hRHlA@news.chiark.greenend.org.uk>
    <1099rhn$18ptm$1@dont-email.me>
    <lRh*94HlA@news.chiark.greenend.org.uk>
    <109bq2b$1lg6g$2@dont-email.me> <109ces1$1sb4s$1@dont-email.me>
    Daniel James <daniel@me.invalid> wrote: =20
    =20
    On 04/09/2025 11:35, Davey wrote: =20
    I am not familiar with all this, but I have identified the
    following:
    =20
    https://cpc.farnell.com/kingston/snv3s-2000g/ssd-nv3-m-2-2280-pcie4-
    0- =20
    nvme/dp/CS37703?st=3Dpcie%20to%20pci for the new SSD.
    Then a choice:
    For the SATA-USB adapter, possibly, at =C2=A39.78:
    =20
    https://cpc.farnell.com/startech/usb3s2sat3cb/lead-sata-to-usb-with-
    =20
    uasp/dp/CS34473?st=3Dssd%20to%20usb%20adapters
    or at =C2=A328.48:
    =20
    https://cpc.farnell.com/startech/usb312sat3/adapter-usb3-1-10gb-s-sa
    ta- =20
    ssd/dp/CS30219?st=3Dssd%20to%20usb%20adapters
    I do not see why there is such a price difference, unless one
    gets what one pays for. =20

    It's probably that the more expensive adaptor works with 3.5"
    drives, and they have different power requirements. The page you
    linked to does say that a power adaptor is included. 2.5" drives
    (whether SSD or spinning rust) need only 5V. =20
    Looking for an M2-USB adapter, I found, for =C2=A342.38:
    =20
    https://cpc.farnell.com/startech/m2-usb-c-nvme-sata/enclosure-usb-c-
    to-m-2-nvme-sata/dp/CS35447?st=3Dm2%20to%20usb%20adapters =20
    which looks as though it would do both jobs (not at the same
    time, of course). =20

    Both jobs? It'll house your M.2 NVMe drive (and would work with an
    M.2 SATA drive) but won't work with a 2.5" SATA drive. Different
    interface.

    Nice that it comes with both USB-A and USB-C cables ... but I'm
    guessing you only need the former?

    It looks a little expensive, too. Have a look at:

    https://www.scan.co.uk/products/sabrent-ec-snve-usb32-type-c-enclosu
    re-m2-pcie-nvme-sata-ssd-tool-free-10gbps-speeds-plug-and-play-a
    or for that matter:
    https://business.currys.co.uk/catalogue/computing/P219238P which
    is perhaps an older version of the one you found? =20
    =20
    OK, this is where I am. I am rapidly thinking that the easiest
    solution will be to remove the m2 SSD, which I believe still has
    the video files on it. Even if they are lost, they are mostly
    stored elsewhere. Then I would re-install the OS as a clean
    install onto the original SATA 1TB SSD, knowing that I would lose
    anything on there. Maybe not. The only major loss would be the
    Local Folders saved since the last Backup. Since my e-mail is via
    gmail. all messages are still available the server, and so the
    missing Local Folders could be restored, with some work. I have
    always backed up any altered documents every night. =20
    =20
    Parts of my reasoning are that: =20
    =20
    1. The manufacturer does not offer now a direct 1TB or 2TB SATA
    SSD. Buying one from a different source would just add another
    possible layer of confusion, as if there were not enough already.
    It offers those sizes in HDD, but that would compromise speed. For
    a replacement SSD, it offers either 500GB (=C2=A359) or 4TB (=C2=A3324=
    ). =20
    =20
    2. One thought is to buy the 500GB SSD, use that for the new
    install, grab the 'lost' data, save it elsewhere, and finally
    return the 1TB SSD and start again. But would a 500GB drive be big
    enough? Or possibly, for this job only, either the 1TB HDD, (=C2=A348),
    or the 2TB HDD (=C2=A371). But then they would sit on the shelf. =20
    =20
    3. The whole process of trying to mount the old SSDs and grabbing
    the data from them is an unknown to me, I have not managed to mount
    such partitions while booted from a Live USB. Essentially, I am
    talking about the Devil I know rather than the Devil I don't. =20
    =20
    I can't help feeling that this simpler process would ultimately be
    more successful, and faster than attempting to grab the old data. =20
    =20
    Hmmm. Remember, I am a Stranger in a Strange Land here. Thoughts? =20
    =20
    I do use both M.2 and sata SSD units and having tried a.m. other brand (Crucial and found it was too painful to use cleaning using fstrim
    because of a very poor controller) I switched to a Samsung 990 PRO
    M.2 unit of 1TB although I wished I had purchased a larger one say 2
    - 4 TB.
    =20
    I still run fstrim one per day I am keeping an eye on its o.p to see
    if I need to change it to 2 times per day at 00:00,12:00 and 40
    minutes (my semi-ish quiet time).
    =20
    My system is on 24/7 running bbs, ftp, web servers as well as other
    services such as Mysql/mariadb server and a mainframe gateway /
    inteerlink.
    =20
    On line I still do Cobol development for my O/S ACAS accounting
    system with many manual updates heavy in the mix using LibreOffice
    writer. There are around a dozen of these, many over 100 A4 pages.
    =20
    This I hope will reduce within the next month or two - there again I
    have been saying that kind of thing for some years :(
    =20
    Still at 78, I do need something to keep me occupied as flying has
    gotten way too expensive in the UK at 250 pounds per hour for 60 year
    old Pipers and Cessnas singles - twins are out of question being on a
    pension :)
    =20
    It is cheaper to rent time in a B737-8 sim than use one of these well
    over priced a/c's and I do not have to pay extra for an instructor /
    2nd pilot.
    =20
    Vincent
    =20
    =20
    =20

    I tried fstrim yesterday on my desktop, which has 2 SSDs, and it
    tried, but failed to do anything. I'll get back to it later. First
    things first.

    Further thinking (yes, I know!) has made we wonder.
    Even if I do manage to mount the old partitions on the laptop with a
    new primary SSD, I would not be able to transfer any application
    setups. Only files. The only files that I have not backed up already
    are the TB Local Folders since the last backup.
    Since to me this remote mounting is a New World to me, and attempts so
    far have proved unsuccessful, I am still inclined to: Remove the
    secondary drive m2 SSD, re-install Ubuntu from scratch onto the old
    primary, and then re-install the m2. Who knows, some of the old
    applications might survive this; maybe TB Local Folders might.
    Do I have this correct, or not?

    As always, thoughts all most welcome.

    --=20
    Davey.


    --- MBSE BBS v1.1.1 (Linux-x86_64)
    * Origin: A noiseless patient Spider (2:250/1@fidonet)
  • From Vincent Coen@2:250/1 to Davey on Tuesday, September 09, 2025 12:19:48

    Hello Davey!

    09 Sep 25 09:04, Davey wrote to all:

    <109mcdb$74et$1@dont-email.me> <1757344306@f1.n250.z2.fidonet.ftn>
    "Vincent Coen" <VBCoen@gmail.com> wrote:

    Hello Davey!

    08 Sep 25 11:50, Davey wrote to all:

    <lRh*hRHlA@news.chiark.greenend.org.uk>
    <1099rhn$18ptm$1@dont-email.me>
    <lRh*94HlA@news.chiark.greenend.org.uk>
    <109bq2b$1lg6g$2@dont-email.me>
    <109ces1$1sb4s$1@dont-email.me>
    Daniel James <daniel@me.invalid> wrote:

    On 04/09/2025 11:35, Davey wrote:
    I am not familiar with all this, but I have identified the
    following:


    https://cpc.farnell.com/kingston/snv3s-2000g/ssd-nv3-m-2-2280-pcie4-
    0-
    nvme/dp/CS37703?st=pcie%20to%20pci for the new SSD.
    Then a choice:
    For the SATA-USB adapter, possibly, at £9.78:


    https://cpc.farnell.com/startech/usb3s2sat3cb/lead-sata-to-usb-with-

    uasp/dp/CS34473?st=ssd%20to%20usb%20adapters
    or at £28.48:


    https://cpc.farnell.com/startech/usb312sat3/adapter-usb3-1-10gb-s-sa
    ta-
    ssd/dp/CS30219?st=ssd%20to%20usb%20adapters
    I do not see why there is such a price difference, unless one
    gets what one pays for.

    It's probably that the more expensive adaptor works with 3.5"
    drives, and they have different power requirements. The page you
    linked to does say that a power adaptor is included. 2.5"
    drives
    (whether SSD or spinning rust) need only 5V.
    Looking for an M2-USB adapter, I found, for £42.38:


    https://cpc.farnell.com/startech/m2-usb-c-nvme-sata/enclosure-usb-c-
    to-m-2-nvme-sata/dp/CS35447?st=m2%20to%20usb%20adapters
    which looks as though it would do both jobs (not at the same
    time, of course).

    Both jobs? It'll house your M.2 NVMe drive (and would work with
    an
    M.2 SATA drive) but won't work with a 2.5" SATA drive. Different
    interface.

    Nice that it comes with both USB-A and USB-C cables ... but I'm
    guessing you only need the former?

    It looks a little expensive, too. Have a look at:


    https://www.scan.co.uk/products/sabrent-ec-snve-usb32-type-c-enclosu
    re-m2-pcie-nvme-sata-ssd-tool-free-10gbps-speeds-plug-and-play-a
    or for that matter:
    https://business.currys.co.uk/catalogue/computing/P219238P
    which
    is perhaps an older version of the one you found?

    OK, this is where I am. I am rapidly thinking that the easiest
    solution will be to remove the m2 SSD, which I believe still has
    the video files on it. Even if they are lost, they are mostly
    stored elsewhere. Then I would re-install the OS as a clean
    install onto the original SATA 1TB SSD, knowing that I would lose
    anything on there. Maybe not. The only major loss would be the
    Local Folders saved since the last Backup. Since my e-mail is via
    gmail. all messages are still available the server, and so the
    missing Local Folders could be restored, with some work. I have
    always backed up any altered documents every night.

    Parts of my reasoning are that:

    1. The manufacturer does not offer now a direct 1TB or 2TB SATA
    SSD. Buying one from a different source would just add another
    possible layer of confusion, as if there were not enough already.
    It offers those sizes in HDD, but that would compromise speed.
    For
    a replacement SSD, it offers either 500GB (£59) or 4TB (£324).

    2. One thought is to buy the 500GB SSD, use that for the new
    install, grab the 'lost' data, save it elsewhere, and finally
    return the 1TB SSD and start again. But would a 500GB drive be
    big
    enough? Or possibly, for this job only, either the 1TB HDD,
    (£48),
    or the 2TB HDD (£71). But then they would sit on the shelf.

    3. The whole process of trying to mount the old SSDs and grabbing
    the data from them is an unknown to me, I have not managed to
    mount
    such partitions while booted from a Live USB. Essentially, I am
    talking about the Devil I know rather than the Devil I don't.

    I can't help feeling that this simpler process would ultimately
    be
    more successful, and faster than attempting to grab the old data.

    Hmmm. Remember, I am a Stranger in a Strange Land here. Thoughts?
    I do use both M.2 and sata SSD units and having tried a.m. other
    brand (Crucial and found it was too painful to use cleaning using
    fstrim because of a very poor controller) I switched to a Samsung
    990 PRO M.2 unit of 1TB although I wished I had purchased a larger
    one say 2 - 4 TB. I still run fstrim one per day I am keeping an
    eye on its o.p to see if I need to change it to 2 times per day at
    00:00,12:00 and 40 minutes (my semi-ish quiet time). My system is
    on 24/7 running bbs, ftp, web servers as well as other services
    such as Mysql/mariadb server and a mainframe gateway / inteerlink.
    On line I still do Cobol development for my O/S ACAS accounting
    system with many manual updates heavy in the mix using LibreOffice
    writer. There are around a dozen of these, many over 100 A4 pages.

    This I hope will reduce within the next month or two - there again I
    have been saying that kind of thing for some years :(

    Still at 78, I do need something to keep me occupied as flying has
    gotten way too expensive in the UK at 250 pounds per hour for 60
    year old Pipers and Cessnas singles - twins are out of question
    being on a pension :) It is cheaper to rent time in a B737-8 sim
    than use one of these well over priced a/c's and I do not have to
    pay extra for an instructor / 2nd pilot. Vincent

    I tried fstrim yesterday on my desktop, which has 2 SSDs, and it
    tried, but failed to do anything. I'll get back to it later. First
    things first.

    Further thinking (yes, I know!) has made we wonder.
    Even if I do manage to mount the old partitions on the laptop with a
    new primary SSD, I would not be able to transfer any application
    setups. Only files. The only files that I have not backed up already
    are the TB Local Folders since the last backup.
    Since to me this remote mounting is a New World to me, and attempts so
    far have proved unsuccessful, I am still inclined to: Remove the
    secondary drive m2 SSD, re-install Ubuntu from scratch onto the old
    primary, and then re-install the m2. Who knows, some of the old
    applications might survive this; maybe TB Local Folders might.
    Do I have this correct, or not?

    Using Fstrim has to be via sudo e.g., sudo fstrim -av and here I get :

    sudo fstrim -av
    [sudo] password for mbse:
    /home: 5.4 GiB (5775577088 bytes) trimmed on /dev/nvme0n1p4
    /: 950.7 MiB (996900864 bytes) trimmed on /dev/nvme0n1p2

    Note that every time you reboot or restart running fstrim will produce size around the total capacity and this is normal but say a few minutes after rerunning it will give a more sensible number e.g.,

    sudo fstrim -av
    /home: 319.8 MiB (335319040 bytes) trimmed on /dev/nvme0n1p4
    /: 0 B (0 bytes) trimmed on /dev/nvme0n1p2

    I you try running fstrim before shutting down for a drive swap but leave
    the system running for say 30 minutes before shutting down for a swap out
    and no, it just gives some time for the controller to clear out lost
    clusters etc.

    I am assuming here that your laptop has minimal extra drive capacity / Sata connections ? so what to do, if you have data files on the boot drive then removing the 2nd drive (assuming it is not needed when booting) and using
    new drive in place before copying over all such data having partitioning / format the new drive first (as root / sudo) AND knowing that you have
    fdisk or similar to do so. Also install rsync as it is quicker than using
    cp as multi copies are run at same time.

    Firstly install Linux on new drive as as m.2 slot one with no other drive present and install if not already fstrim, rsync & fdisk and any other
    packages you might need. Reboot and run update service then shutdown,
    reinstall old drive as slot two and do the above processes, i.e., copying
    over and folders from slot 2 to boot drive / partition as needed.

    Reboot - to confirm it still works.

    Remove m.2 slot 2, replacing with old 2nd drive and boot up.
    Now depending size of slot 1 and your needs copy over any folders from slot
    2 to boot drive to any / all partitions you have created when first
    installing ---- Bye the bye, set up the partitions MANUALLY if possible creating any extra partitions AND formatting them (EXT 4 etc and create
    labels for them) as well as the one for booting the system - personally I
    use a max size of 50 GB for the boot partitions and I do have more than one
    on a drive so I can test a new version and/or install an other distro if I
    wish to experiment creating 40 - 50 GB partitions for them as a guess but
    but not below 20 GB, but you might want to use a different size depending
    on total capacity and your needs.


    Another option to moving m.2 units about is to get a adaptor that will take
    a m.2 drive that can be mounted as a usb drive and no never looked but
    assume they are around at a reasonable price. This option, will be slower
    in operation as USB is less than 5% speed of a M.2 drive. [ Here an m.2
    runs at 6,000 Mb persec and USB 4-500 Mb if you are lucky - yes they
    actually operate well below specification speeds.

    Look you cannot go wrong PROVIDING you NEVER overwrite the original drives
    and only use them to copy FROM. OK, you might make mistakes and have to
    redo it all but it is only time and your original data is safe BUT, BUT
    only do this process when you are wide awake :(



    Vincent



    SEEN-BY: 25/0 21 250/0 1 2 4 5 8 13 14 15 362/6 371/52 712/1321
  • From Davey@2:250/1 to All on Tuesday, September 09, 2025 18:03:26
    On Tue, 09 Sep 2025 12:19:48 +0100
    "Vincent Coen" <VBCoen@gmail.com> wrote:

    Hello Davey!
    =20
    09 Sep 25 09:04, Davey wrote to all:
    =20
    <109mcdb$74et$1@dont-email.me> <1757344306@f1.n250.z2.fidonet.ftn> "Vincent Coen" <VBCoen@gmail.com> wrote: =20
    =20
    Hello Davey!

    08 Sep 25 11:50, Davey wrote to all:
    =20
    <lRh*hRHlA@news.chiark.greenend.org.uk>
    <1099rhn$18ptm$1@dont-email.me>
    <lRh*94HlA@news.chiark.greenend.org.uk>
    <109bq2b$1lg6g$2@dont-email.me> =20
    <109ces1$1sb4s$1@dont-email.me> =20
    Daniel James <daniel@me.invalid> wrote: =20
    =20
    On 04/09/2025 11:35, Davey wrote: =20
    I am not familiar with all this, but I have identified the
    following:
    =20
    =20
    https://cpc.farnell.com/kingston/snv3s-2000g/ssd-nv3-m-2-2280-pcie4-
    =20
    0- =20
    nvme/dp/CS37703?st=3Dpcie%20to%20pci for the new SSD.
    Then a choice:
    For the SATA-USB adapter, possibly, at =C2=A39.78:
    =20
    =20
    https://cpc.farnell.com/startech/usb3s2sat3cb/lead-sata-to-usb-with-
    =20
    =20
    uasp/dp/CS34473?st=3Dssd%20to%20usb%20adapters
    or at =C2=A328.48:
    =20
    =20
    https://cpc.farnell.com/startech/usb312sat3/adapter-usb3-1-10gb-s-sa
    =20
    ta- =20
    ssd/dp/CS30219?st=3Dssd%20to%20usb%20adapters
    I do not see why there is such a price difference, unless
    one gets what one pays for. =20

    It's probably that the more expensive adaptor works with 3.5"
    drives, and they have different power requirements. The page
    you linked to does say that a power adaptor is included.
    2.5" =20
    drives =20
    (whether SSD or spinning rust) need only 5V. =20
    Looking for an M2-USB adapter, I found, for =C2=A342.38:
    =20
    =20
    https://cpc.farnell.com/startech/m2-usb-c-nvme-sata/enclosure-usb-c-
    =20
    to-m-2-nvme-sata/dp/CS35447?st=3Dm2%20to%20usb%20adapters =20
    which looks as though it would do both jobs (not at the same
    time, of course). =20

    Both jobs? It'll house your M.2 NVMe drive (and would work
    with =20
    an =20
    M.2 SATA drive) but won't work with a 2.5" SATA drive.
    Different interface.

    Nice that it comes with both USB-A and USB-C cables ... but
    I'm guessing you only need the former?

    It looks a little expensive, too. Have a look at:

    =20
    https://www.scan.co.uk/products/sabrent-ec-snve-usb32-type-c-enclosu
    =20
    re-m2-pcie-nvme-sata-ssd-tool-free-10gbps-speeds-plug-and-play-a
    or for that matter:
    https://business.currys.co.uk/catalogue/computing/P219238P =20
    which =20
    is perhaps an older version of the one you found? =20
    =20
    OK, this is where I am. I am rapidly thinking that the easiest
    solution will be to remove the m2 SSD, which I believe still
    has the video files on it. Even if they are lost, they are
    mostly stored elsewhere. Then I would re-install the OS as a
    clean install onto the original SATA 1TB SSD, knowing that I
    would lose anything on there. Maybe not. The only major loss
    would be the Local Folders saved since the last Backup. Since
    my e-mail is via gmail. all messages are still available the
    server, and so the missing Local Folders could be restored,
    with some work. I have always backed up any altered documents
    every night. =20
    =20
    Parts of my reasoning are that: =20
    =20
    1. The manufacturer does not offer now a direct 1TB or 2TB SATA
    SSD. Buying one from a different source would just add another
    possible layer of confusion, as if there were not enough
    already. It offers those sizes in HDD, but that would
    compromise speed. =20
    For =20
    a replacement SSD, it offers either 500GB (=C2=A359) or 4TB (=C2=
    =A3324).
    =20
    =20
    2. One thought is to buy the 500GB SSD, use that for the new
    install, grab the 'lost' data, save it elsewhere, and finally
    return the 1TB SSD and start again. But would a 500GB drive be
    =20
    big =20
    enough? Or possibly, for this job only, either the 1TB HDD, =20
    (=C2=A348), =20
    or the 2TB HDD (=C2=A371). But then they would sit on the shelf. =
    =20
    =20
    3. The whole process of trying to mount the old SSDs and
    grabbing the data from them is an unknown to me, I have not
    managed to =20
    mount =20
    such partitions while booted from a Live USB. Essentially, I am
    talking about the Devil I know rather than the Devil I don't. =20
    =20
    I can't help feeling that this simpler process would
    ultimately =20
    be =20
    more successful, and faster than attempting to grab the old
    data. =20
    =20
    Hmmm. Remember, I am a Stranger in a Strange Land here.
    Thoughts? =20
    I do use both M.2 and sata SSD units and having tried a.m. other
    brand (Crucial and found it was too painful to use cleaning using
    fstrim because of a very poor controller) I switched to a Samsung
    990 PRO M.2 unit of 1TB although I wished I had purchased a larger
    one say 2 - 4 TB. I still run fstrim one per day I am keeping an
    eye on its o.p to see if I need to change it to 2 times per day at
    00:00,12:00 and 40 minutes (my semi-ish quiet time). My system is
    on 24/7 running bbs, ftp, web servers as well as other services
    such as Mysql/mariadb server and a mainframe gateway / inteerlink.
    On line I still do Cobol development for my O/S ACAS accounting
    system with many manual updates heavy in the mix using LibreOffice
    writer. There are around a dozen of these, many over 100 A4 pages.

    This I hope will reduce within the next month or two - there
    again I have been saying that kind of thing for some years :(

    Still at 78, I do need something to keep me occupied as flying has
    gotten way too expensive in the UK at 250 pounds per hour for 60
    year old Pipers and Cessnas singles - twins are out of question
    being on a pension :) It is cheaper to rent time in a B737-8 sim
    than use one of these well over priced a/c's and I do not have to
    pay extra for an instructor / 2nd pilot. Vincent =20
    =20
    I tried fstrim yesterday on my desktop, which has 2 SSDs, and it
    tried, but failed to do anything. I'll get back to it later. First
    things first. =20
    =20
    Further thinking (yes, I know!) has made we wonder.
    Even if I do manage to mount the old partitions on the laptop with
    a new primary SSD, I would not be able to transfer any application
    setups. Only files. The only files that I have not backed up
    already are the TB Local Folders since the last backup.
    Since to me this remote mounting is a New World to me, and
    attempts so far have proved unsuccessful, I am still inclined to:
    Remove the secondary drive m2 SSD, re-install Ubuntu from scratch
    onto the old primary, and then re-install the m2. Who knows, some
    of the old applications might survive this; maybe TB Local Folders
    might. Do I have this correct, or not? =20
    =20
    Using Fstrim has to be via sudo e.g., sudo fstrim -av and here I get :
    =20
    sudo fstrim -av
    [sudo] password for mbse:
    /home: 5.4 GiB (5775577088 bytes) trimmed on /dev/nvme0n1p4
    /: 950.7 MiB (996900864 bytes) trimmed on /dev/nvme0n1p2
    =20
    Note that every time you reboot or restart running fstrim will
    produce size around the total capacity and this is normal but say a
    few minutes after rerunning it will give a more sensible number e.g.,
    =20
    sudo fstrim -av
    /home: 319.8 MiB (335319040 bytes) trimmed on /dev/nvme0n1p4
    /: 0 B (0 bytes) trimmed on /dev/nvme0n1p2
    =20
    I you try running fstrim before shutting down for a drive swap but
    leave the system running for say 30 minutes before shutting down for
    a swap out and no, it just gives some time for the controller to
    clear out lost clusters etc.
    =20
    I am assuming here that your laptop has minimal extra drive capacity
    / Sata connections ? so what to do, if you have data files on the
    boot drive then removing the 2nd drive (assuming it is not needed
    when booting) and using new drive in place before copying over all
    such data having partitioning / format the new drive first (as root /
    sudo) AND knowing that you have fdisk or similar to do so. Also
    install rsync as it is quicker than using cp as multi copies are run
    at same time.
    =20
    Firstly install Linux on new drive as as m.2 slot one with no other
    drive present and install if not already fstrim, rsync & fdisk and
    any other packages you might need. Reboot and run update service then shutdown, reinstall old drive as slot two and do the above processes,
    i.e., copying over and folders from slot 2 to boot drive / partition
    as needed.
    =20
    Reboot - to confirm it still works.
    =20
    Remove m.2 slot 2, replacing with old 2nd drive and boot up.
    Now depending size of slot 1 and your needs copy over any folders
    from slot 2 to boot drive to any / all partitions you have created
    when first installing ---- Bye the bye, set up the partitions
    MANUALLY if possible creating any extra partitions AND formatting
    them (EXT 4 etc and create labels for them) as well as the one for
    booting the system - personally I use a max size of 50 GB for the
    boot partitions and I do have more than one on a drive so I can test
    a new version and/or install an other distro if I wish to experiment
    creating 40 - 50 GB partitions for them as a guess but but not below
    20 GB, but you might want to use a different size depending on total capacity and your needs.
    =20
    =20
    Another option to moving m.2 units about is to get a adaptor that
    will take a m.2 drive that can be mounted as a usb drive and no never
    looked but assume they are around at a reasonable price. This option,
    will be slower in operation as USB is less than 5% speed of a M.2
    drive. [ Here an m.2 runs at 6,000 Mb persec and USB 4-500 Mb if you
    are lucky - yes they actually operate well below specification speeds.
    =20
    Look you cannot go wrong PROVIDING you NEVER overwrite the original
    drives and only use them to copy FROM. OK, you might make mistakes
    and have to redo it all but it is only time and your original data is
    safe BUT, BUT only do this process when you are wide awake :(
    =20
    =20
    =20
    Vincent
    =20
    =20
    =20

    Vince,

    I know and appreciate your sincerity, but the last paragraph reeks of
    "What can possibly go wrong?" to me!

    Unless you can GUARANTEE full success, I am headed in the "Use what's
    there" direction. And it's the cheapest.

    Cheers
    --=20
    Davey.


    --- MBSE BBS v1.1.1 (Linux-x86_64)
    * Origin: A noiseless patient Spider (2:250/1@fidonet)
  • From Vincent Coen@2:250/1 to All on Tuesday, September 09, 2025 22:02:52

    Hello All!

    09 Sep 25 18:03, Davey wrote to all:

    <109on27$rnou$1@dont-email.me> <1757416788@f1.n250.z2.fidonet.ftn>
    "Vincent Coen" <VBCoen@gmail.com> wrote:

    Hello Davey!

    09 Sep 25 09:04, Davey wrote to all:

    <109mcdb$74et$1@dont-email.me>
    <1757344306@f1.n250.z2.fidonet.ftn>
    "Vincent Coen" <VBCoen@gmail.com> wrote:

    Hello Davey!

    08 Sep 25 11:50, Davey wrote to all:

    <lRh*hRHlA@news.chiark.greenend.org.uk>
    <1099rhn$18ptm$1@dont-email.me>
    <lRh*94HlA@news.chiark.greenend.org.uk>
    <109bq2b$1lg6g$2@dont-email.me>
    <109ces1$1sb4s$1@dont-email.me>
    Daniel James <daniel@me.invalid> wrote:

    On 04/09/2025 11:35, Davey wrote:
    I am not familiar with all this, but I have identified the
    following:



    https://cpc.farnell.com/kingston/snv3s-2000g/ssd-nv3-m-2-2280-pcie4-

    0-
    nvme/dp/CS37703?st=pcie%20to%20pci for the new SSD.
    Then a choice:
    For the SATA-USB adapter, possibly, at £9.78:



    https://cpc.farnell.com/startech/usb3s2sat3cb/lead-sata-to-usb-with-


    uasp/dp/CS34473?st=ssd%20to%20usb%20adapters
    or at £28.48:



    https://cpc.farnell.com/startech/usb312sat3/adapter-usb3-1-10gb-s-sa

    ta-
    ssd/dp/CS30219?st=ssd%20to%20usb%20adapters
    I do not see why there is such a price difference, unless
    one gets what one pays for.

    It's probably that the more expensive adaptor works with
    3.5"
    drives, and they have different power requirements. The page
    you linked to does say that a power adaptor is included.
    2.5"
    drives
    (whether SSD or spinning rust) need only 5V.
    Looking for an M2-USB adapter, I found, for £42.38:



    https://cpc.farnell.com/startech/m2-usb-c-nvme-sata/enclosure-usb-c-

    to-m-2-nvme-sata/dp/CS35447?st=m2%20to%20usb%20adapters
    which looks as though it would do both jobs (not at the
    same
    time, of course).

    Both jobs? It'll house your M.2 NVMe drive (and would work
    with
    an
    M.2 SATA drive) but won't work with a 2.5" SATA drive.
    Different interface.

    Nice that it comes with both USB-A and USB-C cables ... but
    I'm guessing you only need the former?

    It looks a little expensive, too. Have a look at:



    https://www.scan.co.uk/products/sabrent-ec-snve-usb32-type-c-enclosu


    re-m2-pcie-nvme-sata-ssd-tool-free-10gbps-speeds-plug-and-play-a
    or for that matter:
    https://business.currys.co.uk/catalogue/computing/P219238P

    which
    is perhaps an older version of the one you found?

    OK, this is where I am. I am rapidly thinking that the
    easiest
    solution will be to remove the m2 SSD, which I believe still
    has the video files on it. Even if they are lost, they are
    mostly stored elsewhere. Then I would re-install the OS as a
    clean install onto the original SATA 1TB SSD, knowing that I
    would lose anything on there. Maybe not. The only major loss
    would be the Local Folders saved since the last Backup. Since
    my e-mail is via gmail. all messages are still available the
    server, and so the missing Local Folders could be restored,
    with some work. I have always backed up any altered documents
    every night.

    Parts of my reasoning are that:

    1. The manufacturer does not offer now a direct 1TB or 2TB
    SATA
    SSD. Buying one from a different source would just add
    another
    possible layer of confusion, as if there were not enough
    already. It offers those sizes in HDD, but that would
    compromise speed.
    For
    a replacement SSD, it offers either 500GB (£59) or 4TB
    (£324).


    2. One thought is to buy the 500GB SSD, use that for the new
    install, grab the 'lost' data, save it elsewhere, and finally
    return the 1TB SSD and start again. But would a 500GB drive
    be

    big
    enough? Or possibly, for this job only, either the 1TB HDD,
    (£48),
    or the 2TB HDD (£71). But then they would sit on the shelf.


    3. The whole process of trying to mount the old SSDs and
    grabbing the data from them is an unknown to me, I have not
    managed to
    mount
    such partitions while booted from a Live USB. Essentially, I
    am
    talking about the Devil I know rather than the Devil I don't.


    I can't help feeling that this simpler process would
    ultimately
    be
    more successful, and faster than attempting to grab the old
    data.

    Hmmm. Remember, I am a Stranger in a Strange Land here.
    Thoughts?
    I do use both M.2 and sata SSD units and having tried a.m.
    other
    brand (Crucial and found it was too painful to use cleaning
    using
    fstrim because of a very poor controller) I switched to a
    Samsung
    990 PRO M.2 unit of 1TB although I wished I had purchased a
    larger
    one say 2 - 4 TB. I still run fstrim one per day I am keeping
    an
    eye on its o.p to see if I need to change it to 2 times per day
    at
    00:00,12:00 and 40 minutes (my semi-ish quiet time). My system
    is
    on 24/7 running bbs, ftp, web servers as well as other services
    such as Mysql/mariadb server and a mainframe gateway /
    inteerlink.
    On line I still do Cobol development for my O/S ACAS accounting
    system with many manual updates heavy in the mix using
    LibreOffice
    writer. There are around a dozen of these, many over 100 A4
    pages.

    This I hope will reduce within the next month or two - there
    again I have been saying that kind of thing for some years :(

    Still at 78, I do need something to keep me occupied as flying
    has
    gotten way too expensive in the UK at 250 pounds per hour for 60
    year old Pipers and Cessnas singles - twins are out of question
    being on a pension :) It is cheaper to rent time in a B737-8
    sim
    than use one of these well over priced a/c's and I do not have
    to
    pay extra for an instructor / 2nd pilot. Vincent

    I tried fstrim yesterday on my desktop, which has 2 SSDs, and it
    tried, but failed to do anything. I'll get back to it later.
    First
    things first.

    Further thinking (yes, I know!) has made we wonder.
    Even if I do manage to mount the old partitions on the laptop
    with
    a new primary SSD, I would not be able to transfer any
    application
    setups. Only files. The only files that I have not backed up
    already are the TB Local Folders since the last backup.
    Since to me this remote mounting is a New World to me, and
    attempts so far have proved unsuccessful, I am still inclined to:
    Remove the secondary drive m2 SSD, re-install Ubuntu from scratch
    onto the old primary, and then re-install the m2. Who knows, some
    of the old applications might survive this; maybe TB Local
    Folders
    might. Do I have this correct, or not?

    Using Fstrim has to be via sudo e.g., sudo fstrim -av and here I get
    : sudo fstrim -av [sudo] password for mbse: /home: 5.4 GiB
    (5775577088 bytes) trimmed on /dev/nvme0n1p4 /: 950.7 MiB (996900864
    bytes) trimmed on /dev/nvme0n1p2 Note that every time you reboot or
    restart running fstrim will produce size around the total capacity
    and this is normal but say a few minutes after rerunning it will
    give a more sensible number e.g.,
    sudo fstrim -av
    /home: 319.8 MiB (335319040 bytes) trimmed on /dev/nvme0n1p4
    /: 0 B (0 bytes) trimmed on /dev/nvme0n1p2

    I you try running fstrim before shutting down for a drive swap but
    leave the system running for say 30 minutes before shutting down for
    a swap out and no, it just gives some time for the controller to
    clear out lost clusters etc.

    I am assuming here that your laptop has minimal extra drive capacity
    / Sata connections ? so what to do, if you have data files on the
    boot drive then removing the 2nd drive (assuming it is not needed
    when booting) and using new drive in place before copying over all
    such data having partitioning / format the new drive first (as root
    / sudo) AND knowing that you have fdisk or similar to do so. Also
    install rsync as it is quicker than using cp as multi copies are run
    at same time.

    Firstly install Linux on new drive as as m.2 slot one with no other
    drive present and install if not already fstrim, rsync & fdisk and
    any other packages you might need. Reboot and run update service
    then shutdown, reinstall old drive as slot two and do the above
    processes, i.e., copying over and folders from slot 2 to boot drive
    / partition as needed. Reboot - to confirm it still works. Remove
    m.2 slot 2, replacing with old 2nd drive and boot up. Now depending
    size of slot 1 and your needs copy over any folders from slot 2 to
    boot drive to any / all partitions you have created when first
    installing ---- Bye the bye, set up the partitions MANUALLY if
    possible creating any extra partitions AND formatting them (EXT 4
    etc and create labels for them) as well as the one for booting the
    system - personally I use a max size of 50 GB for the boot
    partitions and I do have more than one on a drive so I can test a
    new version and/or install an other distro if I wish to experiment
    creating 40 - 50 GB partitions for them as a guess but but not below
    20 GB, but you might want to use a different size depending on
    total capacity and your needs. Another option to moving m.2 units
    about is to get a adaptor that will take a m.2 drive that can be
    mounted as a usb drive and no never looked but assume they are
    around at a reasonable price. This option, will be slower in
    operation as USB is less than 5% speed of a M.2 drive. [ Here an m.2
    runs at 6,000 Mb persec and USB 4-500 Mb if you are lucky - yes they
    actually operate well below specification speeds. Look you cannot
    go wrong PROVIDING you NEVER overwrite the original drives and only
    use them to copy FROM. OK, you might make mistakes and have to redo
    it all but it is only time and your original data is safe BUT, BUT
    only do this process when you are wide awake :( Vincent

    Vince,

    I know and appreciate your sincerity, but the last paragraph reeks of
    "What can possibly go wrong?" to me!

    Unless you can GUARANTEE full success, I am headed in the "Use what's
    there" direction. And it's the cheapest.

    Cheers
    --
    Davey.

    Here the trick is to only open these systems you are copying FROM as Read
    Only - the entire partition. via MOUNT i.e., sudo mount -r ....



    Vincent



    SEEN-BY: 25/0 21 250/0 1 2 4 5 8 13 14 15 362/6 371/52 712/1321
  • From Davey@2:250/1 to All on Wednesday, September 10, 2025 00:14:56
    On Tue, 09 Sep 2025 22:02:52 +0100
    "Vincent Coen" <VBCoen@gmail.com> wrote:

    trimmed for brevity.


    Using Fstrim has to be via sudo e.g., sudo fstrim -av and here I
    get : sudo fstrim -av [sudo] password for mbse: /home: 5.4 GiB
    (5775577088 bytes) trimmed on /dev/nvme0n1p4 /: 950.7 MiB
    (996900864 bytes) trimmed on /dev/nvme0n1p2 Note that every time
    you reboot or restart running fstrim will produce size around the
    total capacity and this is normal but say a few minutes after
    rerunning it will give a more sensible number e.g.,
    sudo fstrim -av
    /home: 319.8 MiB (335319040 bytes) trimmed on /dev/nvme0n1p4
    /: 0 B (0 bytes) trimmed on /dev/nvme0n1p2

    I you try running fstrim before shutting down for a drive swap but
    leave the system running for say 30 minutes before shutting down
    for a swap out and no, it just gives some time for the controller
    to clear out lost clusters etc.

    I am assuming here that your laptop has minimal extra drive
    capacity / Sata connections ? so what to do, if you have data
    files on the boot drive then removing the 2nd drive (assuming it
    is not needed when booting) and using new drive in place before
    copying over all such data having partitioning / format the new
    drive first (as root / sudo) AND knowing that you have fdisk or
    similar to do so. Also install rsync as it is quicker than using
    cp as multi copies are run at same time.

    Firstly install Linux on new drive as as m.2 slot one with no
    other drive present and install if not already fstrim, rsync &
    fdisk and any other packages you might need. Reboot and run
    update service then shutdown, reinstall old drive as slot two and
    do the above processes, i.e., copying over and folders from slot
    2 to boot drive / partition as needed. Reboot - to confirm it
    still works. Remove m.2 slot 2, replacing with old 2nd drive and
    boot up. Now depending size of slot 1 and your needs copy over
    any folders from slot 2 to boot drive to any / all partitions you
    have created when first installing ---- Bye the bye, set up the
    partitions MANUALLY if possible creating any extra partitions AND
    formatting them (EXT 4 etc and create labels for them) as well as
    the one for booting the system - personally I use a max size of
    50 GB for the boot partitions and I do have more than one on a
    drive so I can test a new version and/or install an other distro
    if I wish to experiment creating 40 - 50 GB partitions for them
    as a guess but but not below 20 GB, but you might want to use a
    different size depending on total capacity and your needs.
    Another option to moving m.2 units about is to get a adaptor that
    will take a m.2 drive that can be mounted as a usb drive and no
    never looked but assume they are around at a reasonable price.
    This option, will be slower in operation as USB is less than 5%
    speed of a M.2 drive. [ Here an m.2 runs at 6,000 Mb persec and
    USB 4-500 Mb if you are lucky - yes they actually operate well
    below specification speeds. Look you cannot go wrong PROVIDING
    you NEVER overwrite the original drives and only use them to copy
    FROM. OK, you might make mistakes and have to redo it all but it
    is only time and your original data is safe BUT, BUT only do this
    process when you are wide awake :( Vincent =20
    =20
    Vince, =20
    =20
    I know and appreciate your sincerity, but the last paragraph reeks
    of "What can possibly go wrong?" to me! =20
    =20
    Unless you can GUARANTEE full success, I am headed in the "Use
    what's there" direction. And it's the cheapest. =20
    =20
    Cheers
    --
    Davey. =20
    =20
    Here the trick is to only open these systems you are copying FROM as
    Read Only - the entire partition.=08 via MOUNT i.e., sudo mount -r ....
    =20
    =20
    =20
    Vincent
    =20
    =20

    Yes, but that needs the process of switching drives around etc etc to
    work as intended, plus buying adaptors and a drive that I may never
    need again. And even if it does go as described, it won't let me copy
    working applications to the new partitions, will it? Only files will be transferable, I can't just transfer stuff and then suddenly have a
    working Libre Office all ready to go, complete with all of my previous
    setup and preferences. And I can see an advantage in setting each
    application up again from scratch, as the upgrade to ver. 22.04 was,
    not a disaster, but certainly not the smooth installation as it was on
    the Desktop. It is possible that there was some confusion between the
    two SSDs. when doing the upgrade, as discussed earlier. Reinstalling
    the OS onto a blank SSD would prevent that, and would be similar
    to the original layout when ver. 18.04 was first installed, and it
    worked fine. 22.04 did not.

    The more I think about it, the more I am coming down on the restart
    plan, with no new items involved:
    Remove the M2SSD, wipe the primary drive (SATA SSD) and install a clean
    setup of ver. 22.04. Install required applications. When all is
    operating as it should, then re-install the M2SSD.
    The only files that I will lose are the TB Local Folders since the
    last backup, and they can be recreated, thanks to gmail keeping all
    messages.

    I appreciate what you say, and ma grateful for the thoughts, but TO ME
    my way has more advantages than disadvantages, and is simpler to
    implement.

    --=20
    Davey.


    --- MBSE BBS v1.1.1 (Linux-x86_64)
    * Origin: A noiseless patient Spider (2:250/1@fidonet)
  • From Davey@2:250/1 to All on Wednesday, September 10, 2025 12:43:44
    On Tue, 09 Sep 2025 12:19:48 +0100
    "Vincent Coen" <VBCoen@gmail.com> wrote:

    Using Fstrim has to be via sudo e.g., sudo fstrim -av and here I get :

    sudo fstrim -av
    [sudo] password for mbse:
    /home: 5.4 GiB (5775577088 bytes) trimmed on /dev/nvme0n1p4
    /: 950.7 MiB (996900864 bytes) trimmed on /dev/nvme0n1p2

    Note that every time you reboot or restart running fstrim will
    produce size around the total capacity and this is normal but say a
    few minutes after rerunning it will give a more sensible number e.g.,

    sudo fstrim -av
    /home: 319.8 MiB (335319040 bytes) trimmed on /dev/nvme0n1p4
    /: 0 B (0 bytes) trimmed on /dev/nvme0n1p2

    I you try running fstrim before shutting down for a drive swap but
    leave the system running for say 30 minutes before shutting down for
    a swap out and no, it just gives some time for the controller to
    clear out lost clusters etc.

    I had used sudo before, but now it works.
    The /boot/efi: partition gives 504.9MiB trimmed, every time.
    /media/laptop:, the backup location for laptop files, started at 36.9
    GiB, and dropped at the next run to 0,
    /: started at 361.3 GiB, then 205.4, then wandered about up and down
    and never settled.
    But at least fstrim is working. That will certainly be used on the
    laptop!

    --
    Davey.


    --- MBSE BBS v1.1.1 (Linux-x86_64)
    * Origin: A noiseless patient Spider (2:250/1@fidonet)
  • From Davey@2:250/1 to All on Thursday, September 11, 2025 17:12:43
    On Wed, 10 Sep 2025 00:14:56 +0100
    Davey <davey@example.invalid> wrote:

    The more I think about it, the more I am coming down on the restart
    plan, with no new items involved:
    Remove the M2SSD, wipe the primary drive (SATA SSD) and install a
    clean setup of ver. 22.04. Install required applications. When all is operating as it should, then re-install the M2SSD.
    The only files that I will lose are the TB Local Folders since the
    last backup, and they can be recreated, thanks to gmail keeping all
    messages.

    I appreciate what you say, and ma grateful for the thoughts, but TO ME
    my way has more advantages than disadvantages, and is simpler to
    implement.

    My plan is now being carried out. The M2SSD is out, a new Ubuntu
    22.04 OS has been installed on the wiped primary drive.
    Tomorrow will involve, amongst other applications installation, copying
    FF and TB profiles from backups. Some other applications are already
    installed. It's nice being able to read and write from/to the
    primary drive again.
    At some future time, I will re-install the M2SSD. But not yet.

    Sorry, Vince, but that's the way it is.

    --
    Davey.


    --- MBSE BBS v1.1.1 (Linux-x86_64)
    * Origin: A noiseless patient Spider (2:250/1@fidonet)
  • From Daniel James@2:250/1 to All on Monday, September 15, 2025 16:00:41
    On 08/09/2025 17:28, Davey wrote:
    I have not heard of fstrim, now that I know about it, I will look at
    it and implement it.

    Trimming SSDs used to be talked about a lot, when SSDs were new and
    exciting, and many times the cost per MB of HDDs. Now, not so much.

    The issue is that each block of storage on an SSD can only reliably be
    written a finite number of times - generally of the order of several
    thousand. This is where the "Terabytes Written" lifetimes quoted for
    SSDs comes from. The controller of an SSD tries to minimize this "wear"
    by writing new data to the least-used available block ... but to do this
    it has to know which blocks are "available".

    The more blocks that are available the more effective the wear-levelling strategy employed by the SSD controller can be. If a disk is only
    part-full, or if the disk uses "over-provisioning" (keeping some blocks
    in reserve and advertising itself as a smaller disk than it could be)
    there is often no problem. As a disk fills up it is more likely to be a problem.

    The position is slightly complicated by the fact that SSD blocks are
    larger than disk sectors (for hardware reasons) so many sectors share
    the same block, and that SSD blocks can only be written in their
    entirety -- several sectors must be written at once. The problem of
    finding "available" blocks becomes harder as the disk comes to contain
    more and more blocks that are only partly used, so the controller uses a "garbage collection" technique to collect up data from part-used blocks
    and move them to a new block, making the blocks that data came from
    available for future writes.

    When a file is edited (say) the OS may write the new version in the same
    place on disk (the same actual disk sectors) or may write the whole
    changed file out somewhere else (different software works in different
    ways). In the former case the SSD controller has to remap the sectors
    onto different blocks and allocate new clean blocks for the new data,
    but it then knows that the old blocks that used to be mapped to those
    sectors are available for reuse. In the latter case the controller knows
    that the OS has told it to use some new sectors, but doesn't know that
    the OS now considers the old sectors to be unused, so it continues to
    regard them as "unavailable".

    On early SSDs this was a problem. Then the TRIM command was added to the
    ATA interface, enabling an OS (more accurately a filesystem, in the
    Linux world) to tell the SSD controller that it is no longer using a particular sector. This enables the controller's wear levelling to run
    more efficiently, and so prolongs the life of the SSD.

    Ideally, you'd like the filesystem to tell the SSD that a sector is
    unused as soon as it becomes so - e.g. when a file is rewritten to a
    different location and the old one deleted ... or on any file deletion
    or truncation. Unfortunately it seems that some old/cheap/shitty SSDs
    can't cope with TRIM commands occurring in the middle of a lot of file
    i/o and these SSDs may suffer errors or slow down if the filesystem
    issues its own TRIM commands (I've never seen it happen, but the
    Internet can't be wrong[Citation needed]) so it's not done by default.

    You can enable automatic filesystem TRIM commands by adding the
    parameter "discard" to the mount command for your SSD ... e.g. in
    /etc/fstab. This works for Ext3, Ext4 and some others ...

    Note that a TRIM command is just a simple command that says "Treat
    Sectors x-y as unused". It's housekeeping information for the controller
    and doesn't actually write to the SSD (though the controller will
    probably return blank data if anyone tries to read an unused sector,
    whatever is actually in the Flash memory).

    The fstrim commandline tool is an alternative to enabling TRIM in the filesystem driver. When you run fstrim the program analyses the
    filesystem and works out which sectors of the disk are actually in use.
    It then uses the TRIM command to tell the SSD about ALL the others (most
    of which it knows about anyway). The filesystem driver may be clever
    enough (Ext4 apparently is) not to allow unnecessary TRIM commands to be
    sent when fstrim is run multiple times between boots, but will start
    afresh after a reboot.

    At the end of the day, though, it's not a big deal. All reputable SSDs
    are designed with the assumption that TRIM commands may not be used at
    all; they have sufficiently good wear-levelling and sufficient over-provisioning that they will work well enough without TRIM. That's
    not to say that TRIM won't help, just that life can go on without it.


    --
    Cheers,
    Daniel.



    --- MBSE BBS v1.1.1 (Linux-x86_64)
    * Origin: Daniel James (2:250/1@fidonet)
  • From Davey@2:250/1 to All on Monday, September 15, 2025 17:30:38
    On Mon, 15 Sep 2025 16:00:41 +0100
    Daniel James <daniel@me.invalid> wrote:

    On 08/09/2025 17:28, Davey wrote:
    I have not heard of fstrim, now that I know about it, I will look at
    it and implement it.

    Trimming SSDs used to be talked about a lot, when SSDs were new and exciting, and many times the cost per MB of HDDs. Now, not so much.

    The issue is that each block of storage on an SSD can only reliably
    be written a finite number of times - generally of the order of
    several thousand. This is where the "Terabytes Written" lifetimes
    quoted for SSDs comes from. The controller of an SSD tries to
    minimize this "wear" by writing new data to the least-used available
    block ... but to do this it has to know which blocks are "available".

    The more blocks that are available the more effective the
    wear-levelling strategy employed by the SSD controller can be. If a
    disk is only part-full, or if the disk uses "over-provisioning"
    (keeping some blocks in reserve and advertising itself as a smaller
    disk than it could be) there is often no problem. As a disk fills up
    it is more likely to be a problem.

    The position is slightly complicated by the fact that SSD blocks are
    larger than disk sectors (for hardware reasons) so many sectors share
    the same block, and that SSD blocks can only be written in their
    entirety -- several sectors must be written at once. The problem of
    finding "available" blocks becomes harder as the disk comes to
    contain more and more blocks that are only partly used, so the
    controller uses a "garbage collection" technique to collect up data
    from part-used blocks and move them to a new block, making the blocks
    that data came from available for future writes.

    When a file is edited (say) the OS may write the new version in the
    same place on disk (the same actual disk sectors) or may write the
    whole changed file out somewhere else (different software works in
    different ways). In the former case the SSD controller has to remap
    the sectors onto different blocks and allocate new clean blocks for
    the new data, but it then knows that the old blocks that used to be
    mapped to those sectors are available for reuse. In the latter case
    the controller knows that the OS has told it to use some new sectors,
    but doesn't know that the OS now considers the old sectors to be
    unused, so it continues to regard them as "unavailable".

    On early SSDs this was a problem. Then the TRIM command was added to
    the ATA interface, enabling an OS (more accurately a filesystem, in
    the Linux world) to tell the SSD controller that it is no longer
    using a particular sector. This enables the controller's wear
    levelling to run more efficiently, and so prolongs the life of the
    SSD.

    Ideally, you'd like the filesystem to tell the SSD that a sector is
    unused as soon as it becomes so - e.g. when a file is rewritten to a different location and the old one deleted ... or on any file
    deletion or truncation. Unfortunately it seems that some
    old/cheap/shitty SSDs can't cope with TRIM commands occurring in the
    middle of a lot of file i/o and these SSDs may suffer errors or slow
    down if the filesystem issues its own TRIM commands (I've never seen
    it happen, but the Internet can't be wrong[Citation needed]) so it's
    not done by default.

    You can enable automatic filesystem TRIM commands by adding the
    parameter "discard" to the mount command for your SSD ... e.g. in /etc/fstab. This works for Ext3, Ext4 and some others ...

    Note that a TRIM command is just a simple command that says "Treat
    Sectors x-y as unused". It's housekeeping information for the
    controller and doesn't actually write to the SSD (though the
    controller will probably return blank data if anyone tries to read an
    unused sector, whatever is actually in the Flash memory).

    The fstrim commandline tool is an alternative to enabling TRIM in the filesystem driver. When you run fstrim the program analyses the
    filesystem and works out which sectors of the disk are actually in
    use. It then uses the TRIM command to tell the SSD about ALL the
    others (most of which it knows about anyway). The filesystem driver
    may be clever enough (Ext4 apparently is) not to allow unnecessary
    TRIM commands to be sent when fstrim is run multiple times between
    boots, but will start afresh after a reboot.

    At the end of the day, though, it's not a big deal. All reputable
    SSDs are designed with the assumption that TRIM commands may not be
    used at all; they have sufficiently good wear-levelling and
    sufficient over-provisioning that they will work well enough without
    TRIM. That's not to say that TRIM won't help, just that life can go
    on without it.



    Thank you for that detailed explanation.

    --
    Davey.


    --- MBSE BBS v1.1.1 (Linux-x86_64)
    * Origin: A noiseless patient Spider (2:250/1@fidonet)
  • From Richard Kettlewell@2:250/1 to All on Wednesday, September 17, 2025 08:43:03
    Daniel James <daniel@me.invalid> writes:
    The position is slightly complicated by the fact that SSD blocks are
    larger than disk sectors (for hardware reasons) so many sectors share
    the same block, and that SSD blocks can only be written in their
    entirety -- several sectors must be written at once.

    A little more complicated than that. A flash page can be written in
    isolation but only erased (before being written again) as part of a
    larger erase block. So if the (logical) sector size matches the page
    size then (in principle, at least) sectors can be written individually
    for as long as there are erased pages somewhere. Conversely if pages are
    bigger than sectors then each write has to involve several sectors.

    (Terminology: sector = the read/write unit visible to the host. Usually
    512 byte or 4KB. Page = the smallest read/write unit of the underlying
    flash memory; sizes unclear but 4-16KB seem to exist. Erase block = the smallest flash memory block that can be erased, could be several MB.)

    I guess there might be a longer-term performance benefit in keeping
    pages written at the same time in the same erase blocks, since they’re
    likely to have similar lifetimes. If a drive is trying to do this then
    writes will get batched up as a result.

    The problem of finding "available" blocks becomes harder as the disk
    comes to contain more and more blocks that are only partly used, so
    the controller uses a "garbage collection" technique to collect up
    data from part-used blocks and move them to a new block, making the
    blocks that data came from available for future writes.

    --
    https://www.greenend.org.uk/rjk/

    --- MBSE BBS v1.1.1 (Linux-x86_64)
    * Origin: terraraq NNTP server (2:250/1@fidonet)
  • From Daniel James@2:250/1 to All on Wednesday, September 17, 2025 10:30:57
    On 17/09/2025 08:43, Richard Kettlewell wrote:
    A little more complicated than that. ...

    Yes, I know, but I was trying to keep things simple. Maybe too simple,
    so thanks for your addition.

    --
    Cheers,
    Daniel.

    --- MBSE BBS v1.1.1 (Linux-x86_64)
    * Origin: Daniel James (2:250/1@fidonet)
  • From Davey@2:250/1 to All on Wednesday, September 17, 2025 11:05:20
    On Wed, 17 Sep 2025 10:30:57 +0100
    Daniel James <daniel@me.invalid> wrote:

    On 17/09/2025 08:43, Richard Kettlewell wrote:
    A little more complicated than that. ...

    Yes, I know, but I was trying to keep things simple. Maybe too
    simple, so thanks for your addition.


    So, as one who knew nothing of trimming before this conversation
    started, I am now as confused as ever as to what is the best strategy
    to employ.
    Should I set up a regular fstrim event, and if so, how frequently? Once
    per week, once per month, or after a heavy data writing session?

    Thanks in advance.

    --
    Davey.


    --- MBSE BBS v1.1.1 (Linux-x86_64)
    * Origin: A noiseless patient Spider (2:250/1@fidonet)
  • From Daniel James@2:250/1 to All on Wednesday, September 17, 2025 15:12:35
    On 17/09/2025 11:05, Davey wrote:
    So, as one who knew nothing of trimming before this conversation
    started, I am now as confused as ever as to what is the best strategy
    to employ.

    That's partly because it's really difficult to give an unambiguously
    correct answer. One size doesn't fit all.

    Should I set up a regular fstrim event, and if so, how frequently? Once
    per week, once per month, or after a heavy data writing session?

    Hard to say as we don't know the make/model of your SSD, how old it is,
    nor how full it is.

    Modern SSDs are designed to work without TRIM ... nevertheless using
    TRIM may be beneficial, and can help reduce SSD wear.

    The benefit you'll get from TRIM is more if your SSD is close to full.
    This is because as the SSD fills up there are fewer empty pages to which
    the controller can write new data and so more work for garbage
    collection to do. Better-quality SSDs (newer designs, more reputable
    brands) have cleverer software that works better without TRIM, but that
    can also make better use of information from TRIM.

    I would say that the "best" thing to do is to let the filesystem handle
    TRIM on-the-fly and forget about scheduled calls to fstrim. That's what
    I'm doing and nothing has bitten me yet ... but I may just be lucky. The
    SSD I use the most is a PNY device a year or so old so I expect it to be reasonably current and performant.

    Older and cheaper SSDs are reported to experience problems when doing
    TRIM on the fly, and if you have one of those then you would be better
    advised to use fstrim instead. Don't ask me which SSDs fall into this
    category because I can't give you a list.

    The time that fstrim will be most beneficial is not after writing data
    to the SSD, it's after erasing data from the SSD ... so if you delete a
    lot of files, or if you edit a lot of files (so that a new version is
    created and the old one is deleted), there will be a lot of sectors to
    TRIM. Just writing new data to the disk doesn't create unused sectors,
    so TRIM won't help.

    The general advice I see from people advocating the schedules use of
    fstrim is to do it once a week, unless you have reason to believe that
    you need to do it more often. I know that doesn't help much.

    fstrim doesn't take very long, and doesn't add to SSD wear, so there's
    no harm in running more often, it just won't add benefit.

    One thing I would add: If you decide to turn on on-the-fly TRIMming (by
    adding "discard" to /etc/fstab) it's worth running fstrim once first, to
    bring the SSD up to date with what's actually in use in the flash
    memory, and what isn't. It should stay current by itself after that.

    Does any of this help?

    --
    Cheers,
    Daniel.

    --- MBSE BBS v1.1.1 (Linux-x86_64)
    * Origin: Daniel James (2:250/1@fidonet)
  • From Davey@2:250/1 to All on Wednesday, September 17, 2025 15:54:44
    On Wed, 17 Sep 2025 15:12:35 +0100
    Daniel James <daniel@me.invalid> wrote:

    On 17/09/2025 11:05, Davey wrote:
    So, as one who knew nothing of trimming before this conversation
    started, I am now as confused as ever as to what is the best
    strategy to employ.

    That's partly because it's really difficult to give an unambiguously
    correct answer. One size doesn't fit all.

    Should I set up a regular fstrim event, and if so, how frequently?
    Once per week, once per month, or after a heavy data writing
    session?

    Hard to say as we don't know the make/model of your SSD, how old it
    is, nor how full it is.

    Modern SSDs are designed to work without TRIM ... nevertheless using
    TRIM may be beneficial, and can help reduce SSD wear.

    The benefit you'll get from TRIM is more if your SSD is close to
    full. This is because as the SSD fills up there are fewer empty pages
    to which the controller can write new data and so more work for
    garbage collection to do. Better-quality SSDs (newer designs, more
    reputable brands) have cleverer software that works better without
    TRIM, but that can also make better use of information from TRIM.

    I would say that the "best" thing to do is to let the filesystem
    handle TRIM on-the-fly and forget about scheduled calls to fstrim.
    That's what I'm doing and nothing has bitten me yet ... but I may
    just be lucky. The SSD I use the most is a PNY device a year or so
    old so I expect it to be reasonably current and performant.

    Older and cheaper SSDs are reported to experience problems when doing
    TRIM on the fly, and if you have one of those then you would be
    better advised to use fstrim instead. Don't ask me which SSDs fall
    into this category because I can't give you a list.

    The time that fstrim will be most beneficial is not after writing
    data to the SSD, it's after erasing data from the SSD ... so if you
    delete a lot of files, or if you edit a lot of files (so that a new
    version is created and the old one is deleted), there will be a lot
    of sectors to TRIM. Just writing new data to the disk doesn't create
    unused sectors, so TRIM won't help.

    The general advice I see from people advocating the schedules use of
    fstrim is to do it once a week, unless you have reason to believe
    that you need to do it more often. I know that doesn't help much.

    fstrim doesn't take very long, and doesn't add to SSD wear, so
    there's no harm in running more often, it just won't add benefit.

    One thing I would add: If you decide to turn on on-the-fly TRIMming
    (by adding "discard" to /etc/fstab) it's worth running fstrim once
    first, to bring the SSD up to date with what's actually in use in the
    flash memory, and what isn't. It should stay current by itself after
    that.

    Does any of this help?


    Yes, it does, thank you. It sounds as though I might not bother unless
    I see nearly full drives. Is an SSD still called a 'drive'?

    My laptop is two and a half years old, the desktop is one year old. Both
    have only SSDs. One of the laptop's SSDs became terminally full, which
    prompted this whole saga. If you have followed this from the beginning,
    the OS re-installation from scratch has gone great, and the secondary
    SSD will be reinstalled soon. I have had a shedload of Real Life
    getting in the way of my computing, so completion has been delayed.
    Thanks.

    --
    Davey.


    --- MBSE BBS v1.1.1 (Linux-x86_64)
    * Origin: A noiseless patient Spider (2:250/1@fidonet)
  • From Davey@2:250/1 to All on Sunday, September 21, 2025 16:10:46
    On Thu, 11 Sep 2025 17:12:43 +0100
    Davey <davey@example.invalid> wrote:

    On Wed, 10 Sep 2025 00:14:56 +0100
    Davey <davey@example.invalid> wrote:

    The more I think about it, the more I am coming down on the restart
    plan, with no new items involved:
    Remove the M2SSD, wipe the primary drive (SATA SSD) and install a
    clean setup of ver. 22.04. Install required applications. When all
    is operating as it should, then re-install the M2SSD.
    The only files that I will lose are the TB Local Folders since the
    last backup, and they can be recreated, thanks to gmail keeping all messages.

    I appreciate what you say, and ma grateful for the thoughts, but TO
    ME my way has more advantages than disadvantages, and is simpler to implement.

    My plan is now being carried out. The M2SSD is out, a new Ubuntu
    22.04 OS has been installed on the wiped primary drive.
    Tomorrow will involve, amongst other applications installation,
    copying FF and TB profiles from backups. Some other applications are
    already installed. It's nice being able to read and write from/to the
    primary drive again.
    At some future time, I will re-install the M2SSD. But not yet.

    Sorry, Vince, but that's the way it is.


    After a lot more Real Life getting in the way, I managed to return to
    the laptop today. I replaced the 2nd drive, and so far, it looks good.
    I have even managed to rename it as M2SSD. There is still a lot more to
    do to bring the machine back up to its previous level, but the path
    looks clear.
    But. It sits in my study, from where I have a good view of the patio
    and any visiting cats, plus the wildlife in the garden. The desktop is
    deeper in the house, and not where I want to spend my computing time.
    But I have got used to the monitor, which is much much bigger than the laptop's. So do I finish off the laptop's resurrection, and continue on
    while squinting at a smallish screen, or re-arrange my study so that the desktop takes the place of the laptop? Hmmm. Much thinking to be done.

    --
    Davey.


    --- MBSE BBS v1.1.1 (Linux-x86_64)
    * Origin: A noiseless patient Spider (2:250/1@fidonet)
  • From Vincent Coen@2:250/1 to Davey on Monday, September 22, 2025 01:41:48

    Hello Davey!

    21 Sep 25 16:10, Davey wrote to all:

    <109pmku$145pu$1@dont-email.me>
    <1757451772@f1.n250.z2.fidonet.ftn>
    <109qcdh$19eei$1@dont-email.me> <109usdr$2ocfs$1@dont-email.me>
    On Thu, 11 Sep 2025 17:12:43 +0100
    Davey <davey@example.invalid> wrote:

    On Wed, 10 Sep 2025 00:14:56 +0100
    Davey <davey@example.invalid> wrote:

    The more I think about it, the more I am coming down on the
    restart
    plan, with no new items involved:
    Remove the M2SSD, wipe the primary drive (SATA SSD) and install a
    clean setup of ver. 22.04. Install required applications. When all
    is operating as it should, then re-install the M2SSD.
    The only files that I will lose are the TB Local Folders since the
    last backup, and they can be recreated, thanks to gmail keeping
    all
    messages.

    I appreciate what you say, and ma grateful for the thoughts, but
    TO
    ME my way has more advantages than disadvantages, and is simpler
    to
    implement.

    My plan is now being carried out. The M2SSD is out, a new Ubuntu
    22.04 OS has been installed on the wiped primary drive.
    Tomorrow will involve, amongst other applications installation,
    copying FF and TB profiles from backups. Some other applications are
    already installed. It's nice being able to read and write from/to
    the primary drive again. At some future time, I will re-install the
    M2SSD. But not yet.

    Sorry, Vince, but that's the way it is.


    After a lot more Real Life getting in the way, I managed to return to
    the laptop today. I replaced the 2nd drive, and so far, it looks good.
    I have even managed to rename it as M2SSD. There is still a lot more
    to do to bring the machine back up to its previous level, but the path
    looks clear.
    But. It sits in my study, from where I have a good view of the patio
    and any visiting cats, plus the wildlife in the garden. The desktop is deeper in the house, and not where I want to spend my computing time.
    But I have got used to the monitor, which is much much bigger than the laptop's. So do I finish off the laptop's resurrection, and continue
    on while squinting at a smallish screen, or re-arrange my study so
    that the desktop takes the place of the laptop? Hmmm. Much thinking to
    be done.

    OR - plus the laptop into the monitor via the rear (usually) connector,
    plug in a wireless Kbrd and mouse and look to your hearts contentment.




    Vincent



    SEEN-BY: 25/0 21 250/0 1 2 4 5 8 13 14 362/6 371/52 712/1321
  • From Davey@2:250/1 to All on Monday, September 22, 2025 09:29:02
    On Mon, 22 Sep 2025 01:41:48 +0100
    "Vincent Coen" <VBCoen@gmail.com> wrote:

    Hello Davey!

    21 Sep 25 16:10, Davey wrote to all:

    <109pmku$145pu$1@dont-email.me>
    <1757451772@f1.n250.z2.fidonet.ftn>
    <109qcdh$19eei$1@dont-email.me> <109usdr$2ocfs$1@dont-email.me>
    On Thu, 11 Sep 2025 17:12:43 +0100
    Davey <davey@example.invalid> wrote:

    On Wed, 10 Sep 2025 00:14:56 +0100
    Davey <davey@example.invalid> wrote:

    The more I think about it, the more I am coming down on the
    restart
    plan, with no new items involved:
    Remove the M2SSD, wipe the primary drive (SATA SSD) and install
    a clean setup of ver. 22.04. Install required applications.
    When all is operating as it should, then re-install the M2SSD.
    The only files that I will lose are the TB Local Folders since
    the last backup, and they can be recreated, thanks to gmail
    keeping
    all
    messages.

    I appreciate what you say, and ma grateful for the thoughts,
    but
    TO
    ME my way has more advantages than disadvantages, and is
    simpler
    to
    implement.

    My plan is now being carried out. The M2SSD is out, a new Ubuntu
    22.04 OS has been installed on the wiped primary drive.
    Tomorrow will involve, amongst other applications installation,
    copying FF and TB profiles from backups. Some other applications
    are already installed. It's nice being able to read and write
    from/to the primary drive again. At some future time, I will
    re-install the M2SSD. But not yet.

    Sorry, Vince, but that's the way it is.


    After a lot more Real Life getting in the way, I managed to return
    to the laptop today. I replaced the 2nd drive, and so far, it
    looks good. I have even managed to rename it as M2SSD. There is
    still a lot more to do to bring the machine back up to its
    previous level, but the path looks clear.
    But. It sits in my study, from where I have a good view of the
    patio and any visiting cats, plus the wildlife in the garden. The
    desktop is deeper in the house, and not where I want to spend my
    computing time. But I have got used to the monitor, which is much
    much bigger than the laptop's. So do I finish off the laptop's resurrection, and continue on while squinting at a smallish
    screen, or re-arrange my study so that the desktop takes the place
    of the laptop? Hmmm. Much thinking to be done.

    OR - plus the laptop into the monitor via the rear (usually)
    connector, plug in a wireless Kbrd and mouse and look to your hearts contentment.




    Vincent




    But I then would have a monitor-less desktop. Another purchase.....
    Decisions, decisions.

    Cheers,
    --
    Davey.


    --- MBSE BBS v1.1.1 (Linux-x86_64)
    * Origin: A noiseless patient Spider (2:250/1@fidonet)