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

Notices


Reply
  Search this Thread
Old 10-21-2014, 05:20 AM   #1
tamtam
Member
 
Registered: May 2004
Distribution: Slackware.
Posts: 323

Rep: Reputation: 33
Question Strange set up - Slackware wont boot automatically


New Laptop, see http://www.linuxquestions.org/questi...ft-4175519459/ if interested.

Sorry, if this is a bit too detailed. Just want to describe my steps in case someone recognises a step I missed.

Finally found time to install Slackware.

Laptop details...
HP Pavilion, i3 Processor, 8GB RAM, 1TB HD.

Followed the following vid from youtube - thanks

On the laptop, shrinking the C:/ drive to make space went well. In the laptop Bios turned on Legacy Support, and choose to boot from the Internal CD\DVD drive. Saved the changes.

A message was displayed about changing the OS or boot order and to enter a code (2834 + ENTER to accept) or ESC to discard. Something like that anyway. Entered code and the laptop continued to boot into Windows. Shut down the laptop.

Restarted laptop, message was displayed "Press the ESC Key for start up menu". Left it as is and it again did not start the from the DVD drive and started Windows. Shut down again.

Restarted again and this time when prompted I hit ESC for start up menu. Was presented with the Menu.
F1 System Information. F2 System Diagnostics. F9 Boot Device Option. F10 BIOS set up. F11 System Recovery. ENTER - Continue Set Up.

Went to Boot Device Options - F9.
Presented with Boot Manager. Boot Menu Options were...
OS Boot Manger, Internal CD/DVD ROM Drive (UEFI), Boot from EFI, Internal CD/DVD ROM Drive, Netbook Hard Drive.

Choose the DVD Drive (without UEFI) and were booting from the Drive. Installation begins. During the installation noticed no mention of EFI. Ofcourse no elilo available so could not install lilo. Goosed. Trust this option being after the full installation.

Went back to start again, this time in the Boot Manager menu above choose "Internal CD/DVD ROM Drive (UEFI). Got a Welcome to GRUB message followed by the GNU GRUB version 2.00 options. These options did not include the huge.smp kernel. So choose "Slackware 14.1 huge.s kernel". I was now off and running with the correct installation for EFI. Installation does not complain about elilo.

Installation completed, rebooted machine. Changed to Secure Boot in the BIOS. Rebooted into Windows. What happened.

Rebooted again. Into BIOS changed back to Legacy. Hit ESC to go into start up menu and F9 for Boot Options. There is now a option to Boot Slackware. I start Slackware and find the installation went fine. I can startx and looks fine.

I really do not wish to go through the start up sequence everytime I use Slackware. I have also put off customising Slackware the way I like in case I have missed something and have to reinstall.

Any ideas why the Slackware does not start under UEFI?
 
Old 10-21-2014, 01:59 PM   #2
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,057

Rep: Reputation: Disabled
Assuming you were using a Slackware DVD bought on the Slackware store, I remind you that the Slackware 14.1 DVD is dual side x86_64 (64-bit), and i686 (32-bit, i486 compatible).

If the installer's greeting screen mentions slackware 14.1 you are using the 32-bit side. If it says slackware64 14.1 instead you are using the 64-bit side.

Also the kernel labeled hugesmp.s is only in the 32-bit side (there is also a huge.s kernel available on that side for very old machines).

On the 64-bit side there's only one kernel, labeled huge.s (but that is SMP able).

So I'm a bit confused. Which version did you eventually install: 64-bit or 32-bit?

Be aware that:
  • only the 64-bit version can be installed on a machine with an UEFI firmware.
  • none can boot if Secure Boot is enabled.

Last, but only if you boot off the 64-bit side, the installer will detect the kind of firmware on your machine:
  • in case of BIOS it'll propose you to run lilo
  • in case of UEFI it will request you to create an /EFI/BOOT partition if it doesn't detect one, then suggest you to skip lilo and propose you to run elilo.

Last edited by Didier Spaier; 10-21-2014 at 02:08 PM.
 
Old 10-21-2014, 03:38 PM   #3
tamtam
Member
 
Registered: May 2004
Distribution: Slackware.
Posts: 323

Original Poster
Rep: Reputation: 33
Quote:
Originally Posted by Didier Spaier View Post
Assuming you were using a Slackware DVD bought on the Slackware store, I remind you that the Slackware 14.1 DVD is dual side x86_64 (64-bit), and i686 (32-bit, i486 compatible).
Installation Media is Slackware64 current.

Quote:
Also the kernel labeled hugesmp.s is only in the 32-bit side (there is also a huge.s kernel available on that side for very old machines).
On the 64-bit side there's only one kernel, labeled huge.s (but that is SMP able).
Thank you for the explanation

Quote:
Be aware that:
  • only the 64-bit version can be installed on a machine with an UEFI firmware.
  • none can boot if Secure Boot is enabled.
Aware of both issues. Installation media Slackware64 current. Legacy Boot enabled.

Quote:
Last, but only if you boot off the 64-bit side, the installer will detect the kind of firmware on your machine:
  • in case of BIOS it'll propose you to run lilo
  • in case of UEFI it will request you to create an /EFI/BOOT partition if it doesn't detect one, then suggest you to skip lilo and propose you to run elilo.
It is EFI. Yes it did detect and run elilo. It did install on EFI/BOOT.
Code:
ls /boot/efi/
EFI boot
ls /boot/efi/EFI/
Boot HP Microsoft Slackware
The installation went fine. The issue is that when I boot the machine to run the new Slackware installation, it has to be in legacy mode. I then have to hit ESC when prompted to get into Start Up Menu, then F9 for the boot manager, then choose Slackware from the options.
 
Old 10-22-2014, 10:03 AM   #4
tamtam
Member
 
Registered: May 2004
Distribution: Slackware.
Posts: 323

Original Poster
Rep: Reputation: 33
Okay finally found out root of my woes. Seems Windows and HP are trying there best to prevent any other OS from using any other boot manager. Just google HP UEFI and Linux.

Changed from elilo to Grub2. Installed fine and blew away elilo manually.

That did not stop Windows from automatically loading in legacy support if you do not hit ESC, F9 or F10.

See http://fomori.org/blog/?p=892 and https://wiki.archlinux.org/index.php...iteBook_840_G1.

At one point I had grub running from boot by copying grub.efi the /boot/efi/EFI/Microsoft/Boot/bootmgfw.efi (backing bootmgfw.efi up a directory first). I changed the menuentry for windows (which I had to manually add to grub.cfg) to /EFI/Microsoft/bootmgfw.efi. I first booted into Slackware fine. Then after the first time I booted into Windows from the Grub menu and rebooted, I found that the machine once again started to load windows. Once I got back into Slackware I found that the Windows or HP had reinstated bootmgfw.efi in the original directory. In other words it does not matter how many times you copy grub.efi over bootmgfw.efi. Next time you go to Windows, the bootmgfw.efi will rewritten and you will be back a square one.

Basically I have to Hit F9 at Boot and select Slackware from the Boot options if I want to use Slackware.
 
  


Reply

Tags
hp paviliion, install, uefi booting



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] Display manager wont start automatically at boot devianpctek Debian 9 09-08-2021 09:11 AM
[SOLVED] Slackware 13.37 installed but wont boot ;( dombera Slackware 2 01-15-2012 05:16 AM
Ubuntu installer will automatically set up dual-boot? mhg Ubuntu 3 05-02-2010 09:30 PM
slackware 8.1 wont boot crealkillerI75 Slackware 7 09-25-2002 12:02 PM
slackware wont boot :( banelion Slackware 10 06-24-2002 07:28 PM

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

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