Plop Forum

General Category => Boot Managers => Topic started by: fritual on September 23, 2016, 19:33:10 PM

Title: PlopKexec 1.4.1 CD cannot find Linux
Post by: fritual on September 23, 2016, 19:33:10 PM
Hi,
I just downloaded 'Point Linux 3.2' stable release w/MATE, full featured desktop.
It installed itself, along w/GRUB 2 onto a thumbdrive, that PlopKexec 1.4.1 CD reports:


Quote
Waiting for a drive with Linux. . .
No Linux has been found.


http://pointlinux.org/download.html?version=3.2&flavour=mate&suite=full&arch=32&direct=true (http://pointlinux.org/download.html?version=3.2&flavour=mate&suite=full&arch=32&direct=true)

Q: Can any Plop Boot Manager variant boot this USB device on micro's that their BIOS can't?
Those micro's that can, function OK.
thx,
fritual
PS. PlopKexec 1.4.1 CD has always functioned OK, in the past.
Title: Re: PlopKexec 1.4.1 CD cannot find Linux
Post by: vesalocal on September 26, 2016, 20:53:24 PM
Sounds like this distribution uses no standard directories for grub config file grub.cfg.
PlopKexec searches the directories listed here: https://www.plop.at/en/plopkexec/configfiles.html (https://www.plop.at/en/plopkexec/configfiles.html)

Simply tell PlopKexec where to find the information it needs: its your turn to find the grub config file "grub.cfg" of this distribution, extract the kernel name, kernel path, initrd, boot parameters, whatever and create a plopkexec.cfg using this information.

If this is asking too much simply use another linux distribution, one you already checked for booting out of the box...
Title: Re: PlopKexec 1.4.1 CD cannot find Linux
Post by: fritual on September 28, 2016, 10:05:04 AM
Quote from: vesalocal on September 26, 2016, 20:53:24 PM
Sounds like this distribution uses no standard directories for grub config file grub.cfg.
PlopKexec searches the directories listed here: https://www.plop.at/en/plopkexec/configfiles.html (https://www.plop.at/en/plopkexec/configfiles.html)

Simply tell PlopKexec where to find the information it needs: its your turn to find the grub config file "grub.cfg" of this distribution, extract the kernel name, kernel path, initrd, boot parameters, whatever and create a plopkexec.cfg using this information.
vesalocal,
Grub.cfg info needed for PlopKexec:

Quote
set linux_gfx_mode=
export linux_gfx_mode
menuentry 'Point Linux GNU/Linux' --class point --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-d5e4b5a6-72ff-4826-8a9e-249a3562cabb' {
   load_video
   insmod gzio
   if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
   insmod part_msdos
   insmod ext2
   set root='hd1,msdos1'
   if [ x$feature_platform_search_hint = xy ]; then
     search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos1 --hint-efi=hd1,msdos1 --hint-baremetal=ahci1,msdos1  d5e4b5a6-72ff-4826-8a9e-249a3562cabb
   else
     search --no-floppy --fs-uuid --set=root d5e4b5a6-72ff-4826-8a9e-249a3562cabb
   fi
   echo   'Loading Linux 3.16.0-4-686-pae ...'
   linux   /boot/vmlinuz-3.16.0-4-686-pae root=UUID=d5e4b5a6-72ff-4826-8a9e-249a3562cabb ro  quiet splash
   echo   'Loading initial ramdisk ...'
   initrd   /boot/initrd.img-3.16.0-4-686-pae
}
submenu 'Advanced options for Point Linux GNU/Linux' $menuentry_id_option 'gnulinux-advanced-d5e4b5a6-72ff-4826-8a9e-249a3562cabb' {
   menuentry 'Point Linux GNU/Linux, with Linux 3.16.0-4-686-pae' --class point --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.16.0-4-686-pae-advanced-d5e4b5a6-72ff-4826-8a9e-249a3562cabb' {
      load_video
      insmod gzio
      if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
      insmod part_msdos
      insmod ext2
      set root='hd1,msdos1'
      if [ x$feature_platform_search_hint = xy ]; then
        search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos1 --hint-efi=hd1,msdos1 --hint-baremetal=ahci1,msdos1  d5e4b5a6-72ff-4826-8a9e-249a3562cabb
      else
        search --no-floppy --fs-uuid --set=root d5e4b5a6-72ff-4826-8a9e-249a3562cabb
      fi
      echo   'Loading Linux 3.16.0-4-686-pae ...'
      linux   /boot/vmlinuz-3.16.0-4-686-pae root=UUID=d5e4b5a6-72ff-4826-8a9e-249a3562cabb ro  quiet splash
      echo   'Loading initial ramdisk ...'
      initrd   /boot/initrd.img-3.16.0-4-686-pae
   }
   menuentry 'Point Linux GNU/Linux, with Linux 3.16.0-4-686-pae (recovery mode)' --class point --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.16.0-4-686-pae-recovery-d5e4b5a6-72ff-4826-8a9e-249a3562cabb' {
      load_video
      insmod gzio
      if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
      insmod part_msdos
      insmod ext2
      set root='hd1,msdos1'
      if [ x$feature_platform_search_hint = xy ]; then
        search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos1 --hint-efi=hd1,msdos1 --hint-baremetal=ahci1,msdos1  d5e4b5a6-72ff-4826-8a9e-249a3562cabb
      else
        search --no-floppy --fs-uuid --set=root d5e4b5a6-72ff-4826-8a9e-249a3562cabb
      fi
      echo   'Loading Linux 3.16.0-4-686-pae ...'
      linux   /boot/vmlinuz-3.16.0-4-686-pae root=UUID=d5e4b5a6-72ff-4826-8a9e-249a3562cabb ro single
      echo   'Loading initial ramdisk ...'
      initrd   /boot/initrd.img-3.16.0-4-686-pae
   }
}





plopkexec.cfg sample:


Quote

LABEL Point Linux GNU/Linux
      MENU LABEL Point Linux GNU/Linux, with Linux 3.16.0-4-686-pae
      KERNEL /boot/vmlinuz-3.16.0-4-686-pae
      INITRD /boot/initrd.img-3.16.0-4-686-pae
      APPEND root=UUID=xxxxxxxxxxxxxxxxxxxxxxxxxxx ro  quiet splash

Suspect this is all the data needed by plopKexec.
Q: What's the command to decode disk UUID?
fritual
Title: Re: PlopKexec 1.4.1 CD cannot find Linux
Post by: vesalocal on September 28, 2016, 11:08:23 AM
`ls -l  /dev/disk/by-uuid/` shows the UUID.

Use ls without pen drive, then insert the pen drive and list again. The additional UUID is the one of your pen drive.

Title: Re: PlopKexec 1.4.1 CD cannot find Linux
Post by: Elmar on September 28, 2016, 19:13:28 PM
Hello,

I am unsure if the installed version is different to the "Try without install" menu option from the ISO. The ISO works fine with PlopKexec. As alternative, just copy the content of the ISO to the USB drive.

Best regards
Elmar
Title: Re: PlopKexec 1.4.1 CD cannot find Linux
Post by: fritual on September 28, 2016, 20:10:21 PM
Quote from: Elmar on September 28, 2016, 19:13:28 PM
Hello,

I am unsure if the installed version is different to the "Try without install" menu option from the ISO. The ISO works fine with PlopKexec. As alternative, just copy the content of the ISO to the USB drive.

Best regards
Elmar

Dear Elmar:
My conclusion to install was that distro lacks persistance.  Maybe you have a different perspective?
This is my first Debian install experience, requiring more focus than before.
Wishing you a happy day! :)
fritual

Title: *SOLVED*
Post by: fritual on September 28, 2016, 21:07:29 PM
Quote from: vesalocal on September 28, 2016, 11:08:23 AM
`ls -l  /dev/disk/by-uuid/` shows the UUID.

Use ls without pen drive, then insert the pen drive and list again. The additional UUID is the one of your pen drive.

Hey Elmar & vesalocal!
Distro now boots w/PlopKexec:
Quote
lrwxrwxrwx 1 root root 10 Sep 28 08:31 d5e4b5a6-72ff-4826-8a9e-249a3562cabb -> ../../sdb1
. . . much quicker than grub
fritual