screen corruption

2008-02-09 Thread Robert Millan
On Fri, Feb 08, 2008 at 11:15:15PM -0500, George Lengel wrote: > > I did encounter one problem. My screen is corrupted and the menu is > unreadable. Grub is loading the menu correctly and if I wait for the > timeout, everything boots fine. This is not a problem unless at some > point I need to

Re: [PATCH] manpages for everything

2008-02-09 Thread Robert Millan
On Sat, Feb 09, 2008 at 04:02:06AM +0100, Jordi Mallach wrote: > desc=`$prefix/bin/$program --help | sed -n '2s/.*-- //p'` > $help2man -N -i debian/mangen.inc -s 1 -S FSF -n "$desc" > $prefix/bin/$program >$program.1 Do we need $desc/-n ? It looks like a workaround for a limitation in help2m

Re: The menu passes too quickly

2008-02-09 Thread Robert Millan
On Sat, Feb 09, 2008 at 08:24:16AM +0530, shirish wrote: > > Of course, the best thing as they say would be to re-install grub > but my problem is, I don't know enough. Just use grub-install "(hd0)" -- Robert Millan I know my rights; I want my phone call! What use is a phone call… if you are

Re: [PATCH] fix for partmap detection on RAID/LVM

2008-02-09 Thread Robert Millan
On Fri, Feb 08, 2008 at 11:39:49PM +0100, Robert Millan wrote: > > $ sudo ./grub-probe -t partmap /boot/grub/ > > pc > > pc > > Now that I think about it... does this cause grub-install / grub-mkimage > to load pc.mod twice? Ok, I see that it doesn't. util/resolve.c takes care of that. -- Robe

Re: [PATCH] use debug=all in util/ to increase verbosity

2008-02-09 Thread Robert Millan
On Wed, Feb 06, 2008 at 05:39:08PM +0100, Robert Millan wrote: > > What do you think of this? It worked very well for me when I just wanted > to debug a problem with disk/raid.c. > > Should we add the same to other util/ commands like grub-setup ? Added. Also for grub-setup. -- Robert Millan

Re: [PATCH] fix for partmap detection on RAID/LVM

2008-02-09 Thread Robert Millan
On Fri, Feb 08, 2008 at 03:52:37PM +0100, Robert Millan wrote: > > * disk/lvm.c [GRUB_UTIL] (grub_lvm_memberlist): New function. Construct > and return a grub_diskmemberlist_t composed of LVM physical volumes. > [GRUB_UTIL] (grub_lvm_dev): Add `memberlist' member. > > * d

Re: [PATCH] sanity checks for RAID

2008-02-09 Thread Robert Millan
On Thu, Feb 07, 2008 at 12:43:08AM +0100, Robert Millan wrote: > diff -x configure -x config.h.in -x CVS -x '*~' -x '*.mk' -urp > ../grub2/disk/raid.c ./disk/raid.c > --- ../grub2/disk/raid.c 2007-12-30 09:52:03.0 +0100 > +++ ./disk/raid.c 2008-02-06 23:22:46.0 +0100 > @@

Re: [PATCH] sleep.mod

2008-02-09 Thread Robert Millan
Committed. -- Robert Millan I know my rights; I want my phone call! What use is a phone call… if you are unable to speak? (as seen on /.) ___ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel

Re: [PATCH] if timeout is set to zero, don't bother drawing the menu

2008-02-09 Thread Robert Millan
Committed. -- Robert Millan I know my rights; I want my phone call! What use is a phone call… if you are unable to speak? (as seen on /.) ___ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel

Re: [PATCH] print CR as hex in cat command

2008-02-09 Thread Robert Millan
On Fri, Feb 08, 2008 at 11:55:48PM +0100, Christian Franke wrote: > Here a small patch for a minor issue: > cat command does not work well for files including '\r' because the > previous line may be overwritten. > In grub-emu, files with cr/lf line endings are invisible due to ncurses > behavior.

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-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] manpages for everything

2008-02-09 Thread Robert Millan
On Fri, Feb 08, 2008 at 10:29:00PM +0100, Robert Millan wrote: > 2008-02-08 Robert Millan <[EMAIL PROTECTED]> > > * configure.ac: Probe for `help2man'. > * Makefile.in (builddir): New variable. > (HELP2MAN): Likewise. Set to `true' when @HELP2MAN@ doesn't provide it. >

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] manpages for everything

2008-02-09 Thread Jordi Mallach
On Sat, Feb 09, 2008 at 11:30:42AM +0100, Robert Millan wrote: > > desc=`$prefix/bin/$program --help | sed -n '2s/.*-- //p'` > > $help2man -N -i debian/mangen.inc -s 1 -S FSF -n "$desc" > > $prefix/bin/$program >$program.1 > Do we need $desc/-n ? It looks like a workaround for a limitation in

Re: [PATCH] manpages for everything

2008-02-09 Thread Robert Millan
On Sat, Feb 09, 2008 at 02:16:10PM +0100, Jordi Mallach wrote: > On Sat, Feb 09, 2008 at 11:30:42AM +0100, Robert Millan wrote: > > > desc=`$prefix/bin/$program --help | sed -n '2s/.*-- //p'` > > > $help2man -N -i debian/mangen.inc -s 1 -S FSF -n "$desc" > > > $prefix/bin/$program >$program.1

Re: [PATCH] tell the user why they are in rescue mode

2008-02-09 Thread Sam Morris
On Fri, 08 Feb 2008 20:15:39 +0100, Robert Millan wrote: > On Fri, Feb 08, 2008 at 06:44:26PM +, Sam Morris wrote: >> >> While that works, the output looks like this: >> >> Entering rescue mode... >> error: out of disk >> > _ >> >> Which does not present the information in the clearest p

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

[PATCH] a.out support for multiboot and freebsd

2008-02-09 Thread Bean
Hi, This patch add a.out support for multiboot. It also support the boot2 loader (a.out format) of freebsd: set root=(hd0,0,a) aout_freebsd /boot/loader boot 2008-02-10 Bean <[EMAIL PROTECTED]> * conf/i386-pc.rmk (pkglib_MODULES): Add aout.mod _aout_freebsd.mod and aout_freebs

Re: screen corruption

2008-02-09 Thread Vesa Jääskeläinen
George Lengel wrote: Robert Millan wrote: On Fri, Feb 08, 2008 at 11:15:15PM -0500, George Lengel wrote: I did encounter one problem. My screen is corrupted and the menu is unreadable. Grub is loading the menu correctly and if I wait for the timeout, everything boots fine. This is not a prob

Re: [PATCH] if timeout is set to zero, don't bother drawing the menu

2008-02-09 Thread Yoshinori K. Okuji
On Friday 08 February 2008 17:18, Robert Millan wrote: > Fixes an ugly result of setting timeout=0. > > When this is combined with the "sleep" patch I just sent, user can > implement hiddenmenu-like functionality via scripting: > > echo -n "Press `ESC' to enter the menu... " > if sleep -v -i 10 ; t

parser eats '=' after variable names

2008-02-09 Thread Robert Millan
It seems that the parser eats the extra '=' when used after a variable evaluation: grub> set a=a grub> echo $a a grub> echo $a= grub> This breaks e.g. variable comparison via "test $a=b". Does someone have an idea on how to fix it? I assume it involves the bison stuff which is highly confusin

reiser4 support?

2008-02-09 Thread Yuriy Umanets
hello! Does anybody interested in adding support for reiser4 in grub 2.x? I'm original author of libreiseir4 (part of reiser4progs package) and might add reiser4 support using libriser4 (as I did it for grub 1.x >4 years ago) . It may be done quite easily. Thanks. -- umka ___

[patch] more descriptive unknown glyph picture

2008-02-09 Thread Vesa Jääskeläinen
Hi All, Here is a patch that changes this gray pattern for unknown glyphs to rounded question mark. This way user knows that something is missing :) (and it is easily visible). Another story is, should we provide default fonts and/or use system fonts where available. Thanks, Vesa Jääskeläi

Re: [PATCH] a.out support for multiboot and freebsd

2008-02-09 Thread walt
Bean wrote: Hi, This patch add a.out support for multiboot. It also support the boot2 loader (a.out format) of freebsd: set root=(hd0,0,a) aout_freebsd /boot/loader boot 2008-02-10 Bean<[EMAIL PROTECTED]> ... Hi Bean, and thanks for the patch. Unfortunately, the patch is malformed in at le

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] more descriptive unknown glyph picture

2008-02-09 Thread Robert Millan
On Sat, Feb 09, 2008 at 11:27:22PM +0200, Vesa Jääskeläinen wrote: > Hi All, > > Here is a patch that changes this gray pattern for unknown glyphs to > rounded question mark. This way user knows that something is missing :) > (and it is easily visible). > > Another story is, should we provide d

Re: [PATCH] if timeout is set to zero, don't bother drawing the menu

2008-02-09 Thread Robert Millan
On Sat, Feb 09, 2008 at 09:03:09PM +0100, Yoshinori K. Okuji wrote: > On Friday 08 February 2008 17:18, Robert Millan wrote: > > Fixes an ugly result of setting timeout=0. > > > > When this is combined with the "sleep" patch I just sent, user can > > implement hiddenmenu-like functionality via scri

Re: screen corruption

2008-02-09 Thread Robert Millan
On Sat, Feb 09, 2008 at 02:33:57PM -0500, George Lengel wrote: > Robert Millan wrote: > >On Fri, Feb 08, 2008 at 11:15:15PM -0500, George Lengel wrote: > > > >>I did encounter one problem. My screen is corrupted and the menu is > >>unreadable. Grub is loading the menu correctly and if I wait for

Re: [patch] more descriptive unknown glyph picture

2008-02-09 Thread Pavel Roskin
On Sat, 2008-02-09 at 23:06 +0100, Robert Millan wrote: > I think using system fonts is fine. Current update-grub has logic to detect > them, and enable them when present. It checks (via grub-probe) that GRUB will > be able to read them before doing so. Additionaly, the grub.cfg it generates >

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: screen corruption

2008-02-09 Thread George Lengel
I hope you can tell what is going on even though the picture is a bit out of focus. Each character is a fuzzy gray box instead of a letter. missing fonts? Hi, Thanks for the hint. This was the problem. From what I can tell when I switched from the Debian package to compiling it on my own f

Re: [PATCH] a.out support for multiboot and freebsd

2008-02-09 Thread Bean
On Feb 10, 2008 5:57 AM, walt <[EMAIL PROTECTED]> wrote: > Bean wrote: > > Hi, > > > > This patch add a.out support for multiboot. It also support the boot2 > > loader (a.out format) of freebsd: > > > > set root=(hd0,0,a) > > aout_freebsd /boot/loader > > boot > > > > 2008-02-10 Bean<[EMAIL PROTEC

[OT] A help-grub mailing is now there.

2008-02-09 Thread shirish
Hi all, Somebody has made a help-grub mailing list so users like me can get their queries asked & solved. I would request some of the whizzes to also subscribe to the same so queries can be solved. -- Regards, Shirish Agarwal This email is licensed under http://creativec

[OT] A help-grub mailing is now there.

2008-02-09 Thread shirish
Damn , forgot the mailing list links & address to give. http://lists.gnu.org/mailman/listinfo/help-grub http://lists.gnu.org/archive/html/help-grub/ Mailing list address :- [EMAIL PROTECTED] -- Regards, Shirish Agarwal This email is licensed under http://creativecommons.or

help-grub

2008-02-09 Thread Yoshinori K. Okuji
Hello, We have created a new mailing list specific to support requests: help-grub. From now on, if you need help on how to use GRUB, please post a message to help-grub instead of bug-grub or grub-devel. http://lists.gnu.org/mailman/listinfo/help-grub Okuji ___

Re: [PATCH] if timeout is set to zero, don't bother drawing the menu

2008-02-09 Thread Yoshinori K. Okuji
On Saturday 09 February 2008 23:09, Robert Millan wrote: > On Sat, Feb 09, 2008 at 09:03:09PM +0100, Yoshinori K. Okuji wrote: > > On Friday 08 February 2008 17:18, Robert Millan wrote: > > > Fixes an ugly result of setting timeout=0. > > > > > > When this is combined with the "sleep" patch I just