Re: [PATCH] Create floppy emulation boot CD with grub-mkimage

2008-04-13 Thread Robert Millan
On Fri, Mar 07, 2008 at 10:20:25PM +0100, Christian Franke wrote: > > 2008-03-07 Christian Franke <[EMAIL PROTECTED]> > > * util/i386/pc/grub-mkrescue.in: Add --emulation=floppy > to create a floppy emulation boot CD when non emulation mode > does not work. > Enable Joli

Re: [PATCH] Create floppy emulation boot CD with grub-mkimage

2008-03-07 Thread Christian Franke
Robert Millan wrote: ... Uhm maybe it'd be better to mention what the emulation is for. As it is, user might wonder what is the appropiate --emulation value for --image-type=floppy, or even why --emulation=floppy doesn't produce floppy images. What do you think? OK, e.g. . --emul

Re: [PATCH] Create floppy emulation boot CD with grub-mkimage

2008-03-04 Thread Christian Franke
Kalamatee wrote: > > Doesnt "El Torito" mean using no emulation? > --emulation=(floppy|none) selects "El Torito" emulation mode (2|0) "El Torito" Standard 1.0 (1995) specifies 5 emulation modes: 0 No Emulation 1 1.2MB Floppy 2 1.44MB Floppy 3 2.88MB Floppy 4 Hard Disk (drive 0x80) Se

Re: [PATCH] Create floppy emulation boot CD with grub-mkimage

2008-03-03 Thread Kalamatee
bah ignore my last mail... yeah floppy or none makes sense On 04/03/2008, Kalamatee <[EMAIL PROTECTED]> wrote: > > >>* *>* OK, e.g.* > >>* * > >>* . --emulation=TYPEselect El Torito boot emulation type floppy* > >>* . or none (default) (cdrom only)* > >>* * > >>* *

Re: [PATCH] Create floppy emulation boot CD with grub-mkimage

2008-03-03 Thread Kalamatee
>>* *>* OK, e.g.* >>* * >>* . --emulation=TYPEselect El Torito boot emulation type floppy* >>* . or none (default) (cdrom only)* >>* * >>* * >>* Or with the help syntax used by the grub binaries:* >>* * >>* . --emulation=(floppy|none) select El Torito boot emulation

Re: [PATCH] Create floppy emulation boot CD with grub-mkimage

2008-03-03 Thread Robert Millan
On Mon, Mar 03, 2008 at 11:10:31PM +0100, Christian Franke wrote: > Robert Millan wrote: > >On Sat, Mar 01, 2008 at 10:05:22PM +0100, Christian Franke wrote: > > > >... > >>--- grub2.orig/util/i386/pc/grub-mkrescue.in2008-02-09 > >>14:02:56.057039500 +0100 > >>+++ grub2/util/i386/pc/grub

Re: [PATCH] Create floppy emulation boot CD with grub-mkimage

2008-03-03 Thread Christian Franke
Robert Millan wrote: On Sat, Mar 01, 2008 at 10:05:22PM +0100, Christian Franke wrote: ... --- grub2.orig/util/i386/pc/grub-mkrescue.in2008-02-09 14:02:56.057039500 +0100 +++ grub2/util/i386/pc/grub-mkrescue.in 2008-03-01 21:52:23.493466900 +0100 @@ -46,6 +46,7 @@ --pkglibdir=DIR

Re: [PATCH] Create floppy emulation boot CD with grub-mkimage

2008-03-03 Thread Robert Millan
On Sat, Mar 01, 2008 at 10:05:22PM +0100, Christian Franke wrote: > > Here a new version of the patch with Joliet enabled always. Should not > break anything. > > Christian > > 2008-03-01 Christian Franke <[EMAIL PROTECTED]> > > * util/i386/pc/grub-mkrescue.in: Add --emulation=floppy >

Re: [PATCH] Create floppy emulation boot CD with grub-mkimage

2008-03-01 Thread Christian Franke
Robert Millan wrote: On Fri, Feb 15, 2008 at 11:32:49PM +0100, Christian Franke wrote: ... The patch also adds a --joliet option, useful to access the long file names on Windows (which has no RR support). Is there any drawback in using --joliet ? If not, I think it's better to do i

Re: [PATCH] Create floppy emulation boot CD with grub-mkimage

2008-02-18 Thread tsah marco
Hi Robert and Frankie, I would like to understand is it possible to install grub on usb? i would like to do rescue disk, and what are the steps you have done in-order to install grub in the usb, What grub version did you used? any code change in this version ? i am working on suse 10.3 and fe

Re: [PATCH] Create floppy emulation boot CD with grub-mkimage

2008-02-17 Thread Christian Franke
Robert Millan wrote: On Fri, Feb 15, 2008 at 11:32:49PM +0100, Christian Franke wrote: I don't think it is really practical to support USB drives in grub-mkrescue. You'd have to require root permissions, which IMO beats the point of having a separate script from grub-install in first place.

Re: [PATCH] Create floppy emulation boot CD with grub-mkimage

2008-02-17 Thread Robert Millan
On Fri, Feb 15, 2008 at 11:32:49PM +0100, Christian Franke wrote: > > > >I don't think it is really practical to support USB drives in > >grub-mkrescue. > >You'd have to require root permissions, which IMO beats the point of having > >a separate script from grub-install in first place. > > It may

Re: [PATCH] Create floppy emulation boot CD with grub-mkimage

2008-02-15 Thread Christian Franke
Robert Millan wrote: On Sun, Feb 10, 2008 at 02:43:40PM +0100, Christian Franke wrote: This results in 6 possible image variants: 1. Floppy: --image-type=floppy 2. CD, no emulation: --image-type=cdrom [--emulation=none] 3. CD, floppy emulation: --image-type=cdrom --em

Re: [PATCH] Create floppy emulation boot CD with grub-mkimage

2008-02-10 Thread Robert Millan
On Sun, Feb 10, 2008 at 02:43:40PM +0100, Christian Franke wrote: > > This results in 6 possible image variants: > > 1. Floppy: --image-type=floppy > 2. CD, no emulation: --image-type=cdrom [--emulation=none] > 3. CD, floppy emulation: --image-type=cdrom --emulation=floppy

Re: [PATCH] Create floppy emulation boot CD with grub-mkimage

2008-02-10 Thread Christian Franke
Pavel Roskin wrote: On Sat, 2008-02-09 at 22:59 +0100, Robert Millan wrote: --boot-type=(native|emulation) select cdrom native (default) or floppy emulation boot type Since it is a flag for enabling a compatibility option, I think it's more like a boolean.

Re: [PATCH] Create floppy emulation boot CD with grub-mkimage

2008-02-10 Thread Christian Franke
Bean wrote: On Feb 10, 2008 12:53 AM, Christian Franke <...> wrote: ... Results: PC: grub_boot_drive=0x9f, but INT13 Extensions reported for 0x9f VMware: grub_boot_drive=0x9f VirtualPC: grub_boot_drive=0xef VirtualBox: grub_boot_drive=0xe0 GRUB_MOD_INIT(biosdisk) detects INT13 Extensions

Re: [PATCH] Create floppy emulation boot CD with grub-mkimage

2008-02-09 Thread Pavel Roskin
On Sat, 2008-02-09 at 22:59 +0100, Robert Millan wrote: > > --boot-type=(native|emulation) > > select cdrom native (default) or floppy emulation > > boot type > > Since it is a flag for enabling a compatibility option, I think it's more > like a boolean. Actually, there is a

Re: [PATCH] Create floppy emulation boot CD with grub-mkimage

2008-02-09 Thread Robert Millan
On Sat, Feb 09, 2008 at 06:04:07PM +0100, Christian Franke wrote: > Christian Franke wrote: > >Robert Millan wrote: > >>On Fri, Feb 08, 2008 at 07:45:48PM +0100, Christian Franke wrote: > >> > >>> --overlay=DIR overlay directory DIR in the memdisk image > >>> --pkglibdir=DIR

Re: [PATCH] Create floppy emulation boot CD with grub-mkimage

2008-02-09 Thread Bean
On Feb 10, 2008 12:53 AM, Christian Franke <[EMAIL PROTECTED]> wrote: > Bean wrote: > >> ... > >> > >>> Now the CD boots, but the result is interesting: > >>> > >>> Real PC: escape to rescue mode, root=hd31, no (cd0) device, no modules. > >>> > >>> VMWare: same. > >>> > >>> VirtualPC: escape to res

Re: [PATCH] Create floppy emulation boot CD with grub-mkimage

2008-02-09 Thread Christian Franke
Christian Franke wrote: Robert Millan wrote: On Fri, Feb 08, 2008 at 07:45:48PM +0100, Christian Franke wrote: --overlay=DIR overlay directory DIR in the memdisk image --pkglibdir=DIR use images from directory DIR instead of ${pkglibdir} --grub-mkimage=FILE us

Re: [PATCH] Create floppy emulation boot CD with grub-mkimage

2008-02-09 Thread Christian Franke
Bean wrote: ... Now the CD boots, but the result is interesting: Real PC: escape to rescue mode, root=hd31, no (cd0) device, no modules. VMWare: same. VirtualPC: escape to rescue mode, root=cd15, (cd0) exists, normal mode can be started manually. VirtualBox: Works as expected.

Re: [PATCH] Create floppy emulation boot CD with grub-mkimage

2008-02-09 Thread Bean
On Feb 9, 2008 8:32 PM, Robert Millan <[EMAIL PROTECTED]> wrote: > On Sat, Feb 09, 2008 at 07:56:16PM +0800, Bean wrote: > >if (grub_root_drive == 0xFF) > > grub_root_drive = grub_boot_drive; > > > > - if (grub_root_drive >= GRUB_BIOSDISK_MACHINE_CDROM_START) > > -grub

Re: [PATCH] Create floppy emulation boot CD with grub-mkimage

2008-02-09 Thread Robert Millan
On Sat, Feb 09, 2008 at 07:56:16PM +0800, Bean wrote: >if (grub_root_drive == 0xFF) > grub_root_drive = grub_boot_drive; > > - if (grub_root_drive >= GRUB_BIOSDISK_MACHINE_CDROM_START) > -grub_sprintf (dev, "(cd%u", > - grub_root_drive - GRUB_BIOSDIS

Re: [PATCH] Create floppy emulation boot CD with grub-mkimage

2008-02-09 Thread Bean
On Feb 9, 2008 6:45 AM, Robert Millan <[EMAIL PROTECTED]> wrote: > On Fri, Feb 08, 2008 at 11:03:07PM +0100, Christian Franke wrote: > > > > Yes, all of my boot CDs work :-) > > > > Meantime, I found the problem: cdboot.img was > 512 bytes. I forgot to > > add the ld script necessary for the Cygwin

Re: [PATCH] Create floppy emulation boot CD with grub-mkimage

2008-02-08 Thread Robert Millan
On Sat, Feb 09, 2008 at 12:17:16AM +0100, Christian Franke wrote: > > This it is a small update to the "[PATCH] Build on Cygwin" posted here > 2007-11-23, no feedback yet. Ok, I just replied. -- Robert Millan I know my rights; I want my phone call! What use is a phone call… if you are unabl

Re: [PATCH] Create floppy emulation boot CD with grub-mkimage

2008-02-08 Thread Christian Franke
Robert Millan wrote: On Fri, Feb 08, 2008 at 07:45:48PM +0100, Christian Franke wrote: --overlay=DIR overlay directory DIR in the memdisk image --pkglibdir=DIR use images from directory DIR instead of ${pkglibdir} --grub-mkimage=FILE use FILE as grub-mkimage -

Re: [PATCH] Create floppy emulation boot CD with grub-mkimage

2008-02-08 Thread Christian Franke
Robert Millan wrote: On Fri, Feb 08, 2008 at 11:03:07PM +0100, Christian Franke wrote: Yes, all of my boot CDs work :-) Meantime, I found the problem: cdboot.img was > 512 bytes. I forgot to add the ld script necessary for the Cygwin build (-N does not work). Should have checked this first

Re: [PATCH] Create floppy emulation boot CD with grub-mkimage

2008-02-08 Thread Robert Millan
On Fri, Feb 08, 2008 at 07:45:48PM +0100, Christian Franke wrote: >--overlay=DIR overlay directory DIR in the memdisk image >--pkglibdir=DIR use images from directory DIR instead of > ${pkglibdir} >--grub-mkimage=FILE use FILE as grub-mkimage > - --image-type=TYP

Re: [PATCH] Create floppy emulation boot CD with grub-mkimage

2008-02-08 Thread Robert Millan
On Fri, Feb 08, 2008 at 06:07:59PM -0500, Pavel Roskin wrote: > Quoting Robert Millan <[EMAIL PROTECTED]>: > > >You could ask Marco or Okuji and see what they think about it. If they > >agree with you, I'll have to shut up ;-) > > I'm neither of both, but here are my two cents: > > I think it's

Re: [PATCH] Create floppy emulation boot CD with grub-mkimage

2008-02-08 Thread Pavel Roskin
Quoting Robert Millan <[EMAIL PROTECTED]>: You could ask Marco or Okuji and see what they think about it. If they agree with you, I'll have to shut up ;-) I'm neither of both, but here are my two cents: I think it's a good idea. Many old BIOSes are buggy when it comes to CD-ROM boot suppo

Re: [PATCH] Create floppy emulation boot CD with grub-mkimage

2008-02-08 Thread Robert Millan
On Fri, Feb 08, 2008 at 11:03:07PM +0100, Christian Franke wrote: > > Yes, all of my boot CDs work :-) > > Meantime, I found the problem: cdboot.img was > 512 bytes. I forgot to > add the ld script necessary for the Cygwin build (-N does not work). > Should have checked this first, sorry. Is t

Re: [PATCH] Create floppy emulation boot CD with grub-mkimage

2008-02-08 Thread Christian Franke
Robert Millan wrote: On Fri, Feb 08, 2008 at 07:45:48PM +0100, Christian Franke wrote: A CD created by "grub-mkrescue --image-type=cdrom" does not work for me for some reason. This is AFAIK the most widely used method for CD boot. Do other CDs work for you? Yes, all of my boot C

Re: [PATCH] Create floppy emulation boot CD with grub-mkimage

2008-02-08 Thread Robert Millan
On Fri, Feb 08, 2008 at 07:45:48PM +0100, Christian Franke wrote: > A CD created by "grub-mkrescue --image-type=cdrom" does not work for me > for some reason. This is AFAIK the most widely used method for CD boot. Do other CDs work for you? If this is a bug, I think it's better to fix it instea