LinuxQuestions.org
Visit Jeremy's Blog.
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 02-08-2013, 12:01 PM   #16
AlleyTrotter
Member
 
Registered: Jun 2002
Location: Coal Township PA
Distribution: Slackware64-14.1 (3.17.1) UEFI enabled
Posts: 351

Rep: Reputation: 71

Quote:
Originally Posted by volkerdi View Post
Really? I didn't think any UEFI implementations could boot an ISO9660 or UDF disc (at least not by accessing those filesystems). I'm using Tianocore booted from a USB stick to emulate UEFI though (so far, anyway... hoping to see prices on machines that don't suck come down a little). Discs I've seen that can boot on either BIOS or UEFI are crazy hacks that have a hidden FAT EFI partition on them and both MBR and GPT partition tables. I'm still not sure that we'll go to that extreme. I'd be happy to get a working USB installer image, but I'm not sure how well that's going to work without some other kind of trick. GPT expects a secondary table at the end of the drive, but probably a bootable USB image isn't going to be the same size as whatever stick it is written to.
Pat
I submit to your more advanced Knowledge, HOWEVER
When I built my new system
AsRock Z77 Extreme4 MB
Kingston 120GB SSD
2 TB HD
32 GB ram
used DVD Player

I plugged the system in and after a few seconds a slackware 13.37 dvd started to boot. Here the used dvd I installed had a disk it. I quickly swapped the disk for 64-14.0 and went through a normal install including lilo. Prior to setup using gdisk I made sda1 an efi partition mounted at /boot/efi, sda2 mounted at /, sda3 mounted at /home, sda4 swap. Then did a standard full install accepting all defaults including installing lilo.
System booted from lilo fine.
To get UEFI working I first had to format /boot/efi as fat32 then find and install the (Intel I Believe) Shellx64.efi onto my /boot/efi partition. I also found and installed Dell's efibootmgr. You need not even install this just copy it to your /boot/efi partition it is completely self contained so is elilo.efi. Also copy vmlinuz-huge-3.2.29 to /boot/efi/bzImage.efi
Now the good part took a while to figure out
Boot the system press [DELETE] or whatever gets you into the UEFI manager screen
On mine I had to go to the BOOT page on the manager screen and select boot the Shellx64.efi remember we just put this in our /boot/efi partition. Whole bunch of shit flys by and finally you will get a prompt
at the prompt type
fs0:> bzImage.efi root = /dev/sda2 ro ( it could also be fs1 or even fs2)
this will boot your kernel in UEFI mode
once in efi mode I followed the slackdocs instructions on installing elilo.efi and elilo.conf
Then type /boot/efi/efibootmgr -c
this will create an UEFI boot point called Linux at /dev/sda1 which will launch elilo.efi
On next boot hit [DELETE] go to boot menu and select "Linux" as the default boot image.
And Bob's your uncle. Every reboot after this will be Slackware
Sorry no help for you Windows guys.

Installing UEFI was the most fun I've had since my original Slackware install and on top of that I get to help you. GREAT DAY
John

EDIT: the initial bzImage.efi copied to /boot/efi was the huge kernel. After installing elilo.efi you can boot anything you put in elilo.conf.
Sorry my notes are not very good

Last edited by AlleyTrotter; 02-11-2013 at 07:24 AM. Reason: removed reference to stub kernel but added -c after efibootmgr means create
 
2 members found this post helpful.
Old 02-08-2013, 04:40 PM   #17
volkerdi
Slackware Maintainer
 
Registered: Dec 2002
Location: Minnesota
Distribution: Slackware! :-)
Posts: 874

Rep: Reputation: 1813Reputation: 1813Reputation: 1813Reputation: 1813Reputation: 1813Reputation: 1813Reputation: 1813Reputation: 1813Reputation: 1813Reputation: 1813Reputation: 1813
Quote:
Originally Posted by AlleyTrotter View Post
I plugged the system in and after a few seconds a slackware 13.37 dvd started to boot. Here the used dvd I installed had a disk it. I quickly swapped the disk for 64-14.0 and went through a normal install including lilo. Prior to setup using gdisk I made sda1 an efi partition mounted at /boot/efi, sda2 mounted at /, sda3 mounted at /home, sda4 swap. Then did a standard full install accepting all defaults including installing lilo.
System booted from lilo fine.
Ah, that explains it. I was talking about booting a disc while in UEFI mode. UEFI in legacy boot mode (which yours was or LILO wouldn't have worked) should be able to boot our ISOs fine.
 
Old 02-10-2013, 01:53 AM   #18
irgunII
Member
 
Registered: Jan 2012
Location: Directly above the center of the earth
Distribution: Slackware. There's something else?
Posts: 381

Rep: Reputation: 66
Quote:
Originally Posted by volkerdi View Post
UEFI in legacy boot mode (which yours was or LILO wouldn't have worked) should be able to boot our ISOs fine.
I can say it does. I just got an new MoBO (to me) the other day, an ASUS M5A97LE R2.0. It has that UEFI bios. My Slackware 14 booted on it in the legacy mode (I had other troubles but *NONE* were to do with the UEFI) just fine.
 
Old 02-10-2013, 09:37 AM   #19
interndan
Member
 
Registered: Aug 2004
Location: near Marion, Ill
Distribution: Slackware 13.37
Posts: 238

Rep: Reputation: 17
Just out of curiosity, does it really matter to the user whether you use UEFI or legacy mode to boot the system?

I'm not trying to start a flame war or anything. Nor am I suggesting that development stop on a permanent working solution as I'm sure at some point manufacturers will stop putting legacy mode in. Just wondering if you lose some functionality by installing and using legacy mode.

Dan
 
1 members found this post helpful.
Old 02-10-2013, 09:55 AM   #20
Didier Spaier
Senior Member
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slackware{,64}-{14.1,current} on a Lenovo Thinkpad T61 6457-4XG
Posts: 4,386

Rep: Reputation: 1089Reputation: 1089Reputation: 1089Reputation: 1089Reputation: 1089Reputation: 1089Reputation: 1089Reputation: 1089
Quote:
Originally Posted by interndan View Post
Just out of curiosity, does it really matter to the user whether you use UEFI or legacy mode to boot the system?
You could have a look to the links I posted here.
 
Old 02-10-2013, 02:00 PM   #21
AlleyTrotter
Member
 
Registered: Jun 2002
Location: Coal Township PA
Distribution: Slackware64-14.1 (3.17.1) UEFI enabled
Posts: 351

Rep: Reputation: 71
Sometimes I am not very good at communications so here is a working example
My efi partition is /dev/sda1 formatted "mkdosfs -F 32" and mounted at /boot/efi
Code:
root@retired:~# ls -l /boot/efi/
total 21660
-rwxr-xr-x 1 root root  847232 Nov 23 10:28 Shellx64.efi*
-rwxr-xr-x 1 root root 6192448 Nov 22 11:56 bzImage*
-rwxr-xr-x 1 root root 3542896 Jan 28 09:12 bzImage-3.7.5*
-rwxr-xr-x 1 root root 3552992 Feb  7 11:36 bzImage-3.7.6*
-rwxr-xr-x 1 root root     423 Feb  7 09:43 elilo.conf*
-rwxr-xr-x 1 root root  250510 Nov 22 12:07 elilo.efi*
-rwxr-xr-x 1 root root 4626612 Nov 22 12:21 initrd.gz*
-rwxr-xr-x 1 root root 3153504 Nov 22 11:56 vmlinuz-generic-3.2.29*
note bzImage is the huge kernel from the 14.0 dvd
Code:
root@retired:~# cat /boot/efi/elilo.conf 
prompt
timeout=50
default=376

image=bzImage-3.7.6
  label=376
  read-only
  root=/dev/sda2

image=vmlinuz-generic-3.2.29
  label=generic
  initrd=initrd.gz
  read-only
  root=/dev/sda2

image=bzImage-3.7.5
  label=last
  read-only
  root=/dev/sda2

image=bzImage
  label=huge
  read-only
  root=/dev/sda2

image=bzImage
  label=rescue
  read-only
  root=/dev/sdb2

image=bzImage
  label=build
  read-only
  root=/dev/sdb4
with lilo installed in the gpt "protected mbr" and an error in the above the UEFI firmware will default to a mbr boot. This way you have a working os to fix your problem. Without lilo installed in the protective mbr you get a blank screen to work from.
Which would you rather have?
Pretty interesting that the kernel can be loaded and run from sda while sdb has the root OS as in my rescue and build installs.
This is posted in the hope it will help someone. This UEFI stuff is not really complicated even thought most of the literature seems to make it appear that way. IMHO elilo is simpler than lilo.
thanks
john

Last edited by AlleyTrotter; 02-10-2013 at 02:34 PM. Reason: add the format used for efi partition
 
Old 02-10-2013, 05:09 PM   #22
volkerdi
Slackware Maintainer
 
Registered: Dec 2002
Location: Minnesota
Distribution: Slackware! :-)
Posts: 874

Rep: Reputation: 1813Reputation: 1813Reputation: 1813Reputation: 1813Reputation: 1813Reputation: 1813Reputation: 1813Reputation: 1813Reputation: 1813Reputation: 1813Reputation: 1813
Quote:
Originally Posted by interndan View Post
Just out of curiosity, does it really matter to the user whether you use UEFI or legacy mode to boot the system?
It only matters if you got Windows 8 preinstalled, have no media to reinstall it in legacy mode, and would like to keep it to dual boot. Otherwise, if the machine supports legacy mode, that's probably the better way to go at this point. I've heard that some video drivers rely on BIOS calls to set things up and are not accelerated when the OS is booted under UEFI, and there are likely to still be other bugs lurking.
 
2 members found this post helpful.
Old 02-10-2013, 06:02 PM   #23
irgunII
Member
 
Registered: Jan 2012
Location: Directly above the center of the earth
Distribution: Slackware. There's something else?
Posts: 381

Rep: Reputation: 66
Quote:
Originally Posted by volkerdi View Post
It only matters if you got Windows 8 preinstalled, have no media to reinstall it in legacy mode, and would like to keep it to dual boot. Otherwise, if the machine supports legacy mode, that's probably the better way to go at this point. I've heard that some video drivers rely on BIOS calls to set things up and are not accelerated when the OS is booted under UEFI, and there are likely to still be other bugs lurking.
How does one test their video card/driver? On my other (older, non-UEFI) MoBo, with my nvidia gt-520 and the nvidia driver from nvidia, with 'gears' I would get 6000 fps.

I just did 'gears' on this new mobo (UEFI), the same card and driver and only get 59 fps.
 
Old 02-10-2013, 06:06 PM   #24
volkerdi
Slackware Maintainer
 
Registered: Dec 2002
Location: Minnesota
Distribution: Slackware! :-)
Posts: 874

Rep: Reputation: 1813Reputation: 1813Reputation: 1813Reputation: 1813Reputation: 1813Reputation: 1813Reputation: 1813Reputation: 1813Reputation: 1813Reputation: 1813Reputation: 1813
Quote:
Originally Posted by irgunII View Post
How does one test their video card/driver? On my other (older, non-UEFI) MoBo, with my nvidia gt-520 and the nvidia driver from nvidia, with 'gears' I would get 6000 fps.

I just did 'gears' on this new mobo (UEFI), the same card and driver and only get 59 fps.
I can at least tell you that "gears" has not been a good benchmark for quite some time (if it ever was). What it returns is usually the same as the vertical refresh rate.

Last edited by volkerdi; 02-10-2013 at 06:06 PM. Reason: I'm getting really good at typos
 
Old 02-10-2013, 07:34 PM   #25
rkelsen
Senior Member
 
Registered: Sep 2004
Distribution: slackware
Posts: 1,771

Rep: Reputation: 205Reputation: 205Reputation: 205
Quote:
Originally Posted by AlleyTrotter View Post
IMHO elilo is simpler than lilo.
I was thinking this very same thing this morning. It is less risky [since it doesn't need to be installed to the MBR] and is certainly easier to tinker with.

What ruins it for me is this 'secure boot' thing. I'm not sure that we should be supporting it, given the amount of power it hands certain vendors. I'd rather disable it. I want to be in control of my hardware.

The question I have is: How did we let it get to this point?

Last edited by rkelsen; 02-10-2013 at 07:37 PM.
 
Old 02-11-2013, 12:33 PM   #26
interndan
Member
 
Registered: Aug 2004
Location: near Marion, Ill
Distribution: Slackware 13.37
Posts: 238

Rep: Reputation: 17
Thanks for the answers. They were all informative. I should have pointed out that I don't dual boot any of my computers. My PC and laptop run Slackware only, my wife's laptop runs XP. If I find I absolutely have to do something in Windows I borrow the wife's.
 
Old 02-11-2013, 08:49 PM   #27
salemboot
Member
 
Registered: Mar 2007
Location: America
Distribution: Linux
Posts: 159

Rep: Reputation: 36
Any plans on adding something automated to the installer?
 
Old 02-11-2013, 08:51 PM   #28
volkerdi
Slackware Maintainer
 
Registered: Dec 2002
Location: Minnesota
Distribution: Slackware! :-)
Posts: 874

Rep: Reputation: 1813Reputation: 1813Reputation: 1813Reputation: 1813Reputation: 1813Reputation: 1813Reputation: 1813Reputation: 1813Reputation: 1813Reputation: 1813Reputation: 1813
Quote:
Originally Posted by salemboot View Post
Any plans on adding something automated to the installer?
Yes. This is just information for the people who want to brick their Samsung laptops now.
 
2 members found this post helpful.
Old 02-12-2013, 03:16 AM   #29
sardinha
Member
 
Registered: Aug 2012
Location: Portugal
Distribution: Slackware, Salix OS
Posts: 51

Rep: Reputation: 10
Linux Foundation Secure Boot System Released

http://blog.hansenpartnership.com/linux-foundation-secure-boot-system-released

small video demo: http://youtu.be/1fNhQYRIjD8
 
Old 02-12-2013, 01:48 PM   #30
NyteOwl
Member
 
Registered: Aug 2008
Location: Nova Scotia, Canada
Distribution: Slackware, OpenBSD, others periodically
Posts: 512

Rep: Reputation: 139Reputation: 139
Quote:
"As promised, here is the Linux Foundation UEFI secure boot system. This was actually released to us by Microsoft on Wednesday 6 February, but with travel, conferences and meetings I didn’t really get time to validate it all until today."
So what it is is actually the Microsoft Secure Boot System provided by MS to the LF. It may work but it's still unacceptable IMO.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Slackware and Grub2 - getting a UEFI mb running linuxbird Slackware 16 12-13-2012 08:40 AM
Slackware on a former UEFI system garpu Slackware - Installation 2 11-23-2012 10:59 PM
Slackware vs. EFI/UEFI kikinovak Slackware 4 10-21-2012 11:31 AM
Help Creating UEFI A MENU For My Bootable (BIOS/UEFI) CDROM ssenuta Linux - Hardware 0 08-27-2012 09:11 PM


All times are GMT -5. The time now is 10:38 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration