64bit and 32bit in one boot?

Post here if you are a new Porteus member and you're looking for some help.
tin
White ninja
White ninja
Posts: 11
Joined: 09 Jun 2014, 14:50
Distribution: KDE, LXDE
Location: Vienna

64bit and 32bit in one boot?

Post#1 by tin » 03 Feb 2015, 23:57

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

tome
Contributor
Contributor
Posts: 678
Joined: 26 Jun 2013, 14:03
Distribution: x64 Openbox
Location: Russia is causing the immense damage to humanity
Contact:

Re: 64bit and 32bit in one boot?

Post#2 by tome » 04 Feb 2015, 18:12

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
You have mind and feelings. Be wise and clever.

User avatar
francois
Contributor
Contributor
Posts: 6445
Joined: 28 Dec 2010, 14:25
Distribution: xfce plank porteus nemesis
Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.

Re: 64bit and 32bit in one boot?

Post#3 by francois » 04 Feb 2015, 22:34

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
Prendre son temps, profiter de celui qui passe.

Post Reply