--- Begin Message ---
- To: submit@bugs.debian.org
- Subject: installation problems and success on a PowerPC Mac G4
- From: "Marvin S Beck" <gomsb@iastate.edu>
- Date: Fri, 30 Nov 2007 22:22:05 CST
- Message-id: <200712010422.WAA05796@isua3.iastate.edu>
Package: coreutils/install
Boot method: etch netinst, etch CD-1, sarge CD-1
Image version: powerpc
Date: last two weeks of Nov., 2007 -- many attempts, many days, nights
Machine: PowerMac3,5 (G4/Quicksilver 2002)
Processor: 876 MHz/cpu 7450, altivec supported
Memory: 512MB
Partitions: <df -Tl will do; the raw partition table is preferred>
------------------------------------
************ Primary master 60 GB drive with Mac OS X on it *******************
/dev/hda
# type name length base ( size ) system
/dev/hda1 Apple_partition_map Apple 63 @ 1 ( 31.5k) Partition map
/dev/hda2 Apple_Driver_ATA Macintosh 64 @ 64 ( 32.0k) Unknown
/dev/hda3 Apple_Driver_ATA Macintosh 64 @ 128 ( 32.0k) Unknown
/dev/hda4 Apple_Patches Patch Partition 512 @ 192 (256.0k) Unknown
/dev/hda5 Apple_HFS Untitled 120102486 @ 704 ( 57.3G) HFS
/dev/hda6 Apple_Free 10 @ 120103190 ( 5.0k) Free space
Block size=512, Number of Blocks=120103200
DeviceType=0x0, DeviceId=0x0
Drivers-
1: @ 64 for 21, type=0x701
2: @ 128 for 34, type=0xf8ff
********** An added slave,160 GB Maxtor to load Debian Linux ********************
/dev/hdb
# type name length base ( size ) system
/dev/hdb1 Apple_partition_map Apple 63 @ 1 ( 31.5k) Partition map
/dev/hdb2 Apple_Bootstrap boot 8192 @ 64 ( 4.0M) NewWorld bootblock
/dev/hdb3 Apple_Boot eXternal booter 17408 @ 8256 ( 8.5M) Unknown
/dev/hdb4 Apple_UNIX_SVR2 swap 4176896 @ 25664 ( 2.0G) Linux swap
/dev/hdb5 Apple_Boot eXternal booter 17408 @ 4202560 ( 8.5M) Unknown
/dev/hdb6 Apple_UNIX_SVR2 root 62897152 @ 4219968 ( 30.0G) Linux native
/dev/hdb7 Apple_Boot eXternal booter 17408 @ 67117120 ( 8.5M) Unknown
/dev/hdb8 Apple_UNIX_SVR2 home 201300920 @ 67134528 ( 96.0G) Linux native
/dev/hdb9 Apple_UNIX_SVR2 opt 39062501 @ 268435448 ( 18.6G) Linux native
/dev/hdb10 Apple_Free Extra 5083859 @ 307497949 ( 2.4G) Free space
Block size=512, Number of Blocks=312581808
DeviceType=0x0, DeviceId=0x0
----------------------------------------------
Output of lspci -nn and lspci -vnn:
>> lspci -nn
0000:00:0b.0 0600: 106b:002d
0000:00:10.0 0300: 10de:0110 (rev b2)
0001:10:0b.0 0600: 106b:002e
0001:10:17.0 ff00: 106b:0022 (rev 03)
0001:10:18.0 0c03: 106b:0019
0001:10:19.0 0c03: 106b:0019
0002:20:0b.0 0600: 106b:002f
0002:20:0e.0 0c00: 11c1:5811
0002:20:0f.0 0200: 106b:0021 (rev 01)
>> lspci -vnn
0000:00:0b.0 0600: 106b:002d
Flags: bus master, 66MHz, medium devsel, latency 16
Capabilities: [80] AGP version 1.0
0000:00:10.0 0300: 10de:0110 (rev b2)
Subsystem: 0208:a5b8
Flags: bus master, 66MHz, medium devsel, latency 248, IRQ 48
Memory at 91000000 (32-bit, non-prefetchable) [size=16M]
Memory at 98000000 (32-bit, prefetchable) [size=128M]
Expansion ROM at 90000000 [disabled] [size=64K]
Capabilities: [60] Power Management version 2
Capabilities: [44] AGP version 2.0
0001:10:0b.0 0600: 106b:002e
Flags: bus master, 66MHz, medium devsel, latency 16
0001:10:17.0 ff00: 106b:0022 (rev 03)
Flags: bus master, medium devsel, latency 16
Memory at 80000000 (32-bit, non-prefetchable) [size=512K]
0001:10:18.0 0c03: 106b:0019 (prog-if 10)
Flags: bus master, medium devsel, latency 16, IRQ 27
Memory at 80081000 (32-bit, non-prefetchable) [size=4K]
0001:10:19.0 0c03: 106b:0019 (prog-if 10)
Flags: bus master, medium devsel, latency 16, IRQ 28
Memory at 80080000 (32-bit, non-prefetchable) [size=4K]
0002:20:0b.0 0600: 106b:002f
Flags: bus master, 66MHz, medium devsel, latency 16
0002:20:0e.0 0c00: 11c1:5811 (prog-if 10)
Subsystem: 11c1:5811
Flags: bus master, medium devsel, latency 16, IRQ 40
Memory at f5000000 (32-bit, non-prefetchable) [size=4K]
Capabilities: [44] Power Management version 2
0002:20:0f.0 0200: 106b:0021 (rev 01)
Flags: bus master, 66MHz, slow devsel, latency 16, IRQ 41
Memory at f5200000 (32-bit, non-prefetchable) [size=2M]
Expansion ROM at f5100000 [disabled] [size=1M]
Base System Installation Checklist:
[O] = OK, [E] = Error (please elaborate below), [ ] = didn't try it
Initial boot: [ ] - I have various stories here
Detect network card: [ ] - please see below
Configure network: [ ]
Detect CD: [ ]
Load installer modules: [ ]
Detect hard drives: [ ]
Partition hard drives: [ ]
Install base system: [ ]
Clock/timezone setup: [ ]
User/password setup: [ ]
Install tasks: [ ]
Install boot loader: [ ]
Overall install: [ ]
Comments/Problems:
To Whom It May Concern
A few months back, I obtained a PowerMac, G4, QuickSilver (2002) computer.
Although the Aqua interface is cute, I would like to install a real
operating sustem on it--have added a 160 GB Maxtor drive to it. I have
Debian "sarge" on an HP, Pentium III, Vectra VLi8, running Motif (will
upgrade it to 'stable' = "etch" when I have another machine running), and
would like to set up similar ("etch", at least) on the G4. My efforts
to date have been very frustrating--but have achieved success--read on.
1) downloaded the etch netinst CD image and created a CD.
Could not get the installer to start (hung up after usb initiallizations)
2) downloaded the etch CD-1 image and created a CD.
Could not get the installer to start (hung up after usb initiallizations)
MD5SUMs all ok.
Since one cannot boot from an HFS+ formated harddisk (and the Mac will not
format harddrives in less than HFS+):
3) copied the USB stick startup info to a zip drive (which could be
formatted to just HFS) and was able to get that installer to load and start
a netinst *** WOW *** some success:
However - could not get the file downloads to complete
- most just stopped at 20%, 40%, 80% of loading - it varies
- about 2 times out of 20 got through and installation then hung up
during the next step (either evaluate hardware or disk drives)
Was reading web info re yaboot and startup problems, and found a reference
to using a different kernel, as ATA drivers were different *** Ahaaa ***
Went to "sarge" images (figured older version may have older drivers):
- netinst not possible as unstable points to sid, not sarge (your info)
4) downloaded sarge CD-1
- booted beautifully to installer, thought I was home
- ran into partman bug (#244926) and could not repartition/reconfigure the
new harddrive. :-(
One of the error messages was about not being able to write the partition
map. I slept on this and realized my partitioning was not leaving any
space for a partition map.
Went back to the Mac OS X, partitioned the 160 GB disk (only seeing
130 Gb of it) 2 MB boot, 2 GB swap, 30 GB root, ~90 GB home.
When reinstallation came to partitioning the hard disk, I just left the
partitions as they came from the Mac OS (it had put about 8 MB at the
beginning and some 8 MB between the partitions (journal files??)).
Each of the desired partitions came up as 2, 4, 6, 8: I added the
last 30 GB as 9, mount point /opt --probably could have eliminated the
interpartition 8 MB spaces, but just left it, not wanting to change any
more than necessary.
Changed the partition formats and names (in 2, 4, 6, 8, 9) to what I
wanted (Mac boot format for boot, swap for swap, and ext2 for root, home,
and opt (probably could have used ext3, but had tried ext3 initially
and saw many log error messages re ext3 and journaling when getting
partman errors so wanted to avoid any more problems).
Anyway-- this configuration of the disk went through the installation
beautifully and I was able to complete the istallation without any
other problems. When installation asked about distribution, I picked
"stable", so don't know at this point whether I still have sarge, or
etch, or a mixture. Kernel is 2,6,8-3.
So I think the partman bug, well documented via Google, was really a
failure to partition the disk properly, the powerpc requiring space
for the partition map and perhaps other info.
Thought you might like to know my experiences. Still don't know why
"etch" wouldn't load initially. Was it checking the harddisk early
on and not finding a partition map?? Pehaps you can tell me.
Marvin Beck gomsb@iastate.edu
--- End Message ---