Re: grub-1.97

2009-10-28 Thread Colin Watson
On Tue, Oct 27, 2009 at 08:59:15PM -0500, Bruce Dubbs wrote: > I do have a question. After building a package, we like to test it for > those packages that have tests built in. When I tried `make test`, I got > an error about missing m2c. I then went to the Debian repository and > built m2c.

Re: os-prober incorrectly generates stanza - wrong root= device.

2009-10-28 Thread Felix Zielcke
Am Dienstag, den 27.10.2009, 23:23 -0400 schrieb Chris Jones: > While detecting other kernels, update-grub generates the following: > > menuentry "Debian GNU/Linux, kernel 2.6.24-etchnhalf.1-686 (on /dev/sda12)" { > > insmod ext2

Re: powerpc/sparc problems

2009-10-28 Thread Felix Zielcke
Am Montag, den 12.10.2009, 10:55 +0200 schrieb Felix Zielcke: > David are you still there? > And also anyone who has access to a powerpc machine (and experience)? > > In Debian we the problem that the `__ashldi3' and `__bswapsi2' symbols > can't be found in the grub-ieee1275 build on powerpc and a

Re: powerpc/sparc problems

2009-10-28 Thread David Miller
From: Felix Zielcke Date: Wed, 28 Oct 2009 11:24:58 +0100 > Am Montag, den 12.10.2009, 10:55 +0200 schrieb Felix Zielcke: >> David are you still there? >> And also anyone who has access to a powerpc machine (and experience)? >> >> In Debian we the problem that the `__ashldi3' and `__bswapsi2' sy

Re: grub-1.97

2009-10-28 Thread Michal Suchanek
2009/10/28 Bruce Dubbs : > I am putting grub2 into the Linux From Scratch book and have built/tested it > and it works quite well for us.  Thank you. > > I do have a question.  After building a package, we like to test it for > those packages that have tests built in.  When I tried `make test`, I g

Re: grub-1.97

2009-10-28 Thread Bruce Dubbs
Colin Watson wrote: On Tue, Oct 27, 2009 at 08:59:15PM -0500, Bruce Dubbs wrote: I do have a question. After building a package, we like to test it for those packages that have tests built in. When I tried `make test`, I got an error about missing m2c. I then went to the Debian repository an

Re: os-prober incorrectly generates stanza - wrong root= device.

2009-10-28 Thread Chris Jones
On Wed, Oct 28, 2009 at 05:55:29AM EDT, Felix Zielcke wrote: > Am Dienstag, den 27.10.2009, 23:23 -0400 schrieb Chris Jones: [..] > > Not sure this qualifies as a bug, or just incorrect setup my end. > > > os-prober is a seperate package. It has nothing to do with us, except > that we call it t

Re: grub-1.97

2009-10-28 Thread Bruce Dubbs
Michal Suchanek wrote: 2009/10/28 Bruce Dubbs : I'd also like to make a comment. It may be useful if you split up the build into subdirectories by component. When I extracted the tarball, there were 57 files/directories in the top of the build tree. After configure it was 64. So far so goo

Re: grub-1.97

2009-10-28 Thread Felix Zielcke
Am Mittwoch, den 28.10.2009, 11:02 -0500 schrieb Bruce Dubbs: > Since there is only one Makefile, I could take a shot at creating a > patch to > address this problem. Would you be interested in such a patch? That's wrong that there is just one Makefile. Well it's true that there is just one fil

Re: Any tutorial to configure grub menu interface ?

2009-10-28 Thread J. Bakshi
On Wed, 28 Oct 2009 04:01:05 +0800 Bean wrote: > On Tue, Oct 27, 2009 at 10:41 PM, J. Bakshi > wrote: > > I wonder if there is any tutorial to crate cool grub menu > > interface. Can we use the grub2 2009 summer project to get those > > fancy interfaces ? > > Hi, > > There are actually two men

Re: grub-1.97

2009-10-28 Thread Felix Zielcke
Am Mittwoch, den 28.10.2009, 17:39 +0100 schrieb Felix Zielcke: > Am Mittwoch, den 28.10.2009, 11:02 -0500 schrieb Bruce Dubbs: > > Since there is only one Makefile, I could take a shot at creating a > > patch to > > address this problem. Would you be interested in such a patch? > > That's wron

Re: grub-1.97

2009-10-28 Thread Bruce Dubbs
Felix Zielcke wrote: Am Mittwoch, den 28.10.2009, 11:02 -0500 schrieb Bruce Dubbs: Since there is only one Makefile, I could take a shot at creating a patch to address this problem. Would you be interested in such a patch? That's wrong that there is just one Makefile. Well it's true that th

Bazaar repo reconstruction

2009-10-28 Thread Robert Millan
Hi, Due to a problem with an old version of bzr-svn, our Bazaar repository will have to be reconstructed. After it has been, some manual work will be needed in order to reinstate the branches (including experimental and personal branches). I don't expect that any data will be lost, but it may t

Re: [Announce] Initial GRUB2 on Yeeloong

2009-10-28 Thread Vladimir 'phcoder' Serbinenko
Vladimir 'phcoder' Serbinenko wrote: >> What already works: booting as ELF from pmon, loading modules, graphics >> output if gfx card is already inited (is a case when booted from pmon), >> platform-independent parts >> What doesn't work: keyboard and disks >> >> > Now keyboard works > A

Re: [GITGRUB] New menu interface (implementation)

2009-10-28 Thread Bean
Hi, Update: Add timeout, progressbar and savedefault. savedefault: Variable savedefault set the system default value. If savedefault=1, save the current boot item. You can also overwrite the default value for individual items, in menuentry statement --save option always save this item, and --n

Re: Bazaar repo reconstruction

2009-10-28 Thread Robert Millan
A backup copy of the old repository is available here: http://people.debian.org/~rmh/grub/bzr-backup/ -- Robert Millan The DRM opt-in fallacy: "Your data belongs to us. We will decide when (and how) you may access your data; but nobody's threatening your freedom: we still allow you to

Re: [GITGRUB] New menu interface (implementation)

2009-10-28 Thread Vladimir 'phcoder' Serbinenko
Bean wrote: > Hi, > > Update: > > Add timeout, progressbar and savedefault. > > savedefault: > > Variable savedefault set the system default value. If savedefault=1, > save the current boot item. > > You can also overwrite the default value for individual items, in > menuentry statement --save opti

Re: Any tutorial to configure grub menu interface ?

2009-10-28 Thread Vladimir 'phcoder' Serbinenko
J. Bakshi wrote: > On Wed, 28 Oct 2009 04:01:05 +0800 > Bean wrote: > > >> On Tue, Oct 27, 2009 at 10:41 PM, J. Bakshi >> wrote: >> >>> I wonder if there is any tutorial to crate cool grub menu >>> interface. Can we use the grub2 2009 summer project to get those >>> fancy interfaces ? >>>

Re: grub as coreboot payload

2009-10-28 Thread Robert Millan
It appears there's a regression in coreboot-v2. I'll trace that down. -- Robert Millan The DRM opt-in fallacy: "Your data belongs to us. We will decide when (and how) you may access your data; but nobody's threatening your freedom: we still allow you to remove your data and not access it

Problem building Grub2 on OSX

2009-10-28 Thread André Lopes
Hi all, I'm trying to build Grub2 in my Macbook5,1. The OSX version is 10.5.8, and the Grub2 source code was obtained from the SVN trunk So, after the ./configure --with-platform=efi --target=i386 i get this: *** GRUB2 will be compiled with foll

Re: Problem building Grub2 on OSX

2009-10-28 Thread Vladimir 'phcoder' Serbinenko
André Lopes wrote: > Hi all, > > I'm trying to build Grub2 in my Macbook5,1. The OSX version is 10.5.8, > and the Grub2 source code was obtained from the SVN trunk > > So, after the ./configure --with-platform=efi --target=i386 i get this: > *** >

Repost: ~3TB ext4 volume not read correctly by ext2-fs driver in GRUB2

2009-10-28 Thread Tony Vroon
Ladies and gentlemen, Reposting as this went unanswered. It would appear that the ext2-fs driver is not reliably able to read directories on my ~3TB / filesystem: /dev/root 3.4T 1.7T 1.6T 52% / /dev/root on / type ext4 (rw,noatime,barrier=1,data=ordered) Whilst doing some troublesh

[PATCH] try to reread partition table in 10_linux

2009-10-28 Thread Felix Zielcke
/dev/disk/by-uuid seems to be only created when the partition table gets reread after a new filesystem has been created. So here's a patch which does it with sfdisk. I wasn't sure if some devices like e.g. /dev/mapper/* should be ignored. mdraid devices can have partitions so they should be tried

Re: Problem building Grub2 on OSX

2009-10-28 Thread André Lopes
Yes it was that. Now it builds almost fine! Now it just gives an ignored error building the docs, i think: Updating ./docs/version.texi ./install-sh -c -d docs /usr/bin/makeinfo -P ./docs --no-split --force docs/grub.texi -o docs/ grub.info ./docs/grub.texi:1552: Prev reference to nonexistent nod

Re: Problem building Grub2 on OSX

2009-10-28 Thread Robert Millan
On Wed, Oct 28, 2009 at 10:35:23PM +, André Lopes wrote: > Yes it was that. Now it builds almost fine! Fixed in SVN, thank you. > Now it just gives an ignored error building the docs, i think: > > [...] > make: [docs/grub.info] Error 1 (ignored) This is to be expected. Patches welcome. --

Re: [PATCH] try to reread partition table in 10_linux

2009-10-28 Thread Robert Millan
On Wed, Oct 28, 2009 at 11:33:51PM +0100, Felix Zielcke wrote: > +if which sfdisk /dev/null ; then > + GRUB_DEVICE_DISK=`echo ${GRUB_DEVICE} | sed -e "s/[0-9]*$//"` > + sfdisk -R ${GRUB_DEVICE_DISK} 2>/dev/null > +fi s/[0-9]*$// doesn't catch all partition path layouts. More heuristic is needed

Re: [PATCH] Add -nostdinc to TARGET_CFLAGS

2009-10-28 Thread Robert Millan
Committed then. On Mon, Oct 26, 2009 at 05:16:38PM +0100, Robert Millan wrote: > > It should be pretty obvious that we don't want to use system headers when > building target, but we've been for so long without this flag that I want > to make sure. > > Does anyone see a problem with it? > > --

Re: [PATCH] try to reread partition table in 10_linux

2009-10-28 Thread Felix Zielcke
Am Donnerstag, den 29.10.2009, 00:00 +0100 schrieb Robert Millan: > On Wed, Oct 28, 2009 at 11:33:51PM +0100, Felix Zielcke wrote: > > +if which sfdisk /dev/null ; then > > + GRUB_DEVICE_DISK=`echo ${GRUB_DEVICE} | sed -e "s/[0-9]*$//"` > > + sfdisk -R ${GRUB_DEVICE_DISK} 2>/dev/null > > +fi > >

Re: grub as coreboot payload

2009-10-28 Thread Robert Millan
On Mon, Oct 26, 2009 at 09:20:53PM +0100, Andreas B. Mundt wrote: > Hi, > > first, congratulations to the 1.97-release! > > I vainly tried to run the latest grub2 (Revision: 2663) as payload to > coreboot (Revision: 4852) following the wikipage: > > http://grub.enbug.org/CoreBoot > > I

Re: [GITGRUB] New menu interface (implementation)

2009-10-28 Thread Bean
On Thu, Oct 29, 2009 at 5:12 AM, Vladimir 'phcoder' Serbinenko wrote: > Bean wrote: >> Hi, >> >> Update: >> >> Add timeout, progressbar and savedefault. >> >> savedefault: >> >> Variable savedefault set the system default value. If savedefault=1, >> save the current boot item. >> >> You can also o

Re: grub-1.97

2009-10-28 Thread richardvo...@gmail.com
On Wed, Oct 28, 2009 at 11:02 AM, Bruce Dubbs wrote: > Michal Suchanek wrote: >> >> 2009/10/28 Bruce Dubbs : > >>> I'd also like to make a comment.  It may be useful if you split up the >>> build >>> into subdirectories by component.  When I extracted the tarball, there >>> were >>> 57 files/direc

Re: grub-1.97

2009-10-28 Thread Bruce Dubbs
richardvo...@gmail.com wrote: On Wed, Oct 28, 2009 at 11:02 AM, Bruce Dubbs wrote: Michal Suchanek wrote: I guess it's meant to be used like this: tar -jxvf grub-version.tar.bz2 cd grub-version mkdir build cd build ../configure./configure --prefix=/usr \ --sysconfdir=/etc \