LINUX LITE 7.2 FINAL RELEASED - SEE RELEASE ANNOUNCEMENTS SECTION FOR DETAILS


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
UEFI Build Test
#11
@ technomancer and anyone else who may try UEFI install,

Although I don't have a UEFI computer myself, I've guided many, many people through that type of install.  Below are a few pointers.  If you run into problems, post back and I may be able to help.

Like Jerry said, if you have a spare drive use that so no risk of wiping out your main drive.  Boot the LL dvd/usb and open a terminal to make sure it got booted in UEFI mode by entering this command:
Code:
ls /sys/firmware
If you see "efi" listed in the output, you're booted correctly in UEFI mode.  If not, you're booted in Legacy mode.  Boot again and try to find a boot option specifying UEFI/EFI for the dvd/usb.  (The dvd/usb will install in same mode that it got booted in, so you need to make sure it's booted in UEFI mode before installing.  Otherwise, it will install and work in Legacy mode and you will probably not realize that is what happened.)

Once boot mode is confirmed, run installer.  If you pick first option to erase and use the whole disk, the installer should automatically create the necessary partitions: a FAT32 "EFI System Partition", an "Ext4" root partition and a swap partition.  Try that option first to see if all works well.

If you feel adventurous and want to run another test to create partitions manually and add a home partition, go ahead and do that, but don't forget to create a small (550MB), FAT32 partition near beginning of drive.  Set mount point to "/boot/efi" and make the "Device for boot loader installation" point to that partition instead of the default "/dev/sda".

If all went well with tests and you want to try dual-boot with Windows, clone Windows to spare drive (keeping original untouched), then follow this tutorial:  http://forums.linuxmint.com/viewtopic.php?f=42&t=163126

If don't have spare drive make sure you have a means of restoring Windows (if that's what is on the computer) before you run test install of LL.  There are tutorials on the Windows forums for creating a new install/restore USB.  Search there and create one if you don't already have this done.
Windows 7 Forums
Windows 8 Forums
Windows 10 Forums


P.s.
If install seems to go well but computer won't boot into it, go into your UEFI/Bios settings and make sure it is set to UEFI mode booting.  (Might not be a bad idea to disable "Secure Boot" also, just in case that is causing the problem.)
Try Linux Beginner Search Engine for answers to Linux questions.
Reply
#12
I may be off topic but I still don't understand this problem. I installed LL 2.6 on this new computer with the help of ASUS. I did not understand how to change the boot order since it does not have the good old BIOS so it would boot from a DVD (or USB) before the hard drive. Once they talked me through changing the boot order, LL installed with no problems. Would a UEFI build change the boot order?  :-\
[Image: EtYqOrS.png%5D]

Left Mac OS X for Linux in Jan 2014
Reply
#13
I have a spare SATA HDD 250GB, and will install fresh everytime. I understand this is only related to testing UEFI.
All i need now is a copy of the build. I agree to the terms.
Thank you gold_finger for the tips !

(01-01-2016, 09:13 PM)Jerry link Wrote: Excellent. In the interests of keeping this as simple as possible, I would recommend you use a spare hard drive for these tests. If you want to use an existing hard drive already in your pc thats ok too, I just don't have the time to go through any hiccups you may encounter with existing data. We just need to concentrate on this UEFI thing only. If this ends up working on half a dozen different pc's or more, that's conformation enough for me. Cheers Smile
(01-01-2016, 10:02 PM)gold_finger link Wrote: @ technomancer and anyone else who may try UEFI install,

Although I don't have a UEFI computer myself, I've guided many, many people through that type of install.  Below are a few pointers.  If you run into problems, post back and I may be able to help.

Like Jerry said, if you have a spare drive use that so no risk of wiping out your main drive.  Boot the LL dvd/usb and open a terminal to make sure it got booted in UEFI mode by entering this command:
Code:
ls /sys/firmware
If you see "efi" listed in the output, you're booted correctly in UEFI mode.  If not, you're booted in Legacy mode.  Boot again and try to find a boot option specifying UEFI/EFI for the dvd/usb.  (The dvd/usb will install in same mode that it got booted in, so you need to make sure it's booted in UEFI mode before installing.  Otherwise, it will install and work in Legacy mode and you will probably not realize that is what happened.)

Once boot mode is confirmed, run installer.  If you pick first option to erase and use the whole disk, the installer should automatically create the necessary partitions: a FAT32 "EFI System Partition", an "Ext4" root partition and a swap partition.  Try that option first to see if all works well.

If you feel adventurous and want to run another test to create partitions manually and add a home partition, go ahead and do that, but don't forget to create a small (550MB), FAT32 partition near beginning of drive.  Set mount point to "/boot/efi" and make the "Device for boot loader installation" point to that partition instead of the default "/dev/sda".

If all went well with tests and you want to try dual-boot with Windows, clone Windows to spare drive (keeping original untouched), then follow this tutorial:  http://forums.linuxmint.com/viewtopic.php?f=42&t=163126

If don't have spare drive make sure you have a means of restoring Windows (if that's what is on the computer) before you run test install of LL.  There are tutorials on the Windows forums for creating a new install/restore USB.  Search there and create one if you don't already have this done.
Windows 7 Forums
Windows 8 Forums
Windows 10 Forums


P.s.
If install seems to go well but computer won't boot into it, go into your UEFI/Bios settings and make sure it is set to UEFI mode booting.  (Might not be a bad idea to disable "Secure Boot" also, just in case that is causing the problem.)
Member www.eff.org
*Hardware hacks are my speciality.
"forum posts should be like a skirt- long enough to cover the subject material, but short enough to keep things interesting"
--I am using/Running Linuxlite 2.8, Debian8 server, Ubuntu 14, Win7,Win10, MX15, LinuxMint kde.
--Xerox field service engineer, printer repairs,network analyst.
Reply
#14
(01-01-2016, 11:36 PM)Coastie link Wrote: I may be off topic but I still don't understand this problem. I installed LL 2.6 on this new computer with the help of ASUS. I did not understand how to change the boot order since it does not have the good old BIOS so it would boot from a DVD (or USB) before the hard drive. Once they talked me through changing the boot order, LL installed with no problems. Would a UEFI build change the boot order?  :-\

In a word -- No.


Some basics:

After powering on the computer, firmware built into the motherboard handles the initial boot process.  It performs basic tests of components to make sure all is well, then passes on responsibility to complete the boot process to operating system boot loaders on the hard drive.  On older computers that firmware was called BIOS = Basic Input/Output System.  Most new computers now use firmware called UEFI = Unified Extensible Firmware Interface.  UEFI has expanded capabilities over the older BIOS firmware.

Hard drives can be formatted to use either MBR/(msdos) partitions, or GPT partitions.  MBR partitioned drives can only have 4 primary partitions, or 3 primary partitions and one extended partition that can then house multiple logical partitions to overcome the 4-partition limit.  The first 512 bytes on an MBR drive contain the Master Boot Record (MBR) and the partition table for the drive. The MBR holds initial boot loader code for installed operating system(s).  Most BIOS-based computers use MBR drives and after initial P.O.S.T. (Power On Self Test), the firmware points to the MBR of the hard drive to boot the installed operating system(s).  (Only one operation system can have initial boot code in the MBR.  The initial boot code there points to second stage boot code located elsewhere on the drive to complete the boot process and/or offer choices to boot multiple operating systems if others are installed.)

In contrast, most new computers with UEFI firmware use GPT partitioned drives.  GPT drives don't have a 4-partition limit and have other advantages over MBR drives.  Also, boot loader code is placed on a special "EFI System Partition" (ESP) instead of on the MBR and UEFI firmware points to that partition to finish booting an operation system after initial system checks are done.  The ESP can hold boot loader files for multiple operating system.  Typically the UEFI firmware will provide the user with a way to specify which operating system to use as the "default" system when booting the computer.

Not all UEFI firmware is implemented the same way -- it varies from one manufacturer to the next.  Read your computer's user manual and/or boot into the UEFI settings menu and have a look around at the different options available.  Eg.  If you have Windows on the computer and later install a Linux distro, sometimes the firmware will automatically make the last installed system (Linux) the default OS to boot into.  Others may keep Windows as the default and not show a Linux choice until you manually change that in the settings.


Now, getting back to what you stated about installing LL after talking to Asus.  I'm going to make a guess that you installed LL as the only OS on the computer and wiped-out Windows.  Is that correct?

The reason I say that is because I highly doubt that they would have known how to guide you through a UEFI dual-boot install with LL and Windows.

My guess is that you installed LL in Legacy mode, not UEFI mode.  Assuming that Windows was installed originally in UEFI mode, that would mean that the hard drive was using GPT partitions.  If you installed LL in Legacy mode, dual-booting would not work without you having to manually change boot modes depending on which OS you were trying to boot.  Since you didn't state having to do that, I'm assuming that you only have LL on the computer.

You can confirm that LL was in fact installed in Legacy mode (not UEFI mode) by running this command in a terminal:
Code:
sudo parted --list

Assuming the line "Partition Table =" says "gpt", you will likely see a small (1-16MB), unformatted partition labeled "bios_grub", (or "bios_boot") as part of the output.  The presence of that partition would confirm that you have a Legacy mode install.  (That is not a problem and does not affect the operation of LL.  I'm just pointing out that you probably don't have a UEFI mode install.  In all likelihood, the Asus people had you change the UEFI settings to use CSM/Legacy instead of UEFI.)

If "Partition Table = msdos", then you also have a Legacy mode install of LL.

P.s.
If you are dual-booting with Windows, then my guess is that both OS's are installed in Legacy mode.
Try Linux Beginner Search Engine for answers to Linux questions.
Reply
#15
(01-02-2016, 03:59 AM)gold_finger link Wrote: In a word -- No. ...

If "Partition Table = msdos", then you also have a Legacy mode install of LL. ...

Thanks for the explanation, gold_finger.

Model: ATA TOSHIBA DT01ACA2 (scsi)
Disk /dev/sda: 2000GB
Sector size (logical/physical): 512B/4096B
Partition Table: msdos

Number  Start      End        Size        Type        File system    Flags
1          1049kB  1988GB  1988GB  primary    ext4                boot
2          1988GB  2000GB  12.0GB  extended
5          1988GB  2000GB  12.0GB  logical      linux-swap(v1)

Yes, I installed LL as the only OS on the computer and wiped-out Windows. So if you want the "advantages" of the UEFI, you need to have a UEFI a build of LL. If you are satisfied with the legacy mode, the current build is fine even it you want more than one operating system on your computer?  :-\
[Image: EtYqOrS.png%5D]

Left Mac OS X for Linux in Jan 2014
Reply
#16
The first build is going up to FTP as I type this.

@technomancer, ignore any cosmetic differences at this stage that you're not used to seeing. Grub and many parts of the system need updating, but I'm not concerned with that at this stage. The first build needs to tell us that it will boot and install in UEFI, if the first few builds don't work, there's no point spending any time modifying LL to be up to date. What is new is that the Help Manual shortcut is now on the Desktop, a lot of people are missing this valuable resource, now it's 'in your face' Smile

Install takes longer than usual because this time around, regional settings should stick after your install has completed. It also has to install and load all the EFI packages. So an internet connection is now mandatory.

I'll pm you with the FTP details when the upload has finished. Many thanks again Smile
Reply
#17
(01-02-2016, 07:02 AM)Jerry link Wrote: The first build is going up to FTP as I type this.

@technomancer, ignore any cosmetic differences at this stage that you're not used to seeing. Grub and many parts of the system need updating, but I'm not concerned with that at this stage. The first build needs to tell us that it will boot and install in UEFI, if the first few builds don't work, there's no point spending any time modifying LL to be up to date. What is new is that the Help Manual shortcut is now on the Desktop, a lot of people are missing this valuable resource, now it's 'in your face' Smile

Install takes longer than usual because this time around, regional settings should stick after your install has completed. It also has to install and load all the EFI packages. So an internet connection is now mandatory.

I'll pm you with the FTP details when the upload has finished. Many thanks again Smile

@Jerry- I will get started on it today. Thank you for the opportunity to help out.
Member www.eff.org
*Hardware hacks are my speciality.
"forum posts should be like a skirt- long enough to cover the subject material, but short enough to keep things interesting"
--I am using/Running Linuxlite 2.8, Debian8 server, Ubuntu 14, Win7,Win10, MX15, LinuxMint kde.
--Xerox field service engineer, printer repairs,network analyst.
Reply
#18
Hi Jerry,
I have some comps with UEFI and spare HDs. I agree wit the license statement, please send me the access data.

BTW, all the best in the New Year!
Jiri
"Simplicity is the ultimate sophistication." - Leonardo da Vinci
Reply
#19
@ Jerry
First test completed- sent you a message on results.

Member www.eff.org
*Hardware hacks are my speciality.
"forum posts should be like a skirt- long enough to cover the subject material, but short enough to keep things interesting"
--I am using/Running Linuxlite 2.8, Debian8 server, Ubuntu 14, Win7,Win10, MX15, LinuxMint kde.
--Xerox field service engineer, printer repairs,network analyst.
Reply
#20
Would liked to have helped with this but do not have any UEFI machines.

Jocklad
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)