kern/device.c and https://savannah.gnu.org/bugs/?26834

2009-12-05 Thread Arthur Marsh
Hi, I rebuilt grub2 from Debian unstable sources with the following patch applied and have no longer had to manually remove the "search" line in my grub.gfg in order to boot on a hard disk with /boot partition visible to the BIOS where the entire disk is bigger than what the BIOS recognises.

commands/search.c - not finding hd0

2009-09-28 Thread Arthur Marsh
Hi, looking at a fragment of commands/search.c: else { /* type is SEARCH_FS_UUID or SEARCH_LABEL */ grub_device_t dev; grub_fs_t fs; int (*compare_fn) (const char *, const char *); char *quid; /* grub_printf added for debugging */

Re: [PATCH] Caseless UUID comparsion in search command

2009-07-08 Thread Arthur Marsh
Pavel Roskin wrote, on 08/07/09 15:56: On Tue, 2009-07-07 at 16:21 +0930, Arthur Marsh wrote: ok, after applying the "second take" search.c patch, I get: sh:grub> ls -l Device hd0: Partition table Partition hd0,7: Filesystem type ext2, Last modification time 2009-07-0

Re: [PATCH] Caseless UUID comparsion in search command

2009-07-07 Thread Arthur Marsh
Arthur Marsh wrote, on 07/07/09 14:10: Pavel Roskin wrote, on 2009-07-07 13:53: On Tue, 2009-07-07 at 13:08 +0930, Arthur Marsh wrote: Pavel Roskin wrote, on 07/07/09 11:28: On Tue, 2009-07-07 at 10:41 +0930, Arthur Marsh wrote: using grub-emu at the moment. I'll try in real grub w

Re: [PATCH] Caseless UUID comparsion in search command

2009-07-06 Thread Arthur Marsh
Pavel Roskin wrote, on 2009-07-07 13:53: On Tue, 2009-07-07 at 13:08 +0930, Arthur Marsh wrote: Pavel Roskin wrote, on 07/07/09 11:28: On Tue, 2009-07-07 at 10:41 +0930, Arthur Marsh wrote: using grub-emu at the moment. I'll try in real grub when I reboot. Could you please try booting

Re: [PATCH] Caseless UUID comparsion in search command

2009-07-06 Thread Arthur Marsh
Pavel Roskin wrote, on 07/07/09 11:28: On Tue, 2009-07-07 at 10:41 +0930, Arthur Marsh wrote: using grub-emu at the moment. I'll try in real grub when I reboot. Could you please try booting Linux in grub-emu? You can interrupt qemu before the kernel tries to mount anything. Or yo

Re: [PATCH] Refactor commands/search.c

2009-07-06 Thread Arthur Marsh
Pavel Roskin wrote, on 07/07/09 11:43: On Tue, 2009-07-07 at 11:16 +0930, Arthur Marsh wrote: at the grub command prompt when I do ls I get: (hd0) (hd0,1) (hd1) (hd2) (fd0) error: no such device It would be good to know *what* is leading to the "error: no such device". Me too.

Re: [PATCH] Refactor commands/search.c

2009-07-06 Thread Arthur Marsh
Arthur Marsh wrote, on 07/07/09 10:33: Pavel Roskin wrote, on 2009-07-07 06:43: ChangeLog: * commands/search.c (search_file): Merge into ... (search_fs): ... this. On error, don't output what we were looking for. Accept search type as argument. (grub_cmd_search): Pass s

Re: [PATCH] Caseless UUID comparsion in search command

2009-07-06 Thread Arthur Marsh
using grub-emu at the moment. I'll try in real grub when I reboot. Partition hd0,1: Filesystem type ext2, Last modification time 2009-07-07 00:49:27 Tuesday, UUID bfdeb6d6-0b77-4beb-a63d-bdc3e455b8ea Same result with real grub. ___ Grub-devel m

Re: [PATCH] Caseless UUID comparsion in search command

2009-07-06 Thread Arthur Marsh
Pavel Roskin wrote, on 2009-07-07 10:08: On Tue, 2009-07-07 at 05:46 +0930, Arthur Marsh wrote: Daniel Mierswa wrote, on 06/07/09 17:27: Just like some time ago in search_fs_uuid() the search_fs() function of search also needs to be caseless when comparing UUIDs, for some reason GRUB2 didn&#

Re: [PATCH] Refactor commands/search.c

2009-07-06 Thread Arthur Marsh
Pavel Roskin wrote, on 2009-07-07 06:43: ChangeLog: * commands/search.c (search_file): Merge into ... (search_fs): ... this. On error, don't output what we were looking for. Accept search type as argument. (grub_cmd_search): Pass search type to search_fs(). I

Re: [PATCH] Caseless UUID comparsion in search command

2009-07-06 Thread Arthur Marsh
Daniel Mierswa wrote, on 06/07/09 17:27: Just like some time ago in search_fs_uuid() the search_fs() function of search also needs to be caseless when comparing UUIDs, for some reason GRUB2 didn't find my UUID although I entered it as reported by blkid. To be on the safe side, just use strncasecm

Re: Linux instrumentation for new loader

2009-06-30 Thread Arthur Marsh
Arthur Marsh wrote, on 01/07/09 06:18: Arthur Marsh wrote, on 01/07/09 03:21: Robert Millan wrote, on 01/07/09 00:10: These patches might be helpful in case someone runs in trouble with the new loader. They instrument Linux to obtain a screen_info structure dump, which can be used to

Re: Linux instrumentation for new loader

2009-06-30 Thread Arthur Marsh
Arthur Marsh wrote, on 01/07/09 03:21: Robert Millan wrote, on 01/07/09 00:10: These patches might be helpful in case someone runs in trouble with the new loader. They instrument Linux to obtain a screen_info structure dump, which can be used to compare the output of "linux16"

Re: Linux instrumentation for new loader

2009-06-30 Thread Arthur Marsh
Robert Millan wrote, on 01/07/09 00:10: These patches might be helpful in case someone runs in trouble with the new loader. They instrument Linux to obtain a screen_info structure dump, which can be used to compare the output of "linux16" vs "linux". This is with a Radeon 9200SE [RV280], which

Re: [PATCH] search -d|--disk

2009-06-23 Thread Arthur Marsh
Robert Millan wrote, on 24/06/09 07:25: On Tue, Jun 23, 2009 at 05:17:22PM -0400, Pavel Roskin wrote: QEMU has a feature in which you can specify the boot drive from command line (-boot parameter). After i386-qemu port is merged, I plan to add some code to read this from CMOS and export it to s

update-grub failing only reporting "exiting with value 1" when problems with /boot/grub/device.map

2009-01-30 Thread Arthur Marsh
Hi, I had an update-grub fail only reporting "exiting with value 1". I eventually found the problem that /boot/grub/device.map was inaccurate, due to having to use different device names as I sometimes have usb drives plugged in when booting which can use the /dev/sda name like the SCSI disk.

mention of grub2 in phoronix linked by linuxtoday.com

2009-01-07 Thread Arthur Marsh
Hi, someone might like to look at http://www.linuxtoday.com/infrastructure/2009010500435NWRL and follow the links to comments, the article on phoronix and see if there is any discussion on the phoronix forums. Arthur. ___ Grub-devel mailing list G

Re: [PATCH] GSoC #10 new font engine (UTF-8 support+bugfix)

2008-12-28 Thread Arthur Marsh
Vesa Jääskeläinen wrote, on 2008-12-28 11:04: Colin D Bennett wrote: Well, I don't have time right now to rewrite the converter; not for a couple of weeks, at least. I'm certainly willing to do it, so I'll get to it when I can, and then we can replace the Java converter. While we wait for tha

[Fwd: Re: Parallel kernel loading and keystroke capture in GRUB2]

2008-12-01 Thread Arthur Marsh
Pardon the ugly forwarding, this message didn't get out to grub-devel previously. Original Message Subject: Re: Parallel kernel loading and keystroke capture in GRUB2 Date: Tue, 02 Dec 2008 06:45:02 +1030 From: Arthur Marsh <[EMAIL PROTECTED]> To: Kok, Auke <[E

Re: Parallel kernel loading and keystroke capture in GRUB2

2008-11-29 Thread Arthur Marsh
Arjan van de Ven wrote, on 2008-11-29 02:06: Vlad wrote: Hi, In a recent demonstration of how to boot Linux in 5 seconds [1], PowerTOP developers did not use GRUB2, even though GRUB2 is a necessary component of any production and consumer Linux system or multi-boot environment. As I see it, the

Re: setting the system clock before launching operating system

2008-09-12 Thread Arthur Marsh
Vesa Jääskeläinen wrote, on 2008-09-13 00:13: Geoff Karl wrote: I would like to be able to set the clock to a particular time automatically before launching an operating system. Anyone have any ideas if this can be done during the boot loader process? Yes it can be done. But why? Some machi

Re: Starting grub 2 from grub legacy?

2008-02-18 Thread Arthur Marsh
Arthur Marsh wrote, on 2008-02-19 00:12: See also: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=466389 ___ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel

Re: Starting grub 2 from grub legacy?

2008-02-18 Thread Arthur Marsh
ardoRic wrote, on 14/02/08 05:20: Hi. I tried it and didn't exactly work. the grub entry you are looking for is: title Chainload Grub2 root (hd0,0) # or whatever your root is kernel /boot/grub/core.img savedefault This is what i had before commenting it out, and i tried it out and works. T

Re: Starting grub 2 from grub legacy?

2008-02-14 Thread Arthur Marsh
ardoRic wrote, on 2008-02-14 05:20: Hi. I tried it and didn't exactly work. the grub entry you are looking for is: title Chainload Grub2 root (hd0,0) # or whatever your root is kernel /boot/grub/core.img savedefault This is what i had before commenting it out, and i tried it out and works. R

Starting grub 2 from grub legacy?

2008-02-13 Thread Arthur Marsh
Hi, I am running Debian unstable on i386 (Pentium II) and have: grub-pc 1.96+20080210-1 installed, although the grub menu I am presented with is from grub-legacy. It used to be possible to boot grub 2 from a menu entry in /boot/grub/menu.lst of grub-legacy but that entry was removed by a re

Re: Some comments on grub2 on gutsy

2007-06-12 Thread Arthur Marsh
Centurion Computer Technology (2005) Ltd wrote, on 2007-06-12 20:44: On Mon, 2007-06-11 at 20:13 +0200, Robert Millan wrote: On the GRUB menu apart from the regular entries there is also a chainload to GRUB 2. When I enter that I get a menu similar to GRUB menu but without any entries. Dunno why