Re: GSoC: CD-ROM booting options

2007-06-04 Thread Marco Gerards
Alex Roman [EMAIL PROTECTED] writes: Hi Alex, [...] Do we want to be able to boot the computer from GRUB2 installed on a medium (whatever it may be), then be able to boot from a CD (in whatever mode - emulation or no emulation)? Yes. Do we also want to be able to boot the computer

Re: test -e patch

2007-06-04 Thread Marco Gerards
adrian15 [EMAIL PROTECTED] writes: Attached you will find the patch adding test -e support for grub2. This is my first patch. I have compiled it without no errors. Urgh... I thought/hoped I told you I had a test.c rewrite sitting on my harddisk? Or did I tell Robert to poke me until next

Re: test -e patch

2007-06-04 Thread Marco Gerards
adrian15 [EMAIL PROTECTED] writes: GRUB_MOD_INIT(test) { (void)mod;/* To stop warning. */ grub_register_command ([, grub_cmd_test, GRUB_COMMAND_FLAG_CMDLINE, [ EXPRESSION ], Evaluate an expression, 0); grub_register_command (test,

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 majority of developers and users think we should support. Just

a pair of things I found when debugging..

2007-06-04 Thread Robert Millan
A pair of things I found when debugging powerpc issues. Let me know what you think (context comment follows). -- Robert Millan My spam trap is [EMAIL PROTECTED] Note: this address is only intended for spam harvesters. Writing to it will get you added to my black list. diff -ur

Re: a pair of things I found when debugging..

2007-06-04 Thread Robert Millan
On Mon, Jun 04, 2007 at 09:00:21PM +0200, Robert Millan wrote: - struct grub_pc_partition *pcdata = 0; + struct grub_pc_partition *pcdata = NULL; [...] - char *drive_name = 0; + char *drive_name = NULL; I generaly find that NULL makes it clearer for pointers, do you have a

Re: Bug#427289: more LVM stuff (Re: Bug#427289: grub-probe: error: unknown device when / is an encrypted LVM)

2007-06-04 Thread Jeroen Dekkers
At Sun, 3 Jun 2007 23:37:25 +0200, Robert Millan wrote: Here's another report with issues about LVM. I notice the device name is different than previous ones (note: device.map only has /dev/sda). The problem seems to be that grub-install is probing for things outside of /boot. GRUB shouldn't

Re: Bug#427289: more LVM stuff (Re: Bug#427289: grub-probe: error: unknown device when / is an encrypted LVM)

2007-06-04 Thread Jeroen Dekkers
At Mon, 4 Jun 2007 22:30:12 +0200, Robert Millan wrote: On Mon, Jun 04, 2007 at 10:11:30PM +0200, Jeroen Dekkers wrote: At Sun, 3 Jun 2007 23:37:25 +0200, Robert Millan wrote: Here's another report with issues about LVM. I notice the device name is different than previous ones (note: