You are not logged in.
Pages: 1
What is the best way to run a 64 bit kernel in arch32?, i dislike the bigger memory usage of apps but read everywhere that 64 bit kernel is the "correct" way.
Last edited by Maki (2012-02-21 23:59:14)
If it ain't broke, broke it then fix it.
Offline
Arch64/DWM || My Dropbox referral link
Offline
Hah, i searched the forum for but couldn't find it, thanks
If it ain't broke, broke it then fix it.
Offline
If you consider your issue fixed, please remember to mark the thread as solved.
Offline
If you consider your issue fixed, please remember to mark the thread as solved.
I wrote on the topic JokerBoy gave me, thanks for the hint.
If it ain't broke, broke it then fix it.
Offline
Btw, Another way to set arch to 32-bit while running 64-bit kernel is just executing the first process (init) with linux32, instead of changing each line in inittab (as said Allan in the another thread)
/lib/initcpio/init:
-exec env -i "TERM=$TERM" /sbin/switch_root /new_root $init "$@"
+exec env -i "TERM=$TERM" /sbin/switch_root /new_root /usr/bin/linux32 $init "$@"
There is an interesting project about a new compat layer for running 32-bit userspace on 64-bit kernel [#1]
Offline
My current way is still to just put lots of linux32's in /etc/inittab, although Gerado's idea looks interesting.... I did also try adding something like:
init="linux32 init"
to the kernel line in grub, but spaces are not acceptable.
Offline
Nope, because $init is tested for -x. What works is using /usr/bin/linux32 as $init and /sbin/init as aditional argument $@
init=/usr/bin/linux32 /sbin/init
Offline
Pages: 1