Re: [Grml] About grml bootid

2010-07-22 Thread Ulrich Dangel
On Thursday 22 July 2010 01:04:06 T o n g wrote:

 Sorry I still don't get it.
 
 Say when grml2usb installing grml-small and generates a bootid of grml-
 small-123. Then when grml2usb installing my own flavour of grml, it
 generates another bootid of my-own-456. Now grml-small expect that the
 bootid is grml-small-123, and mine being my-own-456. My understand is
 that only one of them can boot now. which part I've figured wrong?

All flavours will be adjusted to expect bootid small-123. 

To be more clear:
* No bootid.txt exists on the target - generate one
* read the first line of bootid.txt and use it as bootid
* Adjust bootid parameter on $FLAVOUR to read bootid

Ulrich
___
Grml mailing list - Grml@mur.at
http://lists.mur.at/mailman/listinfo/grml
join #grml on irc.freenode.org
grml-devel-blog: http://grml.supersized.org/


Re: [Grml] About grml bootid

2010-07-22 Thread T o n g
On Thu, 22 Jul 2010 10:33:06 +0200, Ulrich Dangel wrote:

 Say when grml2usb installing grml-small and generates a bootid of grml-
 small-123. Then when grml2usb installing my own flavour of grml, it
 generates another bootid of my-own-456. Now grml-small expect that the
 bootid is grml-small-123, and mine being my-own-456. My understand is
 that only one of them can boot now. which part I've figured wrong?
 
 All flavours will be adjusted to expect bootid small-123.
 
 To be more clear:
 * No bootid.txt exists on the target - generate one * read the first
 line of bootid.txt and use it as bootid * Adjust bootid parameter on
 $FLAVOUR to read bootid

Ok, got it. Thanks for the clarification.

Yeah, it's a nice feature that I've been looking for long time ago, so 
that I know exactly which one to boot if HD, USB, CD all have bootable 
grml images. 

However, IMHO, it only goes half the way. It still isn't able to solve 
the problem that I want to boot two different version of grml-medium off 
the same device. I think a better approach is to use, say boot-signature, 
which is per boot folder, not per disk.

just my 2c.

-- 
Tong (remove underscore(s) to reply)
  http://xpt.sourceforge.net/techdocs/
  http://xpt.sourceforge.net/tools/

___
Grml mailing list - Grml@mur.at
http://lists.mur.at/mailman/listinfo/grml
join #grml on irc.freenode.org
grml-devel-blog: http://grml.supersized.org/


Re: [Grml] About grml bootid

2010-07-22 Thread Ulrich Dangel
* T o n g wrote [23.07.10 01:50]:
 However, IMHO, it only goes half the way. It still isn't able to solve 
 the problem that I want to boot two different version of grml-medium off 
 the same device. I think a better approach is to use, say boot-signature, 
 which is per boot folder, not per disk.
 
Yes it does not, as this solution is designed for determine the correct
boot medium and has nothing to do with several versions of one flavour
on one disk. It is btw. possible to do this manually without a problem.

Ulrich
___
Grml mailing list - Grml@mur.at
http://lists.mur.at/mailman/listinfo/grml
join #grml on irc.freenode.org
grml-devel-blog: http://grml.supersized.org/


Re: [Grml] About grml bootid

2010-07-21 Thread Michael Prokop
* T o n g mlist4sunt...@yahoo.com [Wed Jul 21, 2010 at 03:56:24PM +]:
 On Sun, 13 Jun 2010 21:24:00 +0200, Ulrich Dangel wrote:

  - how would bootid work with integrating multiple-grml on the same USB?

  grml2usb takes care of it.
  Basically the process is:
  If no /conf/bootid.txt is present, generate a random id and write it to
  /conf/bootid.txt.
  Read /conf/bootid.txt and adjust the bootid parameter for every
  specified iso.

 Thanks for the reply. 

 OK, if I build my own flavour of grml via grml-live, and I want to 
 install it to the same USB key that an official flavour of grml has been 
 installed, would it be possible?

 According to the above, it seems impossible to me because there is only 
 one /conf/bootid.txt file on the USB key and the content in mine would be 
 different than the official one.

grml2usb generates the bootid for you, so it's supposed to just
work for your own flavour of grml. If it doesn't work it's a bug.

Enjoy. :)

regards,
-mika-


signature.asc
Description: Digital signature
___
Grml mailing list - Grml@mur.at
http://lists.mur.at/mailman/listinfo/grml
join #grml on irc.freenode.org
grml-devel-blog: http://grml.supersized.org/

Re: [Grml] About grml bootid

2010-07-21 Thread T o n g
On Wed, 21 Jul 2010 22:11:32 +0200, Michael Prokop wrote:

  - how would bootid work with integrating multiple-grml on the same
  USB?
 
  grml2usb takes care of it.
  Basically the process is:
  If no /conf/bootid.txt is present, generate a random id and write it
  to /conf/bootid.txt.
  Read /conf/bootid.txt and adjust the bootid parameter for every
  specified iso.
 
 Thanks for the reply.
 
 OK, if I build my own flavour of grml via grml-live, and I want to
 install it to the same USB key that an official flavour of grml has
 been installed, would it be possible?
 
 According to the above, it seems impossible to me because there is only
 one /conf/bootid.txt file on the USB key and the content in mine would
 be different than the official one.
 
 grml2usb generates the bootid for you, so it's supposed to just work
 for your own flavour of grml. If it doesn't work it's a bug.

Sorry I still don't get it.

Say when grml2usb installing grml-small and generates a bootid of grml-
small-123. Then when grml2usb installing my own flavour of grml, it 
generates another bootid of my-own-456. Now grml-small expect that the 
bootid is grml-small-123, and mine being my-own-456. My understand is 
that only one of them can boot now. which part I've figured wrong?

Thanks

-- 
Tong (remove underscore(s) to reply)
  http://xpt.sourceforge.net/techdocs/
  http://xpt.sourceforge.net/tools/

___
Grml mailing list - Grml@mur.at
http://lists.mur.at/mailman/listinfo/grml
join #grml on irc.freenode.org
grml-devel-blog: http://grml.supersized.org/


Re: [Grml] About grml bootid

2010-06-13 Thread Ulrich Dangel
* T o n g wrote [13.06.10 18:50]:
Hi,
 I mean to ask,
 
 - what exactly does the bootid stand for?

An id identifying the correct boot device.

 - how does the file /conf/bootid.txt generated?

grml-live, like everything else.

 - how would bootid work with integrating multiple-grml on the same USB?

grml2usb takes care of it. 
Basically the process is:
If no /conf/bootid.txt is present, generate a random id and write it to
/conf/bootid.txt.
Read /conf/bootid.txt and adjust the bootid parameter for every
specified iso.

 Is there somewhere to read more about it?

What do you want to know? IMO it is quite simple, it is an identifier to
identify the system.

regards,
Ulrich
___
Grml mailing list - Grml@mur.at
http://lists.mur.at/mailman/listinfo/grml
join #grml on irc.freenode.org
grml-devel-blog: http://grml.supersized.org/