How to install grub2 on a sdb?

2008-08-30 Thread Maryam
Hi! my system has 2 hard, sda & sdb., sdb is my second hard, i replace grub2 with grub-0.97 in fedora 8, and build ISO with new grub, i install fedora on a first hard(sda), it is successful, but when i install it on a sdb grub2 don't load, beacuse it just install on a sdb please tell me how to in

Re: [RFC] DISTLIST and gendistlist.sh

2008-08-30 Thread Felix Zielcke
Am Freitag, den 29.08.2008, 19:03 -0400 schrieb Pavel Roskin: > Maybe we could take an approach based on the version control system? > The distributed files are those under version control plus generated > distributed files (if any) minus maintainer-only files. The file lists > for inclusion and

Re: grub-probe detects ext4 wronly as ext2

2008-08-30 Thread Robert Millan
On Mon, Aug 11, 2008 at 04:14:00PM +0200, Javier Martín wrote: > >> > This overrides the grub_errno and grub_errmsg provided by grub_disk_read > >> > and > >> > replaces them with values that hide the true problem. If there was a > >> > disk > >> > read error, we really want to know about it fro

Re: GRUB_CONSOLE_KEY_NPAGE/PPAGE codes

2008-08-30 Thread Robert Millan
On Sun, Aug 24, 2008 at 07:08:00PM +0300, Vesa Jääskeläinen wrote: > Carles Pina i Estany wrote: > > In the ChangeLog from Grub (not Grub2) I can read: > > > > 1999-03-13 Gordon Matzigkeit <[EMAIL PROTECTED]> > > > > [...] > > > > * shared_src/shared.h (KEY_DELETE): Rename to K

Re: [PATCH] Warning if grub.cfg not found

2008-08-30 Thread Robert Millan
Hi On Sat, Aug 23, 2008 at 04:43:14PM +0200, Carles Pina i Estany wrote: > Index: normal/cmdline.c > === > --- normal/cmdline.c (revision 1826) > +++ normal/cmdline.c (working copy) > @@ -137,12 +137,17 @@ grub_cmdline_run (int nes

Re: [Question] Why not load compressed kernel?

2008-08-30 Thread Robert Millan
On Sat, Aug 23, 2008 at 11:02:01PM +0800, y.volta wrote: > Hi, > > I'm trying to load a .gz multi-boot kernel file. but, I get 'invalid > magic number'. and when i check the grub_rescue_cmd_linux (), it uses > grub_file_open () not grub_gzfile_open (); > > So, my question, why not use t

Re: [PATCH] Correcting GRUB_CONSOLE_KEY_NPAGE/PPAGE

2008-08-30 Thread Robert Millan
On Sun, Aug 24, 2008 at 04:29:44PM +0200, Carles Pina i Estany wrote: > > Hi, > > I was just thinking now... > > On Aug/24/2008, Carles Pina i Estany wrote: > > > * include/grub/powerpc/ieee1275/console.h (GRUB_TERM_NPAGE): > > Changed to 0x5100. > > (GRUB_TERM_PPAGE): Changed to 0x

Re: [RFC] USB Support

2008-08-30 Thread Robert Millan
On Wed, Aug 27, 2008 at 09:56:22PM +0200, Marco Gerards wrote: > Index: disk/usbms.c > === > --- disk/usbms.c (revision 0) > +++ disk/usbms.c (revision 0) I think 'usbms' is a cryptic name. I'd personally prefer something m

Re: [PATCH] new static const char[] modname

2008-08-30 Thread Robert Millan
On Thu, Aug 28, 2008 at 07:09:37PM +0200, Felix Zielcke wrote: > @@ -248,7 +250,7 @@ grub_scsi_open (const char *name, grub_d > { >if (! p->open (name, scsi)) > { > - disk->id = (unsigned long) "scsi"; /* XXX */ > + disk->id = (unsigned long) modname; /* XXX */ I thi

Re: [patch] background_image: image centering and scaling

2008-08-30 Thread Robert Millan
On Fri, Aug 29, 2008 at 05:56:21PM +0300, Vesa Jääskeläinen wrote: > > Thanks for your effort, but there is already code that does this, > altought not committed yet. My apologises; I was unaware of this when I told Olaf to go ahead and bring this to grub-devel. Olaf, sorry if I wasted your tim

[PATCH] fix disk->id abuse

2008-08-30 Thread Robert Millan
disk->id is supposed to be filled with a per-disk value so that the disk cache manager can identify individual disks. For single-disk drivers, a constant is enough. But it seems someone started using pointers to strings for them, and then we all (including me) copied. Then I see disk/scsi.c doi

Re: [PATCH] new static const char[] modname

2008-08-30 Thread Felix Zielcke
Am Samstag, den 30.08.2008, 14:01 +0200 schrieb Robert Millan: > I think the idea with this was to unify the strings for grub_dprintf calls; > your patch goes a bit further and also puts other sort of strings to share > the same variable. > > I think that's a bit dangerous, since changes intended

Re: Idea: Move kernel to upper memory

2008-08-30 Thread Robert Millan
On Fri, Aug 29, 2008 at 07:15:43PM +0800, Bean wrote: > Hi, > > The traditional memory is quite small, and is used by real mode apps. > By moving grub2 kernel to upper memory, it's possible to keep it after > dos started, and we can invoke grub2 service using interrupts. One > important usage is t

Re: [PATCH] new static const char[] modname

2008-08-30 Thread Robert Millan
On Sat, Aug 30, 2008 at 02:36:32PM +0200, Felix Zielcke wrote: > Am Samstag, den 30.08.2008, 14:01 +0200 schrieb Robert Millan: > > > I think the idea with this was to unify the strings for grub_dprintf calls; > > your patch goes a bit further and also puts other sort of strings to share > > the s

Re: Handlers

2008-08-30 Thread Robert Millan
On Fri, Aug 29, 2008 at 02:36:56PM +0200, Marco Gerards wrote: > Hi, > > This patch adds handler support to GRUB 2. This makes it easier to > add new handlers to GRUB without duplicating code over and over. Bean > wanted this for some of his ideas :-) > > Okuji (and others), can you please revi

Re: [PATCH] Case insensitive filename for NTFS

2008-08-30 Thread Robert Millan
On Sat, Aug 30, 2008 at 03:07:21AM +0800, Bean wrote: > Hi, > > This patch allow case insensitive filename in Win32 and DOS namespace. > Names in POSIX namespace would still be case sensitive. It also remove > names in the DOS namespace, as they will reappear in Win32 namespace. Nice work :-) >

Re: Handlers

2008-08-30 Thread Vesa Jääskeläinen
Marco Gerards wrote: > Vesa Jääskeläinen <[EMAIL PROTECTED]> writes: > >> Marco Gerards wrote: >>> If I knew a better way, I would have used it. I think the >>> alternatives will all end up in either code duplication or a loss of >>> type safety that now is at least present through warnings. But

Re: [patch] background_image: image centering and scaling

2008-08-30 Thread Vesa Jääskeläinen
Olaf Mandel wrote: > thanks. I must admit to not looking at the source code for the project. > Will scaling also be used for "simple" background_image commands? If yes > and if the scaling does preserve the aspect ratio of the image, then the > background picture is not necessarily in the upper lef

Re: Windows,grub and grub2

2008-08-30 Thread Vesa Jääskeläinen
Bean wrote: > I thinks it's caused by partition entry pointer %esi which isn't > correct in grub2, please see if this patch fixes the problem. Shouldn't chainloader be a bit generic and not to expect partition table to be DOS style? At least your patch seems to assume that.

Re: Idea: Move kernel to upper memory

2008-08-30 Thread Bean
On Sat, Aug 30, 2008 at 8:40 PM, Robert Millan <[EMAIL PROTECTED]> wrote: > On Fri, Aug 29, 2008 at 07:15:43PM +0800, Bean wrote: >> Hi, >> >> The traditional memory is quite small, and is used by real mode apps. >> By moving grub2 kernel to upper memory, it's possible to keep it after >> dos start

Re: Windows,grub and grub2

2008-08-30 Thread Bean
On Sat, Aug 30, 2008 at 11:03 PM, Vesa Jääskeläinen <[EMAIL PROTECTED]> wrote: > Bean wrote: >> I thinks it's caused by partition entry pointer %esi which isn't >> correct in grub2, please see if this patch fixes the problem. > > Shouldn't chainloader be a bit generic and not to expect partition ta

Re: [PATCH] fix disk->id abuse

2008-08-30 Thread Pavel Roskin
Quoting Robert Millan <[EMAIL PROTECTED]>: So this patch means to solve both issues; makes single-disk drivers use a constant directly (since a pointer to string is meaningless and confusing), and disk/scsi.c use LUNs which (I believe) will work as unique identifiers. Multi-character constant

Re: [patch] background_image: image centering and scaling

2008-08-30 Thread colin
On Sat, 30 Aug 2008 18:00:27 +0300, Vesa Jääskeläinen <[EMAIL PROTECTED]> wrote: > Olaf Mandel wrote: >> thanks. I must admit to not looking at the source code for the project. >> Will scaling also be used for "simple" background_image commands? If yes >> and if the scaling does preserve the aspect

Re: [patch] background_image: image centering and scaling

2008-08-30 Thread Vesa Jääskeläinen
[EMAIL PROTECTED] wrote: > On Sat, 30 Aug 2008 18:00:27 +0300, Vesa Jääskeläinen <[EMAIL PROTECTED]> >> Olaf Mandel wrote: >> Basically there is no background_image command anymore in new >> implementation. Idea is that you specify behavior in theme file. In >> theme file you could have attributes

[PATCH] iso9660 UUID support by using the creation date/time

2008-08-30 Thread Felix Zielcke
Here's a patch which implements UUID support for the iso9660 filesystem, by using the creation date in the `superblock'. The specs say that it's allowed to contain only zeros but I think this shouldn't be a big problem. -- Felix Zielcke 2008-08-30 Felix Zielcke <[EMAIL PROTECTED]> * fs/iso96

Re: [PATCH] iso9660 UUID support by using the creation date/time

2008-08-30 Thread Felix Zielcke
Am Samstag, den 30.08.2008, 22:15 +0200 schrieb Felix Zielcke: > Here's a patch which implements UUID support for the iso9660 filesystem, > by using the creation date in the `superblock'. > The specs say that it's allowed to contain only zeros but I think this > shouldn't be a big problem. I just

Re: grub-probe detects ext4 wronly as ext2

2008-08-30 Thread Javier Martín
Hello there! It's nice to be in town again, though post-vacation syndrome is hitting me full... Resuming the thread, El sáb, 30-08-2008 a las 13:17 +0200, Robert Millan escribió: > On Mon, Aug 11, 2008 at 04:14:00PM +0200, Javier Martín wrote: > > >> > This overrides the grub_errno and grub_errmsg

Re: Re: Build problems on powerpc

2008-08-30 Thread rubisher
Hello Pavel, Well I am totaly new here (grub2), because I am trying to boot a debian install on a virtual partion of a p510. This use a yaboot which failed to boot my install and even thought I reported in deep details the issue, I surprisingly got any feedback? I so have to find another boot l

Re: Re: Build problems on powerpc

2008-08-30 Thread Pavel Roskin
On Sat, 2008-08-30 at 23:09 +, rubisher wrote: > But how to install it now on a chrooted disk install (this is the only ugly > way I find: boot from a cd and after the nic > setup, I chroot the hard disk install ;<). > > On my i386 with previous grub I just had to launch the 'grub' cdml, it

Re: [RFC] DISTLIST and gendistlist.sh

2008-08-30 Thread Pavel Roskin
On Sat, 2008-08-30 at 11:28 +0200, Felix Zielcke wrote: > Am Freitag, den 29.08.2008, 19:03 -0400 schrieb Pavel Roskin: > > > Maybe we could take an approach based on the version control system? > > The distributed files are those under version control plus generated > > distributed files (if any)

Re: Crypto Patch: Legal Issues

2008-08-30 Thread W. Michael Petullo
>> In the meantime, I've assigned copyright of my work (excluding the AES >> and RIPEMD implementations) to the FSF. The documents are probably >> already waiting in my mailbox at home. I'll get the signing done once >> I'm back home at the end of this month. > I assume that I shall need to do th