PlopKexec and last Ubuntu 15.10

Started by PLOPMAN, February 05, 2016, 21:19:51 PM

Previous topic - Next topic

PLOPMAN

Hello,

I have got a PC add-on Card PCI-express with NEC/Renesas USB 3.0.
PlopKexec detected my usb hd because my hdd was blinking led (sde)
I installed ubuntu on a usb hdd but plopkexec showed errors: "Ignoring unsupported entry" in /mnt/etc/grub.d/30_os-prober ('menuentry' ... )  ... (it's ok with boot on usb flash disk with live ubuntu).
Grub is in my partition /boot (sde1)

Thanks for your help

Photo 1= P_20160205_205121-3.jpg
Photo 2= P_20160205_205305-3.jpg
Photo 3= P_20160205_205703-2.jpg
Photo 4= P_20160205_205946-3.jpg

Elmar

Your Grub config file is using variables. The current PlopKexec version does not support Grub variables. You have to create an alternative config file that does not use variables.

Best regards
Elmar

PLOPMAN

Thanks for your answer Elmar.

I will wait a new version of PlopKexec because it's a long process to revert to grub-legacy: http://ubuntuforums.org/showthread.php?t=1298932

At bottom of this page: https://wiki.gentoo.org/wiki/GRUB2_Quick_Start ...

https://help.ubuntu.com/community/Grub2/Setup

Elmar

Its not planned to add this feature soon.

You don't have to revert to Grub legacy. You just have to replace the variables like $DEVICE with the values that they became.

PLOPMAN


PLOPMAN

I put plopkexec.cfg in / but Ubuntu is always not detected...

You said "The file plopkexec.cfg will be searched. It supports the Syslinux commands listed below. The plopkexec.cfg config file has the highest priority. All previous settings like TIMEOUT and DEFAULT can be overridden. "...but PlopKexec continues to show the same errors with menuentry.... plopKexec.cfg has really the hightest priority ?

Elmar

Yes, plopkexec.cfg has the highest priority. It's the last file that will be scanned. Highest priority does not mean, that all other config files are not scanned.

All known config files are scanned in this order

lilo
grub legacy
grub 2
syslinux
plopkexec.cfg


how does your plopkexec.cfg look like?

PLOPMAN

Ok, this is my plopkexec.cfg:

LABEL Ubuntu
   MENU LABEL Ubuntu 15.10, kernel 4.2.0-27-generic
   KERNEL /boot/vmlinuz-4.2.0-27-generic root=UUID=xxxxxxxxxxxxxxxxxxxxxxxxxx ro quiet splash
   INITRD /boot/initrd.img-4.2.0-27-generic
quiet

I changed UUID by xxxxx in this post...

It's for ArchiLinux : https://wiki.archlinux.org/index.php/Kernel_parameters... I don't use the command APPEND, i don't really know with this... PlopKexec use KERNEL and INITRD command (APPEND too), syslinux use LINUX command instead of KERNEL command...

Elmar

This should work


LABEL Ubuntu
    MENU LABEL Ubuntu 15.10, kernel 4.2.0-27-generic
    KERNEL /boot/vmlinuz-4.2.0-27-generic
    INITRD /boot/initrd.img-4.2.0-27-generic
    APPEND  root=UUID=xxxxxxxxxxxxxxxxxxxxxxxxxx ro quiet splash



The keywords LINUX and KERNEL are handled in the same way.


PLOPMAN

it's always not detected...

I don't know why... usb hdd is detected...

Elmar


PLOPMAN


Elmar

But you see the new menu entry in PlopKexec?

PLOPMAN

#13
No, there is no new entry in PlopKexec.

Elmar

You see, you have to be more specific. I am not in front of your computer.

Where did you store the plopkexec.cfg file?

PLOPMAN

Sorry.

I use two method: I added an entry in windows boot loader (windows 7) with easybcd (PlopKexec 1.1) and now i boot plopKexec 1.2 from usb flash disk... this was the same result

Elmar

and where did you store the plopkexec.cfg file?

PLOPMAN

the PlopKexec.cfg file is store in sda1 partition (at /)

Elmar

What OS is on sda1?
What file system is there?

PLOPMAN

Ubuntu is on sda1 and the file system is ext4

Elmar

On the Log screen there is never an entry about  plopkexec.cfg? (the photos are not optimal)
The file name is really plopkexec.cfg?

PLOPMAN

no, there is never entry about plopKexec.cfg for sda (usb hdd)
yes , the file name is really plopkexec.cfg

Elmar

Copy the plopkexec.cfg into /boot on the usb hdd. It seems I disabled for debugging the plopkexec.cfg scan in the root directory and I forgot to enable it.

PLOPMAN

I copied plopKexec.cfg to /boot and....

....

The menu show the new entry Ubuntu 15.10 ! Ubuntu start, now it's perfect for me !! :) :) :) :D :D :D

Thanks a lot Elmar for your help

PLOPMAN

#24
Hello Elmar,

What is the changelog for the new version 1.3 of PlopKexec ?

Is it possible to integrate PlopKexec in Bios with this method https://www.plop.at/en/bootmanager/rom.html ?

Elmar

It's only the fix that plopkexec.cfg was not searched in the root directories.

PLOPMAN

ok , and in order to integrate in bios, is it possible ?

Elmar

PlopKexec cannot be integrated into bios.


Elmar

Just to clarify. PlopKexec is too big for the BIOS, because its Linux Kernel based. Maybe my new boot manager will be still so flexible as my good old Plop Boot Manager 5.x and fit into the bios plus resolving old limitations.