From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 688AD13877A for ; Sat, 6 Sep 2014 10:44:51 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0ECD8E092D; Sat, 6 Sep 2014 10:44:46 +0000 (UTC) Received: from mail119c7.megamailservers.com (mail104c7-2520.megamailservers.com [69.49.98.20]) (using TLSv1.1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id E1113E090E for ; Sat, 6 Sep 2014 10:44:44 +0000 (UTC) X-POP-User: admin@sys-concept.com X-VIP: 69.49.109.100 Received: from syscon7.localdomain (S01060050da7ae68c.ed.shawcable.net [68.149.90.13]) by mail119c7.megamailservers.com (8.13.6/8.13.1) with ESMTP id s86Aig7G001213 for ; Sat, 6 Sep 2014 06:44:43 -0400 Received: by syscon7.localdomain (Postfix, from userid 1000) id 0C633200279; Sat, 6 Sep 2014 04:44:57 -0600 (MDT) Date: Sat, 6 Sep 2014 04:44:56 -0600 From: Joseph To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] MBR partition Message-ID: <20140906104456.GA23438@syscon7> References: <20140906030219.GR7971@syscon7> <20140906031059.GS7971@syscon7> <540AA690.1090905@fastmail.co.uk> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1; format=flowed Content-Disposition: inline In-Reply-To: <540AA690.1090905@fastmail.co.uk> User-Agent: Mutt/1.5.22 (2013-10-16) X-CTCH-RefID: str=0001.0A020203.540AE59B.00CB,ss=1,re=0.000,recu=0.000,reip=0.000,cl=1,cld=1,fgs=0 X-CTCH-VOD: Unknown X-CTCH-Spam: Unknown X-CTCH-Score: 0.000 X-CTCH-Rules: X-CTCH-Flags: 0 X-CTCH-ScoreCust: 0.000 X-CSC: 0 X-CHA: v=2.1 cv=b+2LvL2x c=1 sm=1 tr=0 a=C3ZDv51cNVt4vJz/79I2xQ==:117 a=C3ZDv51cNVt4vJz/79I2xQ==:17 a=SDcUNfBxAAAA:8 a=BDKbP5mgAAAA:8 a=Unq3plm5DvEA:10 a=M1kyBYkWWGkA:10 a=-1d46RmgWf0A:10 a=nDghuxUhq_wA:10 a=8nJEP1OIZ-IA:10 a=pGLkceISAAAA:8 a=1J8SYrU07S3vRtKhSO4A:9 a=wPNLvfGTeEIA:10 X-Archives-Salt: bf79b83f-4c2f-4cab-b194-d156debcd435 X-Archives-Hash: 3b042989d3778804fb17b252c17b6659 On 09/06/14 07:15, Kerin Millar wrote: >On 06/09/2014 04:10, Joseph wrote: >> On 09/05/14 21:02, Joseph wrote: >>> I'm configuring MBR partition for older disk and need to know what >>> code to enter for boot partition. >>> My BIOS is not EFI type. > >Not that it particularly matters but a partition dedicated to /boot >contains a Linux filesystem and, thus, 83 is appropriate. > >> >> My current configuration: >> fdisk -l /dev/sda >> >> Disk /dev/sda: 447.1 GiB, 480103981056 bytes, 937703088 sectors >> Units: sectors of 1 * 512 = 512 bytes >> Sector size (logical/physical): 512 bytes / 512 bytes >> I/O size (minimum/optimal): 512 bytes / 512 bytes >> Disklabel type: dos >> Disk identifier: 0x021589e5 >> >> Device Boot Start End Blocks Id System >> /dev/sda1 * 2048 155647 76800 83 Linux >> /dev/sda2 155648 4349951 2097152 82 Linux swap / Solaris >> /dev/sda3 4349952 937703087 466676568 83 Linux >> >> Does the sda1 has to start with "1" or 2048? > >As of util-linux-2.18, partitions are aligned to 1 MiB boundaries by >default, so as to avoid performance degradation on SSDs and advanced >format drives [1]. > >Further, beginning at 2048 as opposed to 63 (in the manner of MS-DOS) >provides more room for boot loaders such as grub to embed themselves. > >To have the first sector be a partition boundary is impossible because >that is the location of the MBR and the partition table. > >In summary, let it be. > >--Kerin Thank you for the information. I'll continue on Monday and let you know. If it will not boot with sector starting at 2048, I will re-partition /boot sda1 to start at 63. -- Joseph