Error - Performing Porteus update check

Non release banter
User avatar
Moi
Black ninja
Black ninja
Posts: 35
Joined: 22 Dec 2024, 18:04
Distribution: Porteus 5.01

Error - Performing Porteus update check

Post#1 by Moi » 17 Jan 2025, 18:54

Some time, after restart i have this

ERROR base folder not at : ....... ..... .. https://ibb.co/xhyVJWg
Image
but, base folder is there...? (see Fig)

Thnx

User avatar
Ed_P
Contributor
Contributor
Posts: 8954
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 5.01 ISO
Location: Western NY, USA

Error - Performing Porteus update check

Post#2 by Ed_P » 17 Jan 2025, 21:18

Moi wrote:
17 Jan 2025, 18:54
but, base folder is there...? (see Fig)
I don't see your base folder. Either in a screen shot of your screen or the output of an 'ls' command.

Post the output of a 'cat /proc/cmdline' terminal command on the system you're having the problem with.

User avatar
Moi
Black ninja
Black ninja
Posts: 35
Joined: 22 Dec 2024, 18:04
Distribution: Porteus 5.01

Error - Performing Porteus update check

Post#3 by Moi » 17 Jan 2025, 23:21

Ed_P,

Sorry for responding some hours later so but now i seen you wrote

Code: Select all

guest@porteus:~$ cat /proc/cmdline
quiet BOOT_IMAGE=/boot/syslinux/vmlinuz changes=/porteus/ noauto copy2ram  initrd=/boot/syslinux/initrd.xz
https://ibb.co/kcKg1qX
Image

im in 6.8.10 Porteus 5.01
Last edited by Ed_P on 18 Jan 2025, 16:30, edited 1 time in total.
Reason: Added ibb.co's BBcode for the image.

User avatar
Ed_P
Contributor
Contributor
Posts: 8954
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 5.01 ISO
Location: Western NY, USA

Error - Performing Porteus update check

Post#4 by Ed_P » 17 Jan 2025, 23:45

:good: Now I see your base folder and it's location. I don't know why you're getting the error, or how to resolve it, but now I see the problem. :happy62:

User avatar
Moi
Black ninja
Black ninja
Posts: 35
Joined: 22 Dec 2024, 18:04
Distribution: Porteus 5.01

Error - Performing Porteus update check

Post#5 by Moi » 18 Jan 2025, 00:33

Ed_P wrote:
17 Jan 2025, 23:45
:good: Now I see your base folder and it's location. I don't know why you're getting the error, or how to resolve it, but now I see the problem. :happy62:
is this a problem because i am currently using /porteus 5.01 and it is fully functional even without those update? (so when i go to performing update check) ERROR base folder not at : ....... ..... .?!!

User avatar
Ed_P
Contributor
Contributor
Posts: 8954
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 5.01 ISO
Location: Western NY, USA

Error - Performing Porteus update check

Post#6 by Ed_P » 18 Jan 2025, 00:43

Well, I guess it depends on when it occurs and what has been run before it. Try rebooting and before invoking a lot of apps try another update.

I'm in Porteus-CINNAMON-v5.01-x86_64-241211.iso

Code: Select all

~#  uname -as:~$ ./SysSnapshot.sh
Linux porteus.example.net 6.8.10-porteus #1 SMP PREEMPT_DYNAMIC Fri May 17 18:09:34 MSK 2024 x86_64 11th Gen Intel(R) Core(TM) i5-1135G7 @ 2.40GHz GenuineIntel GNU/Linux

~#  cat /etc/porteus/*
001-core.xzm:20241212
002-xorg.xzm:20241212
002-xtra.xzm:20240924
003-cinnamon.xzm:20240924
initrd.xz:20230923

User avatar
ncmprhnsbl
DEV Team
DEV Team
Posts: 4289
Joined: 20 Mar 2012, 03:42
Distribution: v5.0-64bit
Location: australia
Contact:

Error - Performing Porteus update check

Post#7 by ncmprhnsbl » 18 Jan 2025, 04:49

Moi wrote:
17 Jan 2025, 18:54
Some time, after restart i have this

ERROR base folder not at :
odd .. this is these lines in /opt/porteus-scripts/update-porteus script:
line 134/135 :

Code: Select all

BASEFOLDER=$PORTDIR/base
[ ! -e $BASEFOLDER/000-kernel*.xzm ] && { sayerror "Base folder not at: $BASEFOLDER"; cleanup; }
your $PORTDIR appears to be correct and is found and 000-kernel.xzm is clearly present..
possibly something to do with copy2ram and/or noauto, no idea why..
EDIT: seems to be that ... make sure that your boot device is mounted before running the updater.
Forum Rules : https://forum.porteus.org/viewtopic.php?f=35&t=44

User avatar
Moi
Black ninja
Black ninja
Posts: 35
Joined: 22 Dec 2024, 18:04
Distribution: Porteus 5.01

Error - Performing Porteus update check

Post#8 by Moi » 18 Jan 2025, 14:41

Ed_P, ncmprhnsbl,

Hi, I found this solution, I went to the base folder and made a copy past all five modules, that is, each module was duplicated twice and then I went and updated them and it was ok - Base folder is writable - (see the Fig below) then I restarted and went to the base foder, I canceled the 5 duplicate modules, so I left only the 5 original modules and then I updated them, it was ok..for sure, I restarted and updatet 3 times and it was ok.

https://ibb.co/BjfGbqQ
Image

Thank you for your help
Last edited by Ed_P on 18 Jan 2025, 16:27, edited 1 time in total.
Reason: Added ibb.co's BB code for the image.

User avatar
Ed_P
Contributor
Contributor
Posts: 8954
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 5.01 ISO
Location: Western NY, USA

Error - Performing Porteus update check

Post#9 by Ed_P » 18 Jan 2025, 16:39

:celebrate3: Happpy to hear you got things working. :happy62:

Still a little confused about your configuration. You have a /porteus folder now on only the EXT4 partition, yes? And the Porteus Update is updating the files there.

User avatar
Moi
Black ninja
Black ninja
Posts: 35
Joined: 22 Dec 2024, 18:04
Distribution: Porteus 5.01

Error - Performing Porteus update check

Post#10 by Moi » 18 Jan 2025, 18:17

Ed_P,
Thnx
I'm clarifying everything, but first I'm telling you that Porteus is my final choice .. there can't be another Linux OS in my mind ....
ok so i installet it in HDD with EXT4 partition (yes you right ) with the option ---- APPEND changes=/porteus/ noauto copy2ram ---- :) :) :)

But I have another problem that seems to have been solved for the moment
when I installed Porteus 5.01 a few days ago in my PC after installing end restarting it it goes in black screen and stayed like that for a few minutes nothing only black screen so after spending some days with problem (maybe is my pc problem not new) So I found a solution I created another partition with EXT4 file end installed Porteus 4
end this one opened in my Pc very normaly never problems with him ..ok installed Porteus 4 with grub end now i have all two Porteus in two different partitions end when i go to starting it opens first Porteus 4 and then I go and choose Porteus 5 and so it opens without problem i.e. through Porteus 4 I manage to open Porteus 5.01
thats my situation :) :( :D :lol:

User avatar
dreadbird
Samurai
Samurai
Posts: 182
Joined: 08 Dec 2024, 04:30
Distribution: porteus5

Error - Performing Porteus update check

Post#11 by dreadbird » 18 Jan 2025, 21:06

are you on uefi secure boot off? thats what I use

if you want to boot like this you need to have gtp type partition which I recommend only doing with a formatted drive first.

you copy the also the /efi folder with /boot and /porteus

then add this to custom_40

#this boots directly into porteus
menuentry "Porteus5.01" {
set root=(hd0,1)
search --no-floppy --fs-uuid --set=root 66DD-8703
linux /boot/syslinux/vmlinuz changes=UUID:c012e6fd-3881-4876-bef8-12685e4b1b75/changes12
initrd /boot/syslinux/initrd.xz
}

#this boots to the porteus bootmanager from grub2
menuentry "PorteusBootmanager"{
set root='(hd0,1)'
search --no-floppy --fs-uuid --set=root 66DD-8703

chainloader /efi/boot/bootx64.efi
}


obviously you only want one menu entry so I use

#this boots to the porteus bootmanager from grub2
menuentry "Porteus5.01"{
set root='(hd0,1)'
search --no-floppy --fs-uuid --set=root 66DD-8703

chainloader /efi/boot/bootx64.efi
}


update-grub and it will add the menu entries from custom_40

this is the manual way to do it. see below for using grub customizer.

I do it this way because to have csm on is a pain to switch back to windows (battleeye or anti cheats will end up kicking you) if youre on csm.


for beginners which is what I am I use ubuntu which installs grub2 on my windows drive. so having windows 11 and ubuntu on the same drive.

then inside ubuntu I use grub customize which is a gui
that you can easily change your menu entries, add themes and important set the resoltuion to 1024x768x32.

I use the theme from blaze on the forum
https://www.mediafire.com/file/5h7x9tg9 ... us.tar.bz2
select the tar in add themes and you have your theme installed.

press save and it will update the grub bootloader

User avatar
Moi
Black ninja
Black ninja
Posts: 35
Joined: 22 Dec 2024, 18:04
Distribution: Porteus 5.01

Error - Performing Porteus update check

Post#12 by Moi » 18 Jan 2025, 21:51

dreadbird,

Thank you for your help
but at the moment I am continuing like this... it seems that works.... because I also have a partition in this HDD with ntfs file so... maybe if i have problems in the future, I will do as you instructed here...
:) :( :(

User avatar
Ed_P
Contributor
Contributor
Posts: 8954
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 5.01 ISO
Location: Western NY, USA

Error - Performing Porteus update check

Post#13 by Ed_P » 18 Jan 2025, 23:51

Moi wrote:
18 Jan 2025, 18:17
ok installed Porteus 4 with grub end now i have all two Porteus in two different partitions end when i go to starting it opens first Porteus 4 and then I go and choose Porteus 5
:o Please post the grub menu entry you use to boot Porteus 4.0 and the Porteus 4.0 m4nu entry you use to boot Porteus 5.01. I boot my systems with grub2.
dreadbird wrote:
18 Jan 2025, 21:06
I use ubuntu which installs grub2 on my windows drive.
I install grub2 using the Grub2Win app. :good:
dreadbird wrote:
18 Jan 2025, 21:06
if you want to boot like this you need to have gtp type partition which I recommend only doing with a formatted drive first.
I don't recommend this for a computer's bootable hard drive. This old GTP discussion might interest you: Uefi and porteus 3.0

User avatar
dreadbird
Samurai
Samurai
Posts: 182
Joined: 08 Dec 2024, 04:30
Distribution: porteus5

Error - Performing Porteus update check

Post#14 by dreadbird » 19 Jan 2025, 03:57

Yeah that would be the best route. I just figured out how to use chainloader today so my grub2 can do all 3.

uefi secure boot off

grub2

porteus5 ---> porteus efi bootloader
ubuntu
windows11

I wonder if chainloader +1 would boot the lilo bootloader from the porteus installer (tells it to read the first sector)
ill try it out


tried it out and doesnt work while on uefi. so to do that if you switch to CSM it would probably work

menuentry "myporteusdrive" {
set root=(hd0,1)
chainloader +1
}

User avatar
Ed_P
Contributor
Contributor
Posts: 8954
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 5.01 ISO
Location: Western NY, USA

Error - Performing Porteus update check

Post#15 by Ed_P » 19 Jan 2025, 05:29

A couple of my grub2 menus for booting a FAT32 USB Porteus stick.

Code: Select all

menuentry " Porteus 5.0 USB - EFI" --class slackware   --class user-icon-porteus  {

     set bootmgr=/EFI/boot/bootx64.efi          #grubx64.efi    # bootx64.efi

     set bootdrv=$root
     search -f $bootmgr --set=root
     echo USB: $root
     sleep -v -i 4
     if [ $root != $bootdrv ]; then
        chainloader $bootmgr
     else
        echo "----------------------------------------"
        echo USB drive NOT found.
        echo
        sleep -v -i 10
     fi
     set root=$bootdrv
     }

menuentry " Porteus 5.0 USB - AF'" --class slackware   --class user-icon-porteus  {

     set bootmgr=/boot/syslinux/vmlinuz
     set bootparms="volume=33 reboot=cold extramod=/Modules"   # changes=EXIT:/changes/porteussave.dat"

     set bootdrv=$root
     search -f $bootmgr --set=root
     if [ $root != $bootdrv ]; then
        linux  /boot/syslinux/vmlinuz $bootparms
        initrd /boot/syslinux/initrd.xz
     else
        echo "----------------------------------------"
        echo USB drive NOT found.
        echo
        sleep -v -i 10
     fi
     set root=$bootdrv
     }
No specific drive set.

Post Reply