Cannot save changes on porteus 5.01

Post here if you are a new Porteus member and you're looking for some help.
Skhife
Ronin
Ronin
Posts: 1
Joined: 19 Dec 2023, 05:47
Distribution: Antix

Cannot save changes on porteus 5.01

Post#1 by Skhife » 19 Dec 2023, 06:14

So i want to install portus 5.01 on my laptop, i want to istall it into my hdd but i cant save changes, previously i cant turn on wireless but i found a thread that fix it

Im installing it from usb using rufus & ventoy , and when im at linux I'm executing Portus_installer_for_Linux.com
But there is error 2
Output on terminal:

Code: Select all

partition: /dev/sda10
partition mount point: /mnt/sda10
installation path: /mnt/sda10/boot
filesystem: ext4
bootloader: lilo
error code: 2
system: porteus.example.net 6.5.5-porteus x86_64
mount details: /dev/sda10 /mnt/sda10 ext4 rw,relatime 0 0
full partition scheme:
Disk /dev/loop0: 93.1 MiB, 97619968 bytes, 190664 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/loop1: 122.9 MiB, 128868352 bytes, 251696 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/loop2: 112.09 MiB, 117538816 bytes, 229568 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/loop3: 17.64 MiB, 18497536 bytes, 36128 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/loop4: 82.85 MiB, 86872064 bytes, 169672 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/sda: 298.09 GiB, 320072933376 bytes, 625142448 sectors
Disk model: ST320LT012-9WS14
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: gpt
Disk identifier: 4BEA610B-3828-4BE3-BDCD-641C376CC797

Device         Start       End   Sectors   Size Type
/dev/sda1       2048    923647    921600   450M Windows recovery environment
/dev/sda2     923648   1128447    204800   100M EFI System
/dev/sda3    1128448   1161215     32768    16M Microsoft reserved
/dev/sda4    1161216  85047295  83886080    40G Linux filesystem
/dev/sda5   85047296  93435903   8388608     4G Linux swap
/dev/sda6   93435904  94459903   1024000   500M EFI System
/dev/sda7   94459904 245762047 151302144  72.1G Linux filesystem
/dev/sda8  245762048 245764095      2048     1M Microsoft basic data
/dev/sda9  245764096 593680383 347916288 165.9G Microsoft basic data
/dev/sda10 593680384 625141759  31461376    15G Linux filesystem


Disk /dev/sdb: 14.32 GiB, 15376000000 bytes, 30031250 sectors
Disk model: Ultra           
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: gpt
Disk identifier: 5D664755-6EF1-438C-8490-94AEE050457D

Device     Start      End  Sectors  Size Type
/dev/sdb1   2048 30031215 30029168 14.3G Microsoft basic data
So i just ignore it and adding bootable using grub2win

Code: Select all

getpartition file /mnt/sda10/USB_INSTALLATION.txt
linux (location of linuz file)
initrd (location of initrd file)
it boot but the issue right now is i cant save changes, the only way i can do to save changes is saving session to module.xzm.
I tried method from someone at 2015 but didnt work

(Im installing it to my hdd / internal storage)
If anyone had fix please tell me :wall:

-Cheers skhife

beny
Full of knowledge
Full of knowledge
Posts: 2098
Joined: 02 Jan 2011, 11:33
Location: italy

Cannot save changes on porteus 5.01

Post#2 by beny » 19 Dec 2023, 14:46

hi you have to make a directory named changes into the root directory and append to the sylinux line like this: i like to start system with text mode so i have the changes in txt line the first one start to init4,but have the changes too. this is porteux but porteus is the same

LABEL graphical
MENU LABEL Graphics Mode
KERNEL /boot/syslinux/vmlinuz
INITRD /boot/syslinux/initrd.zst
APPEND changes=/porteux

LABEL fresh
MENU LABEL Always Fresh
KERNEL /boot/syslinux/vmlinuz
INITRD /boot/syslinux/initrd.zst
APPEND nomagic base_only norootcopy

LABEL copy2ram
MENU LABEL Copy To RAM
KERNEL /boot/syslinux/vmlinuz
INITRD /boot/syslinux/initrd.zst
APPEND copy2ram

LABEL text
MENU LABEL Text Mode
KERNEL /boot/syslinux/vmlinuz
INITRD /boot/syslinux/initrd.zst
APPEND changes=/porteux 3

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

Cannot save changes on porteus 5.01

Post#3 by Ed_P » 19 Dec 2023, 18:14

Skhife wrote:
19 Dec 2023, 06:14

Code: Select all

Device         Start       End   Sectors   Size Type
/dev/sda1       2048    923647    921600   450M Windows recovery environment
/dev/sda2     923648   1128447    204800   100M EFI System
/dev/sda3    1128448   1161215     32768    16M Microsoft reserved
/dev/sda4    1161216  85047295  83886080    40G Linux filesystem
/dev/sda5   85047296  93435903   8388608     4G Linux swap
/dev/sda6   93435904  94459903   1024000   500M EFI System
/dev/sda7   94459904 245762047 151302144  72.1G Linux filesystem
/dev/sda8  245762048 245764095      2048     1M Microsoft basic data
/dev/sda9  245764096 593680383 347916288 165.9G Microsoft basic data
/dev/sda10 593680384 625141759  31461376    15G Linux filesystem
Those two EFI partitions are going to be a problem for you. I recommend deleting the one Windows isn't using. Probably a result from using rufus and/or ventoy.

BTW beny's APPEND changes=/porteus menu change relates to the Porteus /boot/syslinux/porteus.cfg file.
Ed

beny
Full of knowledge
Full of knowledge
Posts: 2098
Joined: 02 Jan 2011, 11:33
Location: italy

Cannot save changes on porteus 5.01

Post#4 by beny » 19 Dec 2023, 19:12

hi Ed_P maybe the efi partition 100M is for the recovery environment so is better it stay on the place,but i can go wrong on this.

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

Cannot save changes on porteus 5.01

Post#5 by Ed_P » 19 Dec 2023, 19:57

beny wrote:
19 Dec 2023, 19:12
maybe the efi partition 100M is for the recovery environment
Unlikely. My Windows' EFI partition is 150 MB and it boots Windows, Recovery and Grub2Win. The EFI on my USB drive is only 720 KB. 500 MB is way over allocated. Easy enough to check which was added recently, check the file dates in the EFI folders.

Added in 17 minutes 7 seconds:
The contents of my EFI folder:

Code: Select all

guest@porteus:/mnt/nvme0n1p1/EFI$ ls -hon
total 8.0K
drwxrwxrwx 2 1000 2.0K Jul 29  2021 Boot/
drwxrwxrwx 4 1000 2.0K Jul 29  2021 Microsoft/
drwxrwxrwx 5 1000 2.0K Dec 12 15:26 dell/
drwxrwxrwx 3 1000 2.0K Dec 11 01:47 grub2win/
guest@porteus:/mnt/nvme0n1p1/EFI$ 
Added in 30 minutes 6 seconds:

Code: Select all

guest@porteus:/mnt/nvme0n1p1/EFI$ du -hd1
27M	./Microsoft
1.7M	./Boot
60M	./dell
1.2M	./grub2win
89M	.
guest@porteus:/mnt/nvme0n1p1/EFI$ 
Ed

Post Reply