Can't change partition table anymore

Andrey Chernov ache at nagual.pp.ru
Sun Apr 3 19:57:09 PDT 2005


On Mon, Apr 04, 2005 at 11:45:17AM +0930, Daniel O'Connor wrote:
> Altering the MBR while you have a partition mounted is potentially quite 
> dangerous.

Don't say "dangerous" for _root_ user. Is there any purpose left for being 
root anymore? According to your logic, all root operations should be 
disabled by some unknown undocumented sysctls because it is too dangerous 
to be the root. Better kill yourself than to be the root.

> The reason it was possible in the past was because there was no protection 
> against this kind of thing.

Does anybody asks for protection here? It was not me. It was not majority 
of Unix sysadmins. Such kind of protection should be turned off by default 
in case it even exists as the toy for some paranoid people.

> Use boot0cfg and the FreeBSD bootloader instead?

boot0cfg not works (I assume the reason is the same).

I can't write FreeBSD bootloader because reinstalled Windows overwrite it 
with standard MBR and sysinstall don't allow to write bootloader anymore. 
The only thing I not try yet in that situation was 'dd' - I was too lasy 
to find needed byte.

-- 
http://ache.pp.ru/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 305 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20050404/4796384b/attachment.bin


More information about the freebsd-current mailing list