i find a new method to boot porteus/x without change mbr record
Posted: 17 Dec 2024, 22:25
I am also a PuppyLinux user, and I often need to access various PuppyLinux distributions, so I use the combination of Grub+Lick, which allows me to select the system I want to enter without having to modify the MBR every time. I started using Porteus/X in the past few days and found that this system can only be used by installing the installation files included in the image, which will modify the MBR information, which may prevent me from accessing my previous system, which is not good. So I thought about whether it is possible to start from the hard drive directly like PuppyLinux by only modifying the boot code, without modifying the MBR information. After testing, I found that it works, so I'm sharing this method with everyone. It's possible that someone has already tried this, but I haven't seen it, and it's possible that someone doesn't know about it, so I'm providing a method for those who need it.
The steps are as follows:
1. To install Lick on a Windows-based computer, you'll need to have Windows installed. If you don't have Windows, you can use a portable operating system like PE. I chose to use Windows because some software only works on Windows and cannot be run on Wine. I installed Windows only as a backup option, and I prefer to work and entertain primarily on Linux.
2. Download porteus/x, extract the files in the iso image to any root partition of the disk, three new folders will be generated, such as /boot, /porteus, /EFI, and then modify the boot file lickmenu.lst of the lick, add the following code to it
Because I decompressed porteus and porteux under the same root partition, the /boot and /EFI folders were renamed, so I changed the name of porteux's /boot to /boot2, because my computer is an old computer that can't be booted with UEFI, so /EFI can be unzipped or changed whatever the name is, anyway, they are useless
3,Save lickmenu.lst,Then restart the computer,You can see porteux16 in the lickmenu boot menu,Then enter this system,The same can add porteus boot code,So that you can freely choose which system to enter when you boot up,If you don't want it,Directly delete the files on the hard disk and the code in lickmenu.lst,No need to modify the mbr information
The steps are as follows:
1. To install Lick on a Windows-based computer, you'll need to have Windows installed. If you don't have Windows, you can use a portable operating system like PE. I chose to use Windows because some software only works on Windows and cannot be run on Wine. I installed Windows only as a backup option, and I prefer to work and entertain primarily on Linux.
2. Download porteus/x, extract the files in the iso image to any root partition of the disk, three new folders will be generated, such as /boot, /porteus, /EFI, and then modify the boot file lickmenu.lst of the lick, add the following code to it
Code: Select all
## start section porteux16
title porteux16
find /boot2/syslinux/vmlinuz
kernel /boot2/syslinux/vmlinuz pfix=fsck psubdir=porteux16
initrd /boot2/syslinux/initrd.zst
boot
title porteux16 (no save file)
find /boot2/syslinux/vmlinuz
kernel /boot2/syslinux/vmlinuz pfix=ram savefile=none psubdir=porteux16
initrd /boot2/syslinux/initrd.zst
boot
## end section porteux16
3,Save lickmenu.lst,Then restart the computer,You can see porteux16 in the lickmenu boot menu,Then enter this system,The same can add porteus boot code,So that you can freely choose which system to enter when you boot up,If you don't want it,Directly delete the files on the hard disk and the code in lickmenu.lst,No need to modify the mbr information