So, for example, porteus 32 is located in /dev/sdX8 as follows: /boot and /porteus directly in the / on /dev/sdX8. The dat file is located in /porteus/optional for the 32-bit version. For the 64 bit, I had created the dat file in a separate dir called /savefile in / of the USB drive. The same setup is replicated for the 64 bit partition also:
My custom grub entries are like this:
Code: Select all
menuentry "Porteus 2.0 -- 64 bit" {
set root='hd0,msdos7' ### (hd1,7)
linux /boot/syslinux/vmlinuz rw from=/ ##changes=/porteus/optional/port32sav.dat
initrd /boot/syslinux/initrd.xz
}
menuentry "Porteus 2.0 -- 32 bit" {
set root='hd0,msdos8' ### (hd1,8)
linux /boot/syslinux/vmlinuz rw from=/ ##changes=/porteus/optional/port32sav.dat
initrd /boot/syslinux/initrd.xz
}
Ideally, I would like the Porteus menu to pop up after I select the Porteus 32 in the menu entry. I suspect that would allow me to choose the correct menu options, thereby passing the right cheatcodes and get back my custom setup.
So,
- Is there a way for me to invoke the Porteus menu when I choose the above menu entry? If so, what is the command? (This is the best option for me, I would like to use one of the 4 options at any given time)
- Assuming the above scenario is impossible (I doubt it), what is the correct invocation for the "from" cheatcode, in order for it to correctly pull up the other params?
- Given that only 2) is feasible, how do I explicitly specify it to pull up the info from the .dat file.
- Also given that the partitions containing 32 and 64 bit are actually ext4 now, how do I instruct Porteus to roll over from the .dat file to directly storing data in the filesystem itself.
Many thanks in advance.
Surio.
