Joe Pfeiffer grabbed a keyboard and wrote:
> David Guntner <david@guntner.com> writes:
>> Seems like a good idea. I tried it, but it doesn't look like it worked:
>>
>>> # dd if=/dev/zero of=/dev/sdb bs=446 count=1
>>> 1+0 records in
>>> 1+0 records out
>>> 446 bytes (446 B) copied, 0.000867678 s, 514 kB/s
>>> # update-grub
>>> Generating grub.cfg ...
>>> Found background image: /usr/share/images/desktop-base/desktop-grub.png
>>> Found linux image: /boot/vmlinuz-3.2.0-4-amd64
>>> Found initrd image: /boot/initrd.img-3.2.0-4-amd64
>>> Found memtest86+ image: /memtest86+.bin
>>> Found memtest86+ multiboot image: /memtest86+_multiboot.bin
>>> Found Debian GNU/Linux (6.0.7) on /dev/sdb1
>>> done
>>
>> Grub still seems to think there's Linux on /dev/sdb1. That's
>> aggravating...... I guess I'll just try moving the stuff off of the one
>> and only partition on that drive to somewhere else temporarily, and then
>> delete the partition outright and recreate it. Maybe *THAT* will
>> finally do it!
>
> Ah, I missed that it was on a partition (and not the MBR). What
> *should* work is
>
> $sudo dd if=/dev/zero of=/dev/sdb1 bs=512 count=1
>
> More information:
> http://www.novell.com/documentation/suse91/suselinux-adminguide/html/ch07.html
Ok, I tried that:
> # dd if=/dev/zero of=/dev/sdb1 bs=512 count=1
> 1+0 records in
> 1+0 records out
> 512 bytes (512 B) copied, 0.000983331 s, 521 kB/s
> # update-grub
> Generating grub.cfg ...
> Found background image: /usr/share/images/desktop-base/desktop-grub.png
> Found linux image: /boot/vmlinuz-3.2.0-4-amd64
> Found initrd image: /boot/initrd.img-3.2.0-4-amd64
> Found memtest86+ image: /memtest86+.bin
> Found memtest86+ multiboot image: /memtest86+_multiboot.bin
> Found Debian GNU/Linux (6.0.7) on /dev/sdb1
> done
Stubborn cuss, ain't it? :-)
--Dave
Attachment:
smime.p7s
Description: S/MIME Cryptographic Signature