Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 17 Jul 2020 08:10:00 +0530
From:      Manish Jain <bourne.identity@hotmail.com>
To:        Don Wilde <dwilde1@gmail.com>, FreeBSD Mailing List <freebsd-questions@freebsd.org>, freebsd-stable@freebsd.org
Subject:   Re: URGENT: Microsoft overwrites boot loader!
Message-ID:  <DB8PR06MB6442CA1318C8F938219AD7FBF67C0@DB8PR06MB6442.eurprd06.prod.outlook.com>
In-Reply-To: <140a6398-f8ad-ecd6-2a6f-5ca28f570a64@gmail.com>
References:  <140a6398-f8ad-ecd6-2a6f-5ca28f570a64@gmail.com>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help


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.
That should not be much of a problem if your system is MBR+BIOS.

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/<disk0>
boot0cfg -B /dev/<disk1>
boot0cfg -B /dev/<disk2>

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'.


Hope this helps,
Manish Jain



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?DB8PR06MB6442CA1318C8F938219AD7FBF67C0>