From owner-freebsd-questions@freebsd.org Mon Sep 2 13:54:46 2019 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 6406BDE7C8 for ; Mon, 2 Sep 2019 13:54:46 +0000 (UTC) (envelope-from tomdean@wavecable.com) Received: from smtp02.emerald.cmh.synacor.com (smtp.emerald.synacor.com [208.47.184.7]) (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 46MWmP0ZKhz3HJM for ; Mon, 2 Sep 2019 13:54:44 +0000 (UTC) (envelope-from tomdean@wavecable.com) X_CMAE_Category: , , X-CNFS-Analysis: v=2.3 cv=ftyim2wf c=1 sm=1 tr=0 a=OAvc3ylXTZnwW13UMKQG5A==:117 a=OAvc3ylXTZnwW13UMKQG5A==:17 a=jpOVt7BSZ2e4Z31A5e1TngXxSK0=:19 a=KGjhK52YXX0A:10 a=9cW_t1CCXrUA:10 a=IkcTkHD0fZMA:10 a=jlQd9YhnVdoA:10 a=J70Eh1EUuV4A:10 a=JbhlE8a8jZIA:10 a=hlRF3WmvSAT9F-zZpWUA:9 a=QEXdDO2ut3YA:10 a=pHzHmUro8NiASowvMSCR:22 a=Ew2E2A-JSTLzCXPT_086:22 X-CM-Score: 0 X-Scanned-by: Cloudmark Authority Engine X-Authed-Username: dG9tZGVhbkB3YXZlY2FibGUuY29t X_CMAE_Category: , , X-CNFS-Analysis: X-CM-Score: X-Scanned-by: Cloudmark Authority Engine Received: from [24.113.143.192] ([24.113.143.192:59786] helo=[192.168.1.175]) by mail.wavecable.com (envelope-from ) (ecelerity 3.6.25.56547 r(Core:3.6.25.0)) with ESMTPA id F2/0F-21293-32F1D6D5; Mon, 02 Sep 2019 09:54:43 -0400 Subject: Re: Convert MBR Partitions to GPT Cc: freebsd-questions@freebsd.org References: <1ef6d7eb-a7c9-2a5d-12b2-20c4ef255523@wavecable.com> <20190902133941.e563291f.freebsd@edvax.de> <0e0c086c-a907-d224-98b8-9486d921e7a5@wavecable.com> <20190902141116.264edd01.freebsd@edvax.de> From: "Thomas D. Dean" Message-ID: <88cabc53-eff5-3e1a-6e77-2d86da2b8c8d@wavecable.com> Date: Mon, 2 Sep 2019 06:54:42 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0 MIME-Version: 1.0 In-Reply-To: <20190902141116.264edd01.freebsd@edvax.de> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 46MWmP0ZKhz3HJM X-Spamd-Bar: +++++ Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of tomdean@wavecable.com designates 208.47.184.7 as permitted sender) smtp.mailfrom=tomdean@wavecable.com X-Spamd-Result: default: False [5.71 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:208.47.184.0/24]; TO_DN_NONE(0.00)[]; HFILTER_HELO_IP_A(1.00)[smtp02.emerald.cmh.synacor.com]; HFILTER_HELO_NORES_A_OR_MX(0.30)[smtp02.emerald.cmh.synacor.com]; MISSING_TO(2.00)[]; RECEIVED_SPAMHAUS_PBL(0.00)[192.143.113.24.khpj7ygk5idzvmvt5x4ziurxhy.zen.dq.spamhaus.net : 127.0.0.10]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; ASN(0.00)[asn:36271, ipnet:208.47.184.0/23, country:US]; MIME_TRACE(0.00)[0:+]; MID_RHS_MATCH_FROM(0.00)[]; ARC_NA(0.00)[]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_SPAM_SHORT(0.71)[0.709,0]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[wavecable.com]; NEURAL_SPAM_MEDIUM(0.88)[0.881,0]; RCPT_COUNT_ONE(0.00)[1]; RCVD_TLS_LAST(0.00)[]; NEURAL_SPAM_LONG(1.00)[0.999,0]; RCVD_IN_DNSWL_NONE(0.00)[7.184.47.208.list.dnswl.org : 127.0.5.0]; IP_SCORE(0.12)[ipnet: 208.47.184.0/23(0.16), asn: 36271(0.48), country: US(-0.05)]; RWL_MAILSPIKE_POSSIBLE(0.00)[7.184.47.208.rep.mailspike.net : 127.0.0.17]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Sep 2019 13:54:46 -0000 On 9/2/19 5:11 AM, Polytropon wrote: > On Mon, 2 Sep 2019 05:04:52 -0700, Thomas D. Dean wrote: >> On 9/2/19 4:39 AM, Polytropon wrote: >>> On Sun, 1 Sep 2019 19:47:33 -0700, Thomas D. Dean wrote: >>>> I have 5 disk drives, with two (same) OS's. Actually, two drives have >>>> Windows 7 and its secondary plex. From an earlier post: >>>> >>>> sata6g_1 HD0 SSD ubuntu 18.04 >>>> sata6g_2 HD1 WD5000 Ubuntu 18.04 >>>> sata3g_3 HD2 WD5000 windows 7 - not used >>>> sata3g_4 HD3 WD5000 backup >>>> sata3g_5 HD4 WD5000 windows 7 secondary plex- not used >>>> sata3g_6 DVD DRW-24B3LT >>>> sata6g_E1 (empty) >>>> sata6g_E2 (empty) >>>> >>>> I plan to keep the SSD Ubuntu install until I can get FreeBSD up and >>>> running the way I want. >>>> >>>> So, for now, I want to install FreeBSD on sata3g_5 HD4. >>>> >>>> My motherboard, ASUS P9X79 PRO has support for UEFI boot. >>>> >>>> Is it worth the effort to change everything to GPT, or, should I just >>>> use GPT on the FreeBSD disk? I am leaning toward the later, but, ... >>>> >>>> I think the future has a SSD for FreeBSD. >>> >>> Don't confuse UEFI and GPT. :-) >>> >>> YOu can use both GPT and MBR (not on the same disk, of course, >>> but on different disks). Choosing MBR is suggested today only >>> for the few cases where it's absolutely needed. Use GPT if you >>> can. >>> >>> You cannot "convert" between the two except via "backup, re-init, >>> restore", which probably is not what you have in mind. >>> >>> But as it is about a new installation of FreeBSD into a multi-OS >>> setting, I'd suggest to leave everything untouched, install >>> FreeBSD on its disk using GPT partitioning, and add a "chain loader" >>> entry to GRUB configuration that boots FreeBSD. GRUB can understand >>> both MBR and GPT, so it doesn't matter. >>> >> >> Something, possibly BSDinstall or, maybe something unknown made the 2 >> Windows 7 disks unbootable. Great, now I can use them for something >> other than adding weight to the box. > > Maybe there is just some damage to the bootcode of each "Windows". > Suggestion: Unplug all disks except one of those (one at each time), > boot with a "Windows" installation / repair DVD, restore the boot > sector - should boot fine again. > > However, it sounds totally wrong that a FreeBSD installer even > _touches_ disks that are not subject to the FreeBSD installation. > I can image that adding boot code (single-boot or boot manager) > to the 1st disk of a setup is possible, but what you're describing > sounds just wrong. Not entirely impossible, but ... I downloaded the FreeBSD DVD1. Disabled USB 3.0 support in the "UEFI BIOS", as ASUS calls it. Now, FreeBSD does not go into the xhci loop. I chose the entire 3rd disk, ada2 for FreeBSD, accepted most of the defaults and the installation completed. I did not see where BSDinstall offered a choice about the MBR. However, I can not boot anything but FreeBSD. So, BSDinstall did write something to ada0, I have not discovered what. I can boot HD0 from "UEFI BIOS" Maybe BSDinstall messed with moterboard EFI boot??? > > Also boot into Linux and make sure the GRUB configuration is > correct. > > > >> I changed HD2, sdc to GPT with gparted. I installed Ubuntu 18.04 on it. >> I booted sda and used update-grub2. Seemed to go OK, but I could not >> get grub to boot sdc. The boot menu listed sdc, but when selected igrub >> actually booted sda. Looking at boot/grub/grub.cfg, I see the menuentry >> for sdc to have the same values as sda. >> >> grub bug?? > > Something went wrong when update-grub2 altered the configuration, > I'd guess. You can manually change the GRUB configuration as needed. > I am trying very hard to not do anything non-automatic or not out-of-the-box. Getting old and I forget things... Tom Dean