On Sat, Apr 07, 2001 at 01:13:01PM -0700, Matt Brubeck wrote: > > Is there a way to get the Apple_Bootstrap partition to not be seen by > > MacOS even though it is a HFS partition? > > Yes. The type (not the name) of the partition should be Apple_Bootstrap > rather than Apple_HFS. This will prevent MacOS from mounting the partition > and unblessing the boot script. > > Using mac-fdisk to change the partition type should solve your problem. or get GNU parted and run: parted /dev/hda set 9 boot on where 9 is the bootstrap partition number. this will change the type to Apple_Bootstrap. GNU parted is much more reliable then mac-fdisk. in mac-fdisk you must delete the partition and recreate it (this time correctly) then write the partition table. > If for some reason this doesn't work, you could also try running ybin with > the --protect option, or adding "protect" to /etc/yaboot.conf. This will > make the yaboot files read-only, and hopefully will prevent MacOS from > unblessing them. that won't work, macos will still render the partition unbootable. the protect option is really only there in cases where the blessing stuff is not used at all but the person does not want macos lusers seeing the boot files. (such when the bootloader is installed in the root of a macos partition and nobless is used). the only way other then using the Apple_Bootstrap type is to make the partition read-only, which you can do by modifying the partition table, i am not certian MacOS 9 respects this though. MacOSX beta did (it would not even let root modify the raw device of a readonly partition). the Apple_Bootstrap type is better though, bootloaders should not be visable to MacOS. -- Ethan Benson http://www.alaska.net/~erbenson/ P.S. BenH: i told you so!
Description: PGP signature