On Mon, Mar 05, 2001 at 01:11:55PM +0100, Michael Schmitz wrote: > > My next problem is that the kernel doesn't seem interested > > in recognising the partition table that I create on the > > disk. > > Did that disk have a DOS partition table on it before? I've had to erase > the first few megs of a disk in order to get it to honor the Mac partition > table instead of the old DOS partition table. It's a matter of partition > table parse order (stick the mac_partition call before dos_partition in > genhd.c and it might work without overwriting).
actually all thats needed is a very careful dd of /dev/zero. x86 partition tables are only 66 bytes (iirc) at the end of the first block (512 bytes). there is a mac partition signature at the first byte, but this is normally empty on x86 partitions since thats where the bootloader goes. -- Ethan Benson http://www.alaska.net/~erbenson/
pgpEgSBSzLqGc.pgp
Description: PGP signature