Discussion:
Re-install of Mandrake Linux PPC 9.1 on a beige 233MHz G3 (Gossamer)
(too old to reply)
Axel Hammerschmidt
2005-01-25 01:42:35 UTC
Permalink
G'day

Sorry for the long post!

Until a few weeks ago, I had Mandrake Linux PPC 9.1 installed on a 8.5GB
IBM scsi drive in an external box connected to a beige 233 MHz G3
(Gossamer). Otherwise, the machine (ROM rev $77D.40F2) has MacOS 9.1
installed on the 40GB internal Apple ATA drive (HFS+) on the first
controller, and an Apple CDROM drive on the second controller. Both set
to Master. Everything worked fine. The machine could dual boot, into
either MacOS 9.1 or Linux 2.4.21-0.13mdk.

The Mandrake distro was deleted to make room for a Mac OS X (10.2
nothing) installation on the scsi disk. This didn't work out. The Mac OS
installer either froze or turned off the machine before completion. And
XPF v2.2.5 refused to run. Something to do with an Apple patch on the
scsi drive.

So I re-installed the Mandrake Linux on the scsi drive. The scsi device
is partitioned into a small (32MB) MacOS HFS partition, a 7.5GB Linux
Native (ext2) root partition and a 1GB Linux Swap partition, using the
installers partitioning function and the install seemed to run OK. I
also get net access and can connect to the printer on the lan and print
a test page during the latter part of the install - the Summary.

After reboot, the 32MB MacOS "disk" on the scsi device mounts on the
desktop under MacOS 9.1. To get the initrd file, I boot the Rescue mode
and then want to mount the MacOS HFS and Linux root partitions.

But output from the "lsparts" command in Rescue mode will only list the
partitions on the 40 GB ata drive. Nothing for the scsi drive.

Here is the listing from pdisk:

: This app uses the SIOUX console library
: Choose 'Quit' from the file menu to quit.
:
: Use fake disk names (/dev/scsi<bus>.<id>; i.e. /dev/scsi0.1,
: /dev/scsi1.3, etc.).
:
: Top level command (? for help): L
:
: Partition map (with 512 byte blocks) on '/dev/ata0.0' (/dev/hda)
: #: type name length base ( size )
: 1: Apple_partition_map Apple 63 @ 1
: 2: Apple_Driver_ATA*Macintosh 54 @ 64
: 3: Apple_Driver_ATA*Macintosh 74 @ 118
: 4: Apple_Driver_IOKit Macintosh 512 @ 192
: 5: Apple_Patches Patch Partition 512 @ 704
: 6: Apple_HFS untitled 78164134 @ 1216 ( 37.3G)
: 7: Apple_Free Extra 10 @ 78165350
:
: Device block size=512, Number of Blocks=78165359 (37.3G)
: DeviceType=0x0, DeviceId=0x0
: Drivers-
: 1: @ 64 for 21, type=0x701
: 2: @ 118 for 34, type=0xf8ff
:
: ATA - couldn't get info
: pdisk: can't open file '/dev/ata0.1'
:
: Partition map (with 512 byte blocks) on '/dev/ata1.0' (/dev/hdc)
: #: type name length base ( size )
: 1: Apple_partition_map Apple 2 @ 1
: 2: Apple_HFS MandrakePPC_9.1_CD_1 1431344 @ 16 (698.9M)
:
: Device block size=512, Number of Blocks=1431360 (698.9M)
: DeviceType=0x1, DeviceId=0x1
:
: ATA - couldn't get info
: pdisk: can't open file '/dev/ata1.1'
:
: Partition map (with 512 byte blocks) on '/dev/scsi0.0' (/dev/sda)
: #: type name length base ( size )
: 1: Apple_partition_map Apple 63 @ 1
: 2: Apple_Driver43*Macintosh 54 @ 64
: 3: Apple_Driver43*Macintosh 74 @ 118
: 4: Apple_Driver_IOKit Macintosh 512 @ 192
: 5: Apple_Patches Patch Partition 512 @ 704
: 6: Apple_HFS MacOS 65536 @ 1216 ( 32.0M)
: 7: Apple_UNIX_SVR2 Linux Native 15800320 @ 66752 ( 7.5G)
: 8: Apple_UNIX_SVR2 swap 2049168 @ 15867072 (1000.6M)
:
: Device block size=512, Number of Blocks=17916239 (8.5G)
: DeviceType=0x0, DeviceId=0x0
: Drivers-
: 1: @ 64 for 23, type=0x1
: 2: @ 118 for 36, type=0xffff
:
: pdisk: can't open file '/dev/scsi0.1'
: pdisk: can't open file '/dev/scsi0.2'
: pdisk: can't open file '/dev/scsi0.3'
: pdisk: can't open file '/dev/scsi0.4'
: pdisk: can't open file '/dev/scsi0.5'
: pdisk: can't open file '/dev/scsi0.6'
: Top level command (? for help):

Note. There are 3 physical devices: a 40GB ata drive, a cdrom drive -
each of which are connected to one of the ata controllers, and the scsi
drive.

The "edit device's map" command in pdisk returns:

: Top level command (? for help): e /dev/scsi0.7
: pdisk: can't open file '/dev/scsi0.7'

In Rescue mode, consol, the command:

$ mount -t ext2 /dev/sda7 /mnt/disk

returns:

mount: /dev/sda7 is not a valid block device

$ mount -t hfs /dev/sda6 /mnt/disk

returns:

mount: fs type hfs is not supported by kernel

The Linux root and swap partitions are inaccessable! Trying to boot with
BootX from MacOS 9.1 doesn't work either. This only brings these
messages:

Cannot open root device "sda7" or 08:00
Please append a correct "root=" boot option

I've tried using FWBs HDT (version 3) on the scsi disk: driver update,
deleted all the partitions it would delete and initialized the disk.
With he same result.

And I've also initialized, done a low level format, updated the driver
and tested the scsi disk with Apples Disk Setup from MacOS 9.1 after the
Mac OS X install attempt. Same result.

Well, the Mandrake Linux PPC install worked allright before the Mac OS X
install attempt. Any ideas as to why it doesn't work any more?
--
To me, a personal computer should be small, reliable, convenient to use
and inexpensive.

Steve Wozniak, creator of the Apple II, in BYTE Magazine, May 1977.
Axel Hammerschmidt
2005-01-25 12:38:33 UTC
Permalink
And XPF v2.2.5 refused to run. Something to do with an Apple patch on the
scsi drive.
A small correction here.

That was before the low level format of the scsi device. I ran XPF again
after the low level format and the installer ran, up until after the
reboot and then stopped, with the message:

IOCatalogue: oldworld.support.PatchedSCSIDeviceType05 cannot be loaded.

It then went into a loop with:

Still waiting for root device

I decided to return to using Linux.

[...]
And I've also initialized, done a low level format, updated the driver
and tested the scsi disk with Apples Disk Setup from MacOS 9.1 after the
Mac OS X install attempt. Same result.
Well, the Mandrake Linux PPC install worked allright before the Mac OS X
install attempt. Any ideas as to why it doesn't work any more?
--
To me, a personal computer should be small, reliable, convenient to use
and inexpensive.

Steve Wozniak, creator of the Apple II, in BYTE Magazine, May 1977.
Loading...