Quote:
Originally Posted by Didier Spaier
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.