[PATCH V3] Backup old boot sectors before installation

2010-01-07 Thread Zhu Yi
Make grub-setup backup the old boot sectors into a file (bootsectors.bak) before overwriting it. The backup image starts from the MBR to the end of core.img position (including embed regions). This makes it possible for a user to later restore it. A new option -o|--restore (with optional

GRUB 1.98 available in debian lenny, How to get fancy terminal ?

2010-01-07 Thread J. Bakshi
Hello everyone, I am happy to see the availability of grub 1.98 in debian lenny after the up-gradation I did yesterday night. The /boot/grub folder now contains unicode.pf2, unicode.ppf as well as GRUBtheme folder containing winter etc. theme. Is there any doc to configure the themes, vga

Re: GRUB 1.98 available in debian lenny, How to get fancy terminal ?

2010-01-07 Thread Chris Jones
On Thu, Jan 07, 2010 at 09:29:57AM EST, J. Bakshi wrote: Hello everyone, I am happy to see the availability of grub 1.98 in debian lenny after the up-gradation I did yesterday night. The /boot/grub folder now contains unicode.pf2, unicode.ppf as well as GRUBtheme folder containing winter

Re: GRUB 1.98 available in debian lenny, How to get fancy terminal ?

2010-01-07 Thread Felix Zielcke
Am Donnerstag, den 07.01.2010, 10:13 -0500 schrieb Chris Jones: On Thu, Jan 07, 2010 at 09:29:57AM EST, J. Bakshi wrote: Hello everyone, I am happy to see the availability of grub 1.98 in debian lenny after the up-gradation I did yesterday night. The /boot/grub folder now contains

Re: GRUB 1.98 available in debian lenny, How to get fancy terminal ?

2010-01-07 Thread Colin D Bennett
On Thu, 07 Jan 2010 16:27:56 +0100 Felix Zielcke fziel...@z-51.de wrote: Am Donnerstag, den 07.01.2010, 10:13 -0500 schrieb Chris Jones: The only docs about it that exist currently are the ones on Colin's site AFAIK: http://grub.gibibit.com/ But they're outdated now, the theme format has

Re: Check for device type (block/character) in grub-setup?

2010-01-07 Thread Grégoire Sutre
Robert Millan wrote: On Sun, Jan 03, 2010 at 03:54:49AM +0100, Grégoire Sutre wrote: Hi, I'm wondering why there is no check for device type (block/character) in grub-setup.c whereas the function probe() in grub-probe.c exits with error if the device is not of the expected type. Shouldn't

Re: Grub EFI ia32 in QEMU using TianoCore EFI BIOS

2010-01-07 Thread Colin Ian King
Hi, I couldn't boot the EFI BIOS image from the qemu-tianocore-x64.tar.lzma tarball. I used version 0.11.0 of QEMU. Any ideas? Colin On Thu, 2009-12-24 at 22:00 +0100, Robert Millan wrote: On Sun, Dec 20, 2009 at 09:30:31PM +0100, Vladimir 'φ-coder/phcoder' Serbinenko wrote: Colin Ian King

Re: [RFC] Multiboot ammendment: non-VBE video

2010-01-07 Thread Robert Millan
On Mon, Jan 04, 2010 at 08:35:38PM +0100, Vladimir 'φ-coder/phcoder' Serbinenko wrote: Robert Millan wrote: + .long 0 + .long 1024 + .long 768 + .long 32 Maybe better to use 640x480 instead? Not everyone has a large display. It's only a recommended

Re: [URGENT] Re: bazaar

2010-01-07 Thread Robert Millan
On Tue, Nov 24, 2009 at 07:50:29AM -0800, Colin D Bennett wrote: The ‘append_revisions_only’ option should probably be set for all public branches to prevent accidental non-commit changes I didn't mention this back then, but append_revisions_only is in effect for most branches now. It's not

Re: meaning of absent --users prameters.

2010-01-07 Thread Robert Millan
On Sun, Dec 06, 2009 at 07:11:11PM +0100, Vladimir 'φ-coder/phcoder' Serbinenko wrote: Hello. Currently authentication system works as following: menuentry name --users a,b,c { } Means that only superusers and users a, b and c are permitted to boot this menuentry. To allow only superusers

Re: [PATCH] Backup old boot sectors before installation

2010-01-07 Thread r...@aybabtu.com
On Tue, Dec 29, 2009 at 03:21:08PM +0800, Zhu Yi wrote: On Tue, 2009-12-29 at 11:59 +0800, richardvo...@gmail.com wrote: If we decide so, we go back to option 1 (my original implementation). Because the backup file format is not important any more as it is totally transparent to the

Re: [PATCH] Move environment context handling out of kernel.

2010-01-07 Thread Robert Millan
On Sun, Dec 20, 2009 at 02:26:14PM +0100, Vladimir 'φ-coder/phcoder' Serbinenko wrote: This is a multi-part message in MIME format. --040505020001050308040003 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hello, all. Rescue mode doesn't

Re: Check for device type (block/character) in grub-setup?

2010-01-07 Thread Robert Millan
On Thu, Jan 07, 2010 at 06:31:02PM +0100, Grégoire Sutre wrote: Robert Millan wrote: On Sun, Jan 03, 2010 at 03:54:49AM +0100, Grégoire Sutre wrote: Hi, I'm wondering why there is no check for device type (block/character) in grub-setup.c whereas the function probe() in grub-probe.c exits

Re: GRUB Faq

2010-01-07 Thread Robert Millan
On Tue, Jan 05, 2010 at 12:08:28AM -0600, Bruce Dubbs wrote: I've been working on grub.texi and I notice a reference to http://www.gnu.org/software/grub/grub-faq.html. I will change that to grub-2-faq.en.html before I submit it. Actually, I'd rather ditch the old FAQ and replace it

Re: GRUB Faq

2010-01-07 Thread Bruce Dubbs
Robert Millan wrote: On Tue, Jan 05, 2010 at 12:08:28AM -0600, Bruce Dubbs wrote: I've been working on grub.texi and I notice a reference to http://www.gnu.org/software/grub/grub-faq.html. I will change that to grub-2-faq.en.html before I submit it. Actually, I'd rather ditch the old FAQ

Re: [RFC] Multiboot ammendment: non-VBE video

2010-01-07 Thread Vladimir 'φ-coder/phcoder' Serbinenko
Robert Millan wrote: Bootloader will use a mode it chooses. Perhaps we should remove recommended mode fields from the spec altogether or make them somehow optional Is that important? I'm hesitant to do that untill we have better understanding on what lead to this decision.

Re: [RFC] Tagged mbi

2010-01-07 Thread Robert Millan
On Mon, Jan 04, 2010 at 10:12:51PM +0100, Vladimir 'φ-coder/phcoder' Serbinenko wrote: Hello. Currently mbi contains a lot of pointers and substructures. It's has various problems like: -Unused fields occupy space if any subsequent fields is used. -Difficult to relocate since it may be

Multiboot 2 branch (Re: [RFC] Tagged mbi)

2010-01-07 Thread Robert Millan
On Mon, Jan 04, 2010 at 10:12:51PM +0100, Vladimir 'φ-coder/phcoder' Serbinenko wrote: --- include/multiboot.h 2010-01-02 17:50:06 + +++ include/multiboot.h 2010-01-02 21:06:42 + @@ -31,8 +31,11 @@ /* This should be in %eax. */ #define MULTIBOOT_BOOTLOADER_MAGIC

Re: EFI boot problem with MBP 5,4

2010-01-07 Thread Robert Millan
On Tue, Jan 05, 2010 at 05:15:02PM +, Daire Byrne wrote: Hi, It looks like recent kernels (namely 2.6.31 and 2.6.32) can't find the initrd when booting from grub (efi) on a macbook pro 5,4 giving the error: RAMDISK: Couldn't find valid RAM disk image starting at 0. The 2.6.30

Re: [RFC] Dynamic device.map

2010-01-07 Thread Robert Millan
On Wed, Jan 06, 2010 at 04:00:23PM +, Colin Watson wrote: Just leave it with (/dev/foo). You mean literally with the parentheses? I don't understand, since /dev/ names will be unintelligible to GRUB when running outside an operating system. Yes. This just means we'd have set

Re: [RFC] Tagged mbi

2010-01-07 Thread Vladimir 'φ-coder/phcoder' Serbinenko
Robert Millan wrote: On Mon, Jan 04, 2010 at 10:12:51PM +0100, Vladimir 'φ-coder/phcoder' Serbinenko wrote: Hello. Currently mbi contains a lot of pointers and substructures. It's has various problems like: -Unused fields occupy space if any subsequent fields is used. -Difficult to

Re: Invalid symbol table on NetBSD boot

2010-01-07 Thread Robert Millan
On Wed, Jan 06, 2010 at 07:07:29PM +0100, Grégoire Sutre wrote: A similar problem is mentioned in the archives of the mailing list [1]. I tried to adapt the patch given in [1] to the current trunk, but with no luck. I suggest you test if GRUB Legacy's Multiboot loader supports this

Re: error message

2010-01-07 Thread Robert Millan
On Wed, Jan 06, 2010 at 11:23:11PM +, Carles Pina i Estany wrote: (any problem to use the gcc macros to know the filename/line number? I remember something and I cannot find it now) __FILE__ yields a significant code size increase. We have an outstanding problem with this. See:

Re: GRUB 1.98 available in debian lenny, How to get fancy terminal ?

2010-01-07 Thread Robert Millan
On Thu, Jan 07, 2010 at 08:33:24AM -0800, Colin D Bennett wrote: BTW, the theme document is also on the wiki at http://grub.enbug.org/ThemeFormat. I am about to build GRUB for testing again, from the experimental branch, and I can migrate my example themes to the new format. It looks

Re: GRUB 1.98 available in debian lenny, How to get fancy terminal ?

2010-01-07 Thread Robert Millan
On Thu, Jan 07, 2010 at 07:59:57PM +0530, J. Bakshi wrote: Hello everyone, I am happy to see the availability of grub 1.98 That's very unlikely. I don't recall having released 1.98 yet ;-) -- Robert Millan Be the change you want to see in the world -- Gandhi

Re: [RFC] Dynamic device.map

2010-01-07 Thread Bruce Dubbs
Robert Millan wrote: On Wed, Jan 06, 2010 at 04:00:23PM +, Colin Watson wrote: Just leave it with (/dev/foo). You mean literally with the parentheses? I don't understand, since /dev/ names will be unintelligible to GRUB when running outside an operating system. Yes. This just means we'd

Re: [RFC] Dynamic device.map

2010-01-07 Thread Colin Watson
On Thu, Jan 07, 2010 at 04:18:37PM -0600, Bruce Dubbs wrote: Robert Millan wrote: On Wed, Jan 06, 2010 at 04:00:23PM +, Colin Watson wrote: Just leave it with (/dev/foo). You mean literally with the parentheses? I don't understand, since /dev/ names will be unintelligible to GRUB when

Re: GRUB 1.98 available in debian lenny, How to get fancy terminal ?

2010-01-07 Thread Colin D Bennett
On Thu, 7 Jan 2010 22:47:38 +0100 Robert Millan r...@aybabtu.com wrote: On Thu, Jan 07, 2010 at 08:33:24AM -0800, Colin D Bennett wrote: BTW, the theme document is also on the wiki at http://grub.enbug.org/ThemeFormat. I am about to build GRUB for testing again, from the experimental

Re: GRUB 1.98 available in debian lenny, How to get fancy terminal ?

2010-01-07 Thread Robert Millan
On Thu, Jan 07, 2010 at 02:38:24PM -0800, Colin D Bennett wrote: When you say “existing fonts” do you mean there is a font other than unifont? Not that we currently provide. -- Robert Millan Be the change you want to see in the world -- Gandhi

Re: [RFC] Dynamic device.map

2010-01-07 Thread Bruce Dubbs
Colin Watson wrote: On Thu, Jan 07, 2010 at 04:18:37PM -0600, Bruce Dubbs wrote: Robert Millan wrote: On Wed, Jan 06, 2010 at 04:00:23PM +, Colin Watson wrote: Just leave it with (/dev/foo). You mean literally with the parentheses? I don't understand, since /dev/ names will be