LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 03-25-2013, 06:16 PM   #1
michaelslack
Member
 
Registered: Feb 2013
Location: Sydney
Distribution: slackware
Posts: 110

Rep: Reputation: 36
Can samsung smart pc pro UEFI-boot a 32-bit slackware installation?


This may be a dumb question, but I've installed regular 32-bit slackware-current (about a month ago) using CSM/BIOS mode on a samsung smart pc pro. I didn't install (e)lilo, but rather was (CSM-)booting using the usb bootstick made during setup. Since elilo and other uefi-friendly updates have been made to slackware-current (including the newer kernel with the samsung-uefi-booting-bricking-because-of-terrible-firmware issue workarounds) I've tried to set it up to uefi-boot.

Now I've tried setting up elilo and it starts, seems to find the kernel, but then shuts down and the machine resets. It occurs to me that it may be simply because it's a 32-bit system. Is this the case?

I should add that I was prompted to ask this because of the following comment on another post:

Quote:
Originally Posted by jtsn View Post
UEFI itself is either 64 bit only or 32 bit only on x86. This is at the choice of the firmware vendor, not of user. Of course, all mainstream PC UEFI firmwares go for 64 bit, because only this is supported by Windows. The only way to get into real mode (and from there into a CPU mode of your choice) is the CSM, which emulates a BIOS.
If it should be able to boot using uefi, let me know and I'll follow up with a more detailed post including configuration etc.

Thanks in advance,

Michael

Last edited by michaelslack; 03-25-2013 at 07:24 PM. Reason: Fixed strange sentence.
 
Old 03-27-2013, 10:39 AM   #2
jtsn
Member
 
Registered: Sep 2011
Posts: 922

Rep: Reputation: 480Reputation: 480Reputation: 480Reputation: 480Reputation: 480
From https://wiki.archlinux.org/index.php...tions_for_UEFI

Quote:
Note: For Linux to access UEFI Runtime Services, the UEFI Firmware processor architecture and the Linux kernel processor architecture must match. This is independent of the bootloader used.

Note: If the UEFI Firmware arch and Linux Kernel arch are different, then the "noefi" kernel parameter must be used to avoid the kernel panic and boot successfully. The "noefi" option instructs the kernel not to access the UEFI Runtime Services.
 
Old 03-28-2013, 07:44 PM   #3
michaelslack
Member
 
Registered: Feb 2013
Location: Sydney
Distribution: slackware
Posts: 110

Original Poster
Rep: Reputation: 36
Thanks for the reference but adding the single "noefi" kernel command-line parameter did not fix the problem.

Interestingly though, after reading this on another post:
Quote:
Originally Posted by ruario View Post
You could already do this. Just grab the 64-bit kernel and modules packages from Slackware64 (e.g. kernel-generic-3.2.29-x86_64-1 and kernel-modules-3.2.29-x86_64-1 on 14.0) and install these instead of their 32-bit counterparts.
...I succeeded in uefi-booting my 32-bit slackware system (which I had installed in CSM/legacy mode and had been CSM-booting with a usb bootstick up until now)! I used the newest huge kernel from slackware64 (and installed the kernel-modules package).

I wonder if anything else is needed - can I simply run the 32-bit system with a slackware64 kernel and forget about it? Or will I run into problems e.g. if I start trying to compile software? I guess, thinking about it Alien Bob's multilib stuff is just replacement glibc libraries etc, no change to the kernel, so I guess this is (partly) what is meant when he says slackware64 is "multilib ready"; so there probably should be no problem.

Cheers,

Michael
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] No Boot on UEFI box (Samsung 350V) business_kid Linux - Hardware 26 05-29-2013 04:34 AM
UEFI boot support in the slackware installer rkelsen Slackware 13 03-16-2013 07:58 AM
[SOLVED] Slackware 14.0, UEFI and GPT -- installation in unfamiliar environment slaka Slackware 3 01-05-2013 08:16 AM
Samsung CLX-3185 installation problem on ubuntu 12.04 lts 64 bit johnny2bad Linux - Hardware 1 09-17-2012 09:02 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 01:05 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration