Monday, August 9, 2010

Debian on MacMiniG4

I finally manage to get the debian-installer to work !

Steps:

$ wget http://cdimage.debian.org/debian-cd/5.0.5/powerpc/iso-dvd/debian-505-powerpc-DVD-1.iso
--2010-08-09 14:34:09--  http://cdimage.debian.org/debian-cd/5.0.5/powerpc/iso-dvd/debian-505-powerpc-DVD-1.iso
Resolving cdimage.debian.org... 130.239.18.173, 130.239.18.163, 2001:6b0:e:2018::163, ...
Connecting to cdimage.debian.org|130.239.18.173|:80... connected.
HTTP request sent, awaiting response... 302 Found
Location: http://caesar.acc.umu.se/debian-cd/5.0.5/powerpc/iso-dvd/debian-505-powerpc-DVD-1.iso [following]
--2010-08-09 14:34:09--  http://caesar.acc.umu.se/debian-cd/5.0.5/powerpc/iso-dvd/debian-505-powerpc-DVD-1.iso
Resolving caesar.acc.umu.se... 130.239.18.142, 2001:6b0:e:2018::142
Connecting to caesar.acc.umu.se|130.239.18.142|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 4698593280 (4.4G) [application/octet-stream]
Saving to: `debian-505-powerpc-DVD-1.iso'

100%[================================================================================================================================>] 4,698,593,280 1.29M/s   in 55m 13s

2010-08-09 15:29:22 (1.35 MB/s) - `debian-505-powerpc-DVD-1.iso' saved [4698593280/4698593280]


Then using k3b, just open the iso image, burn onto a SONY DVD+R 4.7GB/120min AccuCORE. Apparently this is a bad idea to check "Verify written data", this leads to the following error:


Anyway using this DVD, just go back to your MacMiniG4, reboot, press the Option key during reboot, wait ... and finally it should display a cute pinguin logo, next to the mac hard drive.

Conclusion:
- CDROM does NOT work (I tried sarge 31r8, lenny 504, lenny 505 on different cd-r and cd-rw)
- I could never get USB to boot

Solution: just get the dvd iso, toat it, it works !

Warning: during installation I choose "use LVM on whole disk", when you press next you should get:

No NewWorld boot partition was found. The yaboot boot loader requires an Apple_Bootstrap 
partition of at least 819200 bytes in size, using the HFS Macintosh file system.

Simply ignore this message (press 'No').

I could also find this problem on another post:

http://www.macfreek.nl/mindmaster/Debian_on_PowerBookG4

It seems this guy, also had issue booting from a cdrom / usb !

References to the whole story:
- http://lists.debian.org/debian-powerpc/2010/07/msg00097.html
- http://malatsblog.blogspot.com/2010/07/preparing-bootable-debian-installer-cd.html

No comments: