Re: Using GRUB2 for booting from CD

2007-08-20 Thread Alex Roman
wesome, perhaps we'll be able to get it going after Summer of Code is finished and all is integrated in the CVS, or if Patrick can post a patch that'd work too. Thanks! -- Alex Roman <[EMAIL PROTECTED]> ___ Grub-devel maili

Re: Using GRUB2 for booting from CD

2007-08-16 Thread Alex Roman
of range, thus causing the iso9660 detection to fail. I'll also try to fake the size of the CD to see if that helps... -- Alex Roman <[EMAIL PROTECTED]> ___ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel

Re: Using GRUB2 for booting from CD

2007-08-15 Thread Alex Roman
t that EDD extensions on their CD-ROM drive :(... I'll try it on my main PC today and let you know. > And whether your code is wrong or not is very difficult to tell if you > don't post your code... I wanted to see if the procedure is right... :) Thanks! -- Alex Roman <[EMA

Re: Using GRUB2 for booting from CD

2007-08-13 Thread Alex Roman
like to know if it's something I'm doing wrong in my procedure or in my code... Thanks! -- Alex Roman <[EMAIL PROTECTED]> ___ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel

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" sp

Using GRUB2 for booting from CD

2007-08-12 Thread Alex Roman
an iso9660 already there, but how can I tell grub2 to actually mount the CD-ROM drive as an iso9660 filesystem? Thanks! -- Alex Roman <[EMAIL PROTECTED]> ___ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel

Re: rescue mode

2007-08-12 Thread Alex Roman
On 12/08/07, Robert Millan <[EMAIL PROTECTED]> wrote: > On Sun, Aug 12, 2007 at 10:19:14AM -0400, Alex Roman wrote: > > Is there any way to find out what is causing GRUB2 to enter rescue mode? > > I generally try to get normal.mod loaded by hand, and in the process usually &

rescue mode

2007-08-12 Thread Alex Roman
Is there any way to find out what is causing GRUB2 to enter rescue mode? Thanks! -- Alex Roman <[EMAIL PROTECTED]> ___ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel

Re: Timed wait/sleep

2007-07-22 Thread Alex Roman
- Original message - "Alex Roman" <[EMAIL PROTECTED]> writes: Hi, Not yet... Sorry, what do you mean by busy waiting? Thanks Alex On 22/07/07, Marco Gerards <[EMAIL PROTECTED]> wrote: "Alex Roman" <[EMAIL PROTECTED]> writes: Hi, > Is there any mec

Re: GPL version 3

2007-07-21 Thread Alex Roman
_ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel -- Alex Roman <[EMAIL PROTECTED]> ___ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel

Re: CD-ROM booting staus update

2007-07-08 Thread Alex Roman
to continue booting. So, although we would use a "nice" interface to read the boot image, load it in memory and boot it, the boot image itself wouldn't work until we provided the Int 13h interface. Just my opinion... -- Alex Roman <[EMAIL PROTECTED]> _

Re: Timed wait/sleep

2007-07-06 Thread Alex Roman
On 06 Jul 2007 17:04:19 -0500, Haudy Kazemi <[EMAIL PROTECTED]> wrote: On Jul 6 2007, Alex Roman wrote: I'd avoid straight loops...with those you run into processor speed issues...runs too fast on new CPUs, runs too slow on old hardware. Of course I guess you could calibrate some str

Timed wait/sleep

2007-07-06 Thread Alex Roman
he RTC, or straight loops? Would there be any use, besides my driver, in developing an RTC interface? Thanks! -- Alex Roman <[EMAIL PROTECTED]> ___ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel

Re: CD-ROM booting staus update

2007-07-04 Thread Alex Roman
On 04/07/07, Alex Roman <[EMAIL PROTECTED]> wrote: On 04/07/07, Uwe Hermann <[EMAIL PROTECTED]> wrote: > On Tue, Jul 03, 2007 at 11:14:40PM -0400, Alex Roman wrote: That will be the second stage of my Summer of Code project... Provided people have no objections against my patch,

Re: GPL version 3

2007-07-04 Thread Alex Roman
hout concern for GRUB Legacy... That being said, we also need to encourage distros to migrate away from GRUB Legacy, and what other better incentive than no longer maintaining GRUB Legacy? -- Alex Roman <[EMAIL PROTECTED]> ___ Grub-devel mail

Re: CD-ROM booting staus update

2007-07-04 Thread Alex Roman
On 04/07/07, Uwe Hermann <[EMAIL PROTECTED]> wrote: On Tue, Jul 03, 2007 at 11:14:40PM -0400, Alex Roman wrote: > On 28/06/07, Alex Roman <[EMAIL PROTECTED]> wrote: Does the code require a BIOS to work, i.e., do you rely on BIOS callbacks in the CDROM code? It would be great if

Re: CD-ROM booting staus update

2007-07-03 Thread Alex Roman
On 28/06/07, Alex Roman <[EMAIL PROTECTED]> wrote: That being said, I will clean up the code I have so far and send it as a patch for review ASAP (tonight or tomorrow latest)... I've cleaned up the code and created a patch which will enable allow booting from the first CD-ROM on a s

Re: CD-ROM booting staus update

2007-06-28 Thread Alex Roman
On 26/06/07, Alex Roman <[EMAIL PROTECTED]> wrote: Thought I'd write a little status update on this project. All right, I took a look at the Bochs BIOS source code, and they seem to be implementing just one Int 13h function that is specified in the Eltorito specification: the

CD-ROM booting staus update

2007-06-26 Thread Alex Roman
you! .. regards! PS: I know this has been a little slow going, but I have been doing a lot of learning in the process... -- Alex Roman <[EMAIL PROTECTED]> ___ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel

Re: Loading boot image retrieved from CD-ROM

2007-06-23 Thread Alex Roman
to_boot. So, what do I do in this case? The eltorito specs say the code should reside at segment 7c0h... -- Alex Roman <[EMAIL PROTECTED]> ___ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel

Re: Loading boot image retrieved from CD-ROM

2007-06-23 Thread Alex Roman
On 24/06/07, Alex Roman <[EMAIL PROTECTED]> wrote: FUNCTION(grub_eltorito_boot) /* set up to pass boot drive */ popl%edx /* address in %ebx */ popl%ebx /* count in %ecx */ popl%ecx Oops.. these got a bit inverted, should pop in the order ec

Loading boot image retrieved from CD-ROM

2007-06-23 Thread Alex Roman
xorw%ax, %ax movw%ax, %ds movw%ax, %es movw%ax, %fs movw%ax, %gs movw%ax, %ss ljmp$0x07c0,$0 .code32 --end-- -- Alex Roman <[EMAIL PROTECTED]> ___ Grub-devel mailing list Grub-devel@gnu.org h

Re: QEMU and ElTorito and EDD 3

2007-06-14 Thread Alex Roman
On 13/06/07, Alex Roman <[EMAIL PROTECTED]> wrote: We might have to read the boot catalog manually, not with the 4Dh function to achieve more compatibility. Tonight I'll try to do an "Extended Read", function 42h, to get the boot catalog and parse it in a structure and s

Re: QEMU and ElTorito and EDD 3

2007-06-13 Thread Alex Roman
On 13/06/07, Vesa Jääskeläinen <[EMAIL PROTECTED]> wrote: Alex Roman wrote: El Torito part of the EDD3 spec might not be accessible if you have not booted with such media that needs that support. At least this seems to be case with VMWare which uses Phoenix BIOS. I once tested out those

Re: QEMU and ElTorito and EDD 3

2007-06-13 Thread Alex Roman
ovides compatibility with many CD-ROM types, not only ATAPI (i.e. SCSI, USB, whatever the BIOS supports) :) -- Alex Roman <[EMAIL PROTECTED]> ___ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel

Re: QEMU and ElTorito and EDD 3

2007-06-13 Thread Alex Roman
On 13/06/07, Alex Roman <[EMAIL PROTECTED]> wrote: However, it does not support ElTorito extensions... I called the 4D function (Return Boot Catalog) and the QEMU BIOS (I think) printed a "nice" informative message: "FATAL: Int13 eltorito call with AX=4D00. Please re

QEMU and ElTorito and EDD 3

2007-06-13 Thread Alex Roman
Int13 eltorito call with AX=4D00. Please report" (see screenshot) ... which I will (report, that is) :) But I thought I'd share the find first.. Looks like I'm going to have to use either a different emulator (vmware&co.) or a real PC... What do you folks suggest?

Vim rules for editing GRUB 2

2007-06-12 Thread Alex Roman
Does anyone have some vim rules for editing on GRUB 2? I've noticed some files use both tabs and spaces for indentation, so I'm not sure which to use to please everyone (or most people?)... Also how many spaces should be used for indentation? Thanks in advance! -- Alex Roman <[EM

Re: how to add a new command

2007-06-12 Thread Alex Roman
didn't link due to undefined symbols (because those didn't exist in grub-emu). Cheers! -- Alex Roman <[EMAIL PROTECTED]> ___ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel

Re: Variable assignment not working as expected

2007-06-09 Thread Alex Roman
On 09/06/07, Marco Gerards <[EMAIL PROTECTED]> wrote: "Alex Roman" <[EMAIL PROTECTED]> writes: > On 09/06/07, Bean <[EMAIL PROTECTED]> wrote: >> I try the following command: >> >> set AA=1 >> set BB=$AA > > Taking a quick look at co

Re: Variable assignment not working as expected

2007-06-09 Thread Alex Roman
On 09/06/07, Alex Roman <[EMAIL PROTECTED]> wrote: I'm trying to code this feature but I'm noticing something peculiar... In command.c, function set_command I do the following just before "var = args[0];": grub_printf( "args[0]: %s\n", args[0] ); If a

Re: Variable assignment not working as expected

2007-06-09 Thread Alex Roman
On 09/06/07, Alex Roman <[EMAIL PROTECTED]> wrote: Hmm, after some further thought, I think it would make more sense to put it in grub_env_set function because that allows the feature to be use throughout the grub2 source code... It could be useful in some places... I'm trying t

Re: Variable assignment not working as expected

2007-06-09 Thread Alex Roman
e use throughout the grub2 source code... It could be useful in some places... -- Alex Roman <[EMAIL PROTECTED]> ___ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel

Re: Variable assignment not working as expected

2007-06-09 Thread Alex Roman
cho is such a "core" command it is built right into the kernel AFAIK... Cheers! -- Alex Roman <[EMAIL PROTECTED]> ___ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel

Re: Grub Loading Linux? kernel

2007-06-08 Thread Alex Roman
On 08/06/07, adrian15 <[EMAIL PROTECTED]> wrote: Robert Millan escribió: > OTOH, if you replace: > > "GRUB loading kernel" > > with: > > "Loading GRUB kernel" > > Maybe this archieves to resolve both concerns? > I vote for it.

Re: GSoC: CD-ROM booting options

2007-06-07 Thread Alex Roman
That's what I plan on doing... I want to write a module that for now just allows me to test various int 13h calls, look at their return values and get a general idea of how things work. Thanks for the idea Vesa! Cheers! On 07/06/07, Vesa Jääskeläinen <[EMAIL PROTECTED]> wrote:

Re: GSoC: CD-ROM booting options

2007-06-07 Thread Alex Roman
I can read some ElTorito data structures from a bootable CD... Which brings me to the question: Is it possible to call int 13h functions from a GRUB2 module? If yes, what is the (preferred?) way to do it? Thanks in advance! -- Alex Roman <[EMAIL PROTECTED]> __

Re: GSoC: CD-ROM booting options

2007-06-04 Thread Alex Roman
On 04/06/07, Jeroen Dekkers <[EMAIL PROTECTED]> wrote: At Mon, 04 Jun 2007 17:10:53 +0200, Marco Gerards wrote: > > "Alex Roman" <[EMAIL PROTECTED]> writes: > > > Personally, I think both are important to support, but I want to see > > what the major

GSoC: CD-ROM booting options

2007-06-04 Thread Alex Roman
what the majority of developers and users think we should support. Thanks in advance! -- Alex Roman <[EMAIL PROTECTED]> ___ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel

ls and xfs = unhandled exception / reset

2007-05-15 Thread Alex Roman
ase point me at the right document to read or give me some advice how I could start working on this? Thank you in advance, ... regards! -- Alex Roman <[EMAIL PROTECTED]> ___ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel

Re: Feature Request: in x86, the ability to boot an arbitrary bootable CD from a grub boot menu

2007-05-10 Thread Alex Roman
is not the capacity to do whatever we please; freedom is the capacity to make intelligent choices" -Francis Moore Lappé ___ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel -- Alex Roman <[EMAIL PROT

Re: My Summer of Code Project

2007-04-25 Thread Alex Roman
It prints debug messages depending on a variable. For example, use "set debug=all" on the GRUB prompt. I think it is easier for you to start playing with grub-emu to understand how things in general work. Although it will be useless to you when you start working on your project. What i

Re: My Summer of Code Project

2007-04-25 Thread Alex Roman
On 25/04/07, Marco Gerards <[EMAIL PROTECTED]> wrote: "Alex Roman" <[EMAIL PROTECTED]> writes: Hi Alex, Please don't top quote, it is confusing ;-). GMail is doing it... Sorry :( > Interesting piece of code... Yet another example of showing how to > imple

Re: My Summer of Code Project

2007-04-24 Thread Alex Roman
MESSAGE- Hash: SHA512 You should probably have a look at http://www.linuxbios.org/FILO maybe you can salvage something. FILO supports booting from ElTorito bootable CD media, uses 32-bit mode, and it is free of bios calls. Unfortunately its x86 only, although some work has been done to get it running on PPC.

My Summer of Code Project

2007-04-21 Thread Alex Roman
Hello list, My name is Alex Roman and I have been selected as a Summer of Code student for the GRUB2 project. I thought I'd introduce myself and my project. I am a second year student at the University of Waterloo (just finished 2A, first term of second year). I have experience developing i