Post tutorials, HOWTO's and other useful resources here.
-
brokenman
- Site Admin

- Posts: 6104
- Joined: 27 Dec 2010, 03:50
- Distribution: Porteus v4 all desktops
- Location: Brazil
-
Contact:
Post#1
by brokenman » 19 Oct 2014, 21:36
My UEFI system has 64bit firmware and refuses to load a 32bit kernel. I wanted to boot into 32bit Porteus without having to enter the BIOS and change to legacy mode each time. This is how it is done.
The claims that UEFI only runs 64bit operating systems is not exactly true. It only loads a 64bit kernel which in turn is quite happy running 32bit applications. If you replace the following files in your 32bit Porteus with the same files from the 64bit iso your system will boot into 32bit Porteus.
Files to replace:
vmlinuz, initrd.xz, 000-kernel.xzm
Now you will need to swap out the
uname binary so that it does not return x86_64 as the architecture. Just replace the file with a script that returns i486 when uname -a is issued. This is required for some porteus based scripts to function as i486.
So far it seems to be running well for me.
How do i become super user?
Wear your underpants on the outside and put on a cape.
brokenman
-
wread
- Module Guard

- Posts: 1253
- Joined: 09 Jan 2011, 18:48
- Distribution: Porteus v5.0-kde-64 bits
- Location: Santo Domingo
-
Contact:
Post#2
by wread » 19 Oct 2014, 22:32
Fine business, brokenman! This has another plus: you can use more as 4GB ram memory!
Very important is the tweak with the " uname"....
I would call this enhanced 32-bit system, a 32-bit "S" (like some car models add "S" to suggest "super")
Cheers!
Porteus is proud of the FASTEST KDE ever made.....(take akonadi, nepomuk and soprano out and you will have a decent OS).
The Porteus Community never sleeps!
wread
-
donald
- Full of knowledge

- Posts: 1985
- Joined: 17 Jun 2013, 13:17
- Distribution: Porteus 3.2.2 XFCE 32bit
- Location: Germany
Post#3
by donald » 19 Oct 2014, 22:57
What will happen if one tries to install the (nvidia)-driver-package.?
64bit kernel module of course..but isn't the (nvidia) configuration-gui
also 64bit then..?..which in turn wouldn't run in 32bit porteus..
donald
-
brokenman
- Site Admin

- Posts: 6104
- Joined: 27 Dec 2010, 03:50
- Distribution: Porteus v4 all desktops
- Location: Brazil
-
Contact:
Post#4
by brokenman » 20 Oct 2014, 00:53
Thanks Wread, I hope it comes in useful. Donald this is one of the caveats, kernel modules. Building virtualbox for example or other applications that create kernel modules will fail if you build the 32bit version.
How do i become super user?
Wear your underpants on the outside and put on a cape.
brokenman