From owner-freebsd-sysinstall@FreeBSD.ORG Thu Nov 20 10:10:56 2014 Return-Path: Delivered-To: freebsd-sysinstall@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id EB5831BC for ; Thu, 20 Nov 2014 10:10:56 +0000 (UTC) Received: from angel.comcen.com.au (angel.comcen.com.au [203.23.236.69]) by mx1.freebsd.org (Postfix) with ESMTP id 86829F62 for ; Thu, 20 Nov 2014 10:10:55 +0000 (UTC) Received: from [192.168.1.239] (unknown [202.172.110.132]) by angel.comcen.com.au (Postfix) with ESMTP id 29F49378183D for ; Thu, 20 Nov 2014 21:03:19 +1100 (EST) Message-ID: <546DBC66.6060508@spin.net.au> Date: Thu, 20 Nov 2014 21:03:18 +1100 From: Rob Diamond Reply-To: robd@spin.net.au User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.1.1 MIME-Version: 1.0 To: freebsd-sysinstall@freebsd.org Subject: Suggested option for the DVD Installer Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-sysinstall@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Sysinstall Work List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Nov 2014 10:10:57 -0000 Hi Guys, I would like to suggest an option for an MBR install on the current 10.1 DVD installer image. Some background: I'm a refugee from the Linux systemd wars. I have been running Gentoo for 10-15 years, but finally got fed up with the problems of keeping my system up to date. If I left the system for a couple of months then any attempt to upgrade something/everything would block because of intertwined dependencies and the fast pace of updates to packages. So a few months ago, after trying various other Linux distros I installed Linux Mint. It's dead easy to install, sound, video, printers work pretty well out of the box. But I hate the complexity of everything, and the way it's starting to look like Windoze: - grub2, with its unreadable config file and convoluted set-up and update (Yeah, I know I could RTFM, but I don't want to waste a couple of hours working out how to change some settings when I'll forget in a couple of days). - the "quiet, splash" default boot option, with the mindless jiggling logo instead of being able to see what's going on. - the byzantine complexity of systemd (Yeah, I know I could RTFM, but I don't want to waste a couple of months working out how to change some settings when I'll forget in a couple of seconds). - etc, etc BTW I'm NOT a FreeBSD noob. I started off installing 386BSD on a PC-AT (if there's anyone here young enough to remember that !), and I've got the Walnut Creek CDROMs for FreeBSD 2.0 and 2.2 in my bottom drawer. However, I had a problem getting FreeBSD to install on my "test" PC. The motherboard is a few years old, and the BIOS has no clue about GPT partioning. I first tried the default install, but (and it takes a long time to boot and install off DVD) after rebooting my BIOS couldn't find an OS. I tried Googling for a clue, but as usual the problem is that there's way too much information out there and most of it is not current. So next I tried partitioning with gpart and setting up an MBR disk, but I kept getting complaints about the partition not being 4k aligned. So then I tried using the "Expert mode" patitioning, but I put a swap partition first, so.. no boot. Finally I found something that said to make sure "/" was the first partition, and (after re-booting and installing for the umpteenth time) I was in business. It would have been much easier if there was a default MBR partioning option, with a label saying something like "MBR partitioning for older hardware", which would give installers a clue, and which got the user going with the first (or second) install. We can't afford to put people off by making it difficult to get their first installation running - once you have a working system it's easier to learn about various aspects of the OS. But expecting inexperienced people with older hardware to be able to work out how to partition an MBR disk is unrealistic. They'll just give up and go back to something like Ubuntu. My 2 cents worth. Best Regards, Rob Diamond. From owner-freebsd-sysinstall@FreeBSD.ORG Thu Nov 20 13:46:41 2014 Return-Path: Delivered-To: freebsd-sysinstall@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 05DDF6B8 for ; Thu, 20 Nov 2014 13:46:41 +0000 (UTC) Received: from mx1.scaleengine.net (beauharnois2.bhs1.scaleengine.net [142.4.218.15]) by mx1.freebsd.org (Postfix) with ESMTP id D42ADBD1 for ; Thu, 20 Nov 2014 13:46:40 +0000 (UTC) Received: from [192.168.1.2] (Seawolf.HML3.ScaleEngine.net [209.51.186.28]) (Authenticated sender: allanjude.freebsd@scaleengine.com) by mx1.scaleengine.net (Postfix) with ESMTPSA id 264A772541; Thu, 20 Nov 2014 13:46:40 +0000 (UTC) Message-ID: <546DF0CB.9010905@freebsd.org> Date: Thu, 20 Nov 2014 08:46:51 -0500 From: Allan Jude User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0 MIME-Version: 1.0 To: robd@spin.net.au, freebsd-sysinstall@freebsd.org Subject: Re: Suggested option for the DVD Installer References: <546DBC66.6060508@spin.net.au> In-Reply-To: <546DBC66.6060508@spin.net.au> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="KpGivNgiIqbDCA5XHhlCOOfb0xN8Rol7M" X-BeenThere: freebsd-sysinstall@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Sysinstall Work List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Nov 2014 13:46:41 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --KpGivNgiIqbDCA5XHhlCOOfb0xN8Rol7M Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable On 2014-11-20 05:03, Rob Diamond wrote: > Hi Guys, >=20 > I would like to suggest an option for an MBR install on the current 10.= 1 > DVD installer image. Some background: >=20 > I'm a refugee from the Linux systemd wars. >=20 > I have been running Gentoo for 10-15 years, but finally got fed up with= > the problems of keeping my system up to date. If I left the system for = a > couple of months then any attempt to upgrade something/everything would= > block because of intertwined dependencies and the fast pace of updates > to packages. So a few months ago, after trying various other Linux > distros I installed Linux Mint. It's dead easy to install, sound, video= , > printers work pretty well out of the box. But I hate the complexity of > everything, and the way it's starting to look like Windoze: >=20 > - grub2, with its unreadable config file and convoluted set-up and > update (Yeah, I know I could RTFM, but I don't want to waste a couple o= f > hours working out how to change some settings when I'll forget in a > couple of days). > - the "quiet, splash" default boot option, with the mindless jiggling > logo instead of being able to see what's going on. > - the byzantine complexity of systemd (Yeah, I know I could RTFM, but I= > don't want to waste a couple of months working out how to change some > settings when I'll forget in a couple of seconds). > - etc, etc >=20 > BTW I'm NOT a FreeBSD noob. I started off installing 386BSD on a PC-AT > (if there's anyone here young enough to remember that !), and I've got > the Walnut Creek CDROMs for FreeBSD 2.0 and 2.2 in my bottom drawer. >=20 > However, I had a problem getting FreeBSD to install on my "test" PC. Th= e > motherboard is a few years old, and the BIOS has no clue about GPT > partioning. I first tried the default install, but (and it takes a long= > time to boot and install off DVD) after rebooting my BIOS couldn't find= > an OS. I tried Googling for a clue, but as usual the problem is that > there's way too much information out there and most of it is not > current. So next I tried partitioning with gpart and setting up an MBR > disk, but I kept getting complaints about the partition not being 4k > aligned. So then I tried using the "Expert mode" patitioning, but I put= > a swap partition first, so.. no boot. Finally I found something that > said to make sure "/" was the first partition, and (after re-booting an= d > installing for the umpteenth time) I was in business. >=20 > It would have been much easier if there was a default MBR partioning > option, with a label saying something like "MBR partitioning for older > hardware", which would give installers a clue, and which got the user > going with the first (or second) install. >=20 > We can't afford to put people off by making it difficult to get their > first installation running - once you have a working system it's easier= > to learn about various aspects of the OS. But expecting inexperienced > people with older hardware to be able to work out how to partition an > MBR disk is unrealistic. They'll just give up and go back to something > like Ubuntu. >=20 > My 2 cents worth. >=20 > Best Regards, >=20 > Rob Diamond. > _______________________________________________ > freebsd-sysinstall@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-sysinstall > To unsubscribe, send any mail to > "freebsd-sysinstall-unsubscribe@freebsd.org" The installer does support MBR, for both UFS and ZFS installs This section of the handbook shows the partitioning stage for the main install option: https://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/bsdinstall-par= titioning.html#bsdinstall-part-guided So, select the disk (top item), choose modify and pick 'mbr', then choose 'create' and accept the defaults (this will create the freebsd wrapper partition). Now press the down arrow to select that partition, and select create again. This will create a freebsd-ufs partition, set the mount point to / and modify the size to be slightly smaller than your entire disk (by the amount of swap you want to have). Create 1 more partition for swap with the remaining space, change the type to 'freebsd-swap'. Then select finish, and you should be good to go. --=20 Allan Jude --KpGivNgiIqbDCA5XHhlCOOfb0xN8Rol7M Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (MingW32) iQIcBAEBAgAGBQJUbfDNAAoJEJrBFpNRJZKfQV0QAJtESmj4CpvdwPx2elo2vz/0 Q87MW8MO5LcUTcs/NkjeOnKnNjiXO0/Hhh/dROlDkBQtSultI5rmAfHtZ/cOdEfn ANIUTvW0HOfTu8fRq13orC6RS5zJn/t/XxiKnTrZ8pbaQXSYc6SEXynNk+uyBMPn lahVgQ8QhxJj0g+MBUPdIqp2pIiApQO0VfFGZngWZxF2OlX+Pw/5JaU6gG8e7ih2 BtA2R2HD613BnnMjEwZoLJ0Q3idSWL03AoPDTiovwdzs81CGf5RGFj8E66qQrsRI GyDtaVOw10nnXiDvIbX1uLh839nqO4h49N5+aJywV+Z9q887wj91ac2tKOzHZ+7R wzhQ649Q+iv8MpGG2Tkv/RXiGdM+8PvXtUtmWei5p3ZVK4Nn2Amd7UNSHMiI0iK9 JOPMLvm0u2NW+JzaFeIYYLtX987WMZdqGuMMP41p5TAd+gAKVvRWcTJ95bBXC6OP 3n4RZ/bSJKSYryG1y9X7C8eqjenNTZET5vLUaUXng5WtRFQH/IeNmKqO6q6Yindn POQktD3gKXPARYpDPWoULT9nqWxPlWG7oWT4NYCKaNbZauqHQ38odk7eXuLaD67z Je5Dr2jRGdJkVx5pS5HMRLnuv8MpP8bsBwOhMJvvB2tCEa/oXTSsfzHC1p9JNn7F vXkkehyWmgkYMHOoTWMf =uqtO -----END PGP SIGNATURE----- --KpGivNgiIqbDCA5XHhlCOOfb0xN8Rol7M-- From owner-freebsd-sysinstall@FreeBSD.ORG Thu Nov 20 16:08:32 2014 Return-Path: Delivered-To: freebsd-sysinstall@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 430F949D for ; Thu, 20 Nov 2014 16:08:32 +0000 (UTC) Received: from d.mail.sonic.net (d.mail.sonic.net [64.142.111.50]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 21E14F1F for ; Thu, 20 Nov 2014 16:08:31 +0000 (UTC) Received: from comporellon.tachypleus.net (polaris.tachypleus.net [75.101.50.44]) (authenticated bits=0) by d.mail.sonic.net (8.14.9/8.14.9) with ESMTP id sAKG8Smf027732 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Thu, 20 Nov 2014 08:08:29 -0800 Message-ID: <546E11FC.4020402@freebsd.org> Date: Thu, 20 Nov 2014 08:08:28 -0800 From: Nathan Whitehorn User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.1.0 MIME-Version: 1.0 To: robd@spin.net.au, freebsd-sysinstall@freebsd.org Subject: Re: Suggested option for the DVD Installer References: <546DBC66.6060508@spin.net.au> In-Reply-To: <546DBC66.6060508@spin.net.au> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Sonic-CAuth: UmFuZG9tSVYCUNfgKadh5tcoZ0QGwIQ6qYUlhMnc37ZjNRVBjD5BKaoxIsOFPn6Oa0vKIddy1ig8VL3DHOY5Ek+6TDL5EhsA+OM5C0y5J7k= X-Sonic-ID: C;ELEFd89w5BGG8FG2qJ4NOg== M;PLVhd89w5BGG8FG2qJ4NOg== X-Spam-Flag: No X-Sonic-Spam-Details: 0.0/5.0 by cerberusd X-BeenThere: freebsd-sysinstall@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Sysinstall Work List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Nov 2014 16:08:32 -0000 Such an option exists already: in the installer partition editor, choose the disk you are installing on, press "Modify", choose MBR (or GPT or a disklabel, or whatever you want), then partition as you like or press "Auto". If this isn't in the handbook, it should be. What motherboard/BIOS is this, by the way? I'm trying to make a list of systems with problems. Machines that can't boot from GPT are usually EFI systems (which should work with the EFI media) and fail to boot because they think GPT means EFI. Older pure-BIOS systems shouldn't have problems -- you can boot 386s off of GPT without issue. There are a couple of exceptions (some Compaq BIOSes, if I remember right), but it would be nice to know what they are. -Nathan On 11/20/14 02:03, Rob Diamond wrote: > Hi Guys, > > I would like to suggest an option for an MBR install on the current > 10.1 DVD installer image. Some background: > > I'm a refugee from the Linux systemd wars. > > I have been running Gentoo for 10-15 years, but finally got fed up > with the problems of keeping my system up to date. If I left the > system for a couple of months then any attempt to upgrade > something/everything would block because of intertwined dependencies > and the fast pace of updates to packages. So a few months ago, after > trying various other Linux distros I installed Linux Mint. It's dead > easy to install, sound, video, printers work pretty well out of the > box. But I hate the complexity of everything, and the way it's > starting to look like Windoze: > > - grub2, with its unreadable config file and convoluted set-up and > update (Yeah, I know I could RTFM, but I don't want to waste a couple > of hours working out how to change some settings when I'll forget in a > couple of days). > - the "quiet, splash" default boot option, with the mindless jiggling > logo instead of being able to see what's going on. > - the byzantine complexity of systemd (Yeah, I know I could RTFM, but > I don't want to waste a couple of months working out how to change > some settings when I'll forget in a couple of seconds). > - etc, etc > > BTW I'm NOT a FreeBSD noob. I started off installing 386BSD on a PC-AT > (if there's anyone here young enough to remember that !), and I've got > the Walnut Creek CDROMs for FreeBSD 2.0 and 2.2 in my bottom drawer. > > However, I had a problem getting FreeBSD to install on my "test" PC. > The motherboard is a few years old, and the BIOS has no clue about GPT > partioning. I first tried the default install, but (and it takes a > long time to boot and install off DVD) after rebooting my BIOS > couldn't find an OS. I tried Googling for a clue, but as usual the > problem is that there's way too much information out there and most of > it is not current. So next I tried partitioning with gpart and setting > up an MBR disk, but I kept getting complaints about the partition not > being 4k aligned. So then I tried using the "Expert mode" patitioning, > but I put a swap partition first, so.. no boot. Finally I found > something that said to make sure "/" was the first partition, and > (after re-booting and installing for the umpteenth time) I was in > business. > > It would have been much easier if there was a default MBR partioning > option, with a label saying something like "MBR partitioning for older > hardware", which would give installers a clue, and which got the user > going with the first (or second) install. > > We can't afford to put people off by making it difficult to get their > first installation running - once you have a working system it's > easier to learn about various aspects of the OS. But expecting > inexperienced people with older hardware to be able to work out how to > partition an MBR disk is unrealistic. They'll just give up and go back > to something like Ubuntu. > > My 2 cents worth. > > Best Regards, > > Rob Diamond. > _______________________________________________ > freebsd-sysinstall@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-sysinstall > To unsubscribe, send any mail to > "freebsd-sysinstall-unsubscribe@freebsd.org" > From owner-freebsd-sysinstall@FreeBSD.ORG Fri Nov 21 13:36:02 2014 Return-Path: Delivered-To: freebsd-sysinstall@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 262E01000 for ; Fri, 21 Nov 2014 13:36:02 +0000 (UTC) Received: from mail-wi0-x230.google.com (mail-wi0-x230.google.com [IPv6:2a00:1450:400c:c05::230]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id AF213B4 for ; Fri, 21 Nov 2014 13:36:01 +0000 (UTC) Received: by mail-wi0-f176.google.com with SMTP id ex7so12049616wid.15 for ; Fri, 21 Nov 2014 05:36:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=UwSNZIyPfsYLsouf6HFPmTtWd9DncCxM0YIsJadyag0=; b=uhvOjGw7muIiy1PSmaOVtd78v2GU9RLhkWPE9Uf0W9MuFHgEyxc3jzmmxzEc94Pe9c gBB3U3TmKxH8ci4lcireJ3Dh1y7YyJ+ITQs7q67b5jZ13gDMGxThFSkv49Aqpmhltsbw Zx0G7yc6qkltciyctdB8xLBjDkAANaLaInvjzWSwfKhPHB8Dw2bVwn0fMXdiSINd4XPh PE38qiF/VqEBgyEWWPsKD9kvSW42oQKqKBLY8ZEcCDMhvxFMcMI6aN4S74Wm22sWuQRu wSmn3PkOmyOgpa9sKKQ7MvOh/EjqVauYzzKFqopilcK/UDhf0tMwi2gZ1MR27S1RqgtU e+nA== MIME-Version: 1.0 X-Received: by 10.194.157.35 with SMTP id wj3mr7325228wjb.91.1416576568310; Fri, 21 Nov 2014 05:29:28 -0800 (PST) Received: by 10.194.45.199 with HTTP; Fri, 21 Nov 2014 05:29:28 -0800 (PST) Date: Fri, 21 Nov 2014 15:29:28 +0200 Message-ID: Subject: Dangerously dedicated mode with FreeBSD 10.1 From: Rostislav Krasny To: freebsd-sysinstall@freebsd.org Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-sysinstall@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Sysinstall Work List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 Nov 2014 13:36:02 -0000 Hi, I've a server with FreeBSD 7.4-STABLE that uses two phisical disks in a so called "dangerously dedicated mode". There is no other operating system and no plan to install anything else but FreeBSD. So in my case this is not dangerous mode at all. I want to upgrade it by installing FreeBSD 10.1 from scratch and I want to use the dedicated disk mode again. How could I do that? If I understand it right the new bsdinstall(8) doesn't support the dedicated disk mode, the old sysinstall(8) is already dead and the only solution is a manual disk partitioning from shell. The 2.6.5. Shell Mode Partitioning section of the Handbook is very terse about that. From owner-freebsd-sysinstall@FreeBSD.ORG Fri Nov 21 15:26:03 2014 Return-Path: Delivered-To: freebsd-sysinstall@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 1E886DDB for ; Fri, 21 Nov 2014 15:26:03 +0000 (UTC) Received: from wonkity.com (wonkity.com [67.158.26.137]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "wonkity.com", Issuer "wonkity.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id C3410E79 for ; Fri, 21 Nov 2014 15:26:02 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.9/8.14.9) with ESMTP id sALFQ1Ou019745 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Fri, 21 Nov 2014 08:26:01 -0700 (MST) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.9/8.14.9/Submit) with ESMTP id sALFQ1DA019742; Fri, 21 Nov 2014 08:26:01 -0700 (MST) (envelope-from wblock@wonkity.com) Date: Fri, 21 Nov 2014 08:26:01 -0700 (MST) From: Warren Block To: Rostislav Krasny Subject: Re: Dangerously dedicated mode with FreeBSD 10.1 In-Reply-To: Message-ID: References: User-Agent: Alpine 2.11 (BSF 23 2013-08-11) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.4.3 (wonkity.com [127.0.0.1]); Fri, 21 Nov 2014 08:26:01 -0700 (MST) Cc: freebsd-sysinstall@freebsd.org X-BeenThere: freebsd-sysinstall@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Sysinstall Work List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 Nov 2014 15:26:03 -0000 On Fri, 21 Nov 2014, Rostislav Krasny wrote: > Hi, > > I've a server with FreeBSD 7.4-STABLE that uses two phisical disks in > a so called "dangerously dedicated mode". There is no other operating > system and no plan to install anything else but FreeBSD. So in my case > this is not dangerous mode at all. > > I want to upgrade it by installing FreeBSD 10.1 from scratch and I > want to use the dedicated disk mode again. How could I do that? > > If I understand it right the new bsdinstall(8) doesn't support the > dedicated disk mode, the old sysinstall(8) is already dead and the > only solution is a manual disk partitioning from shell. The 2.6.5. > Shell Mode Partitioning section of the Handbook is very terse about > that. If you are determined, it should be possible to select a bsdlabel-only format with the Manual partitioning option in the menus, or enter Shell mode on startup and create it with gpart or even bsdlabel. That said, I can't think of any advantages of using a bare bsdlable at all. With 10.1, GPT is available, supports large disks, and is easily alignable.* *: although it is reported that bsdinstall for 10.1 does not automatically do 4K alignment. But at least there are advantages to using it as a partition scheme. From owner-freebsd-sysinstall@FreeBSD.ORG Fri Nov 21 16:19:45 2014 Return-Path: Delivered-To: freebsd-sysinstall@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 8FA509B6 for ; Fri, 21 Nov 2014 16:19:45 +0000 (UTC) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 770EB671 for ; Fri, 21 Nov 2014 16:19:45 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id sALGJjoR072377 for ; Fri, 21 Nov 2014 16:19:45 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-sysinstall@FreeBSD.org Subject: [Bug 164752] [request] bsdinstall(8): No option of ZFS in FreeBSD 9.0 DVD installation Date: Fri, 21 Nov 2014 16:19:45 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: rainer@ultra-secure.de X-Bugzilla-Status: In Discussion X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: freebsd-sysinstall@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-sysinstall@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Sysinstall Work List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 Nov 2014 16:19:45 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=164752 rainer@ultra-secure.de changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |rainer@ultra-secure.de --- Comment #3 from rainer@ultra-secure.de --- I think this can be closed, right? Not for RELENG9, of course. 10.0 and 10.1 install on ZFS nicely. -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-sysinstall@FreeBSD.ORG Fri Nov 21 16:29:13 2014 Return-Path: Delivered-To: freebsd-sysinstall@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 0E120D55 for ; Fri, 21 Nov 2014 16:29:13 +0000 (UTC) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id E918A7DE for ; Fri, 21 Nov 2014 16:29:12 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id sALGTC02083761 for ; Fri, 21 Nov 2014 16:29:12 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-sysinstall@FreeBSD.org Subject: [Bug 164752] [request] bsdinstall(8): No option of ZFS in FreeBSD 9.0 DVD installation Date: Fri, 21 Nov 2014 16:29:13 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: allanjude@FreeBSD.org X-Bugzilla-Status: Issue Resolved X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: freebsd-sysinstall@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cc resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-sysinstall@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Sysinstall Work List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 Nov 2014 16:29:13 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=164752 Allan Jude changed: What |Removed |Added ---------------------------------------------------------------------------- Status|In Discussion |Issue Resolved CC| |allanjude@FreeBSD.org Resolution|--- |FIXED --- Comment #4 from Allan Jude --- This can be closed FreeBSD 9.3 shipped with the same root-on-zfs option as 10.0 -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-sysinstall@FreeBSD.ORG Fri Nov 21 16:51:08 2014 Return-Path: Delivered-To: freebsd-sysinstall@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 3065690D for ; Fri, 21 Nov 2014 16:51:08 +0000 (UTC) Received: from c.mail.sonic.net (c.mail.sonic.net [64.142.111.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id EFE8EB01 for ; Fri, 21 Nov 2014 16:51:07 +0000 (UTC) Received: from comporellon.tachypleus.net (polaris.tachypleus.net [75.101.50.44]) (authenticated bits=0) by c.mail.sonic.net (8.14.9/8.14.9) with ESMTP id sALGp5Wl009850 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Fri, 21 Nov 2014 08:51:05 -0800 Message-ID: <546F6D79.9060909@freebsd.org> Date: Fri, 21 Nov 2014 08:51:05 -0800 From: Nathan Whitehorn User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.1.0 MIME-Version: 1.0 To: Warren Block , Rostislav Krasny Subject: Re: Dangerously dedicated mode with FreeBSD 10.1 References: In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Sonic-CAuth: UmFuZG9tSVYtGu2BpcjXsn/onphJuCgovTYYYux35y18GXaD6v9lwG8JqYxgfEeZEsBCG6ZZ1nQL75Dd/UW7YKJTHBf1+5xo5OSWRcwewEY= X-Sonic-ID: C;mL6GlZ5x5BGYHFZegs/dsg== M;dGfAlZ5x5BGYHFZegs/dsg== X-Spam-Flag: No X-Sonic-Spam-Details: 0.0/5.0 by cerberusd Cc: freebsd-sysinstall@freebsd.org X-BeenThere: freebsd-sysinstall@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Sysinstall Work List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 Nov 2014 16:51:08 -0000 On 11/21/14 07:26, Warren Block wrote: > On Fri, 21 Nov 2014, Rostislav Krasny wrote: > >> Hi, >> >> I've a server with FreeBSD 7.4-STABLE that uses two phisical disks in >> a so called "dangerously dedicated mode". There is no other operating >> system and no plan to install anything else but FreeBSD. So in my case >> this is not dangerous mode at all. >> >> I want to upgrade it by installing FreeBSD 10.1 from scratch and I >> want to use the dedicated disk mode again. How could I do that? >> >> If I understand it right the new bsdinstall(8) doesn't support the >> dedicated disk mode, the old sysinstall(8) is already dead and the >> only solution is a manual disk partitioning from shell. The 2.6.5. >> Shell Mode Partitioning section of the Handbook is very terse about >> that. > > If you are determined, it should be possible to select a bsdlabel-only > format with the Manual partitioning option in the menus, or enter > Shell mode on startup and create it with gpart or even bsdlabel. That > said, I can't think of any advantages of using a bare bsdlable at > all. With 10.1, GPT is available, supports large disks, and is easily > alignable.* Right, just select "BSD" as the partition type. > *: although it is reported that bsdinstall for 10.1 does not > automatically do 4K alignment. But at least there are advantages to > using it as a partition scheme. This has never been true. It does 4K alignment on disks with 4K physical sectors (no matter what the logical sector size is). If you have disks with larger sectors or preferred boundaries (e.g. a striped RAID), it will also align to that. -Nathan From owner-freebsd-sysinstall@FreeBSD.ORG Fri Nov 21 22:32:40 2014 Return-Path: Delivered-To: freebsd-sysinstall@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 242FB5C6; Fri, 21 Nov 2014 22:32:40 +0000 (UTC) Received: from wonkity.com (wonkity.com [67.158.26.137]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "wonkity.com", Issuer "wonkity.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id AB17A75E; Fri, 21 Nov 2014 22:32:39 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.9/8.14.9) with ESMTP id sALMWavH029451 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Fri, 21 Nov 2014 15:32:36 -0700 (MST) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.9/8.14.9/Submit) with ESMTP id sALMWaPn029448; Fri, 21 Nov 2014 15:32:36 -0700 (MST) (envelope-from wblock@wonkity.com) Date: Fri, 21 Nov 2014 15:32:36 -0700 (MST) From: Warren Block To: Nathan Whitehorn Subject: Re: Dangerously dedicated mode with FreeBSD 10.1 In-Reply-To: <546F6D79.9060909@freebsd.org> Message-ID: References: <546F6D79.9060909@freebsd.org> User-Agent: Alpine 2.11 (BSF 23 2013-08-11) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.4.3 (wonkity.com [127.0.0.1]); Fri, 21 Nov 2014 15:32:36 -0700 (MST) Cc: Rostislav Krasny , freebsd-sysinstall@freebsd.org X-BeenThere: freebsd-sysinstall@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Sysinstall Work List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 Nov 2014 22:32:40 -0000 On Fri, 21 Nov 2014, Nathan Whitehorn wrote: > > On 11/21/14 07:26, Warren Block wrote: >> On Fri, 21 Nov 2014, Rostislav Krasny wrote: >> >>> Hi, >>> >>> I've a server with FreeBSD 7.4-STABLE that uses two phisical disks in >>> a so called "dangerously dedicated mode". There is no other operating >>> system and no plan to install anything else but FreeBSD. So in my case >>> this is not dangerous mode at all. >>> >>> I want to upgrade it by installing FreeBSD 10.1 from scratch and I >>> want to use the dedicated disk mode again. How could I do that? >>> >>> If I understand it right the new bsdinstall(8) doesn't support the >>> dedicated disk mode, the old sysinstall(8) is already dead and the >>> only solution is a manual disk partitioning from shell. The 2.6.5. >>> Shell Mode Partitioning section of the Handbook is very terse about >>> that. >> >> If you are determined, it should be possible to select a bsdlabel-only >> format with the Manual partitioning option in the menus, or enter Shell >> mode on startup and create it with gpart or even bsdlabel. That said, I >> can't think of any advantages of using a bare bsdlable at all. With 10.1, >> GPT is available, supports large disks, and is easily alignable.* > > Right, just select "BSD" as the partition type. > >> *: although it is reported that bsdinstall for 10.1 does not automatically >> do 4K alignment. But at least there are advantages to using it as a >> partition scheme. > > This has never been true. It does 4K alignment on disks with 4K physical > sectors (no matter what the logical sector size is). If you have disks with > larger sectors or preferred boundaries (e.g. a striped RAID), it will also > align to that. I know that it did not automatically do that alignment originally, which was why I entered PR 161720: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=161720 After that, I thought it was fixed, and now this appears to be a regression: http://forums.freebsd.org/threads/does-bsdinstall-in-10-1-properly-partition-ssds.48993/ From owner-freebsd-sysinstall@FreeBSD.ORG Fri Nov 21 22:37:55 2014 Return-Path: Delivered-To: freebsd-sysinstall@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id A22D46F7 for ; Fri, 21 Nov 2014 22:37:55 +0000 (UTC) Received: from c.mail.sonic.net (c.mail.sonic.net [64.142.111.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 86B2178B for ; Fri, 21 Nov 2014 22:37:55 +0000 (UTC) Received: from zeppelin.tachypleus.net (airbears2-136-152-142-65.AirBears2.Berkeley.EDU [136.152.142.65]) (authenticated bits=0) by c.mail.sonic.net (8.14.9/8.14.9) with ESMTP id sALMbqEA030012 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Fri, 21 Nov 2014 14:37:52 -0800 Message-ID: <546FBEC0.500@freebsd.org> Date: Fri, 21 Nov 2014 14:37:52 -0800 From: Nathan Whitehorn User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0 MIME-Version: 1.0 To: Warren Block Subject: Re: Dangerously dedicated mode with FreeBSD 10.1 References: <546F6D79.9060909@freebsd.org> In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Sonic-CAuth: UmFuZG9tSVbXi0upd5fXO5dYcLb4hbERlGFBpal2GG8pcLW9Cax848iqK7AR4OJ+2dpTEQfro8StjdvVCrShTYcRin2t5syAKmc6opNyuio= X-Sonic-ID: C;ZlVhB89x5BGU3FZegs/dsg== M;BJ2jB89x5BGU3FZegs/dsg== X-Spam-Flag: No X-Sonic-Spam-Details: 0.0/5.0 by cerberusd Cc: Rostislav Krasny , freebsd-sysinstall@freebsd.org X-BeenThere: freebsd-sysinstall@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Sysinstall Work List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 Nov 2014 22:37:55 -0000 On 11/21/14 14:32, Warren Block wrote: > On Fri, 21 Nov 2014, Nathan Whitehorn wrote: > >> >> On 11/21/14 07:26, Warren Block wrote: >>> On Fri, 21 Nov 2014, Rostislav Krasny wrote: >>> >>>> Hi, >>>> >>>> I've a server with FreeBSD 7.4-STABLE that uses two phisical disks in >>>> a so called "dangerously dedicated mode". There is no other operating >>>> system and no plan to install anything else but FreeBSD. So in my case >>>> this is not dangerous mode at all. >>>> >>>> I want to upgrade it by installing FreeBSD 10.1 from scratch and I >>>> want to use the dedicated disk mode again. How could I do that? >>>> >>>> If I understand it right the new bsdinstall(8) doesn't support the >>>> dedicated disk mode, the old sysinstall(8) is already dead and the >>>> only solution is a manual disk partitioning from shell. The 2.6.5. >>>> Shell Mode Partitioning section of the Handbook is very terse about >>>> that. >>> >>> If you are determined, it should be possible to select a >>> bsdlabel-only format with the Manual partitioning option in the >>> menus, or enter Shell mode on startup and create it with gpart or >>> even bsdlabel. That said, I can't think of any advantages of using >>> a bare bsdlable at all. With 10.1, GPT is available, supports large >>> disks, and is easily alignable.* >> >> Right, just select "BSD" as the partition type. >> >>> *: although it is reported that bsdinstall for 10.1 does not >>> automatically do 4K alignment. But at least there are advantages to >>> using it as a partition scheme. >> >> This has never been true. It does 4K alignment on disks with 4K >> physical sectors (no matter what the logical sector size is). If you >> have disks with larger sectors or preferred boundaries (e.g. a >> striped RAID), it will also align to that. > > I know that it did not automatically do that alignment originally, > which was why I entered PR 161720: > https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=161720 > > After that, I thought it was fixed, and now this appears to be a > regression: > http://forums.freebsd.org/threads/does-bsdinstall-in-10-1-properly-partition-ssds.48993/ > > It has done this since initially committed to the tree before 9.0. If you have a drive with 512 byte physical sectors, it will use 512 byte alignment. If you have a 4K drive, it will use 4K alignment. Is there anywhere in those threads where it misaligns a partition? Most of the discussion just seems to be that it does use 512 byte alignment sometimes, which isn't an issue if you have 512 byte sectors. -Nathan From owner-freebsd-sysinstall@FreeBSD.ORG Fri Nov 21 22:40:47 2014 Return-Path: Delivered-To: freebsd-sysinstall@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 7583A8F0 for ; Fri, 21 Nov 2014 22:40:47 +0000 (UTC) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 5CA55839 for ; Fri, 21 Nov 2014 22:40:47 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id sALMelsH089856 for ; Fri, 21 Nov 2014 22:40:47 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-sysinstall@FreeBSD.org Subject: [Bug 161720] bsdinstall(8): partition editor does not put partitions on even 4K boundaries Date: Fri, 21 Nov 2014 22:40:47 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 9.0-BETA3 X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: nwhitehorn@FreeBSD.org X-Bugzilla-Status: Issue Resolved X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: freebsd-sysinstall@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cc resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-sysinstall@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Sysinstall Work List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 Nov 2014 22:40:47 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=161720 Nathan Whitehorn changed: What |Removed |Added ---------------------------------------------------------------------------- Status|In Discussion |Issue Resolved CC| |nwhitehorn@FreeBSD.org Resolution|--- |Not A Bug --- Comment #5 from Nathan Whitehorn --- The installer aligns to the physical block (or RAID stripe) size reported by the kernel for the device being formatted. For 4K disks, it aligns at 4K. For 512-byte disks (as in the example here, I think), it aligns at 512 bytes. -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-sysinstall@FreeBSD.ORG Fri Nov 21 23:00:59 2014 Return-Path: Delivered-To: freebsd-sysinstall@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 0BC5F214; Fri, 21 Nov 2014 23:00:59 +0000 (UTC) Received: from wonkity.com (wonkity.com [67.158.26.137]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "wonkity.com", Issuer "wonkity.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id AA011A3A; Fri, 21 Nov 2014 23:00:58 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.9/8.14.9) with ESMTP id sALN0ubl037042 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Fri, 21 Nov 2014 16:00:56 -0700 (MST) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.9/8.14.9/Submit) with ESMTP id sALN0ulh037038; Fri, 21 Nov 2014 16:00:56 -0700 (MST) (envelope-from wblock@wonkity.com) Date: Fri, 21 Nov 2014 16:00:56 -0700 (MST) From: Warren Block To: Nathan Whitehorn Subject: Re: Dangerously dedicated mode with FreeBSD 10.1 In-Reply-To: <546FBEC0.500@freebsd.org> Message-ID: References: <546F6D79.9060909@freebsd.org> <546FBEC0.500@freebsd.org> User-Agent: Alpine 2.11 (BSF 23 2013-08-11) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.4.3 (wonkity.com [127.0.0.1]); Fri, 21 Nov 2014 16:00:57 -0700 (MST) Cc: Rostislav Krasny , freebsd-sysinstall@freebsd.org X-BeenThere: freebsd-sysinstall@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Sysinstall Work List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 Nov 2014 23:00:59 -0000 On Fri, 21 Nov 2014, Nathan Whitehorn wrote: >>> This has never been true. It does 4K alignment on disks with 4K physical >>> sectors (no matter what the logical sector size is). If you have disks >>> with larger sectors or preferred boundaries (e.g. a striped RAID), it will >>> also align to that. >> >> I know that it did not automatically do that alignment originally, which >> was why I entered PR 161720: >> https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=161720 >> >> After that, I thought it was fixed, and now this appears to be a >> regression: >> http://forums.freebsd.org/threads/does-bsdinstall-in-10-1-properly-partition-ssds.48993/ >> > > It has done this since initially committed to the tree before 9.0. If you > have a drive with 512 byte physical sectors, it will use 512 byte alignment. > If you have a 4K drive, it will use 4K alignment. Is there anywhere in those > threads where it misaligns a partition? Most of the discussion just seems to > be that it does use 512 byte alignment sometimes, which isn't an issue if you > have 512 byte sectors. This might be an "Advanced Format" thing, where the drive uses 4K sectors but reports that it uses 512-byte sectors. The forum thread shows that it does not align to 4K on SSDs. My SSDs also report 4K stripesize but only 512 byte sectoresize. From owner-freebsd-sysinstall@FreeBSD.ORG Fri Nov 21 23:07:55 2014 Return-Path: Delivered-To: freebsd-sysinstall@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 11701692 for ; Fri, 21 Nov 2014 23:07:55 +0000 (UTC) Received: from c.mail.sonic.net (c.mail.sonic.net [64.142.111.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id E7488A83 for ; Fri, 21 Nov 2014 23:07:54 +0000 (UTC) Received: from zeppelin.tachypleus.net (airbears2-136-152-142-65.AirBears2.Berkeley.EDU [136.152.142.65]) (authenticated bits=0) by c.mail.sonic.net (8.14.9/8.14.9) with ESMTP id sALN7q1T028569 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Fri, 21 Nov 2014 15:07:53 -0800 Message-ID: <546FC5C8.7020303@freebsd.org> Date: Fri, 21 Nov 2014 15:07:52 -0800 From: Nathan Whitehorn User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0 MIME-Version: 1.0 To: Warren Block Subject: Re: Dangerously dedicated mode with FreeBSD 10.1 References: <546F6D79.9060909@freebsd.org> <546FBEC0.500@freebsd.org> In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Sonic-CAuth: UmFuZG9tSVb0N541aBFO4K5QmtYDjq2TCTjT2tAOjVd1MfBITj+OZk30qjCtNmZWms+t1ygi7bPcK6VYG6MZgXcACQlwrYlidGyivG8Cocg= X-Sonic-ID: C;UrBEONNx5BGGwFZegs/dsg== M;oGufONNx5BGGwFZegs/dsg== X-Spam-Flag: No X-Sonic-Spam-Details: 0.0/5.0 by cerberusd Cc: Rostislav Krasny , freebsd-sysinstall@freebsd.org X-BeenThere: freebsd-sysinstall@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Sysinstall Work List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 Nov 2014 23:07:55 -0000 On 11/21/14 15:00, Warren Block wrote: > On Fri, 21 Nov 2014, Nathan Whitehorn wrote: > >>>> This has never been true. It does 4K alignment on disks with 4K >>>> physical sectors (no matter what the logical sector size is). If >>>> you have disks with larger sectors or preferred boundaries (e.g. a >>>> striped RAID), it will also align to that. >>> >>> I know that it did not automatically do that alignment originally, >>> which was why I entered PR 161720: >>> https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=161720 >>> >>> After that, I thought it was fixed, and now this appears to be a >>> regression: >>> http://forums.freebsd.org/threads/does-bsdinstall-in-10-1-properly-partition-ssds.48993/ >>> >> >> It has done this since initially committed to the tree before 9.0. If >> you have a drive with 512 byte physical sectors, it will use 512 byte >> alignment. If you have a 4K drive, it will use 4K alignment. Is there >> anywhere in those threads where it misaligns a partition? Most of the >> discussion just seems to be that it does use 512 byte alignment >> sometimes, which isn't an issue if you have 512 byte sectors. > > This might be an "Advanced Format" thing, where the drive uses 4K > sectors but reports that it uses 512-byte sectors. The forum thread > shows that it does not align to 4K on SSDs. My SSDs also report 4K > stripesize but only 512 byte sectoresize. > Sure, but the installer aligns to the reported "stripe size". For AF disks like your SSD, the kernel reports the right thing in the stripe size. Where in the forum thread does it show an issue? The only thing I see is some gpart output from a 10K spinning SAS disk, which almost certainly has 512-byte physical sectors. -Nathan From owner-freebsd-sysinstall@FreeBSD.ORG Sat Nov 22 00:03:45 2014 Return-Path: Delivered-To: freebsd-sysinstall@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 1025C749; Sat, 22 Nov 2014 00:03:45 +0000 (UTC) Received: from wonkity.com (wonkity.com [67.158.26.137]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "wonkity.com", Issuer "wonkity.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id AFD3DF9E; Sat, 22 Nov 2014 00:03:44 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.9/8.14.9) with ESMTP id sAM03g75053115 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Fri, 21 Nov 2014 17:03:42 -0700 (MST) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.9/8.14.9/Submit) with ESMTP id sAM03gLp053112; Fri, 21 Nov 2014 17:03:42 -0700 (MST) (envelope-from wblock@wonkity.com) Date: Fri, 21 Nov 2014 17:03:42 -0700 (MST) From: Warren Block To: Nathan Whitehorn Subject: Re: Dangerously dedicated mode with FreeBSD 10.1 In-Reply-To: <546FC5C8.7020303@freebsd.org> Message-ID: References: <546F6D79.9060909@freebsd.org> <546FBEC0.500@freebsd.org> <546FC5C8.7020303@freebsd.org> User-Agent: Alpine 2.11 (BSF 23 2013-08-11) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.4.3 (wonkity.com [127.0.0.1]); Fri, 21 Nov 2014 17:03:42 -0700 (MST) Cc: Rostislav Krasny , freebsd-sysinstall@freebsd.org X-BeenThere: freebsd-sysinstall@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Sysinstall Work List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 22 Nov 2014 00:03:45 -0000 On Fri, 21 Nov 2014, Nathan Whitehorn wrote: >> This might be an "Advanced Format" thing, where the drive uses 4K sectors >> but reports that it uses 512-byte sectors. The forum thread shows that it >> does not align to 4K on SSDs. My SSDs also report 4K stripesize but only >> 512 byte sectoresize. >> > > Sure, but the installer aligns to the reported "stripe size". For AF disks > like your SSD, the kernel reports the right thing in the stripe size. > > Where in the forum thread does it show an issue? The only thing I see is some > gpart output from a 10K spinning SAS disk, which almost certainly has > 512-byte physical sectors. Hmm, I thought that was still about an SSD. I sent a followup asking for the block size of the drive. I set out to test this on a machine with an SSD, but can't get an install image to work from my PXE setup (it can't find the install disk label), and have no easily-accessible DVD drives or empty memory sticks right now. It seems like it should be easier than this. Anyway, for now let's say it works. From owner-freebsd-sysinstall@FreeBSD.ORG Sat Nov 22 01:28:07 2014 Return-Path: Delivered-To: freebsd-sysinstall@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id F3CD0D26 for ; Sat, 22 Nov 2014 01:28:06 +0000 (UTC) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id DADE7933 for ; Sat, 22 Nov 2014 01:28:06 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id sAM1S6uj040754 for ; Sat, 22 Nov 2014 01:28:06 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-sysinstall@FreeBSD.org Subject: [Bug 161720] bsdinstall(8): partition editor does not put partitions on even 4K boundaries Date: Sat, 22 Nov 2014 01:28:07 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 9.0-BETA3 X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: kpaasial@gmail.com X-Bugzilla-Status: Issue Resolved X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: freebsd-sysinstall@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-sysinstall@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Sysinstall Work List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 22 Nov 2014 01:28:07 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=161720 kpaasial@gmail.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |kpaasial@gmail.com --- Comment #6 from kpaasial@gmail.com --- I think would be quite safe to default to 4k alignment on GPT partitioned disks, this would not break anything. On MBR disks it's not possible because some old BIOSes still insist on the CHS geometry alignment and might not work with 4k aligned partitions. How about getting this fixed as an errata fix for 10.1? -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-sysinstall@FreeBSD.ORG Sat Nov 22 03:33:26 2014 Return-Path: Delivered-To: freebsd-sysinstall@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 575F4784 for ; Sat, 22 Nov 2014 03:33:26 +0000 (UTC) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 3EC4079A for ; Sat, 22 Nov 2014 03:33:26 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id sAM3XQmp031654 for ; Sat, 22 Nov 2014 03:33:26 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-sysinstall@FreeBSD.org Subject: [Bug 161720] bsdinstall(8): partition editor does not put partitions on even 4K boundaries Date: Sat, 22 Nov 2014 03:33:26 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 9.0-BETA3 X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: nwhitehorn@FreeBSD.org X-Bugzilla-Status: Issue Resolved X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: freebsd-sysinstall@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-sysinstall@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Sysinstall Work List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 22 Nov 2014 03:33:26 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=161720 --- Comment #7 from Nathan Whitehorn --- It would be easy enough to change, but is unnecessary for disks with 512 byte sectors, which are the only ones affected. Since there isn't any bug, there is no need to change anything. -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-sysinstall@FreeBSD.ORG Sat Nov 22 14:15:03 2014 Return-Path: Delivered-To: freebsd-sysinstall@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id BC1617E3; Sat, 22 Nov 2014 14:15:03 +0000 (UTC) Received: from mail-wi0-x235.google.com (mail-wi0-x235.google.com [IPv6:2a00:1450:400c:c05::235]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4F0E86D7; Sat, 22 Nov 2014 14:15:03 +0000 (UTC) Received: by mail-wi0-f181.google.com with SMTP id r20so1865166wiv.2 for ; Sat, 22 Nov 2014 06:15:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=6qZF8CMcBkhrokIEbTZp/09Txgw3xyAfNXqiWt7/i3A=; b=wgk75Vv36zkcosDXr4wyn4pfLqHY8u7Zrern3t7RsUAJeuGi2zSPIjVwTvBk3GuZ8r 9UccHzreBljRA9QnIqPovKEAF+2ek+5fGGSyMxSzz8LQqhPSOaPDQb2JoMlBrUGOjJj/ QxzabmHyt5wSFBeXiXcfGvhRjPwnEjI6p+XhoV4EY93C+8rHONc+1AN2b9W7O5djT3xQ 184fgFisy/BkWuUOsg3kVtCuFVMTyI6gsqJSWcXYeFFq9I1+QbEky/KFHo1Z/gPgMgkf aqZ/MGxGGq+wbfDTwPFxI1DXCajk7MAdcxrRGNTTcBMqS+dHLPylYTwPBqdPBWlZwXoL wRoQ== MIME-Version: 1.0 X-Received: by 10.180.83.98 with SMTP id p2mr6120302wiy.20.1416665701730; Sat, 22 Nov 2014 06:15:01 -0800 (PST) Received: by 10.194.45.199 with HTTP; Sat, 22 Nov 2014 06:15:01 -0800 (PST) In-Reply-To: <546F6D79.9060909@freebsd.org> References: <546F6D79.9060909@freebsd.org> Date: Sat, 22 Nov 2014 16:15:01 +0200 Message-ID: Subject: Re: Dangerously dedicated mode with FreeBSD 10.1 From: Rostislav Krasny To: Nathan Whitehorn Content-Type: text/plain; charset=UTF-8 Cc: freebsd-sysinstall@freebsd.org X-BeenThere: freebsd-sysinstall@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Sysinstall Work List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 22 Nov 2014 14:15:03 -0000 On Fri, Nov 21, 2014 at 6:51 PM, Nathan Whitehorn wrote: > > On 11/21/14 07:26, Warren Block wrote: >> If you are determined, it should be possible to select a bsdlabel-only >> format with the Manual partitioning option in the menus, or enter Shell mode >> on startup and create it with gpart or even bsdlabel. That said, I can't >> think of any advantages of using a bare bsdlable at all. With 10.1, GPT is >> available, supports large disks, and is easily alignable.* > > > Right, just select "BSD" as the partition type. Yes it works. Unfortunately disk partitioning of bsdinstall(8) isn't precise and isn't informative. Disk partitioning by sysinstall(8) was much better in this sense. With bsdinstall(8) I don't see how much disk space is left unpartitioned and where. Also I don't see where partitions start and what are their sizes in LBA units of measurement. By default bsdinstall(8) offers one huge partition for the root mount and a few hundreds of megabytes for swap partition after the root one. If don't like the offered partition sizes and want to create the same partitions manually (with slightly different sizes) I can't do it because of the precision flaw. Defining the root partitions in GB units with a size close to the whole disk size doesn't left any free space for the small swap partition. And if I create a swap partition before the root one I get an unbootable system. Another problem with bsdinstall(8) partitioning is an inability of using already partitioned disk. This is what I've tried first. In this case I was need to define the mount points of the existing partitions. It's easy to do (since I have a backup of my previous /etc/fstab) but then bsdinstall(8) didn't ask me if I want to re-format those partitions. Then the whole installation failed at the beginning of base.txz extracting (the first txz package). I'm almost sure it failed because it tried to extract the base.txz over existing filesystem of my previous FreeBSD 7.4 system. From owner-freebsd-sysinstall@FreeBSD.ORG Sat Nov 22 18:02:52 2014 Return-Path: Delivered-To: freebsd-sysinstall@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 9EA34E9E for ; Sat, 22 Nov 2014 18:02:52 +0000 (UTC) Received: from c.mail.sonic.net (c.mail.sonic.net [64.142.111.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 7EC17F40 for ; Sat, 22 Nov 2014 18:02:52 +0000 (UTC) Received: from zeppelin.tachypleus.net (polaris.tachypleus.net [75.101.50.44]) (authenticated bits=0) by c.mail.sonic.net (8.14.9/8.14.9) with ESMTP id sAMI2hba012405 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Sat, 22 Nov 2014 10:02:44 -0800 Message-ID: <5470CFC3.2000806@freebsd.org> Date: Sat, 22 Nov 2014 10:02:43 -0800 From: Nathan Whitehorn User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0 MIME-Version: 1.0 To: Rostislav Krasny Subject: Re: Dangerously dedicated mode with FreeBSD 10.1 References: <546F6D79.9060909@freebsd.org> In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Sonic-CAuth: UmFuZG9tSVZJv2QZ1bdXN5hARnm4ln4tjA8EnPoYV/yoWNtukmWqCt+XzcVQwOBCsvailTbfw/PbSfdqXuVFWgf7OJDfCH0rg2N9uIYyqUM= X-Sonic-ID: C;8DbUwXFy5BGYklZegs/dsg== M;xGxCwnFy5BGYklZegs/dsg== X-Spam-Flag: No X-Sonic-Spam-Details: 0.0/5.0 by cerberusd Cc: freebsd-sysinstall@freebsd.org X-BeenThere: freebsd-sysinstall@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Sysinstall Work List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 22 Nov 2014 18:02:52 -0000 On 11/22/14 06:15, Rostislav Krasny wrote: > On Fri, Nov 21, 2014 at 6:51 PM, Nathan Whitehorn > wrote: >> On 11/21/14 07:26, Warren Block wrote: >>> If you are determined, it should be possible to select a bsdlabel-only >>> format with the Manual partitioning option in the menus, or enter Shell mode >>> on startup and create it with gpart or even bsdlabel. That said, I can't >>> think of any advantages of using a bare bsdlable at all. With 10.1, GPT is >>> available, supports large disks, and is easily alignable.* >> >> Right, just select "BSD" as the partition type. > Yes it works. > > Unfortunately disk partitioning of bsdinstall(8) isn't precise and > isn't informative. Disk partitioning by sysinstall(8) was much better > in this sense. With bsdinstall(8) I don't see how much disk space is > left unpartitioned and where. Also I don't see where partitions start > and what are their sizes in LBA units of measurement. By default > bsdinstall(8) offers one huge partition for the root mount and a few > hundreds of megabytes for swap partition after the root one. If don't > like the offered partition sizes and want to create the same > partitions manually (with slightly different sizes) I can't do it > because of the precision flaw. Defining the root partitions in GB > units with a size close to the whole disk size doesn't left any free > space for the small swap partition. And if I create a swap partition > before the root one I get an unbootable system. It isn't meant to provide partitioning at the level of detail where you are specifying the start position in blocks. Why do you need that? If you want that, gpart at the command line is a much better tool. You can tell bsdinstall to use previously created partitions, of course, and you can also specify partition sizes to arbitrary precision. If you want sub-GB partitioning, specify the size in MB, or KB, or blocks. You are free to do any of these things. > Another problem with bsdinstall(8) partitioning is an inability of > using already partitioned disk. This is what I've tried first. In this > case I was need to define the mount points of the existing partitions. > It's easy to do (since I have a backup of my previous /etc/fstab) but > then bsdinstall(8) didn't ask me if I want to re-format those > partitions. Then the whole installation failed at the beginning of > base.txz extracting (the first txz package). I'm almost sure it failed > because it tried to extract the base.txz over existing filesystem of > my previous FreeBSD 7.4 system. > It can use an already partitioned disk, which seems to be your problem here in fact. Like the partition editor in every other OS, it assumes that if you just specify the mount point for a partition, you don't want to erase it. Erasing existing partitions is an extremely unfriendly thing to do. You can re-initialize it by changing any non-mountpoint property of the partition or from the command line. -Nathan