Re: Using GRUB2 for booting from CD

2007-11-10 Thread Marco Gerards
"Alex Roman" <[EMAIL PROTECTED]> writes: Hi Alex, > On 20/08/07, Robert Millan <[EMAIL PROTECTED]> wrote: >> I heard from Patrick Georgi on IRC (CCed) that he already has an ATAPI >> implementation for GRUB as part of his LinuxBIOS work. Maybe you should >> coordinate with him so that the code c

Re: Using GRUB2 for booting from CD

2007-08-20 Thread Alex Roman
On 20/08/07, Robert Millan <[EMAIL PROTECTED]> wrote: > I heard from Patrick Georgi on IRC (CCed) that he already has an ATAPI > implementation for GRUB as part of his LinuxBIOS work. Maybe you should > coordinate with him so that the code can be shared with pc/bios targets. Awesome, perhaps we'l

Re: Using GRUB2 for booting from CD

2007-08-20 Thread Robert Millan
On Mon, Aug 13, 2007 at 02:44:09PM -0400, Alex Roman wrote: > On 13/08/07, Marco Gerards <[EMAIL PROTECTED]> wrote: > > "Alex Roman" <[EMAIL PROTECTED]> writes: > > > > Does this mean you implemented IDE support, etc? :-) > > Not yet :( but that's coming :) I heard from Patrick Georgi on IRC (CCe

Re: Using GRUB2 for booting from CD

2007-08-16 Thread Alex Roman
On 16/08/07, Jeroen Dekkers <[EMAIL PROTECTED]> wrote: > > Why are you using CHS and not LBA? The get diskinfo int13 extension will return a grub_biosdisk_drp structure which contains the c/h/s values along with the total number of sectors... On my PC it looks like the drive number is different,

Re: Using GRUB2 for booting from CD

2007-08-16 Thread Jeroen Dekkers
At Wed, 15 Aug 2007 09:54:58 -0400, Alex Roman wrote: > > On 15/08/07, Jeroen Dekkers <[EMAIL PROTECTED]> wrote: > > Also don't forget about the possiblity that qemu might be buggy, > > especially if you're using bios functions that aren't really used that > > much. Testing on real hardware is rea

Re: Using GRUB2 for booting from CD

2007-08-15 Thread Alex Roman
On 15/08/07, Jeroen Dekkers <[EMAIL PROTECTED]> wrote: > Read what's in the file directly and compare it to what grub-emu > reads. If it reads something different than that's a bug in the > grub-emu or loopback code. It reads something different... I just wanted to make sure I was using the right

Re: Using GRUB2 for booting from CD

2007-08-15 Thread Jeroen Dekkers
At Mon, 13 Aug 2007 20:40:27 -0400, Alex Roman wrote: > > OK, I've done the following in grub-emu... > > I have a map file that looks like this: > (fd0) floppy.img > (cd0) grub2-iso.iso > > grub2-iso.iso is an iso I generate using genisoimage (mkisofs). I can > mount it just fine. > > floppy.im

Re: Using GRUB2 for booting from CD

2007-08-13 Thread Alex Roman
OK, I've done the following in grub-emu... I have a map file that looks like this: (fd0) floppy.img (cd0) grub2-iso.iso grub2-iso.iso is an iso I generate using genisoimage (mkisofs). I can mount it just fine. floppy.img is a floppy image I generate... It contains grub, basically and a few modul

Re: Using GRUB2 for booting from CD

2007-08-13 Thread Alex Roman
On 13/08/07, Marco Gerards <[EMAIL PROTECTED]> wrote: > "Alex Roman" <[EMAIL PROTECTED]> writes: > > Does this mean you implemented IDE support, etc? :-) Not yet :( but that's coming :) I'm doing it the Grub Legacy way of having a "stage 1" specifically for CD-ROM booting. So, instead of using di

Re: Using GRUB2 for booting from CD

2007-08-13 Thread Marco Gerards
"Alex Roman" <[EMAIL PROTECTED]> writes: Hi, > I've managed to (finally :( ) use GRUB2 as a bootloader on a CD-ROM. > It loads the kernel and all modules I tell grub-mkimage to include. > > The problem is that it doens't know how to mount the root to be able > to load other modules, read configur

Using GRUB2 for booting from CD

2007-08-12 Thread Alex Roman
Hello list, I've managed to (finally :( ) use GRUB2 as a bootloader on a CD-ROM. It loads the kernel and all modules I tell grub-mkimage to include. The problem is that it doens't know how to mount the root to be able to load other modules, read configuration files, etc. There is an iso9660 alrea