Date: Tue, 25 Oct 2011 21:55:27 +0200 From: rank1seeker@gmail.com To: "Julian H. Stacey" <jhs@berklix.com>, hackers@freebsd.org Subject: Re: Shrinking 4 parititions on a new HP laptop Message-ID: <20111025.195527.950.1@DOMY-PC> In-Reply-To: <201110250026.p9P0Q5UP055046@fire.js.berklix.net> References: <201110250026.p9P0Q5UP055046@fire.js.berklix.net>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20111025.195527.950.1>