Author Topic: LiveUSB & By Label or By UUID Booting  (Read 1196 times)

Offline Was_Just19

  • Hero Member
  • *****
  • Posts: 6852
  • MLU
LiveUSB & By Label or By UUID Booting
« on: August 25, 2009, 08:18:33 AM »
I have only recently realised that by Label booting seems to be non-functioning in a situation where a Live (Poorman's) install is done rather than a full installation.

This functionality is very desireable if one is to use PCLOS with Grub bootmanager on a USB flash/HDD drive or such, particularly across various PCs but especially if persistence is to be used.

Are there any plans to incorporate this functionality into the ISO for those who use PCLOS on removeable drives?
EDIT .. I don't know it is not there, only that it does not appear to be functional

Thanks.
« Last Edit: August 26, 2009, 12:14:14 PM by JohnBoy »

Offline pags

  • Hero Member
  • *****
  • Posts: 2515
  • Keep it clean.
Re: LiveUSB & By Label or By UUID Booting
« Reply #1 on: August 26, 2009, 10:26:06 AM »
I have only recently realised that by Label booting seems to be non-functioning in a situation where a Live (Poorman's) install is done rather than a full installation.

This functionality is very desireable if one is to use PCLOS with Grub bootmanager on a USB flash/HDD drive or such, particularly across various PCs but especially if persistence is to be used.

Are there any plans to incorporate this functionality into the ISO for those who use PCLOS on removeable drives?

Thanks.

What version are you using?

This works fine for 2009.2 (and, LXDE 2009.4) for me, from USB.

Here is my menu.lst from my USB key:
Code: [Select]
timeout 10
color black/cyan yellow/cyan
#gfxmenu (hd0,0)/usr/share/gfxboot/themes/pclinuxos/boot/message
default 0

title PCLOS cica 2009 -- With Persistence
kernel (hd0,0)/isolinux/vmlinuz vga=788 livecd=livecd fromusb root=Label=PCLOS changes_dev=LABEL=PCLOS acpi=on fstab=rw,noauto
initrd (hd0,0)/isolinux/initrd.gz

title PCLOS cica 2009
kernel (hd0,0)/isolinux/vmlinuz vga=788 livecd=livecd fromusb root=Label=PCLOS acpi=on fstab=rw,noauto
initrd (hd0,0)/isolinux/initrd.gz

...and it boots great!  In fact, I have both 2009.2 and LXDE 2009.4 on this same key, and I just swap out the isolinux folder and livecd.sqfs file to change environments.


EDIT
Clean up formatting
« Last Edit: August 26, 2009, 12:15:32 PM by pags »

Offline Was_Just19

  • Hero Member
  • *****
  • Posts: 6852
  • MLU
Re: LiveUSB & By Label or By UUID Booting
« Reply #2 on: August 26, 2009, 10:45:23 AM »
The changes/persistence will benefit from 'By Label' specifying its location, but as I understand it that kicks in much later than say the "root=" boot code.

From observing the boot up sequence there appears to be no difference at all whether the root is specified or not. If that is truly the case then By Label booting is not implemented as I would understand it (in liveUSB mode).

Maybe it is the case that the By Label booting is correctly implemented and some other boot code is overriding it ..... that I have not checked, but will do immediately.  ??? :-[


regards.

Offline Was_Just19

  • Hero Member
  • *****
  • Posts: 6852
  • MLU
Re: LiveUSB & By Label or By UUID Booting
« Reply #3 on: August 26, 2009, 12:12:27 PM »
I am fast coming to the conclusion that I just cannot fathom what exactly is going on and what is interacting with what ...

Use of the boot code  livecd=livecd  is critical to the booting of the device and I have little/no knowledge of what this does, particularly in conjunction with the By Label boot code.

I think it might be best if I just deleted this thread, as with the correct boot codes the USB stick seems to boot in most all circumstances, although it does not APPEAR to be using the "root=LABEL=xyz" boot code.

.. maybe it is using it and I just am not seeing it ...... or maybe it is being overridden by something ......

I just do not know.
All I can say is that the root by Label boot code does not appear to be used ....

Maybe someone can enlighten me ....


Offline pags

  • Hero Member
  • *****
  • Posts: 2515
  • Keep it clean.
Re: LiveUSB & By Label or By UUID Booting
« Reply #4 on: August 26, 2009, 12:17:29 PM »
I am fast coming to the conclusion that I just cannot fathom what exactly is going on and what is interacting with what ...

Use of the boot code  livecd=livecd  is critical to the booting of the device and I have little/no knowledge of what this does, particularly in conjunction with the By Label boot code.

I think it might be best if I just deleted this thread, as with the correct boot codes the USB stick seems to boot in most all circumstances, although it does not APPEAR to be using the "root=LABEL=xyz" boot code.

.. maybe it is using it and I just am not seeing it ...... or maybe it is being overridden by something ......

I just do not know.
All I can say is that the root by Label boot code does not appear to be used ....

Maybe someone can enlighten me ....



Maybe this is a dumb question, but...
Have you confirmed that the label that is actually assigned to the partition on your USB key is the same as the label referenced in the "LABEL" statement in menu.lst?

Offline Was_Just19

  • Hero Member
  • *****
  • Posts: 6852
  • MLU
Re: LiveUSB & By Label or By UUID Booting
« Reply #5 on: August 26, 2009, 01:09:51 PM »

Maybe this is a dumb question, but...
Have you confirmed that the label that is actually assigned to the partition on your USB key is the same as the label referenced in the "LABEL" statement in menu.lst?

Well the point I was making is that it doesn't matter what the root=LABEL=xyz says, the stick will still appear to boot as usual!

So you can omit it; put in a wrong Label or whatever.
It seems to make no difference at all, as far as I can determine.

Which is the whole point of this thread.  ;)

That is what made me think that the "root=" code is being ignored.

regards.

Offline pags

  • Hero Member
  • *****
  • Posts: 2515
  • Keep it clean.
Re: LiveUSB & By Label or By UUID Booting
« Reply #6 on: August 26, 2009, 01:19:30 PM »

Maybe this is a dumb question, but...
Have you confirmed that the label that is actually assigned to the partition on your USB key is the same as the label referenced in the "LABEL" statement in menu.lst?

Well the point I was making is that it doesn't matter what the root=LABEL=xyz says, the stick will still appear to boot as usual!

So you can omit it; put in a wrong Label or whatever.
It seems to make no difference at all, as far as I can determine.

Which is the whole point of this thread.  ;)

That is what made me think that the "root=" code is being ignored.

regards.

My misunderstanding.

Maybe the kernel's getting smarter!  :o

(it's still pretty impressive to boot from USB into a complete system)