Re: booting iso image having syslinux

2009-08-09 Thread Peter Cros
It could be easier to use the partedmagic live iso,  pmagic-4.3.iso, (kernel
2.6.30.1-pmagic), which does loop mount iso with 64 bit grub.efi loopback on
Apple mac (It has gparted).


On Sat, Aug 8, 2009 at 9:50 PM, J. Bakshi baksh...@gmail.com wrote:

 On Sat, 8 Aug 2009 12:34:12 +0200
 Vladimir 'phcoder' Serbinenko phco...@gmail.com wrote:

   I don't know if it is a coincident but your timing to share these
   info is directly connected with my problem. I am presently trying
   to collect some live iso in my usb stick and like to call those by
   grub2. gparted is one of them. I have in mind to use gparted iso
   but you have already mentioned that it can't be. Is there any other
   work around within grub to cope with these type of iso ?
  It's not a question about grub but about initrd being or not being
  able to loopmount. Ask gparted live guys to add this feature to their
  scripts
  

 I'll do it.


 ___
 Grub-devel mailing list
 Grub-devel@gnu.org
 http://lists.gnu.org/mailman/listinfo/grub-devel




-- 
Cros (pxw)
___
Grub-devel mailing list
Grub-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/grub-devel


Re: booting iso image having syslinux

2009-08-09 Thread J. Bakshi
On Sun, 9 Aug 2009 16:55:57 +1000
Peter Cros pxwp...@gmail.com wrote:

 It could be easier to use the partedmagic live iso,  pmagic-4.3.iso,
 (kernel 2.6.30.1-pmagic), which does loop mount iso with 64 bit
 grub.efi loopback on Apple mac (It has gparted).
 

Thanks but it seems pmagic is much more than a partitioning tool. In that case 
I can use puppy linux.
Though my aim is to collect little live iso tools in usb stick.

 
 On Sat, Aug 8, 2009 at 9:50 PM, J. Bakshi baksh...@gmail.com wrote:
 
  On Sat, 8 Aug 2009 12:34:12 +0200
  Vladimir 'phcoder' Serbinenko phco...@gmail.com wrote:
 
I don't know if it is a coincident but your timing to share
these info is directly connected with my problem. I am
presently trying to collect some live iso in my usb stick and
like to call those by grub2. gparted is one of them. I have in
mind to use gparted iso but you have already mentioned that it
can't be. Is there any other work around within grub to cope
with these type of iso ?
   It's not a question about grub but about initrd being or not being
   able to loopmount. Ask gparted live guys to add this feature to
   their scripts
   
 
  I'll do it.
 
 
  ___
  Grub-devel mailing list
  Grub-devel@gnu.org
  http://lists.gnu.org/mailman/listinfo/grub-devel
 
 
 
 


___
Grub-devel mailing list
Grub-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/grub-devel


Re: booting iso image having syslinux

2009-08-08 Thread J. Bakshi
On Sat, 8 Aug 2009 13:25:34 +1000
Peter Cros pxwp...@gmail.com wrote:

 Some comments about live iso booting and grub2 loopback -
 
 After grub boots the live iso kernel and initrd, they need  to loop
 mount the iso again to access the live files. Otherwise the initrd
 would need rebuild, or some way found to pass the loop mount from
 grub.
 
 I have been trying some available live iso's (there are others out
 there). I am using grub.efi, not using syslinux..
 
 These live isos do loop mount the iso, and run -
 ununtu, grml, slax.
 
 These don't -
 fedora, debian, gparted.
 
 In all cases, grub loopback mounting of the iso and booting the
 kernel and initrd works.
 

I don't know if it is a coincident but your timing to share these info is 
directly connected with my problem.
I am presently trying to collect some live iso in my usb stick and like to call 
those by grub2. gparted is one of them.
I have in mind to use gparted iso but you have already mentioned that it can't 
be. Is there any other work around within grub to cope with these type of iso ? 

Thanks for sharing 


___
Grub-devel mailing list
Grub-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/grub-devel


Re: booting iso image having syslinux

2009-08-08 Thread Vladimir 'phcoder' Serbinenko
 I don't know if it is a coincident but your timing to share these info is 
 directly connected with my problem.
 I am presently trying to collect some live iso in my usb stick and like to 
 call those by grub2. gparted is one of them.
 I have in mind to use gparted iso but you have already mentioned that it 
 can't be. Is there any other work around within grub to cope with these type 
 of iso ?
It's not a question about grub but about initrd being or not being
able to loopmount. Ask gparted live guys to add this feature to their
scripts

 Thanks for sharing


 ___
 Grub-devel mailing list
 Grub-devel@gnu.org
 http://lists.gnu.org/mailman/listinfo/grub-devel




-- 
Regards
Vladimir 'phcoder' Serbinenko

Personal git repository: http://repo.or.cz/w/grub2/phcoder.git


___
Grub-devel mailing list
Grub-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/grub-devel


Re: booting iso image having syslinux

2009-08-08 Thread J. Bakshi
On Sat, 8 Aug 2009 12:34:12 +0200
Vladimir 'phcoder' Serbinenko phco...@gmail.com wrote:

  I don't know if it is a coincident but your timing to share these
  info is directly connected with my problem. I am presently trying
  to collect some live iso in my usb stick and like to call those by
  grub2. gparted is one of them. I have in mind to use gparted iso
  but you have already mentioned that it can't be. Is there any other
  work around within grub to cope with these type of iso ?
 It's not a question about grub but about initrd being or not being
 able to loopmount. Ask gparted live guys to add this feature to their
 scripts
 

I'll do it.


___
Grub-devel mailing list
Grub-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/grub-devel


Re: booting iso image having syslinux

2009-08-07 Thread Robert Millan
On Thu, Aug 06, 2009 at 02:12:58PM +0530, J.Bakshi wrote:
 Hello list,
 
 GRUB2 has a cool feature to boot .iso image.  It is really a cool
 option as we can simply put the .iso and test it without making a cd.
 Some of the .iso has syslinux inbuilt. Like live .iso of gparted and
 dban. How can we manage those .iso ? We need to call the syslinux.cfg
 in those distros to get the boot option ( ex- dban ). Could any one
 kindly focus on this issue ?

There's no proper standard for what you want to do, so a homegrown
approach is the only option.

Try putting grub.cfg in /, then use configfile command on it.

-- 
Robert Millan

  The DRM opt-in fallacy: Your data belongs to us. We will decide when (and
  how) you may access your data; but nobody's threatening your freedom: we
  still allow you to remove your data and not access it at all.


___
Grub-devel mailing list
Grub-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/grub-devel


Re: booting iso image having syslinux

2009-08-07 Thread Robert Millan
On Thu, Aug 06, 2009 at 05:18:22PM +0530, J.Bakshi wrote:
 Thanks for your kind guidance.
 The kernel path is correct. But after getting your response, I have
 downloaded the iso again and overwrite the existing one in usb-stick.
 Also check the md5sum and it is correct. And something *NEW* has
 happend this time. No more error like before ( invalid magic number )
 .  Though not sucees yet. Now grub display Linux-bzimage and just
 stick there. No further progress.

Are you using vga= ?  I fixed a bug recently (in SVN) that may cause this
behaviour.

-- 
Robert Millan

  The DRM opt-in fallacy: Your data belongs to us. We will decide when (and
  how) you may access your data; but nobody's threatening your freedom: we
  still allow you to remove your data and not access it at all.


___
Grub-devel mailing list
Grub-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/grub-devel


Re: booting iso image having syslinux

2009-08-07 Thread J.Bakshi
On Fri, Aug 7, 2009 at 5:06 PM, Robert Millanr...@aybabtu.com wrote:
 On Thu, Aug 06, 2009 at 02:12:58PM +0530, J.Bakshi wrote:
 Hello list,

 GRUB2 has a cool feature to boot .iso image.  It is really a cool
 option as we can simply put the .iso and test it without making a cd.
 Some of the .iso has syslinux inbuilt. Like live .iso of gparted and
 dban. How can we manage those .iso ? We need to call the syslinux.cfg
 in those distros to get the boot option ( ex- dban ). Could any one
 kindly focus on this issue ?

 There's no proper standard for what you want to do, so a homegrown
 approach is the only option.

 Try putting grub.cfg in /, then use configfile command on it.

 --
 Robert Millan

Thanks , I'll definately give it a try and come back with the feedback.


___
Grub-devel mailing list
Grub-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/grub-devel


Re: booting iso image having syslinux

2009-08-07 Thread J.Bakshi

 Are you using vga= ?  I fixed a bug recently (in SVN) that may cause this
 behaviour.


Then I have to reinstall grub from my sqeeeze box to the usb-stick
again to see the effect.


___
Grub-devel mailing list
Grub-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/grub-devel


Re: booting iso image having syslinux

2009-08-07 Thread Peter Cros
Some comments about live iso booting and grub2 loopback -

After grub boots the live iso kernel and initrd, they need  to loop mount
the iso again to access the live files. Otherwise the initrd would need
rebuild, or some way found to pass the loop mount from grub.

I have been trying some available live iso's (there are others out there).
I am using grub.efi, not using syslinux..

These live isos do loop mount the iso, and run -
ununtu, grml, slax.

These don't -
fedora, debian, gparted.

In all cases, grub loopback mounting of the iso and booting the kernel and
initrd works.



On Fri, Aug 7, 2009 at 9:57 PM, J.Bakshi baksh...@gmail.com wrote:

 
  Are you using vga= ?  I fixed a bug recently (in SVN) that may cause this
  behaviour.
 

 Then I have to reinstall grub from my sqeeeze box to the usb-stick
 again to see the effect.


 ___
 Grub-devel mailing list
 Grub-devel@gnu.org
 http://lists.gnu.org/mailman/listinfo/grub-devel




-- 
Cros (pxw)
___
Grub-devel mailing list
Grub-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/grub-devel


booting iso image having syslinux

2009-08-06 Thread J.Bakshi
Hello list,

GRUB2 has a cool feature to boot .iso image.  It is really a cool
option as we can simply put the .iso and test it without making a cd.
Some of the .iso has syslinux inbuilt. Like live .iso of gparted and
dban. How can we manage those .iso ? We need to call the syslinux.cfg
in those distros to get the boot option ( ex- dban ). Could any one
kindly focus on this issue ?

Thanks


___
Grub-devel mailing list
Grub-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/grub-devel


Re: booting iso image having syslinux

2009-08-06 Thread Vladimir 'phcoder' Serbinenko
On Thu, Aug 6, 2009 at 10:42 AM, J.Bakshibaksh...@gmail.com wrote:
 Hello list,

 GRUB2 has a cool feature to boot .iso image.  It is really a cool
 option as we can simply put the .iso and test it without making a cd.
 Some of the .iso has syslinux inbuilt. Like live .iso of gparted and
 dban. How can we manage those .iso ? We need to call the syslinux.cfg
 in those distros to get the boot option ( ex- dban ). Could any one
 kindly focus on this issue ?

It's not an issue. Just bypass the syslinux and boot the kernel you
want with options you want and initrd you want using linux and initrd
commands
 Thanks


 ___
 Grub-devel mailing list
 Grub-devel@gnu.org
 http://lists.gnu.org/mailman/listinfo/grub-devel




-- 
Regards
Vladimir 'phcoder' Serbinenko

Personal git repository: http://repo.or.cz/w/grub2/phcoder.git


___
Grub-devel mailing list
Grub-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/grub-devel


Re: booting iso image having syslinux

2009-08-06 Thread J.Bakshi
On Thu, Aug 6, 2009 at 2:49 PM, Vladimir 'phcoder'
Serbinenkophco...@gmail.com wrote:
 On Thu, Aug 6, 2009 at 10:42 AM, J.Bakshibaksh...@gmail.com wrote:
 Hello list,

 GRUB2 has a cool feature to boot .iso image.  It is really a cool
 option as we can simply put the .iso and test it without making a cd.
 Some of the .iso has syslinux inbuilt. Like live .iso of gparted and
 dban. How can we manage those .iso ? We need to call the syslinux.cfg
 in those distros to get the boot option ( ex- dban ). Could any one
 kindly focus on this issue ?

 It's not an issue. Just bypass the syslinux and boot the kernel you
 want with options you want and initrd you want using linux and initrd
 commands
 Thanks


I have done that and here is the menu entry

```
menuentry gparted
{
loopback loop (hd0,2)/gparted-live-0.4.5-2.iso
linux (loop)/live/vmlinuz1 union=aufs boot=live noswap noprompt
vga=791 toram ip=frommedia nolocales isofrom=/gparted-live-0.4.5-2.iso
initrd (loop)/live/initrd1.img
}
`

and grub reports invalid magic number   Obviously the
gparted-live-0.4.5-2.iso is located at the second partition of my usb
stick and the file system is reiserfs.  The options with kernel is
collected from the syslinux.cfg file


___
Grub-devel mailing list
Grub-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/grub-devel


Re: booting iso image having syslinux

2009-08-06 Thread Vladimir 'phcoder' Serbinenko
 It's not an issue. Just bypass the syslinux and boot the kernel you
 want with options you want and initrd you want using linux and initrd
 commands
 Thanks


 I have done that and here is the menu entry

 ```
 menuentry gparted
 {
 loopback loop (hd0,2)/gparted-live-0.4.5-2.iso
 linux (loop)/live/vmlinuz1 union=aufs boot=live noswap noprompt
 vga=791 toram ip=frommedia nolocales isofrom=/gparted-live-0.4.5-2.iso
 initrd (loop)/live/initrd1.img
 }
 `

 and grub reports invalid magic number   Obviously the
 gparted-live-0.4.5-2.iso is located at the second partition of my usb
 stick and the file system is reiserfs.  The options with kernel is
 collected from the syslinux.cfg file

Are you sure your kernel /live/vmlinuz1 is correct? Check that iso was
copied correctly (chacksum)

 ___
 Grub-devel mailing list
 Grub-devel@gnu.org
 http://lists.gnu.org/mailman/listinfo/grub-devel




-- 
Regards
Vladimir 'phcoder' Serbinenko

Personal git repository: http://repo.or.cz/w/grub2/phcoder.git


___
Grub-devel mailing list
Grub-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/grub-devel


Re: booting iso image having syslinux

2009-08-06 Thread J.Bakshi
On Thu, Aug 6, 2009 at 4:16 PM, Vladimir 'phcoder'
Serbinenkophco...@gmail.com wrote:
 It's not an issue. Just bypass the syslinux and boot the kernel you
 want with options you want and initrd you want using linux and initrd
 commands
 Thanks


 I have done that and here is the menu entry

 ```
 menuentry gparted
 {
 loopback loop (hd0,2)/gparted-live-0.4.5-2.iso
 linux (loop)/live/vmlinuz1 union=aufs boot=live noswap noprompt
 vga=791 toram ip=frommedia nolocales isofrom=/gparted-live-0.4.5-2.iso
 initrd (loop)/live/initrd1.img
 }
 `

 and grub reports invalid magic number   Obviously the
 gparted-live-0.4.5-2.iso is located at the second partition of my usb
 stick and the file system is reiserfs.  The options with kernel is
 collected from the syslinux.cfg file

 Are you sure your kernel /live/vmlinuz1 is correct? Check that iso was
 copied correctly (chacksum)


Thanks for your kind guidance.
The kernel path is correct. But after getting your response, I have
downloaded the iso again and overwrite the existing one in usb-stick.
Also check the md5sum and it is correct. And something *NEW* has
happend this time. No more error like before ( invalid magic number )
.  Though not sucees yet. Now grub display Linux-bzimage and just
stick there. No further progress.


___
Grub-devel mailing list
Grub-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/grub-devel


Re: booting iso image having syslinux

2009-08-06 Thread Vladimir 'phcoder' Serbinenko
 Thanks for your kind guidance.
 The kernel path is correct. But after getting your response, I have
 downloaded the iso again and overwrite the existing one in usb-stick.
 Also check the md5sum and it is correct. And something *NEW* has
 happend this time. No more error like before ( invalid magic number )
 .  Though not sucees yet. Now grub display Linux-bzimage and just
 stick there. No further progress.

Do you use amd64 kernel? If so check that your CPU is amd64-capable.
amd64 linux kernel has a behaviour of just hanging on non-amd64
capable CPU instead of outputting an error message

 ___
 Grub-devel mailing list
 Grub-devel@gnu.org
 http://lists.gnu.org/mailman/listinfo/grub-devel




-- 
Regards
Vladimir 'phcoder' Serbinenko

Personal git repository: http://repo.or.cz/w/grub2/phcoder.git


___
Grub-devel mailing list
Grub-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/grub-devel


Re: booting iso image having syslinux

2009-08-06 Thread Felix Zielcke
Am Donnerstag, den 06.08.2009, 17:18 +0530 schrieb J.Bakshi:
 On Thu, Aug 6, 2009 at 4:16 PM, Vladimir 'phcoder'
 Serbinenkophco...@gmail.com wrote:
  It's not an issue. Just bypass the syslinux and boot the kernel you
  want with options you want and initrd you want using linux and initrd
  commands
  Thanks
 
 
  I have done that and here is the menu entry
 
  ```
  menuentry gparted
  {
  loopback loop (hd0,2)/gparted-live-0.4.5-2.iso
  linux (loop)/live/vmlinuz1 union=aufs boot=live noswap noprompt
  vga=791 toram ip=frommedia nolocales isofrom=/gparted-live-0.4.5-2.iso
  initrd (loop)/live/initrd1.img
  }
  `
 
  and grub reports invalid magic number   Obviously the
  gparted-live-0.4.5-2.iso is located at the second partition of my usb
  stick and the file system is reiserfs.  The options with kernel is
  collected from the syslinux.cfg file
 
  Are you sure your kernel /live/vmlinuz1 is correct? Check that iso was
  copied correctly (chacksum)
 
 
 Thanks for your kind guidance.
 The kernel path is correct. But after getting your response, I have
 downloaded the iso again and overwrite the existing one in usb-stick.
 Also check the md5sum and it is correct. And something *NEW* has
 happend this time. No more error like before ( invalid magic number )
 .  Though not sucees yet. Now grub display Linux-bzimage and just
 stick there. No further progress.

Try loading the kernel with the old linux loader with linux16 and
initrd16.


-- 
Felix Zielcke
Proud Debian Maintainer



___
Grub-devel mailing list
Grub-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/grub-devel


Re: booting iso image having syslinux

2009-08-06 Thread J. Bakshi
On Thu, 6 Aug 2009 13:51:46 +0200
Vladimir 'phcoder' Serbinenko phco...@gmail.com wrote:

  Thanks for your kind guidance.
  The kernel path is correct. But after getting your response, I have
  downloaded the iso again and overwrite the existing one in
  usb-stick. Also check the md5sum and it is correct. And something
  *NEW* has happend this time. No more error like before ( invalid
  magic number ) . __Though not sucees yet. Now grub display
  Linux-bzimage and just stick there. No further progress.
 
 Do you use amd64 kernel? If so check that your CPU is amd64-capable.
 amd64 linux kernel has a behaviour of just hanging on non-amd64
 capable CPU instead of outputting an error message

Nope, it is kernel 2.6.29-4 from backports.undebian.org and iso file is
isohybrided ( source 
http://sourceforge.net/project/shownotes.php?release_id=683279 )

I have tested my pendrive with both 32 and 64 bit machine and the same problem 
as before. I have rechecked the path inside iso ( by mounting with loopback and 
I'm sure there is no error in grub config)



___
Grub-devel mailing list
Grub-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/grub-devel