9.1 Gbyte SCSI Drive
Hello,
I have a Power Macintosh 7300/200 that currently has two 2 Gbyte SCSI Hard Drives run Debian 2.2 with partitions mounted from both drives. Everything is working.
I have a Seagate 9.1 Gbyte SCSI ST39173LC that I would like to install as a replacement for one of the 2 Gbyte drives. The dreaded "the 9.1 Gbyte drive works fine in a Pentium 120 system". However, when I install it into the 7300, the system crashes when I attempt to mke2fs any of the partitions (I have tried several partition size combinations). I don't remember if I have tried this since I initialized the partition map on the Pentium Machine.
Is this a known problem in the powerpc kernel (I seem to remember a relatively recent CVS log post for the Macintosh version of m68k about a change related to this)?
Any suggestions about where to start looking?
Thanks,
Rick Cook
--
[email protected]
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
On 26 Apr, this message from Rick Cook echoed through cyberspace:
Quoted 6 lines
I have a Seagate 9.1 Gbyte SCSI ST39173LC that I would like to install as a replacement for one of the 2 Gbyte drives. The dreaded "the 9.1 Gbyte drive works fine in a Pentium 120 system". However, when I install it into the 7300, the system crashes when I attempt to mke2fs any of the partitions (I have tried several partition size combinations). I don't remember if I have tried this since I initialized the partition map on the Pentium Machine.
Did you repartition the drive on the PowerMac before making filesystems?
I vaguely remember an issue with, IIRC, drives that had PC-style partition maps. Not sure about the details anymore, sorry.
Anyway, the point was make sure you erase the PC partition map _completely_, with something like this:
dd if=/dev/null of=/dev/sd<drive> bs=512 count=10
This should scratch the first few blocks on disk, some of which are not touched by Mac-style partition maps, and make it possible to do a _clean_ Mac partition map.
Obviously, the above commands destroys anything that was in those blocks before, effectively erasing all partition information. So use with caution, make sure you target the right disk, and only if you don't weant to keep any data on the target drive.
Cheers
Michel
-------------------------------------------------------------------------
Michel Lanners | " Read Philosophy. Study Art. 23, Rue Paul Henkes | Ask Questions. Make Mistakes. L-1710 Luxembourg | email [email protected] | http://www.cpu.lu/~mlan | Learn Always. "
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
Quoted 9 lines · Michel Lanners
Anyway, the point was make sure you erase the PC partition map _completely_, with something like this:
dd if=/dev/null of=/dev/sd<drive> bs=512 count=10
This should scratch the first few blocks on disk, some of which are not touched by Mac-style partition maps, and make it possible to do a _clean_ Mac partition map.
As long as you don't try to make it with pdisk, which claims all disks without an existing valid Apple partition map are 512.0 GB.
parted (or Drive Setup) should work fine.
-Hollis
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
Quoted 3 lines · Hollis R Blanchard
As long as you don't try to make it with pdisk, which claims all disks without an existing valid Apple partition map are 512.0 GB.
there is a workaround for that, just tell it how many blocks the disk has, this is discussed in my mac-fdisk-basics doc at
http://www.alaska.net/~erbenson/doc and
http://penguinppc.org/usr/ybin/doc/
Quoted 1 line
parted (or Drive Setup) should work fine.
parted is fine. Drive setup is evil.
Signature · 2 lines
Ethan Benson http://www.alaska.net/~erbenson/
Quoted 6 lines · Hollis R Blanchard
Quoted 4 lines · Michel Lanners
Anyway, the point was make sure you erase the PC partition map _completely_, with something like this:
Quoted 8 lines
Quoted 5 lines
dd if=/dev/null of=/dev/sd<drive> bs=512 count=10
This should scratch the first few blocks on disk, some of which are not touched by Mac-style partition maps, and make it possible to do a _clean_ Mac partition map.
As long as you don't try to make it with pdisk, which claims all disks without an existing valid Apple partition map are 512.0 GB.
Uh?
version 0.7a3 (18 February 1998)
[root@Jay linux]# /sbin/pdisk -i
Top level command (? for help): e /dev/sdb
Edit /dev/sdb -
Command (? for help): i
map already exists
do you want to reinit? [n/y]: y
A physical block is 512 bytes: 2048
A logical block is 512 bytes: 2048
size of 'device' is 555555 blocks (2048 byte blocks): 123456 new size of 'device' is 123456 blocks (2048 byte blocks) Command (? for help):
Bye.
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/