LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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 12-09-2014, 11:38 AM   #16
EYo
Member
 
Registered: Jun 2009
Distribution: Slackware
Posts: 190

Rep: Reputation: 153Reputation: 153

Quote:
Originally Posted by Didier Spaier View Post
Please try and correct me case occurring..
Okay here is my setup.
Code:
root@opp:~# v /boot/vmlinuz*       
lrwxrwxrwx 1 root root      23 Dec  9 03:22 /boot/vmlinuz -> vmlinuz-generic-3.14.24
lrwxrwxrwx 1 root root      23 Dec  7 00:42 /boot/vmlinuz-generic -> vmlinuz-generic-3.14.24
-rw-r--r-- 1 root root 3691680 Nov 14 11:03 /boot/vmlinuz-generic-3.14.24
lrwxrwxrwx 1 root root      20 Dec  7 00:42 /boot/vmlinuz-huge -> vmlinuz-huge-3.14.24
-rw-r--r-- 1 root root 6709616 Nov 14 11:09 /boot/vmlinuz-huge-3.14.24

root@opp:~# modprobe efivars;EFI_DEVICE=$(mount | grep vfat | grep -w /boot/efi | cut -b 1-8);EFI_PARTITION=$(mount | grep vfat | grep -w /boot/efi | cut -f 1 -d ' ' | cut -b 9-)
root@opp:~# echo $EFI_DEVICE
/dev/sda
root@opp:~# echo $EFI_PARTITION
2
I tried this test new elilo.conf:
Code:
chooser=simple
delay=10
timeout=20
prompt
default=generic
#
image=vmlinuz-generic-3.14.24
  label=generic
  description="Slackware 3.14.24"
  initrd=initrd.gz
  root=/dev/sda7
  read-only
  append="root=/dev/sda7 vga=normal ro"

image=vmlinuz-huge-3.14.24
  label=huge
  description="Slackware huge kernel + initrd"
  root=/dev/sda7
  read-only
  append="root=/dev/sda7 vga=normal ro"
Rebooting gives this "elilo error: forcing interactive mode due to config file errors". I skipped interactive mode. Then I tried writing the config with this command
Code:
root@opp:/boot/efi# efibootmgr -v -c -d /dev/sda -p 2 -l "\\Slackware\\elilo.conf" -L "Slackware"
but elilo still gives same error. Thank goodness for gparted boot stick, restored elilo.conf I guess it's booting the first Slackware entry
Code:
root@opp:~# efibootmgr BootCurrent
BootCurrent: 0003
Timeout: 2 seconds
BootOrder: 0004,0003,0000,0001,0002,0010,000D,0006,0007,000E
Boot0000* Windows Boot Manager
Boot0001* USB Floppy/CD
Boot0002* USB Hard Drive
Boot0003* Slackware
Boot0004* Slackware
Boot0006* USB Floppy/CD
Boot0007* Hard Drive
Boot000D* CD/DVD Drive 
Boot000E* Realtek PXE B07 D00
Boot0010* ATAPI CD-ROM Drive
My goal is to test the Current docs by adding Slack to an existing Windows 8 machine. For that I had to restore win8 in original hdwr config and boot the oem discs etc.. And that was my weekend meltdown in a nutshell Note: Windows8 will happily shrink it's own OS partition to a practically unusable state, no room left to run Windows Updates, haha. So don't go just accepting the default. I am also now familiar with HPs famous fpp.exe red screen.

Back on topic, after finally sorting the partition space, I was so tired my muscle memory accidentally overwrote /boot/efi (/dev/sda2) installing Slackware the first time (talk about "no space left on device" ha). So it is not really "original" like intended. To boot Windows, I have to Esc to Boot Menu and choose it from the UEFI options.

Last edited by EYo; 12-09-2014 at 11:46 AM. Reason: pwd the efibootmgr command
 
  


Reply



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
How to recompile SVN that comes with slack 12 neocontrol Slackware 1 12-19-2007 04:41 PM
Slack-current 2.6.12.3 recompile JohnSeth Slackware - Installation 1 08-21-2005 12:29 PM
Recompile Slack aleksander777 Slackware 8 07-29-2004 02:35 PM
recompile slack for *my* CPU Tinkster Slackware 4 11-22-2002 06:30 PM
slack kernel recompile Goatdemon Slackware 11 08-20-2002 04:41 AM

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

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