From owner-freebsd-questions@freebsd.org Fri Jul 17 08:27:08 2020 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 93E5A35D0E6; Fri, 17 Jul 2020 08:27:08 +0000 (UTC) (envelope-from dwilde1@gmail.com) Received: from mail-pf1-x444.google.com (mail-pf1-x444.google.com [IPv6:2607:f8b0:4864:20::444]) (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 4B7PP74Dn4z3VCH; Fri, 17 Jul 2020 08:27:07 +0000 (UTC) (envelope-from dwilde1@gmail.com) Received: by mail-pf1-x444.google.com with SMTP id a24so5059041pfc.10; Fri, 17 Jul 2020 01:27:07 -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=NJ39Bj3xkKMaqeMwkxKT0FrGwcE0GsgKohqeABE8C8w=; b=MAEGoTxkLwJ1qJJZVqp+qv06X45EFjrsVszZBadPVA7QJGQ+HoKrBhgQJfHv9V2SL1 Z3bYH8SOkDx3G6zm/4fhCjcU1eMQWl2lZhXtfFghOMI2XlDGwsOKfQM2vERZivGCq9az MmeQt8FqH8gtcNmvPYNgrQaz4Zf8W5JRGG4lMF1kS/ALH6JD/iHXD55hWpQnYLcId6lQ vNPbq1GcA9zzQy9+7bhXUcwAdvb/XkvNsGVsEcjo0WPCy5R8AFmPdo34kvbMFYzMSER/ WLenZiL/tqUzIp66Iie9mG58DoUs6PZ6GDbg7Ja7mz7l9/SUaVl55lhiyPwalZFBU73L fz/g== 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=NJ39Bj3xkKMaqeMwkxKT0FrGwcE0GsgKohqeABE8C8w=; b=QvWrGuZFIGGv/kzu5n9/rTa7tumjpMpLeGF+87pmRsLOVMGd0mRn+dgm1ntakWL2E3 e7EF3YjshKrvqpjct7X60KQyUf8iYkMBIRVjTalLI2JI8gADTWft57tkSNg2d2Qfojs/ 5i1tvLW8wImpvgEQTw9TnWr5mendpptYbH7dQqxWZmwJPaCIhP76N1W7ztiPeHf9flS1 jsH5d0iEVpvEa3/pAWE9Qhhtq8yZglmcU6imG68SUKFE5/545qbf/9UrLjrRW+UcFTQh P+U2d5zY0BZMsq5ZjVLEB4JccE7zew/i6P/BfotH56aPM8/B0/+iJu69RXPUWRTmLW/N uPEQ== X-Gm-Message-State: AOAM533evE23FyRbaLJDAJ6rR3P/7ukXsRAIB0XKXaLFVBTL/nq5d6t+ GecnN2gYDkhcH8erFyB1iNju5T0JQCM= X-Google-Smtp-Source: ABdhPJzboCyTRwO1yPgWqWoGo2khpHER3RI24XXNKvemH6S3g6y41oz/gzrdixdizS2fwN0lQvkHew== X-Received: by 2002:a62:f905:: with SMTP id o5mr7408170pfh.244.1594974425977; Fri, 17 Jul 2020 01:27:05 -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 f29sm7089669pga.59.2020.07.17.01.27.04 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 17 Jul 2020 01:27:05 -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 01:27:03 -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: 4B7PP74Dn4z3VCH X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=MAEGoTxk; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of dwilde1@gmail.com designates 2607:f8b0:4864:20::444 as permitted sender) smtp.mailfrom=dwilde1@gmail.com X-Spamd-Result: default: False [-3.32 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36:c]; FREEMAIL_FROM(0.00)[gmail.com]; RCVD_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; NEURAL_HAM_SHORT(-0.38)[-0.379]; 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::444:from]; RCVD_TLS_ALL(0.00)[] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 Jul 2020 08:27:08 -0000 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. -- Don Wilde **************************************************** * What is the Internet of Things but a system * * of systems including humans? * ****************************************************