Re: Support grub-emu on x32 (ILP32 but with x86-64 instruction set)

2014-09-14 Thread Colin Watson
ne. My change was not in the efiemu test, but in some similar tests further down whose output is used to adjust TARGET_CFLAGS. It would be incorrect to sync these tests with the manual rules for efiemu. -- Colin Watson [cjwat...@ubuntu.com] _

Re: [RFC PATCH 1/3] Add powerpc little-endian (ppc64le) flags

2014-09-19 Thread Colin Watson
de lying around, at least not without another comment explaining what's going on ... Thanks, -- Colin Watson [cjwat...@ubuntu.com] ___ Grub-devel mailing list Grub-devel@gnu.org https://lists.gnu.org/mailman/listinfo/grub-devel

Re: [RFC PATCH 2/3] Files reorganization and include some libgcc fuctions

2014-09-19 Thread Colin Watson
branch. Thanks, this looks much better now. I don't feel comfortable pushing it to master without Vladimir's signoff, but I'll apply this and patch 1/3 to Debian for the time being so that we can get rid of the build-dependency on a cross-compiler. Cheers, -- Colin Watson

Re: [PATCH] Add a new "none" platform that only builds utilities

2014-09-23 Thread Colin Watson
On Sun, Sep 21, 2014 at 05:58:36PM +0200, Vladimir 'φ-coder/phcoder' Serbinenko wrote: > Go ahead. Pushed to master, thanks. -- Colin Watson [cjwat...@ubuntu.com] ___ Grub-devel mailing list Grub-

Re: mips-arc build failure on xz_decompress.img

2014-09-23 Thread Colin Watson
abiflags" seems to fix things; does that need to be added anywhere other than gentpl.py:image? -- Colin Watson [cjwat...@ubuntu.com] ___ Grub-devel mailing list Grub-devel@gnu.org https://lists.gnu.org/mailman/listinfo/grub-devel

Re: DNS endianness

2014-09-23 Thread Colin Watson
so you should just use whichever spelling is clearest. -- Colin Watson [cjwat...@ubuntu.com] ___ Grub-devel mailing list Grub-devel@gnu.org https://lists.gnu.org/mailman/listinfo/grub-devel

Re: [PATCH] Add a new "none" platform that only builds utilities

2014-09-25 Thread Colin Watson
t of tree (because it makes it much easier to test multiple platforms) and so didn't notice this. I've pushed a fix. -- Colin Watson [cjwat...@ubuntu.com] ___ Grub-devel mailing list Grub-devel@gnu.or

Re: [PATCH] Disable VSX instruction

2014-09-26 Thread Colin Watson
On Thu, Sep 25, 2014 at 07:33:39PM -0300, Paulo Flabiano Smorigo wrote: > @@ -28,6 +30,14 @@ > .globl start, _start > start: > _start: > + _start: > + > +/* Disable VSX instruction */ Isn't the second _start: label here re

Re: btrfs on Big Endian systems - anyone?

2014-09-27 Thread Colin Watson
; MIPS but I doubt they use btrfs often. > > It sounds like missing endian conversion somewhere; any idea how it can > be found without learning btrfs by heart? :) Can you reproduce it in grub-fstest from userspace? That would let you use gdb et al. -- Colin Watson

Re: get partition by name

2014-09-29 Thread Colin Watson
tition table. like: (hd0,boot) > or (hd0,rootfs). > > Are they any plans(or existing features which I missed) for this? Use the "search" command. https://www.gnu.org/software/grub/manual/grub.html#search -- Colin Watson

Re: How can I submit patch for bug #42944 ?

2014-10-10 Thread Colin Watson
cased in a zip file). It's usually easier to get public review that way. -- Colin Watson [cjwat...@ubuntu.com] ___ Grub-devel mailing list Grub-devel@gnu.org https://lists.gnu.org/mailman/listinfo/grub-devel

Re: Trouble booting from a large USB hard drive

2010-01-17 Thread Colin Watson
giant database, but I don't have the resources (time or expertise, really) to build up such a database, and I don't even know whether BIOS version numbering is reliable enough to make it practical. -- Colin Watson [cjwat...@ubuntu.com] ___ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel

Re: Trouble booting from a large USB hard drive

2010-01-18 Thread Colin Watson
On Sun, Jan 17, 2010 at 08:54:42PM -0500, Daniel Richard G. wrote: > Colin Watson wrote: > > There are many different possible BIOS limitations (see > > http://tldp.org/HOWTO/Large-Disk-HOWTO-4.html) and I doubt that we > > can sensibly warn about all of them or even

Re: Bazaar workflow for GRUB

2010-01-18 Thread Colin Watson
d use “bzr resolve” to # mark them as resolved. [ make grub ... and test it ] # 3. Commit the change. bzr commit # If someone happened to commit to upstream trunk since you did “bzr # update”, Bazaar will tell you that you need to update again. -- Colin Watson

Re: keyboard layout patches

2010-01-18 Thread Colin Watson
n keys do stay constant, though. -- Colin Watson [cjwat...@ubuntu.com] ___ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel

Re: [PATCH] make 'sleep --interruptible 0' interruptible

2010-01-18 Thread Colin Watson
u can't check for Escape without having some kind of delay. Only modifier keys can be checked instantaneously. http://bazaar.launchpad.net/~ubuntu-core-dev/ubuntu/lucid/grub2/lucid/annotate/head%3A/debian/patches/951_sleep_shift.diff has an alternative patch which may be helpful, and links to

Re: Bazaar workflow for GRUB

2010-01-19 Thread Colin Watson
On Tue, Jan 19, 2010 at 09:57:07AM +0530, BVK Chaitanya wrote: > On Mon, Jan 18, 2010 at 11:45 PM, Colin Watson wrote: > > I recommend using a checkout for trunk, because that way bzr takes out a > > write lock on the branch when you start committing and doesn't release > &

Re: fb rotation merge directive

2010-01-19 Thread Colin Watson
it on branches that have already been published, but it's fine to use it for private patch submission branches. (Otherwise, you can just use 'bzr merge', of course.) -- Colin Watson [cjwat...@ubuntu.com] _

Re: fb rotation merge directive

2010-01-19 Thread Colin Watson
On Tue, Jan 19, 2010 at 11:07:53AM +, Colin Watson wrote: > https://launchpad.net/bzr-rewrite The lp:bzr-rewrite link is pretty stale, BTW; I think lp:~jelmer/bzr-rewrite/trunk-mirrorred is the one you actually want (or you can use the tarball). -- Colin Wat

Re: fb rotation merge directive

2010-01-19 Thread Colin Watson
On Tue, Jan 19, 2010 at 12:44:18PM +0100, Michal Suchanek wrote: > 2010/1/19 Colin Watson : > > lp:~jelmer/bzr-rewrite/trunk-mirrorred is the one you actually want (or > > you can use the tarball). > > Either does nothing. Perhaps they don't support rebasing of branches

Re: [PATCH] switch from sprintf to asprintf and snprintf

2010-01-19 Thread Colin Watson
On Tue, Jan 19, 2010 at 11:29:14PM +0100, Robert Millan wrote: > On Sun, Jan 17, 2010 at 01:02:55PM +0100, Vladimir 'φ-coder/phcoder' > Serbinenko wrote: > > Robert Millan wrote: > > > On Fri, Jan 01, 2010 at 09:32:24AM +, Colin Watson wrote: > > >&g

Re: segfault in grub_device_iterate on 64bit platforms

2010-01-19 Thread Colin Watson
ately, and since grub-probe is the thing that cares whether the disk member is non-NULL, it should also test that. It doesn't much matter whether we do this in probe or in probe_raid_level. Which is all a laborious way of saying that I think your patch is OK, although I'

Re: segfault in grub_device_iterate on 64bit platforms

2010-01-19 Thread Colin Watson
se of padding within the struct needed to ensure alignment. Easily forgotten. > Electric Fence. Learn it, love it, live it. Valgrind this decade, surely? ;-) I've committed your patches now. A ChangeLog entry would speed up the process for next time. :-) -- Colin Watson

Re: handling "/"

2010-01-20 Thread Colin Watson
leading characters are implementation-defined; I think this is for compatibility with the way some systems handle network mounts.) However, many people feel that multiple contiguous slashes are inelegant anyway, and strive to avoid them. -- Colin Watson

Re: Fix for "underquoted definition of grub_*" in acinclude.m4

2010-01-23 Thread Colin Watson
On Sat, Jan 23, 2010 at 11:36:58AM +0530, BVK Chaitanya wrote: > Attached patch fixes the underquoted definition warning (as in below > example) generated during autogen.sh phase. Looks good to me. -- Colin Watson [cjwat...@ubun

Re: [PATCH] make 'sleep --interruptible 0' interruptible

2010-01-25 Thread Colin Watson
On Mon, Jan 25, 2010 at 08:55:33AM +0100, Robert Millan wrote: > On Wed, Jan 20, 2010 at 10:50:25PM +0100, Szymon Janc wrote: > > Colin Watson wrote: > > > On the PC architecture, you can't check for Escape without having some > > > kind of delay. Only modifier key

[PATCH] DM-RAID probing

2010-01-25 Thread Colin Watson
-01-01 00:00:00 + +++ ChangeLog.dmraid-probe 2010-01-25 17:47:33 + @@ -0,0 +1,16 @@ +2010-01-25 Colin Watson + + * configure.ac: Check for Linux device-mapper support. + * util/hostdisk.c (device_is_mapped): New function. + (find_partition_start): New function, partly

Re: Changes in GRUB help

2010-01-25 Thread Colin Watson
e since sometimes it's more convenient to be able to change the initramfs separately. -- Colin Watson [cjwat...@ubuntu.com] ___ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel

Re: [PATCH] DM-RAID probing

2010-01-26 Thread Colin Watson
On Mon, Jan 25, 2010 at 07:48:46PM +, Colin Watson wrote: > I've pushed this branch with improved DM-RAID probing support: > > sftp://bzr.sv.gnu.org/srv/bzr/grub/branches/dmraid-probe/ > > This makes it possible for things like this to work: > > grub-probe

Re: Is it possible to have grub2's boot.img as my MBR, but have it look in a separate partition for core.img?

2010-01-28 Thread Colin Watson
able. For example, you may find that you need to re-run grub-install after certain filesystem operations; see the "And blocklists?" section of http://grub.enbug.org/BIOS_Boot_Partition for a description of the problem. This problem was present in GR

Re: Is it possible to have grub2's boot.img as my MBR, but have it look in a separate partition for core.img?

2010-01-28 Thread Colin Watson
On Thu, Jan 28, 2010 at 03:11:35PM +0100, edgar.sol...@web.de wrote: > I had also problems to install grub2 to a partition boot record. It > complained and wouldn't do it. Did you try using grub-install --force? -- Colin Watson [cjwat...

Re: Building Grub2 manual?

2010-01-30 Thread Colin Watson
it closer to short books describing the program. If you have the 'help2man' program installed, then you'll also get manual pages, albeit only ones generated automatically from the --help output so they aren't really as good as proper hand-wri

Re: Search GPT partition in GRUB

2010-02-04 Thread Colin Watson
That would be nice, and it might not be all that difficult to implement, but of course it would take up extra precious space in the core image. I don't think it's really necessary in this case. Cheers, -- Colin Watson [cjwat...@ubuntu.com]

Re: [PATCH] --foo bar cmdline argument parsing support for grub-* scripts

2010-02-07 Thread Colin Watson
h in detail), but perhaps it would make sense to use getopt instead? There are some compatibility issues there that might be a problem if we need to support systems where non-GNU getopt is installed, but it does involve doing less of this by hand. -- Colin Watson

NEWS updates

2010-02-07 Thread Colin Watson
rt for multiple terminals. + +* Encrypted password support, with a new utility `grub-mkpasswd-pbkdf2'. + +* `grub-mkfloppy' removed; use `grub-mkrescue' to create floppy images. + * Add grub-probe support for GNU/Hurd. * Add support for gettext. -- Colin Watson

Re: [PATCH] --foo bar cmdline argument parsing support for grub-* scripts

2010-02-09 Thread Colin Watson
y many > other shells. But it doesn't support long options, so it is useless here. -- Colin Watson [cjwat...@ubuntu.com] ___ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel

[PATCH] Trim a few bytes from boot.img

2010-02-10 Thread Colin Watson
have a bit of spare space in here, although I would certainly appreciate it if people didn't use it all at once. ;-) 2010-02-10 Colin King 2010-02-10 Colin Watson Shrink the pre-partition-table part of boot.img by eight bytes. * boot/i386/pc/boot.S (ERR):

Re: Grub2 usability [Was: Simplified Chinese screenshots]

2010-02-11 Thread Colin Watson
gt; backside. It is, of course, hardly surprising that we need experience of people running GRUB 2 as their primary boot loader in order to shake this sort of thing out, so I'm comfortable with the fact that we are actually doing this now. -- Col

Re: Serial and graphical console at the same time

2010-02-17 Thread Colin Watson
branch does support it though: > http://robertmh.wordpress.com/2009/12/25/multiple-grub-terminals/#comment-520 The relevant code was merged into trunk on 2010-01-09. -- Colin Watson [cjwat...@ubuntu.com] ___ Gr

Re: Lead-up message 'Welcome to GRUB!' inverted text printed lowlevel via BIOS ?!?

2010-02-21 Thread Colin Watson
. grep should have found it ... it's in kern/main.c, in the grub_main function. > btw: for test I remove all Welcome message from binary (search for full > disk, MBR too) files and message is still printing :-) This is free software. Rebuild the source, don't ed

Re: [patch] search for partition using GPT GUID

2010-02-21 Thread Colin Watson
t. I posted an analysis of all the generic available methods for filesystem identification to debian-boot a while back: http://lists.debian.org/debian-boot/2008/12/msg00338.html -- Colin Watson [cjwat...@ubuntu.com] ___

Re: Lead-up message 'Welcome to GRUB!' inverted text printed lowlevel via BIOS ?!?

2010-02-21 Thread Colin Watson
called as follows: grub_setcolorstate (GRUB_TERM_COLOR_HIGHLIGHT); grub_printf ("Welcome to GRUB!\n\n"); grub_setcolorstate (GRUB_TERM_COLOR_STANDARD); The grub_setcolorstate calls are what causes the message to be printed in inverse video. -- Colin Watson

Re: pointers to bzr location

2010-02-22 Thread Colin Watson
can change it. Maybe it would be best to copy the text onto http://www.gnu.org/software/grub/grub-2-download.en.html and correct it? -- Colin Watson [cjwat...@ubuntu.com] ___ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel

Re: [PATCH] Trim a few bytes from boot.img

2010-02-22 Thread Colin Watson
On Tue, Feb 16, 2010 at 12:53:51PM +0100, Vladimir 'φ-coder/phcoder' Serbinenko wrote: > Colin Watson wrote: > > A while back, I was looking for eight extra bytes in boot.img so that I > > could put a keyboard modifier check in there, allowing me to avoid > > pri

Re: [PATCH] fix build breakage by ieee1275 ofconsole

2010-02-24 Thread Colin Watson
s > this code can clarify things. Thanks for your patch. This is clearly a correct change regardless of the exact behaviour of the code, so I went ahead and applied it to trunk. (I wrote a ChangeLog entry for you, though for future changes it's good if you can supply o

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

2010-02-25 Thread Colin Watson
On Wed, Jan 06, 2010 at 09:22:15PM -0800, Jordan Uggla wrote: > On Tue, Jan 5, 2010 at 3:08 AM, Colin Watson wrote: > >> 2: Setting GRUB_DEFAULT=saved in /etc/default/grub also enables savedefault > >> functionality. There are many people who would want to use grub-reb

[PATCH] Optimise hostdisk device handling

2010-03-03 Thread Colin Watson
ter review, is there any chance at all that this could get into 1.98? I think I'm going to end up applying something like this in Ubuntu 10.04 anyway, but obviously I'd rather have it upstream if possible. 2010-03-03 Colin Watson * util/hostdisk.c (struct grub_util_biosdisk_

Re: Suggestion: concise summary as 1st line of commit message

2010-03-03 Thread Colin Watson
endously helpful. Furthermore, we should consistently use 'bzr commit --author' when committing changes by other people (I've been guilty of forgetting this myself). With that, there's absolutely no need to list the author separately. -- Colin Wats

Re: [PATCH] Optimise hostdisk device handling

2010-03-03 Thread Colin Watson
7;ChangeLog.hostdisk-speedup' --- ChangeLog.hostdisk-speedup 1970-01-01 00:00:00 + +++ ChangeLog.hostdisk-speedup 2010-03-03 10:43:43 +0000 @@ -0,0 +1,18 @@ +2010-03-03 Colin Watson + + * util/hostdisk.c (struct grub_util_biosdisk_data): New structure. + (grub_util_bios

Re: Fopen in password.c

2010-03-06 Thread Colin Watson
ilable to it. You'll need to use GRUB's own file-handling interfaces instead, such as grub_file_open. -- Colin Watson [cjwat...@ubuntu.com] ___ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org

Re: Grub-devel Digest, Vol 73, Issue 9

2010-03-07 Thread Colin Watson
://grub.enbug.org/Authentication -- Colin Watson [cjwat...@ubuntu.com] ___ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel

Re: GIT mirror of BZR repo

2010-03-11 Thread Colin Watson
h of the branch metadata for every operation; it can do much, much better with bzr+ssh. -- Colin Watson [cjwat...@ubuntu.com] ___ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel

Re: GIT mirror of BZR repo

2010-03-11 Thread Colin Watson
hpad.net/~vcs-imports/grub/grub2-bzr -- Colin Watson [cjwat...@ubuntu.com] ___ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel

Re: GIT mirror of BZR repo

2010-03-11 Thread Colin Watson
On Thu, Mar 11, 2010 at 04:17:38PM +, Colin Watson wrote: > On Thu, Mar 11, 2010 at 09:20:42PM +0530, KESHAV P.R. wrote: > > I changed .bzr/branch/branch.conf > > > > parent_location = http://bzr.savannah.gnu.org/r/grub/trunk/grub/ > > > > to

Re: save default working with Grub 1.98 ?

2010-03-17 Thread Colin Watson
trols were new in 1.98, so it only affected upgrades from experimental versions (well, and the backport in Ubuntu 9.10). Regards, -- Colin Watson [cjwat...@ubuntu.com] ___ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel

[PATCH] Fix locale installation

2010-03-19 Thread Colin Watson
es reality rather better. 2010-03-19 Colin Watson * util/grub-install.in: Copy .mo files from @datadir@/locale, to match where 'make install' puts them. * util/i386/efi/grub-install.in: Likewise. === modified file 'util/grub-install.in' --- util/grub-i

Re: [PATCH] Fix locale installation

2010-03-19 Thread Colin Watson
On Fri, Mar 19, 2010 at 08:35:23PM +, Carles Pina i Estany wrote: > On Mar/19/2010, Colin Watson wrote: > > # Copy gettext files > > mkdir -p ${grubdir}/locale/ > > -for file in ${grubdir}/locale/*.mo ${pkglibdir}/locale/*.mo; do > > -if test -f "$file&

Re: [PATCH] Fix locale installation

2010-03-21 Thread Colin Watson
On Fri, Mar 19, 2010 at 10:28:16PM +, Carles Pina i Estany wrote: > On Mar/19/2010, Colin Watson wrote: > > $localedir/*/LC_MESSAGES/grub.mo. My code will copy (e.g.) > > /usr/share/locale/es/LC_MESSAGES/grub.mo to /boot/grub/locale/es.mo. > > This seems better

[PATCH] Fix LVM/RAID probing without device.map

2010-03-22 Thread Colin Watson
ID, to avoid slowing down update-grub unnecessarily when those device abstractions aren't involved. 2010-03-22 Colin Watson * util/hostdisk.c (store_grub_dev): New function. (grub_util_biosdisk_probe_device): Likewise. * include/grub/util/hostdisk.h (grub_util_biosd

Re: [PATCH] Grammar fix for loadable module support

2010-03-24 Thread Colin Watson
attached mini patch ;). Makes sense to this native speaker, thanks! I've committed your patch. Please include a ChangeLog entry next time. Regards, -- Colin Watson [cjwat...@ubuntu.com] ___ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel

Re: gettext util

2010-03-27 Thread Colin Watson
, such a change would be one-time and would be not much more painful than any addition of an option under the long-message system. -- Colin Watson [cjwat...@ubuntu.com] ___ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel

Re: gettext util

2010-03-27 Thread Colin Watson
On Sat, Mar 27, 2010 at 10:36:39PM +, Carles Pina i Estany wrote: > On Mar/27/2010, Colin Watson wrote: > > On Sat, Mar 27, 2010 at 09:42:37PM +, Carles Pina i Estany wrote: > > > I have not seen any program (again, yet, maybe Grub will be the first > > > one) to

Re: How to prepare an ISO 9660 CD for booting via GRUB ?

2010-04-11 Thread Colin Watson
ould suffice for all known > cases, i ponder whether i should use > "%.f", (double) ... C99 has uintmax_t and %ju. If you don't want to rely on C99, unsigned long long and %llu would probably be best. I wouldn't use FP for this. -- C

Re: escape strings in grub.cfg

2010-04-11 Thread Colin Watson
ent, and that sed s/// command needs /g. With my suggestion, I'd recommend: gettext_quoted () { gettext "$@" | sed "s/'/'''/g" } ... and then make sure it's enclosed in '' rather than "" wherever it's used (or modify the sed to put single-quotes at the start and end, if that works out neater). -- Colin Watson [cjwat...@ubuntu.com] ___ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel

Re: Problem Compiling gnulib/getdelim on MacOSX

2010-04-12 Thread Colin Watson
We should import the ssize_t module from gnulib, which adds a configure macro for this. The way grub uses gnulib is a bit odd, though, so it's not something I'd feel comfortable with just fixing; it needs somebody more familiar with it. After we switch to automake (a prerequisite), could we s

Re: escape strings in grub.cfg

2010-04-12 Thread Colin Watson
On Mon, Apr 12, 2010 at 12:23:01PM -0500, richardvo...@gmail.com wrote: > On Sun, Apr 11, 2010 at 7:09 PM, Colin Watson wrote: > > On Sat, Apr 10, 2010 at 10:10:15PM +0100, Carles Pina i Estany wrote: > >> +gettext_escape_double_quotes () > >> +{ > >&g

Re: escape strings in grub.cfg

2010-04-13 Thread Colin Watson
On Mon, Apr 12, 2010 at 01:09:06AM +0100, Colin Watson wrote: > With my suggestion, I'd recommend: > > gettext_quoted () { > gettext "$@" | sed "s/'/'''/g" > } > > ... and then make sure it's enclosed in '&

Re: how to compile the grub legacy on AMD64

2010-04-19 Thread Colin Watson
on for which this is untrue. Since this is the development list for GRUB 2 and few people here are interested in hacking on GRUB Legacy any more, a different question to you: why do you need to use GRUB Legacy rather than GRUB 2? What could we improve so that you can use GRUB 2 instead? Re

Re: grub-mkrescue without --image-type=floppy?

2010-05-13 Thread Colin Watson
rom an older version (say, grub-1.96) > to create floppy images, or is there a better way? You don't need an option any more - the images produced by grub-mkrescue in 1.98 are valid floppy images as well as CD-ROM images. -- Colin Watson

Re: grub2 back to lilo ?

2010-05-15 Thread Colin Watson
tions. Thus user had an easier way to add his > customizations (without even need to run update-grub). > > With GRUB2 that simplicity is not there anymore. Simplicity ... except when it broke. Which it did, all the time. Let's not follow the model of those marker c

Re: grub2 back to lilo ?

2010-05-15 Thread Colin Watson
On Sat, May 15, 2010 at 09:21:36AM +0200, Marc Haber wrote: > On Sat, May 15, 2010 at 08:11:27AM +0100, Colin Watson wrote: > > Simplicity ... except when it broke. Which it did, all the time. Let's > > not follow the model of those marker comments! > > Just for the re

Re: grub2 back to lilo ?

2010-05-17 Thread Colin Watson
On Sat, May 15, 2010 at 01:41:09PM +0530, BVK Chaitanya wrote: > On Sat, May 15, 2010 at 12:41 PM, Colin Watson wrote: > > On Sat, May 15, 2010 at 08:02:22AM +0530, BVK Chaitanya wrote: > >> With GRUB2 that simplicity is not there anymore. > > > > Simplicity ... e

Re: GRUB2 facility to boot ISOs?

2010-05-18 Thread Colin Watson
trying to establish a standard whereby an OS can advertise to GRUB that it supports this so that appropriate configuration stanzas can be generated automatically, and this may happen.) -- Colin Watson [cjwat...@ubuntu.com] _

Re: Using efi image on USB stick

2010-05-18 Thread Colin Watson
somewhat different approach; does it avoid this problem? I don't know how well BIOSes handle MBR partition tables on CD-ROMs. -- Colin Watson [cjwat...@ubuntu.com] ___ Grub-devel mailing list Grub-devel@gnu.org

Re: Using efi image on USB stick

2010-05-18 Thread Colin Watson
On Tue, May 18, 2010 at 01:25:10PM +0200, Vladimir 'φ-coder/phcoder' Serbinenko wrote: > Colin Watson wrote: > > On Mon, May 17, 2010 at 11:48:12PM +0200, Vladimir 'φ-coder/phcoder' > > Serbinenko wrote: > >> Thanks to Seth Goldberg's and Jordan U

btrfs-probe branch

2010-05-18 Thread Colin Watson
pply the patch for kern/emu/hostdisk.c to util/hostdisk.c instead. === added file 'ChangeLog.btrfs-probe' --- ChangeLog.btrfs-probe 1970-01-01 00:00:00 + +++ ChangeLog.btrfs-probe 2010-05-18 12:01:59 + @@ -0,0 +1,8 @@ +2010-05-18 Colin Watson + + Add btrfs probing suppor

Re: btrfs-probe branch

2010-05-18 Thread Colin Watson
On Tue, May 18, 2010 at 01:17:24PM +0100, Colin Watson wrote: > I've done basic testing, but would appreciate testing from others as > well. For those who don't want to bother checking it out from revision > control, the patch follows. It's against trunk, but should ap

Re: btrfs-probe branch

2010-05-18 Thread Colin Watson
On Tue, May 18, 2010 at 01:17:24PM +0100, Colin Watson wrote: > (Vladimir cited a rumour to the effect that libblkid may be able to > handle this, but I haven't been able to find any evidence of it knowing > how to deal with mount points at all. We can always revisit this > lat

Re: Using efi image on USB stick

2010-05-18 Thread Colin Watson
On Tue, May 18, 2010 at 02:44:09PM +0200, Thomas Schmitt wrote: > Colin Watson wrote: > > http://fedoraproject.org/wiki/Anaconda/Features/UEFI : > "Many BIOS implementations, ... do not correctly > handle the multiple El-Torito boot blocks" > > El Torito spe

Re: Migrations to xorriso

2010-05-19 Thread Colin Watson
protective-msdos-label -r ${iso9660_dir} > ${source} | cat >"${output_image}" Useless use of cat. -- Colin Watson [cjwat...@ubuntu.com] ___ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel

Converting Ubuntu CDs to GRUB

2010-05-20 Thread Colin Watson
t and hacking on it. In particular, I'd appreciate thoughts on how this kind of thing might best be represented in extensions to the theme format. Thanks, -- Colin Watson [cjwat...@ubuntu.com] ___ Grub-d

Re: Converting Ubuntu CDs to GRUB

2010-05-20 Thread Colin Watson
On Thu, May 20, 2010 at 11:13:02AM -0700, Colin D Bennett wrote: > On Thu, 20 May 2010 18:35:54 +0100 > Colin Watson wrote: > > I've written up a brief description of our needs here: > > > > https://wiki.ubuntu.com/FoundationsTeam/Specs/MaverickCDBoot > > &

Re: Option handling in grub-mkconfig

2010-05-21 Thread Colin Watson
ption" | sed 's/--output=//'` @@ -72,6 +77,11 @@ for option in "$@"; do ;; esac done +if $next_grub_cfg; then +echo "Missing argument to \`-o'" 1>&2 +usage +exit 1 +fi . ${libdir}/grub/grub-mkconfig_lib -- Colin Watson

Re: Option handling in grub-mkconfig

2010-05-21 Thread Colin Watson
lify things, we should use something like getopt(1) as I think I proposed a while back, although that's not entirely without its problems. TBH I don't think the complication here is a big deal; it's just one option and it doesn't change often. -- Colin Watson

Re: [Patch] [bug #26237] multiple problems with usb devices

2010-05-22 Thread Colin Watson
h.gnu.org/r/grub/trunk/grub Unfortunately there's no way for us to change the incorrect instructions on Savannah. :-( -- Colin Watson [cjwat...@ubuntu.com] ___ Grub-devel mailing list Grub-devel@gnu.org h

Re: Grub 1.98 will not compile on any system.

2010-05-26 Thread Colin Watson
ic 1.98 pre-compiled? On Ubuntu 10.04, you could simply use the existing grub-pc package. Regards, -- Colin Watson [cjwat...@ubuntu.com] ___ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel

Re: Bug#550704: grub-pc - Needs to handle symlinks in /dev/mapper

2010-05-28 Thread Colin Watson
to take a stance one way or the other; we should just work with both. Fortunately this is quite straightforward. Here's a patch, which I've also pushed as a bzr branch to people/cjwatson/mapper-symlink. 2010-05-28 Colin Watson Make grub-probe work with symbolic links under

grub-mkconfig documentation

2010-06-02 Thread Colin Watson
I've committed Texinfo documentation for grub-mkconfig to trunk (nodes "Configuration" and "Invoking grub-mkconfig"). Please take a look and comment. I've also left a slot for documenting the full scripting language, and may or may not get round to that in the ne

[PATCH] Complete 'set root=('

2010-06-03 Thread Colin Watson
n code isn't smart enough to complete only the part after the '=' in this case. What do people think about the following patch, which makes this work so that we can document it with a clear conscience? 2010-06-03 Colin Watson * normal/completion.c (grub_normal_do_comple

[PATCH] Fix verbose error output when device-mapper not supported by kernel

2010-06-03 Thread Colin Watson
ian.org/cgi-bin/bugreport.cgi?bug=584196. The attached patch fixes this. OK for trunk? (The long patch to util/deviceiter.c is almost entirely due to the extra 'if' causing an indentation change.) 2010-06-03 Colin Watson * kern/emu/misc.c (device_mappe

Re: Bug#584474: FTBFS: usbms.c:315: error: form at ‘%02x’ expects type ‘unsigned int ’

2010-06-04 Thread Colin Watson
(If this is unacceptable for whatever reason, then the proper fix would be to cast to (unsigned long long) and to use %02llx - but I prefer having an accurate length modifier, really.) 2010-06-04 Colin Watson * kern/misc.c (grub_vsnprintf_real): Support 'z' length

Re: Bug#584474: FTBFS: usbms.c:315: error: form at ‘%02x’ expects type ‘unsigned int ’

2010-06-04 Thread Colin Watson
On Sat, Jun 05, 2010 at 12:17:57AM +0200, Vladimir 'φ-coder/phcoder' Serbinenko wrote: > On 06/04/2010 02:09 PM, Colin Watson wrote: > > As Vladimir pointed out on IRC: no, that's a minimum field width, not a > > precision. It shows *at least* two digits. >

[PATCH] (pxe:server_ip:gateway_ip) parsing wrong?

2010-06-07 Thread Colin Watson
While writing documentation for booting GRUB over the network, I noticed that the code to handle (pxe:server_ip:gateway_ip) device names looks wrong. Shouldn't it be like this? 2010-06-07 Colin Watson * fs/i386/pc/pxe.c (grub_pxe_open): Fix parsing of gateway_ip. === modified

Re: [PATCH] (pxe:server_ip:gateway_ip) parsing wrong?

2010-06-07 Thread Colin Watson
Oh, and speaking of PXE support, what's the point of the pxe_unload command? As near as I can tell, it seems to be the equivalent of 'rmmod pxe'. Is there some reason one might want to run this if pxe were built into the core image, or is it cruft that we should remove? -

Web site redesign

2010-06-07 Thread Colin Watson
in a timely fashion, do you think you could fix this up? Thanks, -- Colin Watson [cjwat...@ubuntu.com] ___ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel

Re: [PATCH] Fix verbose error output when device-mapper not supported by kernel

2010-06-07 Thread Colin Watson
On Mon, Jun 07, 2010 at 10:57:27PM +0200, Vladimir 'φ-coder/phcoder' Serbinenko wrote: > On 06/03/2010 06:23 PM, Colin Watson wrote: > > Following the merge of my dmraid-probe branch, several people have > > reported extremely verbose error output in the event that th

Re: 915resolution doesn't work with 945GME

2010-06-08 Thread Colin Watson
case CT_945GME: > case CT_946GZ: > case CT_G965: > case CT_Q965: This seems reasonable to me, but I don't know 915resolution at all well. grub-devel, does this look OK to apply? Thanks, -- Colin Watson [cjwat...@ubuntu.com]

Re: 915resolution doesn't work with 945GME

2010-06-08 Thread Colin Watson
/bzr/grub-extras/915resolution/ -- Colin Watson [cjwat...@ubuntu.com] ___ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel

[PATCH] Improve man page headers

2010-06-08 Thread Colin Watson
maintaining if that's a requirement. 2010-06-08 Colin Watson * Makefile.in (install-local): Include $(srcdir)/docs/man/$$dest.h2m when generating manual pages. * docs/man/grub-bin2h.h2m: New file. * docs/man/grub-editenv.h2m: New file. * docs/man/

Re: [PATCH] Improve man page headers

2010-06-08 Thread Colin Watson
Could your approach also support filename transformations? I'm not sure how that would work. I guess you'd need program_transform_name applied to the .h2m files. Do you want me to put my patch in a bzr branch so that you can experiment with that? I

<    1   2   3   4   5   6   7   8   >