Re: Improperly nested partitions, help needed!

2010-09-22 Thread Vladimir 'φ-coder/phcoder' Serbinenko
On 09/22/2010 10:57 PM, Brendan Trotter wrote: > Hi, > > 2010/9/23 Vladimir 'φ-coder/phcoder' Serbinenko : > >> On 09/22/2010 07:44 PM, Lennart Sorensen wrote: >> >>> On Wed, Sep 22, 2010 at 07:08:49PM +0200, Grégoire Sutre wrote: >>> On 09/22/2010 18:44, Lennart Sorensen wrote:

Re: Improperly nested partitions, help needed!

2010-09-22 Thread Brendan Trotter
Hi, 2010/9/23 Vladimir 'φ-coder/phcoder' Serbinenko : > On 09/22/2010 07:44 PM, Lennart Sorensen wrote: >> On Wed, Sep 22, 2010 at 07:08:49PM +0200, Grégoire Sutre wrote: >>> On 09/22/2010 18:44, Lennart Sorensen wrote: >>> After all msdos partitions tables may only exist in MBR and extended

Re: Improperly nested partitions, help needed!

2010-09-22 Thread Vladimir 'φ-coder/phcoder' Serbinenko
On 09/22/2010 07:44 PM, Lennart Sorensen wrote: > On Wed, Sep 22, 2010 at 07:08:49PM +0200, Grégoire Sutre wrote: > >> On 09/22/2010 18:44, Lennart Sorensen wrote: >> >> >>> After all msdos partitions tables may only exist in MBR and extended >>> partitions >>> >> According to which

Re: Improperly nested partitions, help needed!

2010-09-22 Thread Lennart Sorensen
On Wed, Sep 22, 2010 at 07:08:49PM +0200, Grégoire Sutre wrote: > On 09/22/2010 18:44, Lennart Sorensen wrote: > >> After all msdos partitions tables may only exist in MBR and extended >> partitions > > According to which standard? Well, I think DOS and common practice. Can you think of any OS th

Re: Improperly nested partitions, help needed!

2010-09-22 Thread Grégoire Sutre
On 09/22/2010 18:44, Lennart Sorensen wrote: After all msdos partitions tables may only exist in MBR and extended partitions According to which standard? Grégoire ___ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo

Re: Improperly nested partitions, help needed!

2010-09-22 Thread Lennart Sorensen
On Wed, Sep 22, 2010 at 12:19:22PM -0400, Phillip Susi wrote: > This sounds like a bug in grub. It should not be looking for an EBR > inside a non extended partition, so if there happens to be some old data > there that looks like one, it should not matter. Well it would appear that it does curre

Re: Improperly nested partitions, help needed!

2010-09-22 Thread Phillip Susi
On 9/21/2010 10:54 AM, Lennart Sorensen wrote: >> 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 kernel entry??? > > It did not say they overlapped. It s

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: 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

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: 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: 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: 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... __