From owner-freebsd-hackers@FreeBSD.ORG Tue Oct 25 19:55:35 2011 Return-Path: Delivered-To: hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 36D3E106564A for ; Tue, 25 Oct 2011 19:55:35 +0000 (UTC) (envelope-from rank1seeker@gmail.com) Received: from mail-fx0-f54.google.com (mail-fx0-f54.google.com [209.85.161.54]) by mx1.freebsd.org (Postfix) with ESMTP id 9A7EA8FC0C for ; Tue, 25 Oct 2011 19:55:34 +0000 (UTC) Received: by faar19 with SMTP id r19so1280413faa.13 for ; Tue, 25 Oct 2011 12:55:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=message-id:from:to:subject:date:content-type :content-transfer-encoding:in-reply-to:references:x-mailer; bh=tBeqXMscKtjJh2oiJZ8egiqP614rNnGGkdCDhgw3UK0=; b=wX3Y1HuZTqv6sh0DEt2APhTU/DDCngwjAeBH6hvco4b+A/VoLKiLrxDXZRf6AtgMCz E9N+sB5ofhDWpPuTJemJ7TAVrTIogIUPDCx/OqB7zVByLWpnu/2kEZkEAp8W6URQ7OxJ NbTp3YnVX2cQTF4Q7FxElz/S2WPAvPDNdV+EY= Received: by 10.223.77.6 with SMTP id e6mr53127630fak.32.1319572533516; Tue, 25 Oct 2011 12:55:33 -0700 (PDT) Received: from DOMYPC ([82.193.208.173]) by mx.google.com with ESMTPS id c13sm50945585fai.3.2011.10.25.12.55.30 (version=SSLv3 cipher=OTHER); Tue, 25 Oct 2011 12:55:32 -0700 (PDT) Message-ID: <20111025.195527.950.1@DOMY-PC> From: rank1seeker@gmail.com To: "Julian H. Stacey" , hackers@freebsd.org Date: Tue, 25 Oct 2011 21:55:27 +0200 Content-Type: text/plain; charset="Windows-1250" Content-Transfer-Encoding: quoted-printable In-Reply-To: <201110250026.p9P0Q5UP055046@fire.js.berklix.net> References: <201110250026.p9P0Q5UP055046@fire.js.berklix.net> X-Mailer: POP Peeper (3.8.0.0) Cc: Subject: Re: Shrinking 4 parititions on a new HP laptop X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Oct 2011 19:55:35 -0000 When Win comes with machine, you don't use it at all.=0D=0AYOU install Win, = set it up and THEN use it.=0D=0A=0D=0AYou must have bootable USB stick, = which you have already setup-ed (Must be able to compile/install BSD = itself and in it, you have your BSD confs).=0D=0AStick it and enter boot = menu on laptop and choose USB.=0D=0AWhen BSD boots, at this step, you = will ONLY SLICE HDD:=0D=0A=0D=0A# dd if=3D/dev/zero of=3D/dev/ada0 = bs=3D8m=0D=0A Nuke HDD and pRe-installed $oft Win=0D=0A=0D=0A# gpart = create -s MBR ada0=0D=0A You wana dual boot right?=0D=0A# gpart = bootcode -b /boot/mbr ada0=0D=0A=0D=0AYou said 1 slice, but I say 2 = slices (which will preserve ntfs data, if win is nuked)=0D=0AUse max 35 = Gb for win install slice and choose yourself how much Gb you wana for = slice 2=0D=0A# gpart add -s 30g -t ntfs ada0=0D=0A# gpart add -s 50g -t = \!15 ada0=0D=0A Append slice 2, of type 'Extended DOS (LBA)' -> holds = all oher added letters (D:, E:, ...)=0D=0A=0D=0A... Here you can add max = 2 slices for FreeBSD and something else ...=0D=0A=0D=0AReboot, as we ONLY = SLICED HDD.=0D=0A=0D=0ANow install Win7 (it reads MBR and replaces it = with it's own MBR) and set it up.=0D=0AAfter Win7 has been = installed:=0D=0ABoot USB stick and:=0D=0A# boot0cfg -B ada0=0D=0A# = boot0cfg -m 0x5 ada0=0D=0A # In boot options, show only slices 1 (Win7) = and 3 (FreeBSD)=0D=0A=0D=0AHere you would mount slice 3 and install = FreeBSD into it ... (about which I'll not chatter = ...)=0D=0A=0D=0A=0D=0ADomagoj Smol=E8i=E6=0D=0A