From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1PtmVG-000539-H6 for garchives@archives.gentoo.org; Sun, 27 Feb 2011 19:42:03 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id DA9B01C00A; Sun, 27 Feb 2011 19:39:47 +0000 (UTC) Received: from mail-ww0-f41.google.com (mail-ww0-f41.google.com [74.125.82.41]) by pigeon.gentoo.org (Postfix) with ESMTP id 7555D1C00A for ; Sun, 27 Feb 2011 19:39:47 +0000 (UTC) Received: by wwb29 with SMTP id 29so1102682wwb.4 for ; Sun, 27 Feb 2011 11:39:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:from:reply-to:to:subject:date:user-agent :references:in-reply-to:mime-version:content-type :content-transfer-encoding:message-id; bh=fs2FHvWHWIoBRtMNB20mSQaI5Go6+G/D3qxQvMC8k7Y=; b=fqxnTToKUYsdFQ13P/nqkYyE48LcVVRcsMGAHR6Ur4UM0YEH3QSv+M4dsp3XNBO9Wf fB+dQrdoYe+twfXEd+RY/zmpbjanbG68Q6vVQp3+b/KEn29/VwIHex9REmxO6YxP+T7Y dXREoVqB7lYxB6MLRbfkslJi5/qFNpcekK18E= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:reply-to:to:subject:date:user-agent:references:in-reply-to :mime-version:content-type:content-transfer-encoding:message-id; b=olIZSxhfc51QLSxQOccWov3DZa+THDe9jtZbMja58jjaIOBztSXwC3dLNLc1QL5yOa 9n0kVAFqYcnEWUbk51cdDaTwT4xqow6dRDE0NCMLSwUwcB3n0vrYFkdTJYqiO2npnT1/ AqGpbYodO+N2lT8kX8zPkURYHu9etx8TNbZr4= Received: by 10.227.196.80 with SMTP id ef16mr4209582wbb.168.1298835586708; Sun, 27 Feb 2011 11:39:46 -0800 (PST) Received: from dell_xps.localnet (230.3.169.217.in-addr.arpa [217.169.3.230]) by mx.google.com with ESMTPS id y29sm2640253wbd.4.2011.02.27.11.39.45 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 27 Feb 2011 11:39:45 -0800 (PST) From: Mick To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Dual Boot Partitions Date: Sun, 27 Feb 2011 19:39:58 +0000 User-Agent: KMail/1.13.5 (Linux/2.6.36-gentoo-r5; KDE/4.4.5; x86_64; ; ) References: <4D6A6756.9050603@optonline.net> <4D6A922A.70505@binarywings.net> In-Reply-To: <4D6A922A.70505@binarywings.net> 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: multipart/signed; boundary="nextPart2301577.xcjVWazP5T"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <201102271940.01393.michaelkintzios@gmail.com> X-Archives-Salt: X-Archives-Hash: 4911f94cb0dd26c9ece43be1609383c8 --nextPart2301577.xcjVWazP5T Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable On Sunday 27 February 2011 18:04:26 Florian Philipp wrote: > Am 27.02.2011 17:02, schrieb Petri Rosenstr=F6m: > > On Sun, Feb 27, 2011 at 5:01 PM, dhk wrote: > >> First, the observations. I tried to partition my disk with fdisk the > >> way I wanted. =20 I would recommend you use 'parted -a optimal' or gparted for this purpose (= see=20 below). > >> It had the usual Linux partitions and a partition that I > >> was going to use for Window 7. I wanted to make this an LVM2 partitio= n, > >> but that didn't work; I guess that was too ambitious. I am not sure that you can use LVM2 for MSWindows - as far as I know they u= se=20 Logical Disk Manager which it is not the same with any other sane LVM=20 implementation - come on now, would you expect them to seek compatibility o= r=20 interoperability?!! http://en.wikipedia.org/wiki/Logical_Disk_Manager > >> Then I just made > >> it an ordinary static HPFS/NTFS partition on /dev/sda5. When installi= ng > >> Windows 7 it wouldn't install on that partition. I deleted all the > >> partitions and just installed it on the first 50Gigs of the disk. > >>=20 > >> Second, the questions. The Windows 7 install on the first 50Gigs of t= he > >> disk needed to created two partitions. The first was a very small boot > >> partition that I increased to 128Megs, and the second is the rest of > >> Windows 7. Now when I boot to the livecd to partition the rest of the > >> disk for Gentoo fdisk says "Partition 1 does not end on a cylinder > >> boundary." Is this a problem? The other big question is: what do I = do > >=20 > > Dunno, it might be that win7 changed the amount of heads/sectors that > > could give that notice from fdisk. I would not be to worrified about > > it (Installing windows would be more horrifying). If you have a > > traditional hd then the worst thing I think might be that reads/writes > > would be slower. >=20 > If I'm not mistaken, this alignment is actually a good thing. It is > related to the transition from 512 B blocks to 4 kB and also helps > alignments for SSDs. In this regard, Win 7 behaves very clever and > really much better than the old and proven Linux tools (unless you know > what you are doing and are aware of every issue). IMHO it is a real > shame that most Linux tools are still behind in this regard. Only some are. The 'parted -a optimal' or gparted will seek to align the end of a partitio= n,=20 but you will find that it may under/overshoot your specified size to achiev= e=20 that. fdisk et al have some development to do yet. > If you think you have an HDD with 4kB blocks, ask and I can provide you > with some links on that topic. >=20 > >> about the first partition in the partition table? It is an HPFS/NTFS > >> partition and has been toggled bootable. It also has some stuff in it > >> that looks like it's important to Windows: a BOOTSECT.BAK file, a Boot > >> directory, a System Volume Information directory, and a bootmgr file. > >> Now for my Gentoo install, how and where do I make a /boot partition? > >> Do I replace the Windows 7 boot partition with /boot? If so, what > >> happens to the contents? or Do I make a /boot partition on /dev/sda3 > >> and toggle the bootable flag there? > >=20 > > Something like that. You could install gentoo on one partition (I > > don't recommend). No! Nothing like that. Leave the MS Windows boot partition alone and flag= ged=20 as boot. MS Windows needs this, while Linux does not. > > Just make partitions like you would do without windows. When you do > > the grub-install script or by hand grub links the boot to the > > partition where boot exists. You should not remove or change the > > windows partitions or the data windows will probably brake when you > > do. Yep. Create a new partition; e.g. /dev/sda3 and use that as the /boot=20 mountpoint for your Linux OS. This is where the grub fs, Linux OS kernels = and=20 related files will be saved. > AFAIK, grub does not need the bootable flag. Leave it alone. Maybe > Windows needs it, maybe it is just for good measure, I don't know. This is correct, MS Windows needs it and it will not boot without it,=20 especially if you retain the MSWindows MBR boot code - although you can=20 install GRUB in the MBR and chainload MSWindows from there with it. HTH. =2D-=20 Regards, Mick --nextPart2301577.xcjVWazP5T Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.17 (GNU/Linux) iEYEABECAAYFAk1qqJEACgkQVTDTR3kpaLbebwCg6TThZF9y+up6nbeC+l/3vXjd mvgAn1/grmh/lwuLvhTSxD6gJAjRqjw1 =+QCP -----END PGP SIGNATURE----- --nextPart2301577.xcjVWazP5T--