Re: Improperly nested partitions, help needed!

2010-09-21 Thread Grégoire Sutre
On 09/21/2010 09:42 PM, Svante Signell wrote: # file /tmp/sda3.mbr /tmp/sda3.mbr: x86 boot sector; GRand Unified Bootloader, stage1 version 0x3, 1st sector stage2 0xdd29b38; partition 1: ID=0x83, starthead 239, startsector 63, 35153937 sectors, extended partition table (last)\011, code offset 0x

Re: Improperly nested partitions, help needed!

2010-09-21 Thread Lennart Sorensen
On Tue, Sep 21, 2010 at 10:29:35PM +0200, Svante Signell wrote: > I see my mistake of output file in my previous mail, it should read /dev/sda3 > instead > of /tmp/sda3, right? > > dd if=/dev/zero of=/dev/sda3 bs=512 count=1 Right. -- Len Sorensen

Re: Improperly nested partitions, help needed!

2010-09-21 Thread Svante Signell
On Tue, 2010-09-21 at 16:18 -0400, Lennart Sorensen wrote: [...] > > So the solution is to blank out the first sector of /dev/sda3, > > > > dd if=/dev/null of=/tmp/sda3 bs=512 count=1 > > > > to get rid of the warnings? Please confirm the command above is correct. > > Not quite. > > dd if=/dev/

Re: Improperly nested partitions, help needed!

2010-09-21 Thread Isaac Dupree
On 09/21/10 09:13, Isaac Dupree wrote: On 09/21/10 03:31, Svante Signell wrote: I should have posted to help-grub, but I am not subscribed to that list, only grub-devel. Then subscribe to help-grub! It's not hard to do, and that list gets less email than grub-devel these days so you shouldn't

Re: [PATCH] USB serial - missing configuration

2010-09-21 Thread Aleš Nesrsta
Vladimir 'φ-coder/phcoder' Serbinenko wrote: > On 09/15/2010 07:58 AM, Aleš Nesrsta wrote: > > Hi, > > > > I did not find configuration of USB serial device, so I made this small > > patch. > > > > > Go ahead for trunk Done (trunk revision 2843). (I had to do it two times - unfortunately there

Re: Improperly nested partitions, help needed!

2010-09-21 Thread Lennart Sorensen
On Tue, Sep 21, 2010 at 09:42:14PM +0200, Svante Signell wrote: > Yes, if I remember correctly, that's what I did some time ago, when > installing a new disk for /home. > > > If so, then there is a chance that the first sector of sda3 contains > > the old extended partition table, and grub probe m

Re: Improperly nested partitions, help needed!

2010-09-21 Thread Svante Signell
On Tue, 2010-09-21 at 10:54 -0400, Lennart Sorensen wrote: > On Tue, Sep 21, 2010 at 09:31:16AM +0200, Svante Signell wrote: [...] > Is there any chance you used to have an extended partition as sda3 and > then made a linux partition which is now sda3 and your new extended > partition is sda4? Ye

[PATCH] Re-enable grub-extras

2010-09-21 Thread Colin Watson
Here's a patch to re-enable grub-extras by allowing extra modules to provide Autogen definitions files. A few things to note: * I had to have autogen.sh create 'contrib' symlinks in the source tree, as Automake got hopelessly confused when I had $(GRUB_CONTRIB) in source file names - au

Re: Improperly nested partitions, help needed!

2010-09-21 Thread Grégoire Sutre
On 09/21/2010 16:54, Lennart Sorensen wrote: What does improperly nested mean: overlapping, or something else? How to resolve this problem? According to fdisk the sda1 and sda3 partitions are _not_ overlapping: Additionally, does the same warning have to be repeated so many times for every ke

Re: grub2 bzr mainline make error

2010-09-21 Thread Colin Watson
On Tue, Sep 21, 2010 at 08:11:08PM +0530, KESHAV P.R. wrote: > On Tue, Sep 21, 2010 at 19:08, Colin Watson wrote: > > All fixed, and I've tested an out-of-tree build of x86-64_efi now. > > Please try revision 2839. > > Again the build (rev 2839) fails, but this time not due to gnulib Keshav test

Re: Improperly nested partitions, help needed!

2010-09-21 Thread Lennart Sorensen
On Tue, Sep 21, 2010 at 09:31:16AM +0200, Svante Signell wrote: > I should have posted to help-grub, but I am not subscribed to that list, > only grub-devel. > > Can somebody please help me with the following problem: > (I have asked on Debian lists, and also filed a bug #594158 but no > response

Re: grub2 bzr mainline make error

2010-09-21 Thread KESHAV P.R.
On Tue, Sep 21, 2010 at 19:08, Colin Watson wrote: > > All fixed, and I've tested an out-of-tree build of x86-64_efi now. > Please try revision 2839. > Again the build (rev 2839) fails, but this time not due to gnulib gcc -DHAVE_CONFIG_H -I. -I../../grub-core -I.. -Wall -W -I../../include -I../

Re: Improperly nested partitions, help needed!

2010-09-21 Thread Grégoire Sutre
On 09/21/2010 09:31, Svante Signell wrote: When installing a new kernel or a new version of grub I get a warning that /dev/sda1 (windows rescue) and /dev/sda3 (linux root /) are improperly nested: /usr/sbin/grub-probe: warn: Discarding improperly nested partition (hd1,msdos3,msdos1). Assuming

Re: grub2 bzr mainline make error

2010-09-21 Thread Colin Watson
On Tue, Sep 21, 2010 at 04:32:35PM +0530, KESHAV P.R. wrote: > gcc -E -DHAVE_CONFIG_H -I. -I.. -Wall -W -I./include -DGRUB_UTIL=1 > -DGRUB_LIBDIR=\"/usr/lib/grub\" -DLOCALEDIR=\"/usr/share/locale\" > -DGRUB_MACHINE_EFI=1 -DGRUB_MACHINE=X86_64_EFI > -DGRUB_FILE=\"grub_script.tab.h\" -I. -I.. -I. -I

Re: Improperly nested partitions, help needed!

2010-09-21 Thread Isaac Dupree
On 09/21/10 03:31, Svante Signell wrote: I should have posted to help-grub, but I am not subscribed to that list, only grub-devel. Then subscribe to help-grub! It's not hard to do, and that list gets less email than grub-devel these days so you shouldn't be overwhelmed with email... __

Re: grub2 bzr mainline make error

2010-09-21 Thread Yves Blusseau
Le 21/09/2010 13:02, KESHAV P.R. a écrit : On Tue, Sep 21, 2010 at 15:43, Yves Blusseau wrote: Le 21/09/2010 10:38, KESHAV P.R. a écrit : Grub2 bzr mainline rev 2830 does not compile for both x86_64-efi and i386-pc. Seems like some error due to gnulib. I have attached the output while compi

Re: grub2 bzr mainline make error

2010-09-21 Thread KESHAV P.R.
On Tue, Sep 21, 2010 at 15:43, Yves Blusseau wrote: > > > Le 21/09/2010 10:38, KESHAV P.R. a écrit : >> >> Grub2 bzr mainline rev 2830 does not compile for both x86_64-efi and >> i386-pc. Seems like some error due to gnulib. I have attached the >> output while compiling for x86_64-efi. > > One inc

Re: grub2 bzr mainline make error

2010-09-21 Thread Yves Blusseau
Le 21/09/2010 10:38, KESHAV P.R. a écrit : Grub2 bzr mainline rev 2830 does not compile for both x86_64-efi and i386-pc. Seems like some error due to gnulib. I have attached the output while compiling for x86_64-efi. One include what wrong. Corrected in revision 2835. Regards, Yves Blusseau

Re: grub2 bzr mainline make error

2010-09-21 Thread Colin Watson
On Tue, Sep 21, 2010 at 02:08:58PM +0530, KESHAV P.R. wrote: > Grub2 bzr mainline rev 2830 does not compile for both x86_64-efi and > i386-pc. Seems like some error due to gnulib. I have attached the > output while compiling for x86_64-efi. [...] > make[2]: Entering directory > `/home/keshav_pr/De

Improperly nested partitions, help needed!

2010-09-21 Thread Svante Signell
Yes, I should have posted to help-grub, but I am not subscribed to that list, only grub-devel. Can somebody please help me with the following problem: (I have asked on Debian lists, and also filed a bug #594158 but no response so far). When installing a new kernel or a new version of grub I get