libera/#devuan-dev/ Wednesday, 2022-07-20

Guest20I added an item to grub.cfg:19:05
Guest20menuentry "persistence" {19:05
Guest20    set gfxpayload=keep19:05
Guest20    linux   /live/vmlinuz boot=live username=devuan quiet splash noautomount persistence noapic noapm nodma nomce nolapic nosmp vga=normal apparmor=019:05
Guest20    initrd  /live/initrd.img19:05
Guest20but it doesn't show up when loading the grub menu.19:05
Guest20I can't understand what is the problem.19:05
fsmithredGuest20, when you are at the boot menu, what key lets you edit the current boot entry? Is it TAB or e?19:07
Guest20tab19:07
fsmithredgood. You need to find and edit the isolinux or syslinux boot menu because the usb is not using grub to boot.19:08
fsmithredbrb19:09
Guest20"usb is not using grub to boot" What does this mean?19:13
fsmithredfor your purposes, it means that changes to grub.cfg will have no effect. In fact, none of the entries in grub.cfg are showing up.19:14
fsmithredyou're using a different bootloader.19:14
fsmithredisolinux for cdrom, syslinux for fat3219:14
fsmithredext linux for ext2/3/419:15
fsmithredextlinux19:15
fsmithredone word19:15
Guest20Where can I find file syslinux?19:16
fsmithredsomewhere in the directory structure you copied from the iso file.19:16
fsmithredDid you copy everything or just selected parts. Oh, you probably don't even know because rufus did it.19:17
fsmithredwhat's the directory structure on the usb?19:17
fsmithredis there a syslinux directory?19:17
fsmithredif so, it should contain one or more .cfg files. Boot entries are in one of those.19:18
fsmithredmaybe live.cfg19:18
Guest20"what's the directory structure on the usb?"19:21
Guest20autorun.ico   autorun.inf   boot   efi   isolinux   ldlinux.sys   live   syslinux.cfg19:21
fsmithredlook in syslinux.cfg19:21
fsmithredor else in the isolinux directory19:21
Guest20Then I will reboot into RAM mode, edit the syslinux.cfg file. I'll be back in the chat in 10 minutes.19:24
fsmithred?19:50
Guest98I thought of reconnecting the flash drive and measuring the file /sdb1/isolinux/isolinux.cfg19:52
Guest98After I rebooted, I saw a new menu item "persistence". After I selected this item and started the system, it started (the process was slower than usual).19:52
Guest98I was disappointed.19:52
Guest98Partitions sdb1 and sdb2 were mounted in /lib/live/mount/persistence/19:52
Guest98Only partition sdb2 was writable.19:52
Guest98The new menu item looks like:19:52
Guest98label persistence19:52
Guest98    menu label persistence19:52
Guest98    linux   /live/vmlinuz boot=live username=devuan quiet splash noautomount persistence noapic noapm nodma nomce nolapic nosmp vga=normal apparmor=019:52
Guest98    initrd  /live/initrd.img19:52
bgstack15Devuan meet tomorrow, July 21, at 20:30 UTC. Pad is here: https://pad.dyne.org/code/#/2/code/edit/9GhXZSZzcrjw2-RZN+R2SEWd/19:56
fsmithredGuest98, it's normal that the first partition is read-only.20:04
fsmithreddo changes persist? Touch or edit a file and reboot to see if it's still there.20:05
Guest98I reboot and return to the chat.20:08
Guest70+fsmithred, The changes are preserved, but I did not like that the loading of the system is 2-3 minutes. The file is also preserved in /lib/live/mount/persistence/sdb2/rw/home/devuan/Downloads/ instead of /lib/live/mount/persistence/sdb2/home/devuan/Downloads/.20:24
Guest70I want to fix it so that /home/devuan/Downloads/file corresponds to /(partition sdb2)/home/devuan/Downloads/file.20:24
Guest70Is it right or wrong?20:24
fsmithredGuest70, all the changes are kept in rw. That's the way it works. Add persistence-media=removable-usb to boot command. That should speed up the boot.20:32
Guest70+fsmithred, Do you need to add this line in isolinux.cfg?20:34
fsmithredyes20:35

Generated by irclog2html.py 2.17.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!