Guest20 | I added an item to grub.cfg: | 19:05 |
---|---|---|
Guest20 | menuentry "persistence" { | 19:05 |
Guest20 | set gfxpayload=keep | 19:05 |
Guest20 | linux /live/vmlinuz boot=live username=devuan quiet splash noautomount persistence noapic noapm nodma nomce nolapic nosmp vga=normal apparmor=0 | 19:05 |
Guest20 | initrd /live/initrd.img | 19:05 |
Guest20 | but it doesn't show up when loading the grub menu. | 19:05 |
Guest20 | I can't understand what is the problem. | 19:05 |
fsmithred | Guest20, when you are at the boot menu, what key lets you edit the current boot entry? Is it TAB or e? | 19:07 |
Guest20 | tab | 19:07 |
fsmithred | good. You need to find and edit the isolinux or syslinux boot menu because the usb is not using grub to boot. | 19:08 |
fsmithred | brb | 19:09 |
Guest20 | "usb is not using grub to boot" What does this mean? | 19:13 |
fsmithred | for 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 |
fsmithred | you're using a different bootloader. | 19:14 |
fsmithred | isolinux for cdrom, syslinux for fat32 | 19:14 |
fsmithred | ext linux for ext2/3/4 | 19:15 |
fsmithred | extlinux | 19:15 |
fsmithred | one word | 19:15 |
Guest20 | Where can I find file syslinux? | 19:16 |
fsmithred | somewhere in the directory structure you copied from the iso file. | 19:16 |
fsmithred | Did you copy everything or just selected parts. Oh, you probably don't even know because rufus did it. | 19:17 |
fsmithred | what's the directory structure on the usb? | 19:17 |
fsmithred | is there a syslinux directory? | 19:17 |
fsmithred | if so, it should contain one or more .cfg files. Boot entries are in one of those. | 19:18 |
fsmithred | maybe live.cfg | 19:18 |
Guest20 | "what's the directory structure on the usb?" | 19:21 |
Guest20 | autorun.ico autorun.inf boot efi isolinux ldlinux.sys live syslinux.cfg | 19:21 |
fsmithred | look in syslinux.cfg | 19:21 |
fsmithred | or else in the isolinux directory | 19:21 |
Guest20 | Then 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 |
Guest98 | I thought of reconnecting the flash drive and measuring the file /sdb1/isolinux/isolinux.cfg | 19:52 |
Guest98 | After 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 |
Guest98 | I was disappointed. | 19:52 |
Guest98 | Partitions sdb1 and sdb2 were mounted in /lib/live/mount/persistence/ | 19:52 |
Guest98 | Only partition sdb2 was writable. | 19:52 |
Guest98 | The new menu item looks like: | 19:52 |
Guest98 | label persistence | 19:52 |
Guest98 | menu label persistence | 19:52 |
Guest98 | linux /live/vmlinuz boot=live username=devuan quiet splash noautomount persistence noapic noapm nodma nomce nolapic nosmp vga=normal apparmor=0 | 19:52 |
Guest98 | initrd /live/initrd.img | 19:52 |
bgstack15 | Devuan meet tomorrow, July 21, at 20:30 UTC. Pad is here: https://pad.dyne.org/code/#/2/code/edit/9GhXZSZzcrjw2-RZN+R2SEWd/ | 19:56 |
fsmithred | Guest98, it's normal that the first partition is read-only. | 20:04 |
fsmithred | do changes persist? Touch or edit a file and reboot to see if it's still there. | 20:05 |
Guest98 | I 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 |
Guest70 | I want to fix it so that /home/devuan/Downloads/file corresponds to /(partition sdb2)/home/devuan/Downloads/file. | 20:24 |
Guest70 | Is it right or wrong? | 20:24 |
fsmithred | Guest70, 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 |
fsmithred | yes | 20:35 |
Generated by irclog2html.py 2.17.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!