From owner-freebsd-stable@freebsd.org Fri Jul 17 09:28:47 2020 Return-Path: Delivered-To: freebsd-stable@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 36D2A35EDA0; Fri, 17 Jul 2020 09:28:47 +0000 (UTC) (envelope-from dwilde1@gmail.com) Received: from mail-pg1-x543.google.com (mail-pg1-x543.google.com [IPv6:2607:f8b0:4864:20::543]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4B7QmG13sSz3YHy; Fri, 17 Jul 2020 09:28:45 +0000 (UTC) (envelope-from dwilde1@gmail.com) Received: by mail-pg1-x543.google.com with SMTP id l63so6399131pge.12; Fri, 17 Jul 2020 02:28:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-transfer-encoding:content-language; bh=o2Nin7PsKR8zu96A4NFiIVq5ZT8hS6LBWdfj8WDNCJs=; b=lLcjovyoc5eCLxMtxLjVhbOGEtKr4D4kMEIL9CFHs+4ZwYYTXKMSEjyEA0B7+VOf0D QytBdTjtGJ5Y62zZMiGnhwxaDC9gn7lB5dTKnh1SPmPb5Sx++pVHIW9Q9WR1bx20sDHk 1OWRnb0clgRY6TnIXf7JqCcr3m683+J+g7+PXS+Tw7EzjpYbs1t/XtfnzKKUfHf+d07c bM0Z7U1GB/7TrjF1V1Ak/qgisOObaXY9UbQApa/6DXxCPRpJnrccAJ1PFmW6y52xqEto RDIyxkvDNNApPAQuCwzASgWWcWcMiZTvl1Aj7PVw4GgaSO0cfQ2NMa0bun3wvEzyQ1/U 6yvA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding :content-language; bh=o2Nin7PsKR8zu96A4NFiIVq5ZT8hS6LBWdfj8WDNCJs=; b=MFwzzqHMMfmmCPzJJ+JA+STjYguOgnYPq6PFm3r4qRCpV33RWBnbRkGtRW8keSA2EZ vv4Yx14Ded/1FwikGwE5jgzW+5YPZI3TSDjm4s+ZCM/ezmAUoNNP742KxSYvghQnBRa0 vbei4+Th4WSru0mKiH34LlZ/LCZdJWpcDxLpVy14vrJaLCCobbnQW+b8K8N7iu9gUwuD m6gjsgWlOiXPsNTBi3QSqgNznUDbuDVClOLBdkyIIOg6+4F65gUM/t88Es1xFL2n7ypv wa3f7ekajUDQNe1L+pZXPExnGbLuJq9KCs7yGp/a138XH5LfmIDI65QuXcjh/HGuixSI 2VfA== X-Gm-Message-State: AOAM532yXcD8JQqMc4FkI8NX998uXqFID/zLVqDT3JKOG/OWtvQpeSHt W6/aq3Ej3zY8QD13wOofRHVn08X8nxAI8w== X-Google-Smtp-Source: ABdhPJw+ooEhAK6jNLCK7kfDz6R/+wGSHCi7ImsRylIQ7yxv50+xkq2QUsZEZcvkh84FmSbb9Gs5qw== X-Received: by 2002:a65:5b05:: with SMTP id y5mr7824597pgq.90.1594978124072; Fri, 17 Jul 2020 02:28:44 -0700 (PDT) Received: from [192.168.0.4] (71-223-3-53.phnx.qwest.net. [71.223.3.53]) by smtp.gmail.com with ESMTPSA id z66sm6932133pfb.162.2020.07.17.02.28.42 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 17 Jul 2020 02:28:43 -0700 (PDT) Subject: Re: URGENT: Microsoft overwrites boot loader! To: Manish Jain , FreeBSD Mailing List , freebsd-stable@freebsd.org References: <140a6398-f8ad-ecd6-2a6f-5ca28f570a64@gmail.com> From: Don Wilde Message-ID: Date: Fri, 17 Jul 2020 02:28:42 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US X-Rspamd-Queue-Id: 4B7QmG13sSz3YHy X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=lLcjovyo; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of dwilde1@gmail.com designates 2607:f8b0:4864:20::543 as permitted sender) smtp.mailfrom=dwilde1@gmail.com X-Spamd-Result: default: False [-3.27 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_DN_SOME(0.00)[]; FREEMAIL_FROM(0.00)[gmail.com]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; RCVD_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; NEURAL_HAM_SHORT(-0.33)[-0.327]; SUBJECT_ENDS_EXCLAIM(0.00)[]; FREEMAIL_TO(0.00)[hotmail.com,freebsd.org]; RECEIVED_SPAMHAUS_PBL(0.00)[71.223.3.53:received]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; MID_RHS_MATCH_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.98)[-0.984]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; NEURAL_HAM_LONG(-0.96)[-0.958]; MIME_GOOD(-0.10)[text/plain]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::543:from]; RCVD_TLS_ALL(0.00)[] X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 Jul 2020 09:28:47 -0000 On 7/17/20 1:34 AM, Manish Jain wrote: > > > On 2020-07-17 13:57, Don Wilde wrote: >> >> On 7/16/20 7:40 PM, Manish Jain wrote: >>> >>> >>> On 2020-07-17 01:49, Don Wilde wrote: >>>> The [deleted] ones in Redmond have done it again. My multi-OS GRUB2 >>>> boot loader is gone, and in its place is a 500M partition called >>>> 'Windows boot loader'. >>>> >>>> The purpose is to force us to look at MS' new version of Edge. All >>>> my old boot files are gone. >>>> >>>> It's taken me much of the morning to get underneath this, since on >>>> this unit my only OS (other than Doze 10) with a WM and GUI is Ubuntu. >>>> >>>> That's the last time I will allow this, and I'm calling those >>>> [deleted]s tomorrow to give them a piece of my mind. After that I >>>> will erase every vestige of that obscene OS from my disk. >>>> >>> >>> If I understand correctly, it's just that your Grub boot-loader is >>> gone. >>> >> Yes, exactly. >> >> >>> That should not be much of a problem if your system is MBR+BIOS. >>> >> Unfortunately, it's GPT under EFI. I can access all my files through >> the F12 key on this Dell tower, be it Windows, Linux or FreeBSD, but >> if I allow it to boot with the Doze HDD in the system, it boots to >> that one. >>> If your system is MBR+BIOS, the following should work. >>> >>> Boot with your FreeBSD CD/DVD/memstick, and write out boot0 to all >>> your disks: >>> >>> boot0cfg -B /dev/ >>> boot0cfg -B /dev/ >>> boot0cfg -B /dev/ >>> >>> Next, boot with your Ubuntu CD/DVD/memstick, and write out Grub to >>> your Ubuntu / partition. If Ubuntu / is /dev/sdb2 : >>> >>> sudo mount /dev/sdb2 /mnt >>> sudo grub-install --force --root-directory=/mnt /dev/sdb2 >>> >>> Reboot. When booting Ubuntu the first time, first press 'e' at the >>> Grub loader menu to edit the configuration, delete the complete >>> if..fi block, check that your line beginning with 'linux' is >>> accurate and then press F10. Once the system  has booted, run 'sudo >>> update-grub'. >>> >> I appreciate the good data, Manish. I'm going to make sure I've >> gotten all my files off the Doze partition and then wipe it >> completely. FreeBSD is going to be my primary host OS and I'll keep >> my other drive for whatever flavors of Linux I need to work with for >> work. Based on what I've hseen on these threads, MS is still saddled >> with a number of bad legacy architectural choices as well as poor >> management choices, and both of those contribute to the challenges >> the use of their OS brings. >> >> I simply won't accept any contract that requires me to work with >> Windows. I've survived well enough without that skill set and I see >> no problem going forward. >> > > Hi Done, > > It is further my sincere suggestion to use MBR+BIOS. GPT+UEFI is > problem-prone, with one of the problems being that you won't be able > to boot FreeBSD. > I've already seen that one on my 'mule' machine. This tower (a 2007 machine) will boot FreeBSD directly even in UEFI-BIOS mode; I just need to set it up so that FreeBSD also hosts the boot-loader for the other OSen. To use one of my favorite phrases, "We'll get there!" :D -- Don Wilde **************************************************** * What is the Internet of Things but a system * * of systems including humans? * ****************************************************