Auto detect hardware before boot

Post here if you are a new Porteus member and you're looking for some help.
Post Reply
uyduruq
Black ninja
Black ninja
Posts: 32
Joined: 30 Sep 2012, 19:57
Distribution: 1.2

Auto detect hardware before boot

Post#1 by uyduruq » 11 May 2013, 09:42

Hi,
Is it possible to detect hardware (I mean processor type; x86 or x64) before initrd starts? I have built an usb stick with both x86 and x64 modules in it. User needs to choose this on the main page, then porteus boots according to his choice. I want to automate this, and if the system is x64 capable, then x64 porteus will be boot, or if only x86 then x86 porteus will boot.

User avatar
fanthom
Site Admin
Site Admin
Posts: 4547
Joined: 28 Dec 2010, 02:42
Distribution: Porteus Kiosk
Location: Poland, currently - Cork, IE
Contact:

Re: Auto detect hardware before boot

Post#2 by fanthom » 11 May 2013, 17:11

i always thought it wont be possible but seems that our default bootloaded - syslinux - has this feature already :)
please get ifcpu64.c32 from syslinux-4.06 package and follow this wiki (written for pxelinux but maybe works also for extlinux?):
link
Please add [Solved] to your thread title if the solution was found.

uyduruq
Black ninja
Black ninja
Posts: 32
Joined: 30 Sep 2012, 19:57
Distribution: 1.2

Re: Auto detect hardware before boot

Post#3 by uyduruq » 19 May 2013, 20:38

Interesting! I will be trying this. Thanks.

Post Reply