Re: grub_usb

2008-04-13 Thread Vesa Jääskeläinen
mohammed mt wrote: Hi all... I wishes to do USB support for GRUB...What are the important things when doing a device support for GRUB, that is not much taken into consideration when doing the same for Kernel? Hi Mohammed, Well, depends on the platform you are doing the driver. But let assume

Re: [PATCH] grub2 for Cygwin

2008-04-13 Thread Robert Millan
On Mon, Apr 07, 2008 at 09:46:38PM +0200, Christian Franke wrote: > Pavel Roskin wrote: > >On Sat, 2008-04-05 at 14:44 +0200, Christian Franke wrote: > > > > > >>OK, then I would suggest to (re)start with the small change for > >>grub-mkdevicemap. > >> > >>http://lists.gnu.org/archive/html/grub-

Re: [PATCH] grub2 for Cygwin

2008-04-13 Thread Robert Millan
On Thu, Apr 03, 2008 at 03:28:36PM +0200, Christian Franke wrote: > > The cygwin distro does not include any cross compilation tools. A > package that require tools not in the distro would not be accepted. > > The package is actually build with native cygwin gcc+binutils. Sorry, I got out of con

Re: [NEW PATCH] os-prober output parser

2008-04-13 Thread Robert Millan
On Mon, Apr 07, 2008 at 10:39:46AM +0200, Fabian Greffrath wrote: > > Allright, since I haven't heard any further complaints regarding the > usage of the 'which' command, here's my proposed script. Please remove > the UTF-8 crap from the shebang line if it is still there. > > > 2008-04-07 Fab

Re: [PATCH] auto-load all partmaps in images generated by grub-mkrescue

2008-04-13 Thread Robert Millan
Committed. On Tue, Mar 18, 2008 at 09:21:35PM +0100, Robert Millan wrote: > > See subject :-) > > -- > Robert Millan > > I know my rights; I want my phone call! > What use is a phone call… if you are unable to speak? > (as seen on /.) > > * gendistlist.sh (EXTRA_DISTFILES): Add `gen

Re: whereis grub shell ?

2008-04-13 Thread Robert Millan
On Wed, Mar 19, 2008 at 07:04:55PM -0400, Pavel Roskin wrote: > > But generally, it's a widely used feature, and I'm not aware of many > users having their filesystems trashed by GRUB 1. For the record, this has happened. See for example: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=46270

Re: Native CD test results

2008-04-13 Thread Robert Millan
On Wed, Mar 26, 2008 at 10:09:48PM -0400, Pavel Roskin wrote: > > I was surprised to see that "ls" would not show partitions on the hard > drives. It turns out the "pc" module wasn't loaded. Perhaps it > should be preloaded, or maybe it would be autoloaded when a PC style > partition table

Re: [PATCH] Linux loader for OLPC

2008-04-13 Thread Robert Millan
On Fri, Mar 28, 2008 at 07:23:07AM +0800, Bean wrote: > Hi, > > This patch add support for the linux loader in OLPC. Just in 2 days! You're truly impressive :-) Note that the following files you modify were recently moved out of their powerpc/ directories: kern/powerpc/ieee1275/init.c kern

Re: [PATCH] Linux loader for OLPC

2008-04-13 Thread Robert Millan
On Thu, Apr 03, 2008 at 11:19:32PM +0800, Bean wrote: > Hi, > > The new patch add support for the nand flash device in OLPC. However, > the flash use jffs2 file system, so you can't list file in it yet, but > you can dump the disk with hexdump. > > This patch also include an improvement for hexdu

Re: Testing Grub 1.96 on RS/6000 7025-F50

2008-04-13 Thread Robert Millan
On Fri, Mar 28, 2008 at 03:23:55PM +0800, Bean wrote: > On Fri, Mar 28, 2008 at 2:33 PM, Pavel Roskin <[EMAIL PROTECTED]> wrote: > > Quoting Bean <[EMAIL PROTECTED]>: > > > > > You can add the command you need to use with grub-mkimage, so that > > > they'll be built into the kernel. After grub2 s

Re: Infinite loop regression due to recent change in hostfs.c

2008-04-13 Thread Robert Millan
On Sun, Apr 06, 2008 at 01:21:31PM -0400, Pavel Roskin wrote: > Quoting Christian Franke <[EMAIL PROTECTED]>: > > >The change in hostfs.c introduces an interesting regression: hostfs now > >appears in *_init.lst and grub_hostfs_init() is called twice in > >grub-emu and grub-fstest. This results in

Re: bug fixed on grub_strncat()

2008-04-13 Thread Robert Millan
Both fixed, thank you! On Thu, Mar 20, 2008 at 10:52:45AM +0800, zhanghuan wrote: > grub_strncat() eats the last char copid from 'dest', this patch should fix it. > > diff -ur grub-1.96/kern/misc.c grub-1.96fix/kern/misc.c > --- grub-1.96/kern/misc.c 2008-02-03 21:11:31.0 +0800 > +

Re: [PATCH] Fix prefix problem with LVM on RAID

2008-04-13 Thread Robert Millan
On Sat, Feb 23, 2008 at 09:54:35PM +0100, Michael Guntsche wrote: > Hello, > > While testing a soon to be deployed setup here I noticed that grub- > setup is setting the prefix wrong if you run > LVM on Software RAID > > grub-setup -v /dev/md0 > ... > grub-setup: info: dos partition is -2, bsd p

Re: [PATCH] Create floppy emulation boot CD with grub-mkimage

2008-04-13 Thread Robert Millan
On Fri, Mar 07, 2008 at 10:20:25PM +0100, Christian Franke wrote: > > 2008-03-07 Christian Franke <[EMAIL PROTECTED]> > > * util/i386/pc/grub-mkrescue.in: Add --emulation=floppy > to create a floppy emulation boot CD when non emulation mode > does not work. > Enable Joli

Re: [PATCH] Linux loader for OLPC

2008-04-13 Thread Bean
On Sun, Apr 13, 2008 at 7:41 PM, Robert Millan <[EMAIL PROTECTED]> wrote: > On Thu, Apr 03, 2008 at 11:19:32PM +0800, Bean wrote: > > Hi, > > > > The new patch add support for the nand flash device in OLPC. However, > > the flash use jffs2 file system, so you can't list file in it yet, but > >

Re: [PATCH] Linux loader for OLPC

2008-04-13 Thread Robert Millan
On Sun, Apr 13, 2008 at 11:18:31PM +0800, Bean wrote: > > /* OLPC / XO laptops have three kinds of storage devices: > > > > - NAND flash. These are accessible via OFW callbacks, but: > >- Follow strange semantics, imposed by hardware constraints. > >- Its ABI

Re: [PATCH] Fix prefix problem with LVM on RAID

2008-04-13 Thread Guntsche Michael
On Apr 13, 2008, at 17:04, Robert Millan wrote: On Sat, Feb 23, 2008 at 09:54:35PM +0100, Michael Guntsche wrote: Hello, While testing a soon to be deployed setup here I noticed that grub- setup is setting the prefix wrong if you run LVM on Software RAID grub-setup -v /dev/md0 ... grub-setup:

Re: [PATCH] Fix prefix problem with LVM on RAID

2008-04-13 Thread Robert Millan
On Sun, Apr 13, 2008 at 06:07:22PM +0200, Guntsche Michael wrote: > > On Apr 13, 2008, at 17:04, Robert Millan wrote: > >On Sat, Feb 23, 2008 at 09:54:35PM +0100, Michael Guntsche wrote: > >>Hello, > >> > >>While testing a soon to be deployed setup here I noticed that grub- > >>setup is setting th

Re: [PATCH] Fix prefix problem with LVM on RAID

2008-04-13 Thread Guntsche Michael
On Apr 13, 2008, at 18:40, Robert Millan wrote: Ok, second try. This one looks ok for me did not try it out yet though. /Michael smime.p7s Description: S/MIME cryptographic signature ___ Grub-devel mailing list Grub-devel@gnu.org http://lists.gn

Re: [PATCH] wrong CHS limit check

2008-04-13 Thread Robert Millan
On Fri, Mar 21, 2008 at 04:14:46PM +0100, Robert Millan wrote: > + soff = sector % data->sectors + 1; > + head = sector / data->sectors; Or rather, as pointed out by Bean on IRC: soff = ((grub_uint32_t) sector) % data->sectors + 1; head = ((grub_uint32_t) sector) / data->sectors; t

Re: [PATCH] wrong CHS limit check

2008-04-13 Thread Robert Millan
Committed. On Fri, Mar 21, 2008 at 04:14:46PM +0100, Robert Millan wrote: > > This patch fixes (I think) the grub_biosdisk_rw() CHS limit check, which as > described in http://www.allensmith.net/Storage/HDDlimit/Int13h.htm is slightly > below LBA-24, not LBA-32 as current code assumes. > > --

Re: GRUB2 and Multiboot?

2008-04-13 Thread Robert Millan
On Fri, Apr 11, 2008 at 01:55:57PM -0600, Julian Salazar wrote: > > Also, I'm really interested in the GRUB2 project, and I've noticed a > staggering lack of documentation for it. I'd be perfectly willing to help > write a manual of some kind for GRUB2, so how could I go about doing that? Sorry t

Re: [PATCH] grub2 for Cygwin

2008-04-13 Thread Christian Franke
Robert Millan wrote: On Thu, Apr 03, 2008 at 03:28:36PM +0200, Christian Franke wrote: The cygwin distro does not include any cross compilation tools. A package that require tools not in the distro would not be accepted. The package is actually build with native cygwin gcc+binutils. S

grub-probe fails to find PC partition due to Apple disklabel

2008-04-13 Thread Chris Knadle
Greetings. I've run into an interesting problem on a PC running Debian Sid (Linux) where grub-probe fails to find partitions on the first hard disk because it finds an Apple disklabel, causing the 'update-grub' program to fail and thus not allow installing a new Linux kernel. [The drive may

Re: Native CD test results

2008-04-13 Thread Pavel Roskin
On Sun, 2008-04-13 at 13:08 +0200, Robert Millan wrote: > On Wed, Mar 26, 2008 at 10:09:48PM -0400, Pavel Roskin wrote: > > > > I was surprised to see that "ls" would not show partitions on the hard > > drives. It turns out the "pc" module wasn't loaded. Perhaps it > > should be preloaded, o

Re: GRUB2 and Multiboot?

2008-04-13 Thread Pavel Roskin
On Fri, 2008-04-11 at 13:55 -0600, Julian Salazar wrote: > Hello, > > I've got some questions about GRUB2 relating to the Multiboot Draft: > > It seems like GRUB2 passes the start tag with a key of 1, bootloader name > with a key of 2, etc. > But the Multiboot draft says that the start tag has a

RE: GRUB2 and Multiboot?

2008-04-13 Thread Julian Salazar
Sorry if I wasn't more specific, but I was talking about the multiboot draft at http://grub.enbug.org/MultibootDraft, specifically the Multiboot Information Format. > Or maybe you mean that the kernel should tell the bootloader whether the > control should be passed to it in the 64-bit mode? Exac

Re: grub2 network

2008-04-13 Thread Pavel Roskin
On Wed, 2008-04-09 at 04:44 -0700, Maryam wrote: > Hi! > I want to add network support to grub2, For this reason i want add > netboot to grub2. > Now how do this work? Take the code you need from the netboot directory in GRUB 1. Make sure it's compatible with GPLv3 (look for "any later version")

RE: GRUB2 and Multiboot?

2008-04-13 Thread Pavel Roskin
On Sun, 2008-04-13 at 20:52 -0600, Julian Salazar wrote: > Sorry if I wasn't more specific, but I was talking about the multiboot draft > at http://grub.enbug.org/MultibootDraft, specifically the Multiboot > Information Format. Oh, I see. It seems to me that the code implements a more thought out