Re: RFC: Support Linux command line variants in grub-mkconfig

2010-01-20 Thread Martin Orr
On Tue 19 Jan 22:26:51 2010, Robert Millan wrote: On Mon, Jan 18, 2010 at 09:03:53PM +, Martin Orr wrote: I would like to be able to choose between alternative Linux command lines in my GRUB menu (specifically, I want a "selinux=0" option, but I can imagine that people might want other thin

Re: [PATCH] Multiboot video support

2010-01-20 Thread Michal Suchanek
Shouldn't the structure also include the framebuffer orientation? If framebuffer transform support is included in grub it would be good to pass the orientation the user specified for grub graphics output to the OS so that the OS console output is displayed the same way automatically. Thanks Mich

Re: [multiboot] command-line format

2010-01-20 Thread Grégoire Sutre
Hi Robert, On Sun, Jan 17, 2010 at 01:39:48PM -0600, richardvo...@gmail.com wrote: I think a bootloader with "universal" in its name should be doing everything possible to avoid this. If I want to multiboot between Linux, NetBSD, OpenSolaris, and OpenBSD, do I load my MBR with the BSD fork of

Re: RFC: Support Linux command line variants in grub-mkconfig

2010-01-20 Thread Joey Korkames
I think this is growing severely overengineered. It is already more complex than it needs to be. The scripts in /etc/grub.d *are* config files. There's no reason you can't edit them to suit your needs. I agree that my solution does seem rather overengineered. My problem is that while /etc/gr

Re: Embedding area too small... (GRUB2 on software RAID1)

2010-01-20 Thread Joey Korkames
Lapohos Tibor writes: ... and I got a warning and an error message: "Embedding area is too small for core.img." and ... It rather reads: "Your embedding area is unusually small. core.img won't fit in it." I found the error message accurate, but ultimately unhelpful when I got it. I had t

Assistance with non-bios found HDD/cdrom booting

2010-01-20 Thread Nando
Hi Grub team, I have connected a HDD to my optical drive port and find that Ubuntu can see and mount that HDD. However, I'd like to be able to boot from it. If I do: 'ls' -> shows hd0.. 'insmod ata_pthru' 'insmod ntfs' 'ls' -> shows ata0.. + additional partitions set prefix=(ata0,1)/boot/grub Pro

Re: Build error: "ENABLE_NLS" is not defined

2010-01-20 Thread Grégoire Sutre
Robert Millan wrote: This affects gnulib/error.c and gnulib/gettext.h which would be much better not to change, as they're being imported semi-automatically. I understand. But could this be actually a bug in gnulib? The problem only occurs when gettext is not found and when compiling with -

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

2010-01-20 Thread Szymon Janc
> On the PC architecture, you 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/annot > ate/head%3A/debian/patches/951_sleep_shift.diff has an alternative patch

[PATCH] gfxmenu relative path in "file" component of images

2010-01-20 Thread Robert Millan
This makes it possible to use relative paths in the "file" component of gfxmenu images. I've tested that it works, but I'd appreciate if someone more familiar with gfxmenu can review it. -- Robert Millan "Be the change you want to see in the world" -- Gandhi === modified file 'gfxmenu/gui_im

Re: [PATCH] gfxmenu relative path in "file" component of images

2010-01-20 Thread Vladimir 'φ-coder/phcoder' Serbinenko
Robert Millan wrote: > This makes it possible to use relative paths in the "file" component of > gfxmenu images. I've tested that it works, but I'd appreciate if someone > more familiar with gfxmenu can review it. > + static const char *theme_dir = NULL; Add a member to grub_gui_image_t rathe

handling "/"

2010-01-20 Thread Carles Pina i Estany
Hi, I've seen a couple of patches about handling "/". In Linux (I think that it's up to Linux, but maybe is libc?) things like ///bin/ are valid. Or things like /var/tmp// Is this not everywhere? I've not verified if POSIX paths says this, but would avoid the things that has been patching a

Re: [multiboot] abstractmbi, modules

2010-01-20 Thread Grégoire Sutre
Seth Goldberg wrote: The latest version of Solaris xVM (based on Xen 3.4) is bootable from GRUB2, so that confirms that the bug was fixed in 3.4, so please give that a try. Indeed, Xen 3.4.2 (i386) boots fine with GRUB 2. For the record, the command I used is: grub> multiboot (...)/xen.

Re: handling "/"

2010-01-20 Thread Colin Watson
On Wed, Jan 20, 2010 at 11:30:42PM +, Carles Pina i Estany wrote: > I've seen a couple of patches about handling "/". > > In Linux (I think that it's up to Linux, but maybe is libc?) things like > ///bin/ are valid. Or things like /var/tmp// > > Is this not everywhere? I've not verified i

Re: handling "/"

2010-01-20 Thread Isaac Dupree
Carles Pina i Estany wrote: Is this not everywhere? I've not verified if POSIX paths says this, but would avoid the things that has been patching and unpatching today. I believe it is POSIX mandated paths behavior. (Windows on the other hand has limitations on the number of slashes/backslashe

comment about grub_error, capitalisation and one commit

2010-01-20 Thread Carles Pina i Estany
Hi, grub_error strings are printed by kern/err.c and are printed after ":" like: Error: %s (talking from memory) One commit from Robert did: if (argc == 0) -return grub_error (GRUB_ERR_BAD_ARGUMENT, "no initrd specified"); +return grub_error (GRUB_ERR_BAD_ARGUMENT, "No ini

[multiboot2] Tagged multiboot2 header

2010-01-20 Thread Vladimir 'φ-coder/phcoder' Serbinenko
Current multiboot header has number of problems: - Bitfields. They place a limit on 16 mandatory and 16 optional features. This forces us to carefully consider every flag and sometimes squash marginally related requirements together. - Whether flag is ignorable or not is a part of specification and