LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 12-10-2012, 02:57 PM   #1
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,142

Rep: Reputation: 2308Reputation: 2308Reputation: 2308Reputation: 2308Reputation: 2308Reputation: 2308Reputation: 2308Reputation: 2308Reputation: 2308Reputation: 2308Reputation: 2308
UEFI & windows 8


Does Ubuntu support booting under secure boot? I'm reading conflicting things. Anyone going dusl booting with windows 8?

I have this new laptop w/windows 8, I can't get a bootloader running and have to boot with an install cd.

The computer and my nerves would be much better without windows 8. It is dreadful - unimaginably bad. I've seen m$ shoot themselves in the foot before, but not in the pillocks. I have a 17.3" screen and it thinks it's on a mobile phone. The only worse thing I have met is grub2 in it's various incarnations.

I'd be very happy to go "Legacy OS" and forget windows 8 altogether but nobody can show me how that's done. I've compiled grub2 from source twice, and tried the SuSE package. The Fedora package is honest enough to say "grub2 doesn't work; use grub-efi-0.97" and _that_ can't do stuff and complains that nothing looks as it should be. The best I got from grub2 was a similar complaint. The laptop is a Samsung-350V with AMI bios.
 
Old 12-10-2012, 03:06 PM   #2
custangro
Senior Member
 
Registered: Nov 2006
Location: California
Distribution: Fedora , CentOS , RHEL
Posts: 1,979
Blog Entries: 1

Rep: Reputation: 209Reputation: 209Reputation: 209
Are you opposed to turning off UEFI all together?
 
Old 12-11-2012, 03:30 AM   #3
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,142

Original Poster
Rep: Reputation: 2308Reputation: 2308Reputation: 2308Reputation: 2308Reputation: 2308Reputation: 2308Reputation: 2308Reputation: 2308Reputation: 2308Reputation: 2308Reputation: 2308
No. uefi secure mode can go. I'm not reformatting atm, though. Who in their right mind would ever want to use windows 8? If I badly need windows, I have vista64 on another box, and that will surely do. I never thought I'd hear myself praising vista, but beside windows 8 it's wonderful. Beside linux, it's pure <expletive deleted>

I read somewhere that
1. ubuntu-12.10 handles UEFI Secure Boot
2. That BIOS prevent the use of chainloaders like grub altogether
3. Everyone's working on it, which makes me shudder.
4. I have read gigabytes on grub2 which would be properly titled "What you don't want to know about grub2." I learned nothing that I wanted to know.

The nearest I can go to turning off is a "secure boot & Legacy OS" option. Slackware uses lilo, and there is elilo, but I haven't investigated that yet. This week perhaps. My experience with grub2 is that it's 356 scripts which call scripts and rely on files that don't exist. My sda is formatted gpt and set up

sda1 - some small hidden data patrtition
sda2 - efi boot partition
sda3 - M$ reserved and otherwise unreadable
sda4 - drive C
sda5,6 - Manufacturer crap

I have shrunk sda4 and have space on disk for linux.
I can boot slackware by leaving an install dvd in the cdrom, which comes up with a "boot:" prompt. I then type
huge.s root=/dev/sda8 ro rdinit=ro
and I'm in. But that's a pain in the proverbial. And it means I have to burn a cd or dvd to change the kernel.
 
Old 12-12-2012, 04:45 AM   #4
arubin
Senior Member
 
Registered: Mar 2004
Location: Middx UK
Distribution: Slackware64 15.0 (multilib)
Posts: 1,349

Rep: Reputation: 75
You might try and see if you can create a USB UEFI boot stick as described here.

http://docs.slackware.com/howtos:sla..._uefi_hardware

This involves
formatting a USB stick with GPT so that it has a FAT32 partition type code EF00
create folders /EFI/BOOT/
download elilo-3.14-all.tar.gz, extract elilo-3.14-x86_64.efi and put it in EFI/BOOT/ as ./EFI/BOOT/BOOTX64.EFI

creating elilo.conf - see the page above for details but you might need

Quote:
prompt
timeout=50
default=generic

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

image=bzImage
label=huge
read-only
root=/dev/sda8
if you get that working you might see if it is possible to put this in your efi partition on the hard drive.

Alan
 
1 members found this post helpful.
Old 12-12-2012, 04:48 AM   #5
arubin
Senior Member
 
Registered: Mar 2004
Location: Middx UK
Distribution: Slackware64 15.0 (multilib)
Posts: 1,349

Rep: Reputation: 75
You might also look at the rEFInd boot manager but to get that booting slackware directly you will need to upgrade yhe kernel and recompile it with the efi-stub enabled.
 
Old 12-12-2012, 04:48 AM   #6
tommcd
Senior Member
 
Registered: Jun 2006
Location: Philadelphia PA USA
Distribution: Lubuntu, Slackware
Posts: 2,230

Rep: Reputation: 293Reputation: 293Reputation: 293
Disabling secure boot can be difficult from what I have read. Check out Jesse Smith's experience with a new computer that has secure boot: http://distrowatch.com/weekly.php?issue=20121126#qa

According to the Ubuntu 12.10 release notes, only a few flavors of Ubuntu 12.10 support secure boot: https://wiki.ubuntu.com/QuantalQuetz...re.Secure_Boot
Quote:
Due to time pressures, only some flavors released with 12.10 will install and boot on Secure Boot hardware:
Ubuntu desktop
Ubuntu server
Edubuntu
We expect to enable all other flavors in 13.04.
More info on that here: http://web.dodds.net/~vorlon/wiki/bl..._Ubuntu_12.10/

Last edited by tommcd; 12-12-2012 at 04:49 AM.
 
Old 12-12-2012, 05:46 AM   #7
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
Please post the exact maker/model (or a link to the manufacturer's site for that machine), I really would like to have a look on that.
 
Old 12-13-2012, 03:53 AM   #8
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,142

Original Poster
Rep: Reputation: 2308Reputation: 2308Reputation: 2308Reputation: 2308Reputation: 2308Reputation: 2308Reputation: 2308Reputation: 2308Reputation: 2308Reputation: 2308Reputation: 2308
The model is a Samsung 350V.Link to laptop spec

Nothing is documented for this box, and that's what's slowing me down. I have collected some tools
/tmp/OVMF-0.1+r13902-1.1.x86_64.txz
/tmp/efitools-0.1.1-1.1.x86_64.txz
/tmp/lcab-1.0-6.1.x86_64.txz
/tmp/osslsigncode-1.4-1.1.x86_64.txz
/tmp/gnu-efi-3.0q-34.1.x86_64.txz
/tmp/sbsigntools-0.6-1.2.x86_64.txz

Those packages are from rpms on suse's site. I'm going to rearrange slightly & install one big uefi_stuff package.
There's stuff you have to dump in /boot/efi. There's some UEFI index you have to add an entry to. Then if your BIOS writers were kind to you, there'll be a bootloader menu. If not, I dunno. Elilo only loads linux/unix. Apparently a lot can get stuck in as the .efi stuff if you're clever about it and your bios are OK. But the UEFI spec keeps changing and changing and what have I? i don't know. I'll stick those packages in and try following the docs in elilo, using slackware. I'm not hearing positive enough noises about ubuntu to make the switch.

The hugely irritating thing is that there is facility for a legacy os, but the world is silent on how to do that on a gpt disk. At this stage I really don't care about windows 8, but this is a warning to LXers not to buy laptops with windows 8 pre-installed.

After kernel 3.3, the kernel can masquerade as an efi application (done by adding junk in it's own rather roomy header) :-D. There's 3 boot options with secure boot disabled, & "Secure boot & legacy OS"set: Secure boot, cdrom & hard disk, apparently the BIOS/MBR option.

@arubin: I've already built kernel 3.6.10 at this stage with the secure boot thing enabled, and I can't use the usb boot because the @#$%! box doesn't support usb boot. But it has a hostname (RoseViolet) and I'm typing this from it under linux. I have the slackware dvd in the cdrom and I just type a line, and boot off that kernel for the moment.

@tommcd: Thanks for the distrowatch link and the update on Ubuntu. I developed a strong allergy to apt-* and found myself disliking and distrusting all 'update every night' distros like Fedora. I have posted here with bugs which were sorted by a fedora update which produced different errors but worked.

Last edited by business_kid; 12-13-2012 at 04:12 AM.
 
Old 12-13-2012, 11:07 AM   #9
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,142

Original Poster
Rep: Reputation: 2308Reputation: 2308Reputation: 2308Reputation: 2308Reputation: 2308Reputation: 2308Reputation: 2308Reputation: 2308Reputation: 2308Reputation: 2308Reputation: 2308
Marking this one solved. It's not solved, but I'm taking it up on the hardware forum, as that's a better place for it. Thanks to All who contributed and made my task easier.
 
  


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
Help Creating UEFI A MENU For My Bootable (BIOS/UEFI) CDROM ssenuta Linux - Hardware 0 08-27-2012 09:11 PM
Linus Torvalds on Windows 8, UEFI, and Fedora Steve R. Linux - News 3 08-15-2012 05:44 AM
[SOLVED] Boot Loader Problem on Slackware64 13.37 (UEFI & GPT disk) ack_iix Slackware 22 07-12-2012 06:02 PM
LXer: Going Over The Good & Bad For UEFI On Linux LXer Syndicated Linux News 0 01-26-2012 01:20 AM
Set up a multiboot Linux / Windows with UEFI nub Linux - Newbie 2 01-04-2012 04:46 PM

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

All times are GMT -5. The time now is 11:54 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