Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1MUS7m-0005Wp-Ux for mharc-grub-devel@gnu.org; Fri, 24 Jul 2009 17:16:18 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MUS7k-0005WX-5c for grub-devel@gnu.org; Fri, 24 Jul 2009 17:16:16 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MUS7f-0005W2-Jp for grub-devel@gnu.org; Fri, 24 Jul 2009 17:16:15 -0400 Received: from [199.232.76.173] (port=54320 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MUS7f-0005Vz-GN for grub-devel@gnu.org; Fri, 24 Jul 2009 17:16:11 -0400 Received: from mail-fx0-f216.google.com ([209.85.220.216]:45306) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MUS7e-0002EM-TR for grub-devel@gnu.org; Fri, 24 Jul 2009 17:16:11 -0400 Received: by fxm12 with SMTP id 12so1145076fxm.42 for ; Fri, 24 Jul 2009 14:16:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=5mzPJ78qfJZMfUvVrA4hK5qZlhdVJu/DjVIOXEFMrH0=; b=YsFHk7ktTWH2NNUBkB8KGNQ28hANQmYBt7PonQcxFtMdl2EtXkrDkFsSq65Cmpk5cd dpStl7lAaZVk0YZ98qKt4jsZlfERTsdt3uCGEBw0Kf25YdYQhQF1qnsT9iQwohLYLXe1 dPL0pZc+KwUBZYevI3QP96+Q9DONSqjfRGcsc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=VBe4zYqkP/i2O0AoMnQj9qbLRzmkxJLTcumU+p7f/UujbZBHrpsz7gdHAWiMwNiT0d KXMS/sLUu6qJro7ABFTmvECJH+99XSkvUMFbKWoveQPEa8PHpLkSe10/YMjcpywXRBk9 grZYvVkkf4gZuT6x8K9SAlfB0BxgJuzRzO4AI= MIME-Version: 1.0 Received: by 10.204.97.204 with SMTP id m12mr143919bkn.185.1248470169992; Fri, 24 Jul 2009 14:16:09 -0700 (PDT) In-Reply-To: <1248467624.6620.19.camel@mj> References: <1248461206.3510.76.camel@fz.local> <1248466144.6620.16.camel@mj> <1248467624.6620.19.camel@mj> Date: Fri, 24 Jul 2009 23:16:09 +0200 Message-ID: From: "Vladimir 'phcoder' Serbinenko" To: The development of GRUB 2 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Subject: Re: [Fwd: Re: Bug#495949: grub-common: grub-probe segfaults] X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: The development of GRUB 2 List-Id: The development of GRUB 2 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 24 Jul 2009 21:16:16 -0000 > - =A0 =A0 =A0if (! strcmp (dest_partmap, "pc_partition_map")) > - =A0 =A0 =A0 grub_util_warn ("This msdos-style partition label has no po= st-MBR gap; embedding won't be possible!"); > - =A0 =A0 =A0else > - =A0 =A0 =A0 grub_util_warn ("This GPT partition label has no BIOS Boot = Partition; embedding won't be possible!"); > + =A0 =A0 =A0grub_util_warn ("Cannot identify partition map."); This message will appear on partionless disks. Perhaps more or more precise information is better (we're in core.img here) > + =A0 =A0 =A0grub_util_warn ("Embedding on partition type %s is unsupport= ed", > + =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 dest_partmap); > =A0 =A0 =A0 goto unable_to_embed; > =A0 =A0 } This should be a harder error. Only few partition schemes have a place for bootsector. Writing to "bootsector" is likely to destroy partition map. If more partitions are sane for install (e.g. sun_pc I recently implemented for solaris is) then I prefer to add them manually > > > -- > Regards, > Pavel Roskin > > > _______________________________________________ > Grub-devel mailing list > Grub-devel@gnu.org > http://lists.gnu.org/mailman/listinfo/grub-devel > --=20 Regards Vladimir 'phcoder' Serbinenko Personal git repository: http://repo.or.cz/w/grub2/phcoder.git