:: Re: [DNG] Configuration of boot dri…
Pàgina inicial
Delete this message
Reply to this message
Autor: Tito
Data:  
A: dng
Assumpte: Re: [DNG] Configuration of boot drives


On 6/29/20 6:22 PM, Hendrik Boom wrote:
> On Mon, Jun 29, 2020 at 05:49:29PM +0200, Gonzalo Pérez de Olaguer Córdoba wrote:
>> Hi, Hendrik.
>>
>> El Sun, 28 Jun 2020 18:37:45 -0400
>> Hendrik Boom <hendrik@???> escribió:
>>
>>> Where is it configured which drives get updated when I update the kernel,
>>> as part of a regular upgrade using aptitude.
>>
>> debconf has a configuration option for that.
>>
>> try: dpkg-reconfigure grub-pc
>
> That was what I was looking for. It's what I remember seeing long long
> ago during installation or major upgrade.
>
> So I told it not to use /dev/sdb's boot record.
>
> And it decided to try to write to sector 51 on /dev/sdb anyway,
> Is it maybe trying to remove the boot stuff on that drive?
>
> I think there's no help for it but to find my screwdriver and physically
> remove the disk.


Hi,

if you are brave you can erase grub from mbr of the disk:

Zero out MBR. (but not all of it!) You need to use 'dd' to erase the MBR. For my machine the command was:

dd if=/dev/zero of=/dev/YOUR_DRIVE bs=446 count=1

Why the 'bs=446'? Because the rest of your MBR holds the partition table for the drive... which you do not want to destroy.

Use at your own risk

Ciao,
Tito

> That will take a while.
>
> -- hendrik
>
>
>>
>> if you see nothing interesting, retry with the -plow option.
>>
>> -- 
>>    Gonzalo Pérez de Olaguer Córdoba       salo@???
>>   -=- buscando empleo desde 1988 -=-       www.gpoc.es 

>>
>> PGP: 3F87 CCE7 8B35 8C06 E637 2D57 5723 9984 718C A614