Groups | Search | Server Info | Login | Register
Groups > comp.os.linux.hardware > #3645
| From | Paul <nospam@needed.invalid> |
|---|---|
| Newsgroups | alt.os.linux, comp.os.linux.hardware, comp.os.linux.help, comp.os.linux.setup |
| Subject | Re: Swapped my hardwares (motherboard, CPU, RAM, drives, etc.), but getting errors at startup that stalls the speed. |
| Date | 2023-04-11 01:38 -0400 |
| Organization | A noiseless patient Spider |
| Message-ID | <u12rns$2hcup$1@dont-email.me> (permalink) |
| References | <4cednZ1D6afX4qn5nZ2dnZfqn_qdnZ2d@earthlink.com> |
Cross-posted to 4 groups.
On 4/10/2023 5:27 PM, Ant wrote:
> Hello,
>
> Over Easter 2023 weekend, my friend and I replaced my 14 yrs. old Debian PC's mobo, CPU, RAM, drives, etc. for better setups like speeds. However, my May 2022's updated 64-bit Debian v11 (stable -- bullseye) installation has a long start up due to errors on the new hardwares especially in SSD.
>
> Last night, I Clonezillaed from the very old 320 GB HDD to a new Samsung 500 GB SSD. I used a bootable gparted (gparted-live-1.5.0-1-amd64.iso) CDRW to make my old Linux partition bigger, redid my partitions to remake a new bigger swap partition and add a NTFS partition for my future 64-bit Windows 7 HPE SP1 restore/install (just concentrating on my old Debian for now).
>
> I managed to make the 1.5 mins. pause go away for UUID=7f52c5a5-0a8f-478e-bbc6-fb22204a06ed job issue by adding # to my /etc/fstab's #UUID=7f52c5a5-0a8f-478e-bbc6-fb22204a06ed none swap sw 0 0 line.
> Its comment says "swap was on /dev/sdb5 during installation". That used to be my old 1 GB swap partition. How do I figure out what UUID to use to point to the newly made swap partition? Actually, do I even need it with 16 GB of RAM now? I did on the former PC with 2 GB of RAM.
>
> http://zimage.com/~ant/temp/DebianSwappedHWs/ shows details like dmesg log, a photo, systemctl status systemd-modules-load.service, etc.
>
> How do I fix these issues? I hope I don't have to (clean/re)install! Thank you for reading and hopefully answering soon. :)
>
There's a couple of ways you can do swap.
Swap partition
Swap file "/swapfile"
The presumed advantage of /swapfile, is when multibooting and
an installer overwrites a swap partition (that all the Linux OSes
have been sharing), you don't have issues with the BLKID.
However, I recently ran into Ubuntu, started scanning for BTRFS
and then MDADM, and that (to me at least) is a sign of "swap anxiety".
It is trying to find a swap partition, even though I told it I was
using a /swapfile .
Using RESUME=none and rebuilding initramfs, fixed that for me.
RESUME=none presumably means hibernation would never work, but
I always make my swap 1GB in size (a token swap on a large RAM machine).
It was never going to work anyway.
When using a hard drive, the 1GB swap partition is there, so the
disk drive makes a noise if RAM consumption is going crazy, and
then I have to be pretty damn quick to kill the thing that is
doing it. That's how you decide, based on the timing margin you
want, how big to make a token swap. It's just there to delay
application of OOM.
When you do an install, if you do a Custom, and you don't create
a swap, it's possible a modern distro will use /swapfile . If
you don't do a Custom, and just let the distro mess around with
the disk drive, it'll probably make a swap partition for you.
Paul
Back to comp.os.linux.hardware | Previous | Next — Previous in thread | Next in thread | Find similar
Swapped my hardwares (motherboard, CPU, RAM, drives, etc.), but getting errors at startup that stalls the speed. ant@zimage.comANT (Ant) - 2023-04-10 21:27 +0000
Re: Swapped my hardwares (motherboard, CPU, RAM, drives, etc.), but getting errors at startup that stalls the speed. bad sector <forgetski@INVALID.net> - 2023-04-10 19:53 -0400
Re: Swapped my hardwares (motherboard, CPU, RAM, drives, etc.), but getting errors at startup that stalls the speed. ant@zimage.comANT (Ant) - 2023-04-11 05:08 +0000
Re: Swapped my hardwares (motherboard, CPU, RAM, drives, etc.), but getting errors at startup that stalls the speed. ant@zimage.comANT (Ant) - 2023-04-11 06:26 +0000
Re: Swapped my hardwares (motherboard, CPU, RAM, drives, etc.), but getting errors at startup that stalls the speed. bad sector <forgetski@INVALID.net> - 2023-04-11 06:13 -0400
Re: Swapped my hardwares (motherboard, CPU, RAM, drives, etc.), but getting errors at startup that stalls the speed. TJ <TJ@noneofyour.business> - 2023-04-10 23:24 -0400
Re: Swapped my hardwares (motherboard, CPU, RAM, drives, etc.), but getting errors at startup that stalls the speed. Anssi Saari <as@sci.fi> - 2023-04-11 11:25 +0300
Re: Swapped my hardwares (motherboard, CPU, RAM, drives, etc.), but getting errors at startup that stalls the speed. Jim Jackson <jj@franjam.org.uk> - 2023-04-11 11:47 +0000
Re: Swapped my hardwares (motherboard, CPU, RAM, drives, etc.), but getting errors at startup that stalls the speed. bad sector <forgetski@INVALID.net> - 2023-04-11 07:56 -0400
Re: Swapped my hardwares (motherboard, CPU, RAM, drives, etc.), but getting errors at startup that stalls the speed. Paul <nospam@needed.invalid> - 2023-04-11 01:38 -0400
Re: Swapped my hardwares (motherboard, CPU, RAM, drives, etc.), but getting errors at startup that stalls the speed. "J.O. Aho" <user@example.net> - 2023-04-11 10:01 +0200
csiph-web