Page 1 of 1
upgrade-kernel failed to work in fossadog[solved]
Posted: Thu May 11, 2023 1:03 pm
by helloworld
upgrade-kernel failed to work in fossadog.i recently apt dist-upgraded the fassadog,when i tried to upgrade kernel with upgrade-kernel ,it worked bad. it did tell me it generated the kernel and initrd when it poped up that mesage box at last step ,but no kernel and initrd was acually generated. I tried many times,it is sure that upgrade-kernel doesnt work well.
Re: upgrade-kernel failed to work in fossadog
Posted: Thu May 11, 2023 5:56 pm
by fredx181
helloworld wrote: ↑Thu May 11, 2023 1:03 pm
upgrade-kernel failed to work in fossadog.i recently apt dist-upgraded the fassadog,when i tried to upgrade kernel with upgrade-kernel ,it worked bad. it did tell me it generated the kernel and initrd when it poped up that mesage box at last step ,but no kernel and initrd was acually generated. I tried many times,it is sure that upgrade-kernel doesnt work well.
Yes, had a look at it now, it's because of changes at the Ubuntu end (note that I'm not really maintaining FossaDog anymore, there may be other problems too because of Ubuntu changes).
Should be fixed by installing latest upgrade-kernel v1.0.8 with apt or download and install deb:
https://debiandog.github.io/FossaDog/Pa ... .8_all.deb
Needs testing more though, I just fixed some things in the upgrade-kernel script and ran without errors for me, but didn't test booting with the new kernel (newest 5.4 = 5.4.0-148-generic at this time).
i recently apt dist-upgraded the fossadog
Is it still the "Focal Fossa" release after upgrading ?, if so then upgrade-kernel should work, but probably (?) not if you (dist) upgraded to next release, e.g. Jammy.
Re: upgrade-kernel failed to work in fossadog
Posted: Fri May 12, 2023 2:00 am
by helloworld
Thanks for the reply.Yes,it is fossadog,not jammy.I tried new upgrade-kernel,it worked well.Thanks for your work.
Re: upgrade-kernel failed to work in fossadog[solved]
Posted: Sun Nov 17, 2024 5:48 am
by Luluc
How does upgrade-kernel select the new kernel? I tried it and it built 5.4.0-200, but I found 5.15.0-97 in the repository.
I am having problems with wifi. I found a thread on some ubuntu forum saying that the entire 5.4 series has wifi problems. Indeed, 5.4.0-200 did not solve mine.
Re: upgrade-kernel failed to work in fossadog[solved]
Posted: Sun Nov 17, 2024 11:06 am
by fredx181
Luluc wrote: ↑Sun Nov 17, 2024 5:48 am
How does upgrade-kernel select the new kernel? I tried it and it built 5.4.0-200, but I found 5.15.0-97 in the repository.
I am having problems with wifi. I found a thread on some ubuntu forum saying that the entire 5.4 series has wifi problems. Indeed, 5.4.0-200 did not solve mine.
Yes, it will update only to the newest "standard" (5.4) kernel (linux-image-generic).
Here's a kernel "package" 5.15.0-125 that I made:
https://github.com/DebianDog/FossaDog/r ... ric.tar.gz
Extract in the 'casper' folder (must replace existing initrd1.xz and vmlinuz, backup these first).
I tested and it's booting ok, but don't know if it will solve your wifi problem.
edit: improvement is also that it can boot from nvme drive.
Re: upgrade-kernel failed to work in fossadog[solved]
Posted: Sun Nov 17, 2024 4:45 pm
by Luluc
Thanks once again. It boots and seems to work fine.
It didn't solve my wifi problems though.
How do you make the kernel? I wish I didn't have to depend on you. Having to beg for stuff that was readily available on regular distros was the reason I gave up on Puppy 14 years ago.
Re: upgrade-kernel failed to work in fossadog[solved]
Posted: Mon Nov 18, 2024 9:39 am
by fredx181
Luluc wrote: ↑Sun Nov 17, 2024 4:45 pm
Thanks once again. It boots and seems to work fine.
It didn't solve my wifi problems though.
How do you make the kernel? I wish I didn't have to depend on you. Having to beg for stuff that was readily available on regular distros was the reason I gave up on Puppy 14 years ago.
Basically what I did (includes some trial and error, but you may get the picture):
- Installed the kernel + linux-modules-extra (required for aufs support) from synaptic
- 2024-11-17-091234_689x474_scrot.png (76.25 KiB) Viewed 158 times
- Ran from terminal /usr/local/cr-initrd/mkinitrd
(it's part of the upgrade-kernel package, see below for newer version) and chose for the new kernel just installed, to create new initrd1.xz
- Copy the created /tmp/initrd1.xz to folder casper in the frugal install (replaced)
- Copy /boot/vmlinuz-5.15.0-125-generic to the casper folder (renamed to vmlinuz)
- To test, rebooted with saved changes
- Found that it didn't boot from my nvme drive
- Made some changes for initrd creating to support nvme
- Once that was fixed, created .squashfs from lib/modules including only the new kernel, copied it to the casper folder
The lib/modules/5.15.0-125-generic directory can be deleted from the changes then, since booted with the kernel .squashfs
Now made new upgrade-kernel package v1.0.9 apt update; apt install upgrade-kernel
, the created initrd1.xz with mkinitrd will be much smaller and supports booting from nvme .
EDIT: Just now also added to repo: upgrade-kernel-mod, installing it will replace upgrade-kernel apt update; apt install upgrade-kernel-mod
Difference with upgrade-kernel is that it will search for the latest version unsigned generic kernel (5.15 series now).
(so using this (running upgrade-kernel
) will give similar result as when doing all above steps )
Re: upgrade-kernel failed to work in fossadog[solved]
Posted: Tue Nov 19, 2024 8:50 pm
by Luluc
When fossa is booting, there is this message:
Code: Select all
^ copying content of /mnt/sda1/fossa/casper/rootcopy directory
After I installled the new kernel you provided, now the following is added:
Does that matter?
Another side effect is that the bootup sequence font is now large and ugly. It becomes small and better looking after a while, near the end of the bootup sequence. Not really important, just FYI FWIW.
Re: upgrade-kernel failed to work in fossadog[solved]
Posted: Tue Nov 19, 2024 9:12 pm
by fredx181
Luluc wrote: ↑Tue Nov 19, 2024 8:50 pm
When fossa is booting, there is this message:
Code: Select all
^ copying content of /mnt/sda1/fossa/casper/rootcopy directory
The rootcopy is an extra feature, put folders/files in there and it will be copied to the system.
Note that these will overwrite files if also in the save storage (and also other files will be overwritten, if I remember well).
No.
I never could find out where it comes from exactly, but also never noticed anything wrong that might have caused by that.