LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook
User Name
Password
Linux - Laptop and Netbook Having a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).

Notices

Reply
 
Search this Thread
Old 02-14-2013, 09:13 PM   #1
Shingetsu
LQ Newbie
 
Registered: Feb 2013
Distribution: Arch Linux x86_64
Posts: 4

Rep: Reputation: Disabled
Installation from HDD with EFI


I've been a linux user for quite a while but never have I been as stumped as I am now.
The situation goes about like this... I got a laptop for free. It runs on UEFI with windows 8.

I would have put it on CSM mode and removed all that, but the only way to access the UEFI settings appears to be through the installed OS (conclusion after a few weeks of google).

I fairly easily changed partitioning and left out a rather large space for Arch. However, the laptop doesn't have a CD drive and my previous experience with UEFI and USBs was... less than promising.

I tried out EasyBCD for their NeoGrub boot manager (which I would use to chainload the installed version without any form of bootloader), but turns out they only support EFI with CSM emulation.

I tried booting an iso with UNetbootin to see if that would work (frugal install the base sysfiles and replace the base structure every now and then) but it failed (hanged on getting bootloader information).

I'm not sufficiently apt with making my own liveCD to simply boot from it and use the free space as /home (manually mounting it?).

tl;dr; I can't remove Windows 8 to set up CSM mode because I can't get into BIOS/EFI settings without it but setting up an EFI system is an incredible pain to the point that I can't get it done properly.
 
Old 02-14-2013, 09:47 PM   #2
Ztcoracat
Senior Member
 
Registered: Dec 2011
Distribution: Slackware, CentOS & Android
Posts: 3,068
Blog Entries: 1

Rep: Reputation: Disabled
Hi:

You may need to disable secure boot or you have to make your own custom key.
Also I learned form a friend that in some laptops an administrative BIOS password is necessary to disable secure boot-
He also taught me that with secure boot disabled you have cd boot. No GPT boot so the disk won't boot.
Just MBR and CD boot with secure boot disabled. (This was on a Samsung laptop) may not be your case-

Here's an article that the Linux Foundation created to help with this but it's not exactly for a beginner and I am not the best with this UEFI/EFI Win's 8 predicament-
http://www.zdnet.com/linux-foundatio...ix-7000011084/

http://www.linuxfoundation.org/search/node/UEFI

Boot and run linux via usb:
http://www.pendrivelinux.com/
http://liliputing.com/2011/07/how-to...netbootin.html


I've given you all the information I have; hope this helps Shingetsu

Last edited by Ztcoracat; 02-14-2013 at 09:51 PM.
 
Old 02-14-2013, 09:53 PM   #3
Ztcoracat
Senior Member
 
Registered: Dec 2011
Distribution: Slackware, CentOS & Android
Posts: 3,068
Blog Entries: 1

Rep: Reputation: Disabled
Also one of our Moderators posted this information it may help as well.
http://www.linuxquestions.org/questi...0v-4175441330/

People who say 'I purchased the equipment and I should be able to install whatever on it', not so. Jail break it or do not buy restricted equipment with expectations to do as you wish. Not if the hardware does not provide the means to modify. Buy equipment that you know that can be used in a open environment via controlled means 'UEFI'. As a buyer you have the right to buy but if the hardware is known to be restricted then you have no rights under the license for that equipment. Buy from OEMs' that DO allow modification, most OEM now are known to provide the abilities to use the 'UEFI' as intended. Please understand that Microsoft must provide the means to certify Win/8 so you should be able to enable/disable 'Secure Boot' for a machine with a Win/8 logo on it. Not saying that 'UEFI' protocol with the subset 'Secure Boot' protocol can be disabled on all OEM machines but the to certify a Win/8 based machine the means to change will be necessary to get certifications from Microsoft.
 
Old 02-15-2013, 12:09 PM   #4
Shingetsu
LQ Newbie
 
Registered: Feb 2013
Distribution: Arch Linux x86_64
Posts: 4

Original Poster
Rep: Reputation: Disabled
1. I didn't buy it. I do believe I made this clear.
2. I have secureboot disabled, as well as fastboot and rapidstart. I am capable of getting into BIOS/EFI settings, however I can only get into it from the existing OS.

I'll repeat the problem: I can boot linux. I could install it. I could put it in CSM mode and install it normally.
The problem is that I want to keep the current OS (which is in UEFI mode) because through it is the only way to get into the BIOS/UEFI settings. If I remove it I won't be able to enter it any more.

So I'm asking on the proper way of setting up dual boot for linux in EFI with secure boot disabled without messing up the existing installation.

I have the partitioning done, I have the space prepared.
I don't have a CD drive and would prefer avoiding using a USB (though I could).
All I'm asking is the proper bootloader installation method for UEFI with an OS already installed. Preferably from HDD because booting a USB in UEFI mode is hell.
 
Old 02-15-2013, 02:27 PM   #5
NyteOwl
Member
 
Registered: Aug 2008
Location: Nova Scotia, Canada
Distribution: Slackware, OpenBSD, others periodically
Posts: 512

Rep: Reputation: 139Reputation: 139
That is a strange machine then. I have never seen a machine (UEFI or not) where you needed the operating system pre-installed in order to access the BIOS. To set it up in that manner would prohibit upgrading a hard drive or recovering from a catastrophic failure. I really think something else is at work here. What hardware (manufacurer/model)?
 
Old 02-15-2013, 05:51 PM   #6
Shingetsu
LQ Newbie
 
Registered: Feb 2013
Distribution: Arch Linux x86_64
Posts: 4

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by NyteOwl View Post
That is a strange machine then. I have never seen a machine (UEFI or not) where you needed the operating system pre-installed in order to access the BIOS. To set it up in that manner would prohibit upgrading a hard drive or recovering from a catastrophic failure. I really think something else is at work here. What hardware (manufacurer/model)?
I fully agree, it's the reason I was "stumped".
It's a Toshiba Sattelite Z930... the win8 edition.

I've tried the instructions for getting into the BIOS of the previous version (holding 0 and releasing after a second as well as just holding) as well as the same patterns with 1, f1, f2, f8, f12 and del.
Nothing apparently works.

There are currently 4 partitions, all active, one of them is, obviously, C:, one is the UEFI "BOOT" partition, one is the recovery partition and one is an unlabeled "primary" partition at the end of the disk.

Only current way I could find to get into BIOS is PC Settings->advanced boot options->UEFI settings.

As far as I can tell it's the only way of getting there (though I should check the BOOT partition and see if maybe it's a .efi file in there??).

I have no problems in setting Arch up but manipulating EFI (( and booting into EFI mode )) is beyond my patience scope.
 
Old 02-15-2013, 09:46 PM   #7
Ztcoracat
Senior Member
 
Registered: Dec 2011
Distribution: Slackware, CentOS & Android
Posts: 3,068
Blog Entries: 1

Rep: Reputation: Disabled
I agree with Nyte Owl indeed something more is at work; furthermore why would Toshiba deliberately not install a CD ROM Drive? In my mind this is bizarre and somewhat irregular-


This first one? Or the Ultrabook in the second link? (trying to find the spec's)
http://www.notebookcheck.net/Review-...k.78958.0.html
http://www.pcworld.idg.com.au/review...trabook/437724

Quote:
one is an unlabeled "primary" partition at the end of the disk.
That's the one I'd suspect or be suspicious of- (Question is of what?)

Last edited by Ztcoracat; 02-15-2013 at 09:50 PM. Reason: Additional thought
 
Old 02-15-2013, 09:47 PM   #8
boyans
LQ Newbie
 
Registered: Dec 2011
Location: Sofia
Distribution: Windows 7/8, multiple Linux versions
Posts: 4

Rep: Reputation: Disabled
There are at least 4 partitions when Windows 8 is installed (by default) on GPT disk.
1. EFI System partition
2. MS Reserved
3. Windows 8 partition
4. Recovery partition

EFI System partition holds boot files.

To install Linux you need a Linux EFI/UEFI boot manager/loader.
GRUB 2 has been updated with UEFI support (see Ubuntu 12.10).

UEFI Boot files have .efi extension.
This are the directories/files on my laptop EFI System partition (Windows 8 installed):
1. /EFI/Boot/boot64x.efi
2. /EFI/Microsoft/Boot/(many files + bootmgr.efi)


/EFI/Boot/boot64x.efi is the default boot loader/manager started by firmware
Microsoft puts there its bootmgfw.efi (Microsoft firmware boot manager).

Ubuntu puts EFI version of GRUB2 in /EFI/Boot/boot64x.efi.

Its up to the settings of a boot manager to chainload a foreign OS.

Hope this helps.

Note:
EasyBCD is completly UEFI unaware.
Moreover it depends on grub4dos (neogrub) to chainload Linux descendants and is violating grub4dos Copyright.
I would not use EasyBCD even on BIOS systems as it is shitty software made by crooks.
Stealing foreign work is a criminal act.
 
Old 02-15-2013, 10:05 PM   #9
Ztcoracat
Senior Member
 
Registered: Dec 2011
Distribution: Slackware, CentOS & Android
Posts: 3,068
Blog Entries: 1

Rep: Reputation: Disabled
Quote:
Ubuntu puts EFI version of GRUB2 in /EFI/Boot/boot64x.efi.
I didn't know that now things make a little more sense-
 
Old 02-16-2013, 12:45 PM   #10
Shingetsu
LQ Newbie
 
Registered: Feb 2013
Distribution: Arch Linux x86_64
Posts: 4

Original Poster
Rep: Reputation: Disabled
The idea of no CD-ROM drive is that it winds up being really light. I can literally hold it with one hand and type with the other in mid air without problem.

@Ztcoracat : it's the one in the 2nd review, but the windows 8 edition (newer). It's an ultrabook though.
@boyans :
So do you suggest I replace the windows bootloader? (( I can install rEFI or gummyboot no problem, but I'm worried if maybe it has a part to play in loading the BIOS )). If not, how would I add a menu option for the new system?
I'm supposing I should install grub2 into EFI/bootx64.efi and try to chainload windows (( I'm supposing os-prober doesn't work on EFI systems yet, does it? )) manually then? I'm generally a syslinux user but I don't wanna mess with an alpha version of it that even the Arch devs consider to be unstable.
 
  


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
EFI main GPT overwritten everytime (when windows 7 runs) - structure of EFI masuch Linux - Newbie 2 07-20-2012 02:49 PM
The same problem; GPT partition id and EFI issue in server during installation neonate Linux - Server 1 04-18-2011 02:19 AM
new hdd installation dody1313 Solaris / OpenSolaris 7 07-17-2008 11:16 AM
Installation on a new HDD anjanesh Fedora - Installation 2 09-02-2004 09:27 PM
hdd installation ultra99 Linux - Software 2 08-17-2004 06:50 AM


All times are GMT -5. The time now is 11:54 PM.

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