Page 1 of 1

64bit and 32bit in one boot?

Posted: 03 Feb 2015, 23:57
by tin
i'll keep this short. Is it possible to configure porteus.cfg in order to be able to shoose between a 32bit distro and a 64bir one, if yes, how if not, why??? i dont really want to use another multiboot... if i can avoid it...

thank you in advance, love this community after my 3rd post... :)

tin

Re: 64bit and 32bit in one boot?

Posted: 04 Feb 2015, 18:12
by tome
Of course, for example:

Code: Select all

MENU LABEL Porteus 32
KERNEL /boot/i486/porteus/vmlinuz
APPEND initrd=/boot/i486/porteus/initrd.xz from=/boot/i486

MENU LABEL Porteus 64
KERNEL /boot/x86_64/porteus/vmlinuz
APPEND initrd=/boot/x86_64/porteus/initrd.xz from=/boot/x86_64
Your directories hierarchy should look like in above example (only cut/paste):

Code: Select all

 boot
    i486
          porteus
             vmlinuz
             initrd.xz
    x86_64
          porteus
             vmlinuz
             initrd.xz

Re: 64bit and 32bit in one boot?

Posted: 04 Feb 2015, 22:34
by francois
And do not forget that 32 bit packages or modules will only work with 32 bit architecture and 64 bit packages will only work with 64 bit architecture. However, 32 bit packages could work for 64 bit architecture given that you use compat libraries. The compat 32 bit module is available here:
http://dl.porteus.org/x86_64/current/ex ... 64-1sl.xzm