boot directory prefix in grub-install (even with --root-directory)

2009-12-22 Thread Grégoire Sutre
Hi, grub-install copies GRUB images into ${rootdir}/boot/grub (where ${rootdir} is empty by default and can be changed with --root-directory). To install GRUB files on a partition that contains a /boot file, one must specify a non-empty --root-directory, and grub files are then copied into /

Re: boot directory prefix in grub-install (even with --root-directory)

2009-12-22 Thread Vladimir 'φ-coder/phcoder' Serbinenko
Grégoire Sutre wrote: > Hi, > > grub-install copies GRUB images into ${rootdir}/boot/grub (where > ${rootdir} is empty by default and can be changed with --root-directory). > > To install GRUB files on a partition that contains a /boot file, one > must specify a non-empty --root-directory, and grub

how 'default=saved' should work ?

2009-12-22 Thread Frédéric Boiteux
Hello, I've recently updated my grub-legacy bootloader to Grub2 (using latest grub-pc from Debian Sid), and I can't have the 'default=saved' option working with Grub2 :-( I've put following definition in /etc/default/grub : GRUB_DEFAULT=saved and I get it in the beginning of my

Re: how 'default=saved' should work ?

2009-12-22 Thread Felix Zielcke
Am Dienstag, den 22.12.2009, 13:25 +0100 schrieb Frédéric Boiteux: > Hello, > > I've recently updated my grub-legacy bootloader to Grub2 (using > latest grub-pc from Debian Sid), and I can't have the > 'default=saved' > option working with Grub2 :-( It's only in the experimental branc

Re: boot directory prefix in grub-install (even with --root-directory)

2009-12-22 Thread Grégoire Sutre
Vladimir 'φ-coder/phcoder' Serbinenko wrote: The main problem is with scripts already using --root-directory and relying on existing behaviour. Yes, you're right. I propose add a new option --grub-directory=DIR which defaults to ROOTDIR/boot/grub What do you think about this? Nice, I'm loo

Re: how 'default=saved' should work ?

2009-12-22 Thread Frédéric Boiteux
Le Tue, 22 Dec 2009 13:28:02 +0100, Felix Zielcke a écrit : > It's only in the experimental branch avaible, which is in Debian > experimental. > We only do trunk uploads to sid. Ok, thanks for the precision : I found the doc on the Grub2 wiki, but didn't notice it doesn't apply to current Sid pac

Re: how 'default=saved' should work ?

2009-12-22 Thread Felix Zielcke
Am Dienstag, den 22.12.2009, 13:36 +0100 schrieb Frédéric Boiteux: > Le Tue, 22 Dec 2009 13:28:02 +0100, > Felix Zielcke a écrit : > > > It's only in the experimental branch avaible, which is in Debian > > experimental. > > We only do trunk uploads to sid. > Ok, thanks for the precision : I found

Re: how 'default=saved' should work ?

2009-12-22 Thread Frédéric Boiteux
Le Tue, 22 Dec 2009 13:47:23 +0100, Felix Zielcke a écrit : > Am Dienstag, den 22.12.2009, 13:36 +0100 schrieb Frédéric Boiteux: > > Le Tue, 22 Dec 2009 13:28:02 +0100, > > Felix Zielcke a écrit : > > > > > It's only in the experimental branch avaible, which is in Debian > > > experimental. > >

[PATCH] byte-addressable grub_pci_make_address

2009-12-22 Thread Vladimir 'φ-coder/phcoder' Serbinenko
Hello, I noticed that grub_pci_make_address addresses register on dword boundaries whereas some important byte registers aren't dword-aligned. It's impossible to access such registers in opaque way which is required when using grub-emu with PCI support. Here is a fix -- Regards Vladimir 'φ-coder/

Re: PXE booting: no such disk

2009-12-22 Thread Vladimir 'φ-coder/phcoder' Serbinenko
Alkis Georgopoulos wrote: > I'm trying to follow the instructions on this wiki page: > http://grub.enbug.org/PXEBOOT > and I'm getting "error: no such disk", followed by the "grub rescue>" > prompt. If I try `pxe --info` on that prompt, I get: > "error: no pxe environment" > > gpxe detects g

Re: how 'default=saved' should work ?

2009-12-22 Thread Frédéric Boiteux
Le Tue, 22 Dec 2009 13:51:30 +0100, Frédéric Boiteux a écrit : > > Ah a french page on the wiki has this. > > Unfortunately I don't know more then 1-2 french words. > > Would be nice if someone could note there that this currently only > > applies to the experimental branch. > Done. Fre

Fwd: Bug#562036: grub-pc: Add support for GFXPAYLOAD same as for GFXMODE

2009-12-22 Thread Jan Muszynski
-- Forwarded message -- From: Jan Muszynski To: Debian Bug Tracking System Date: Tue, 22 Dec 2009 01:12:54 -0500 Subject: Bug#562036: grub-pc: Add support for GFXPAYLOAD same as for GFXMODE Package: grub-pc Version: 1.98~20091210-1 Severity: normal Tags: patch Currently console r

Re: how 'default=saved' should work ?

2009-12-22 Thread Felix Zielcke
Am Dienstag, den 22.12.2009, 15:15 +0100 schrieb Frédéric Boiteux: > Le Tue, 22 Dec 2009 13:51:30 +0100, > Frédéric Boiteux a écrit : > > > > Ah a french page on the wiki has this. > > > Unfortunately I don't know more then 1-2 french words. > > > Would be nice if someone could note there that th

Fix for grub_assert_fail undefined on NetBSD and other platforms

2009-12-22 Thread BVK Chaitanya
Hi Attached is the patch, which removes use of undefined grub_assert_fail function for catching bad-type-cast errors, with a better version __attribute__((error("msg"))) gcc extension. With this extension, gcc can give the exact location of the bad type cast at compile time. Unfortunately, I co

[PATCH] Re: Feature Request: 32-bit mem write and 'setpci -s' type command in menu.lst

2009-12-22 Thread Vladimir 'φ-coder/phcoder' Serbinenko
Nando wrote: > Hi everyone, > > > 2/ Ability to do a setpci -s type command > == > > Also, if possible, could a small subset of 'setpci' be incorporated as > well? I guess I could figure out the address I need to write to by > calculation, but would be nice if I could do

Re: Feature Request: 32-bit mem write and 'setpci -s' type command in menu.lst

2009-12-22 Thread Vladimir 'φ-coder/phcoder' Serbinenko
Nando wrote: > Hi Vlad, > > > able to do the equivalent of setpci by calculating the addresses > > needing memory writes. > > Except pciconf space > > > Are you saying that write_dword will not write to pciconf space? > > > > > > write_dump ADDRESS FILE > > eg: write_dump

Re: Fix for grub_assert_fail undefined on NetBSD and other platforms

2009-12-22 Thread BVK Chaitanya
grub_fatal already calls grub_abort, so grub_abort line is removed. -- bvk.chaitanya === modified file 'include/grub/handler.h' --- include/grub/handler.h 2009-03-01 17:51:44 + +++ include/grub/handler.h 2009-12-22 13:34:38 + @@ -55,6 +55,6 @@ GRUB_FIELD_MATCH (ptr, grub_

Re: grub_error messages

2009-12-22 Thread Jordi Mallach
On Mon, Dec 21, 2009 at 10:19:16PM +, Carles Pina i Estany wrote: > b) At beginning I thought that we would not gettext error messages, but > I see that lot of these messages appears to the end user. Do we gettext > using N_(" ") and then where it's printed I use _(" ") ? I would say > yes. No

Re: pci-e config register modification in grub

2009-12-22 Thread Vladimir 'φ-coder/phcoder' Serbinenko
Nando wrote: > Hi everyone, > > Wondering if grub2 can have an additional module added to do various > pci-e Configuration Register fixups/modifications before launching > into XP/Win7/Linux. Are PCI configuration registers enough? If not can you research the specifications? > Specifically I requi

Re: grub_error messages

2009-12-22 Thread Vladimir 'φ-coder/phcoder' Serbinenko
Jordi Mallach wrote: > On Mon, Dec 21, 2009 at 10:19:16PM +, Carles Pina i Estany wrote: > >> b) At beginning I thought that we would not gettext error messages, but >> I see that lot of these messages appears to the end user. Do we gettext >> using N_(" ") and then where it's printed I use

How to install grub on fakeraid (raid 0) which spans 2 TB?

2009-12-22 Thread André Heynatz
I have bought two 1 TB harddisks and one 2 TB harddisk (backup). I want to use the 1 TB harddisks in a RAID 0 array (Intel ICH8R Fakeraid). OS: Win XP SP3, Win 7, Ubuntu Linux 9.10 32 Bit My partition plan 1: P ntfs 300 GB Windows XP SP3 32 Bit P ntfs 300 GB Windows 7 32 Bit E L swap2 GB L

Re: Fix for grub_assert_fail undefined on NetBSD and other platforms

2009-12-22 Thread Grégoire Sutre
Hi, > Unfortunately, I couldn't test this on NetBSD, where old technique was > reported failing as GCC optimizations didn't happen. Can Grégoire > Sutr or anybody else try this out on NetBSD and confirm? Thanks for looking into this. I tested the second version of the patch. Linking now works

Re: How to install grub on fakeraid (raid 0) which spans 2 TB?

2009-12-22 Thread Felix Zielcke
Am Dienstag, den 22.12.2009, 18:02 +0100 schrieb "André Heynatz": > I have bought two 1 TB harddisks and one 2 TB harddisk (backup). > I want to use the 1 TB harddisks in a RAID 0 array (Intel ICH8R > Fakeraid). > > I wanted to install Linux, then create the data partition with > Win XP SP3 Disk

Re: Fix for grub_assert_fail undefined on NetBSD and other platforms

2009-12-22 Thread Felix Zielcke
Am Dienstag, den 22.12.2009, 18:07 +0100 schrieb Grégoire Sutre: > This is on NetBSD 5.0 with gcc 4.1.3 (the default). > If I use gcc 4.4 instead, then I do not get any warning. It looks like gcc 4.3 introduced the error attribute. But this isn't documented at the gcc.gnu.org/gcc-4.X/changes.htm

Re: Fix for grub_assert_fail undefined on NetBSD and other platforms

2009-12-22 Thread Vladimir 'φ-coder/phcoder' Serbinenko
Grégoire Sutre wrote: > Hi, > > > Unfortunately, I couldn't test this on NetBSD, where old technique was > > reported failing as GCC optimizations didn't happen. Can Grégoire > > Sutr or anybody else try this out on NetBSD and confirm? > > Thanks for looking into this. > > I tested the second vers

Re: How to install grub on fakeraid (raid 0) which spans 2 TB?

2009-12-22 Thread André Heynatz
Original-Nachricht > Datum: Tue, 22 Dec 2009 18:24:20 +0100 > Von: Felix Zielcke > An: The development of GNU GRUB > Betreff: Re: How to install grub on fakeraid (raid 0) which spans 2 TB? > Am Dienstag, den 22.12.2009, 18:02 +0100 schrieb "André Heynatz": > > I have bought tw

Re: How to install grub on fakeraid (raid 0) which spans 2 TB?

2009-12-22 Thread Bruce Dubbs
André Heynatz wrote: I have bought two 1 TB harddisks and one 2 TB harddisk (backup). I want to use the 1 TB harddisks in a RAID 0 array (Intel ICH8R Fakeraid). OS: Win XP SP3, Win 7, Ubuntu Linux 9.10 32 Bit My partition plan 1: P ntfs 300 GB Windows XP SP3 32 Bit P ntfs 300 GB Windows 7 32

New French PO file for 'grub' (version 1.97+20091122)

2009-12-22 Thread Translation Project Robot
Hello, gentle maintainer. This is a message from the Translation Project robot. A revised PO file for textual domain 'grub' has been submitted by the French team of translators. The file is available at: http://translationproject.org/latest/grub/fr.po (We can arrange things so that in the

New template for 'grub' made available

2009-12-22 Thread Translation Project Robot
Hello, gentle maintainer. This is a message from the Translation Project robot. (If you have any questions, send them to .) A new POT file for textual domain 'grub' has been made available to the language teams for translation. It is archived as: http://translationproject.org/POT-files/gru

Re: grub_error messages

2009-12-22 Thread Carles Pina i Estany
Hi, On Dec/22/2009, Vladimir '??-coder/phcoder' Serbinenko wrote: > Jordi Mallach wrote: > > On Mon, Dec 21, 2009 at 10:19:16PM +, Carles Pina i Estany wrote: > > > >> b) At beginning I thought that we would not gettext error messages, but > >> I see that lot of these messages appears to t

New Indonesian PO file for 'grub' (version 1.97+20091221)

2009-12-22 Thread Translation Project Robot
Hello, gentle maintainer. This is a message from the Translation Project robot. A revised PO file for textual domain 'grub' has been submitted by the Indonesian team of translators. The file is available at: http://translationproject.org/latest/grub/id.po (We can arrange things so that in

Re: Problems with grub-reboot/savedefault/default=saved

2009-12-22 Thread Colin Watson
On Wed, Dec 16, 2009 at 02:28:03PM -0800, Jordan Uggla wrote: > There are multiple problems with grub-reboot/savedefault/default=saved. Hi, I do intend to follow up on this; however, due to Christmas holidays and the like it won't be until the new year. I'm just sending this message to let you kn

Re: Fix for grub_assert_fail undefined on NetBSD and other platforms

2009-12-22 Thread BVK Chaitanya
2009/12/22 Vladimir 'φ-coder/phcoder' Serbinenko : >> ./include/grub/list.h:44: warning: 'error' attribute directive ignored > This situation is acceptable. In unlikely case that cast is indeed bad > you will get runtime error instead of compile error. But it would be a > benefit if abort message w

Re: [solved] Re: USB device not seen by grub

2009-12-22 Thread Chris Jones
On Sat, Dec 05, 2009 at 04:16:45AM EST, Vladimir 'φ-coder/phcoder' Serbinenko wrote: > Chris Jones wrote: Hello Vladimir, [..] > > Also, is there any way I can run the grub command line on a system > > that's already booted, so I can explore its possibities in a context > > where I have interne