You are not logged in.
Hello:
... try a memtest ...
Yes, there's also memtester which I am putting to work now.
# memtester 4096 5
memtester version 4.6.0 (64-bit)
Copyright (C) 2001-2020 Charles Cazabon.
Licensed under the GNU General Public License version 2 (only).
--- snip ---
Between the OS and memtester 78% of available RAM is being used.
... only other thing I can suggest is junk USB controller/driver for the controller.
The on board USB2.0 controller has always worked perfectly well.
As for the driver(?), it is the one from this distribution.
... no way a fresh install should have a corrupted file system ...
I'll take your word for that but then, the installer should have written GRUB to the USB stick and it did not.
... unlikely a new stick would be useless ...
Agreed.
... use it on another device and see if it boot there.
The only amd64 box I have is this one.
My other one is an Asus 1000HE. (32 bit)
I will see about running a test to do an intensive write from one USB drive to another.
Data corruption in the controller (if that is the case) should show up there.
Thanks for your input.
Best,
A.
Hello:
... installation ISOs are set up as "Hybrid ISOs". This means that the ISO is a union of two ...
... like this (in beautiful ascii art):
I understand, your ascii art makes it quite clear.
I have always used gparted, which does not show the detail disks shows so I was not aware of this layout.
... fools grub's intelligent install logic ...
Not good if your hardware is not UEFIable, like mine.
... need to exercise some manual hands-on ...
... where doing it right using the rescue mode.
Good to know.
Buy still no joy.
... cannot install linux onto a FAT32 partition ...
I'm sorry, I have not expressed myself correctly.
I started the installation with the USB stick which I first formatted to cleared and then as a single primary FAT32 partition.
But during the installation I deleted that partition it and re-partitioned it like this:
# fdisk -l
Disk /dev/sdg: 57.62 GiB, 61872793600 bytes, 120845300 sectors
Disk model: DataTraveler 3.0
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x6a8163af
Device Boot Start End Sectors Size Id Type
/dev/sdg1 * 2048 4990975 4988928 2.4G 83 Linux
/dev/sdg2 120258560 120844287 585728 286M 82 Linux swap / Solaris
/dev/sdg3 4993022 120258559 115265538 55G 5 Extended
/dev/sdg5 4993024 120258559 115265536 55G 83 Linux
When the time came for the installer to write GRUB to the disk, I selected the boot partition of the USB stick.
But it did not get installed so the BIOS did not see an OS when I tried to boot.
Both disks and gparted report a healthy filesystem on the USB drive.
Besides testing my system's memory, what do you suggest?
Thanks in advance.
Best,
A.
Hello:
... hard to believe you could have file system errors on first boot ...
It is all in the screen printout.
... suggest corruption during the install.
Could be, no idea what it is.
... memtest86+ boot disk and let it run a few passes ...
Have not done that in a while but then have not had any motive to suspect memory corruption at any point.
This box runs many hours a day every day of the year.
If there were any sort of memory corruption, I would have had memory errors before now.
And they would have shown up in the usual places. eg: dmesg ECC error printout
... where does the 6.10 kernel come from? ...
This is devuan_daedalus_5.0.1_amd64_netinstall.iso | 15-Apr-2024 22:38 | 478M
Comes from the same place every other Daedalus
It is the same kernel my box runs on:
$ uname -a
Linux devuan 6.1.0-28-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.119-1 (2024-11-22) x86_64 GNU/Linux
$
Thanks for your input.
Best,
A.
Hello:
Sorry for the delay in answering, it has taken me some time to test all this.
... it would amount to chroot onto the target and then run update-grub ...
I have never had to deal with any of that, no idea how.
Just to rule out my having placed the old index finger on the wrong key during the install, I decided to do it all again and see.
I confirmed that I did exactly that and reinstalled but with no luck.
I'll cut this short so as to spare you the details of my last week attempting to see what was going on.
After achiving the two Kingston DataTraveller USB 2.0 drives I was using as installation candidates I purchased another two 64Gb Kingston USB 3.0 Exordia drives, checked the SHA256SUM of the a newly downloaded devuan_daedalus_5.0.1_amd64_netinstall.iso, dd'd it on a 2.0Gb MicroSD card and after booting checked that the installation media was healthy.
Everything was as it should be so I went on to install Daedalus 5.0.1 to one of the 64Gb drives with nothing but an msdos partition table and FAT32 format. ie: no previous partitioning / EXT4-fs formatting and nothing but the default options for the installation.
This is all on a Sun Ultra 24 box with a BIOS boot, no UEFI.
---
On attempting to boot I see that there is no OS.
I then reboot the installation media, run rescue mode and install GRUB to the USB drive containing the Daedalus installation.
Save the fact that GRUB was not where it should have been, no issues.
I shut down the box, reboot and press F8 to get the BIOS boot menu, choose the Kingston USB drive and hit enter.
At first things go as expected:
---
GRUB loading.
Welcome to GRUB!
GNU GRUB version 2.06-13+deb12u1 -> [choose Devuan GNU/Linux]
Booting Devuan GNU/Linux
Loading Linux 6.10.0-10-AMD64 ...
Loading initial ramdisk ...
---
Here the usual ACPI BIOS Error (bug) printouts we have all seen for years
---
/dev/sda1/: clean, 41420/156160 files, 353650/623616 blocks
INIT: version 3.06 booting
INIT: No inittab.d directory found
Using makefile-style concurrent boot in runlevel S.
Starting hot-plug events dispatcher: udevd.
Synthesizing the intial hotplug events (subsystems) ...done
Synthesizing the intial hotplug events (devices) ...done
Waiting for /dev to be fully populated ...
Then all hell breaks loose ...
INIT: cannot execute "/sbin/getty"
INIT: cannot execute "/sbin/getty"
INIT: cannot execute "/sbin/getty"
INIT: cannot execute "/sbin/getty"
--- snip ---
INIT: cannot execute "/sbin/getty"
INIT: Id "3" respawning too fast: disabled for 5 minutes
INIT: cannot execute "/sbin/getty"
INIT: Id "2" respawning too fast: disabled for 5 minutes
INIT: Id "4" respawning too fast: disabled for 5 minutes
INIT: Id "6" respawning too fast: disabled for 5 minutes
INIT: cannot execute "/sbin/getty"
INIT: Id "5" respawning too fast: disabled for 5 minutes
INIT: no more processes left in this runlevel
[35.xxx] Ext-fs error (device sda1): __ext4_find_entry:1678: inode #2:
com init: reading lblock 0
[36.xxx] Ext-fs error (device sda1): __ext4_find_entry:1678: inode #13:
com init: reading lblock 0
[36.xxx] Ext-fs error (device sda1): __ext4_find_entry:1678: inode #1443:
com init: reading lblock 0
--- snip ---
--------------------------------------------------------------------
Note:
There's no /etc/inittab.d directory present.
/sbin/getty is a link to /sbin/agetty
--------------------------------------------------------------------
It goes on and on till I do a hard reset, no other way out.
Now, this has also happened with the previous USB sticks and SD cards when attempting to install devuan_beowulf_3.1.1_amd64_netinstall.iso.
I ran a few tests on the USB 2.0 sticks and they showed no issues but got a new pair just to be sure they were not at fault.
When I look at the installation media with gparted, it shows me a single ISO9660 file system taking up the whole 2.0Gb MicroSD card.
But when I look at it with the gnome-disk-utility, it shows me two partitions and free space.
I know about the free space because the *.iso file is only ~478Mb.
But it turns out that between the 478Mb ISO9660 Partition 1 and the free space at the end there is a 23Mb FAT Partition 2.
In any case, I don't have much of a clue as to what is going on but I would not be at all surprised if it is some side effect of whatever the UEFI/secureboot crowd is up to these days.
I'd appreciate some insight on this.
Thanks in advance.
Best,
A.
From today's edition of The Register:
------------------------------------------------------------------------------------------------------
Intel and AMD engineers rush to save Linux 6.13 after dodgy Microsoft tweak
'Let's not do this again please'... days before release date
------------------------------------------------------------------------------------------------------
By Richard Speed - Tue 14 Jan 2025 // 14:02 UTC
See https://www.theregister.com/2025/01/14/ … ge_pulled/
Microsoft is notable for dubious quality control standards regarding releases of its flagship operating system, Windows. That one of its engineers should drop some dodgy code into the Linux kernel is not hugely surprising, and the unfortunate individual is not the first and will not be the last to do so, regardless of their employer.
Seems that something went very (very) wrong ...
Best,
A.
Hello:
I dd'd devuan_daedalus_5.0.1_amd64_netinstall.iso to an 4.0Gb SD card.
Then installed it on an 8.0Gb USB stick.
The usual precautions taken:
- checked SHA256 of the downloaded *.iso
- installer check of the installation media before anything else
This is how the USB is partitioned:
# fdisk -l /dev/sdg
Disk /dev/sdg: 7.22 GiB, 7757398016 bytes, 15151168 sectors
Disk model: DataTraveler 2.0
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0xdb4d27ce
Device Boot Start End Sectors Size Id Type
/dev/sdg1 * 2048 4190207 4188160 2G 83 Linux
/dev/sdg2 4192254 15151103 10958850 5.2G 5 Extended
/dev/sdg5 4192256 14741503 10549248 5G 83 Linux
/dev/sdg6 14743552 15151103 407552 199M 82 Linux swap / Solaris
#
On booting the USB, I get this:
GRUB loading.
Welcome to GRUB!
error: file ` /boot/grub/i386-pc/normal.mod not found.
grub rescue>
The installation was run on my Sun Ultra 24 which is not hampered by att the UEFI whatever crap.
Just plain BIOS boot, thank you.
It is as bare as could be (still needs a good clean-up) as I want to use it to run Clonezilla-Live.
Just the defaults, no desktop enviroment.cd.
When I mount the drive, CD to /boot, I get this:
$ /boot/grub$ ls
grub.cfg splash.png unicode.pf2
$
Seems that grub is pointing to my system drive UUID ...
search --no-floppy --fs-uuid --set=root d6841f29-e39b-4c87-9c52-3a9c3bafe2d3
... instead of pointing to the USB UUID:
# blkid
--- snip ---
/dev/sdb1: LABEL="devuan" UUID="d6841f29-e39b-4c87-9c52-3a9c3bafe2d3" BLOCK_SIZE="4096" TYPE="ext4" PARTUUID="0004a8f4-01"
--- snip ---
/dev/sdg1: UUID="68f8d933-a2a1-40eb-916f-eba5582c8968" BLOCK_SIZE="4096" TYPE="ext4" PARTUUID="db4d27ce-01"
--- snip ---
#
No idea how that happened, but it did.
Question:
Manually changing all instances of the system UUID for the correct one will do?
If not, which is the easiest/fastest way to fix this?
Thanks.
Best,
A.
Hello:
... for future thread visitors ...
Thanks for that.
I have been using Conezilla-live without issues but, as it is Debian based, wanting make it Devuan based.
I had a look at what is available in the Devuan repositories but it is only the Clonezilla SE version.
The links you have posted are definitely a very worthwhile find.
That said, putting Clonezilla in your system drive seems like a good idea because everything gets streamlined.
Till the streamlining goes south along with the systerm drive. 8^°
Having Clonezilla-live on a USB drive will always be a necessary option.
My Sun Ultra 24 has an on-board internal USB socket from which (years ago) I would boot a maintenance TCore Linux installation with all the tools.
Maybe I could put it to use again.
Thank you very much for your input.
Have a Happy New Year.
Best,
A.
Hello:
... to get clonezilla-live to boot with my keyboard options hard coded.
... dead tilde, right AltGr and no compose key set up.
After a while I traced back to the installation process of any/most Linux installation/s.
The data I needed was located in /etc/default/keyboard, which is where the installation process stores those options.
In my specific case it is this:
$ cat /etc/default/keyboard
# KEYBOARD CONFIGURATION FILE
# Consult the keyboard(5) manual page.
# Set for IBM 82G3294 Model 'M'
#
XKBMODEL="pc105"
XKBLAYOUT="latam"
XKBVARIANT="deadtilde"
XKBOPTIONS="lv3:ralt_switch,terminate:ctrl_alt_bksp"
BACKSPACE="guess"
$
So I edited syslinux.cfg to reflect that set of parameters, hoping that the syntax would hold:
--- snip ---
label Clonezilla live
MENU DEFAULT
# MENU HIDE
MENU LABEL Clonezilla live (VGA 800x600)
# MENU PASSWD
kernel /live/vmlinuz
append initrd=/live/initrd.img boot=live union=overlay username=user config components quiet loglevel=0 noswap
edd=on nomodeset enforcing=0 locales=en_GB.UTF-8 keyboard-model=pc105 keyboard-layouts=latam
keyboard-variants=deadtilde ocs_live_run="ocs-live-general" ocs_live_extra_param="" ocs_live_batch="no" vga=788
net.ifnames=0 nosplash i915.blacklist=yes radeonhd.blacklist=yes nouveau.blacklist=yes vmwgfx.enable_fbdev=1
--- snip ---
It worked properly: no questions asked and locale/keyboard configuration hard coded in.
That hurdle passed, I got rid of quiet and added all the command line options I use with my Devuan installations.
ie: security=none apparmor=0 nmi_watchdog=0 agp=off ipv6.disable=1 enable_mtrr_cleanup=1
Now, how is it that this tidbit ie: keyboard configuration is not part of the Clonezilla documentation is beyond me.
Not everyone uses what Clonezilla offers as the default settings for locale and keyboard model/layout/variants.
And, just like me they will also find it tiresome to have to set it up every time Clonezilla boots.
One problem I see is that Clonezilla-Live is Debian based ie: systemd crapped and (to me) not trustworthy.
But no doubt about it, I think Clonezilla is a life saver.
Have a Happy New Year.
Best,
A.
Hello:
... specifically this particular subpage ...
Yes, I've been there and read it all.
But all that is specific to clonezilla.
What I am looking for is specific to syslinux / isolinux and/or kernel command line instructions and syntax.
ie: stuff that the various linux installers have been doing for us when we select the language and keyboard options offered at the very start of the installation process.
I recall (long ago) my first attempts to install Linux from floppies on a 486DX (?) Toshiba and it was the same process.
Thanks for your input.
And for taking the time to look it up.
Best,
A.
Hello:
... already disliked CSS ...
Not CSD?
Anyway, there was a really huge row about the nimplementation of CSD in Xfce a couple of years ago at the Xfce forum.
Anyone with a modicum of common sense would have taken notice.
See https://forum.xfce.org/viewtopic.php?id=13689
But no, and here we are.
After all these years (!), devs and maintainers at Xfce haven't managed to get a properly functioning menu editor for Xfce.
Or the only two things I miss from MS Explorer: the Send To -> Any Folder and Snap to Grid actions.
Xfce4 desktop icons still have an atavistic tendency to position themselves as they please on the desktop
It would seem that devs and maintainers at Xfce just copy the shiny flashy crap but can't get the necessary basics right.
... they just do mindless crap because they can.
Maybe it is the same virus that has been affecting Mozilla devs for the longest time?
</old man yelling at clouds>
Here's another one.
Best,
A.
Hello:
... messed up the APPEND line with ...
Indeed ...
With my progressively decaying eyesight. 8^°
This is the working syslinux.cfg:
kernel /live/vmlinuz
append initrd=/live/initrd.img boot=live union=overlay username=user config components quiet loglevel=0 noswap edd=on nomodeset enforcing=0 noeject locales= keyboard-layouts= ocs_live_run="ocs-live-general" ocs_live_extra_param="" ocs_live_batch="no" vga=788 net.ifnames=0 nosplash i915.blacklist=yes radeonhd.blacklist=yes nouveau.blacklist=yes vmwgfx.enable_fbdev=1
ie: copy/pasted from the read-only file opened with LO Writer.
Boots without a hitch.
What I want to do is edit the command line to get clonezilla-live to boot with my keyboard options hard coded.
I can easily do that with isomaster or similar software but I first need to know the correct syntax.
ie:
locales=?????
keyboard-layouts=?????
+ whatever else I have to add to the command line to get dead tilde, right AltGr and no compose key set up.
Thanks a lot for your input.
Best,
A.
Hello:
After a scare or two I have taken to, besides my usual BackInTime+Timeshift routines, make full images of my system drive and store them locally, in a makeshift *NAS* (MyBookLive / WRT) and in a set of four IBM 73Gb SAS drives which rotate weekly.
In another life I used Norton Ghost to do something similar at the office but now I am using clonezilla-live-3.2.0-5 to generate the compressed images which I then copy to the MBL/WRT via FTP. Turns out that it is much faster (~40Mb/s) than the native WRT rsync.
The thing is that I need to streamline the clonezilla-live booting process, at least to avoid having to choose various options to get the right keyboard layout every time I run it.
My usual keyboard option is a generic 105 key PC keyboard with Spanish Latin American layout, dead tilde, right AltGr and no compose key but I have not been able to figure out how to insert all that in the syslinux.cfg file.
eg:
These are the options I have to choose at boot time:
model: generic 105-key PC
layout: latam
variant: deadtilde
option: right AltGr and no compose
--- snip ---
kernel /live/vmlinuz
append initrd=/live/initrd.img boot=live union=overlay username=user config components quiet loglevel=0 noswap
edd=on nomodeset enforcing=0 noeject locales= keyboard-layouts= ocs_live_run="ocs-live-general"
ocs_live_extra_param="" ocs_live_batch="no" vga=788 net.ifnames=0 nosplash i915.blacklist=yes
radeonhd.blacklist=yes nouveau.blacklist=yes vmwgfx.enable_fbdev=1
--- snip ---
Where do I put all that if there is only locales= and keyboard-layouts= to use?
What would the correct syntaxis be?
Thanks in advance.
Best,
A.
Hello:
Just a (belated) comment / heads-up:
... enough RAM (4 GB or more) ...
My Devuan Daedalus system runs on a box with a 120GB SSD and 8GB RAM.
As my conky swap file use always read nought, I decided to reduce it to 2.6GB just in case some application looks for a swap file.
I plan to reduce it further should I need more space in / or /home.
Long after that, I set up a tmpfs like you suggested.
It ran without a hitch till a couple of days ago when I had a system lock-up while streaming a video.
Something I had never encountered before and made me fear for my system's SSD.
After making a full Clonezilla image of my system drive, I had a look (among other things) at df -h and found that it was set up with a capacity of 3.9GB, something I was not aware of:
$ df -h
--- snip ---
tmpfs 3.9G 18M 2.0G 1% /home/groucho/.cache/mozilla/firefox
--- snip ---
$
This is 50% of the available physical system RAM in my box.
And the default value tmpfs claims when it is set up without specifying the desired size.
In this specific case, it was more than the amount assigned* to /dev/shm:
$ df -h | grep tmpfs
tmpfs 788M 800K 787M 1% /run
tmpfs 5.0M 8.0K 5.0M 1% /run/lock
tmpfs 2.1G 0 2.1G 0% /dev/shm
tmpfs 3.9G 20M 2.0G 1% /home/groucho/.cache/mozilla/firefox
tmpfs 788M 8.0K 788M 1% /run/user/1000
$
* apparently limited by the amount of available RAM in a system
Suspecting some sort of conflict (?) somewhere, I did some searching and found this tidbit which may be of use.
I have now set it up with a specified size of 2GB:
$ cat /etc/fstab
--- snip ---
tmpfs /home/groucho/.cache/mozilla/firefox tmpfs nosuid,nodev,noatime,user,uid=1000,size=2G 0 0
$ df -h
--- snip ---
tmpfs 2.0G 18M 2.0G 1% /home/groucho/.cache/mozilla/firefox
--- snip ---
$
I really don't really know if the two lockups I had were caused by my system using a 3.9GB tmpfs but I'll report back if I get another lock-up.
Best,
A.
Hello:
Hooray for ...
It seems that the term enshitification was coined especially this type of crap.
Unbelievable (albeit not unexpected).
The Xfce crowd have been heading towards it for the longest while.
Best,
A.
Hello:
A hearty season's geeting (Merry Christmas / other celebrations, etc.) to all here at Dev1.
Especially so to all those who keep the Devuan project moving forward.
Best,
A.
Hello:
When to upgrade?
Hmmm ...
Never?
... meet a bug:
See?
Best,
A.
Hello:
... the only old geezer who runs pure ALSA and nothing else?
Let's see ...
Old ☑
Geezer ☑ -> actually, one of the US english slang terms for 'old'.
Pure ALSA ☑
Yes, add me to the list.
Add me to that list!
Nope.
Nocando Miss ...
Just using pure ALSA is not enough to qualify for that list.
Best,
A.
Hello:
... like to get Devuan going on it!
Check one of these, there may be something useful.
https://www.youtube.com/watch?v=UTXXvxUjd-A
https://www.youtube.com/watch?v=B9wbCOajZ2A
https://www.youtube.com/watch?v=_M_yOwBoCA8
No, I have not seen the videos.
Best,
A.
Hello:
... had a disruptive space on the line making it be "RESUME= none" .
I could have sworn I did a copy/paste of the original text by fsmithred.
Evidently not.
... the file gets processed as a shell script ...
... experience the shell script difference between the two lines lines:RESUME=none RESUME= none
In other words, a syntax error (?)
... first line sets RESUME to "none" ...
... second line sets RESUME to the empty string for a sub shell attempting to execute a program named "none".
Thank you for taking the time to explain all this.
Learn something every day.
... simple mistake to make ...
... usability coefficient for initramfs-tools has room to be raised.
And I should have checked ... 8^°
But it worked, I am no longer getting that line in my dmesg:
ie:
--- snip ---
[ 24.068315] PM: Image not found (code -22)
--- snip ---
Thank you very much for your input.
Best,
A.
Hello.
Not so sure ...
Not willing to let it go at that, I went over the error message again ...
# update-initramfs -u
--- snip ---
/usr/sbin/mkinitramfs: 5: /etc/initramfs-tools/conf.d/resume: none: not found
--- snip ---
#
... because it had to be a spelling or syntax problem.
ie: my bad.
I tried with misspelling none -> nones and got this:
# update-initramfs -u
--- snip ---
W: initramfs-tools configuration sets RESUME=nones
W: but no matching swap device is available.
--- snip ---
#
The system does not find a matching swap device, but that is not the error I previously had.
So I tried using the syntax that the error message actually printed out, ie: resume: none <- a space in the wrong place
and then got the original error message:
# update-initramfs -u
update-initramfs: Generating /boot/initrd.img-6.1.0-28-amd64
/usr/sbin/mkinitramfs: 5: /etc/initramfs-tools/conf.d/resume: none: not found
I: The initramfs will attempt to resume from /dev/sda3
I: (UUID=f0187ff0-be52-4bbc-9461-40f744554b85)
I: Set the RESUME variable to override this.
live-boot: core filesystems dm-verity devices utils udev blockdev dns.
#
So ...
Mystery solved.
ie: a severe case of PEBCAK. 8^°
Once again, thanks for your input.
Best,
A.
Hello:
Please show the file in that failing use case, when you set RESUME=none ...
I had deleted the edited file and returned to the back-up I saved.
So I re-edited it now.
$ cat /etc/initramfs-tools/conf.d/resume
# changed 06122024
# see https://dev1galaxy.org/viewtopic.php?pid=53266#p53266
# this box does not use hibernation / resume
RESUME=none
# RESUME=UUID=f0187ff0-be52-4bbc-9461-40f744554b85
$
But now it works.
# update-initramfs -u
update-initramfs: Generating /boot/initrd.img-6.1.0-28-amd64
live-boot: core filesystems dm-verity devices utils udev blockdev dns.
#
I'm sure I had written / spelled it correctly.
But if it did not work, there was obviously something amiss.
Maybe the added comments?
Not so sure now. 8^/
Thank you very much for your input.
Best,
A.
Hello:
Please show ...
$ cat /etc/initramfs-tools/conf.d/resume
RESUME=UUID=f0187ff0-be52-4bbc-9461-40f744554b85
$
$ sudo blkid
--- snip ---
/dev/sdb3: UUID="f0187ff0-be52-4bbc-9461-40f744554b85" TYPE="swap" PARTUUID="0004a8f4-03"
--- snip ---
$
Is there another file ...
No, just that one.
$ ls /etc/initramfs-tools/conf.d/
resume
$
Thank you for your input.
Best,
A.
Hello:
This topic is a split from this this thread.
(See posts #19 / #20)
--- split ---
... want to hibernate to disk, replace "none" with the uuid of your swap partition.
--- /split---
That is exactly what my box has and the UUID is the swap file.
But it happens that I do not keep my system on all day, just shut down and reboot as needed.
ie: there is no hibernation image present, never set it up to hibernate.
At some point my dmesg printout reads:
--- snip ---
[ 24.068315] PM: Image not found (code -22)
--- snip ---
Q:
Does the system look for a hibernation image at boot time because the line in /etc/initramfs-tools/conf.d/resume is not set to =none and there is a valid (swap file) UUID present?
If I edit /etc/initramfs-tools/conf.d/resume and set RESUME=none, on updating I get this:
# update-initramfs -u
update-initramfs: Generating /boot/initrd.img-6.1.0-28-amd64
/usr/sbin/mkinitramfs: 5: /etc/initramfs-tools/conf.d/resume: none: not found
I: The initramfs will attempt to resume from /dev/sdb3
I: (UUID=f0187ff0-be52-4bbc-9461-40f744554b85)
I: Set the RESUME variable to override this.
live-boot: core filesystems dm-verity devices utils udev blockdev dns.
#
The system looks for a swap file and not finding one with a UUID of none, finds one with a valid UUID and uses it.
But like I said, I never set the system up for hibernation and although the system finds a swap file to hibernate, it does not (as dmesg indicates) find an image. (I am assuming it is a hibernation image)
How to solve this?
Thanks in advance.
Best,
A.
Hello:
@Altoid no worried from me about thread-jacking ...
Thanks, but it is your thread ie: started by you.
... forum decorum being what it is ...
... is the reason I made reference to thread-jacking.
But I see no need to change anything.
My piggybacked question was posted on the answer fsmithred posted for you.
Still your thread.
Best,
A.
Hello:
This post caught my eye.
Don't want to hijack the thread but seems relevant.
So just one question, if I may.
Please let me know if it warrants a separate thread.
... want to hibernate to disk, replace "none" with the uuid of your swap partition.
That is exactly what my box has and the UUID is the swap file.
But it happens that I do not keep my system on all day, just shut down and reboot.
ie: there is no hibernation image present, never set it up to hibernate.
At some point my dmesg printout reads:
--- snip ---
[ 24.068315] PM: Image not found (code -22)
--- snip ---
Q:
Does the system look for a hibernation image at boot time because the line in /etc/initramfs-tools/conf.d/resume is not set to =none and there is a valid (swap file) UUID present?
If I edit /etc/initramfs-tools/conf.d/resume and set RESUME=none, on updating I get this:
# update-initramfs -u
update-initramfs: Generating /boot/initrd.img-6.1.0-28-amd64
/usr/sbin/mkinitramfs: 5: /etc/initramfs-tools/conf.d/resume: none: not found
I: The initramfs will attempt to resume from /dev/sdb3
I: (UUID=f0187ff0-be52-4bbc-9461-40f744554b85)
I: Set the RESUME variable to override this.
live-boot: core filesystems dm-verity devices utils udev blockdev dns.
#
The system looks for a swap file and not finding one with a UUID of none, finds one and uses it.
What to do?
Best,
A.