[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

report install debian on powerbook G4



	Hello,

as promise just a few words explainig how I install debian 2.2r2 on a
powerbook G4

this is a short resume on how to install Debian and MacOs on a
Titanium powerbook G4

first note that the kernel 2.2.18pre21 on the debian install CD, dosn't
allow to boot the Ti

1) boot on the MacOS CD, use the Apple Hard disk tools to
create the partition scheme you want on the drive drive
eg: X Go for linux (free-space)
    X Go for the MacOS system (HFS+)
    X Go for the MacOS apps  (HFS+)
    X Go for the docs (HFS+)
    X Mo/Go for a sharing MacOS <-> Linux partition (HFS)

2) install MacOS

3) grab a linux kernel 2.2.18, ramdisk, yaboot, yaboot.conf on the
   shared partition


4) get the SystemDisk tool from apple
   <URL:ftp://ftp.apple.com/developer/macosxserver/utilities/>
   with this one note the number of the partition or the shared
   partition eg: XX

5) edit the yaboot.conf
eg:
	init-message = "\nDebian PPC\nhit <TAB> for boot options\n\n"
	timeout = 50
	default = install

	image=hd:XX,vmlinux-2.2.18
	label=install
	initrd=hd:XX,ramdisk.image.gz
	initrd-size=8192
	append="video=ofonly"

6) reboot the Mac under OF (command-option-o-f)
   at boot-prompt type
	boot hd:XX,yaboot

7) the debian installer is launched
   install debian as usual on the free-space partition previously
   created
   DON'T forget to create a Apple_Bootstrap partition of small size, in
   first place see <URL:http://www.alaska.net/~erbenson/> mac-fdisk
   section
   note the /dev/hdaNN number of the Apple_Bootstrap partition
   note the /dev/hdaYY number of your / partition
   eg if you do the way described here, it should be /dev/hda11
   (/dev/hda1 to 9 are Mac drivers and /dev/hda10 your bootstrap
   partition)
   initialise swap
   format the linux partitions
   mount a previously initialized partition, the shared one.
   install base
   configure drivers
   configure base
   DON'T do "disk bootable" instead go to the console, copy the
   linux-kernel-2.2.18 to your /boot partition, name it vmlinux-2.2.18

8) reboot the computer under MacOS
   depending on the number of linux partition you've created, the
   previous XX 	number of the shared partition has changed, use
   SystemDisk again to get the new one, eg now it's ZZ

9) edit once again the yaboot.conf: modify the old XX to ZZ
   and insert a linux boot section as following
	init-message = "\nDebian PPC\nhit <TAB> for boot options\n\n"
	timeout = 50
	default = debian

	image=hd:ZZ,vmlinux-2.2.18
	label=install
	initrd=hd:ZZ,ramdisk.image.gz
	initrd-size=8192
	append="video=ofonly"

	image=hd:YY,/boot/vmlinux-2.2.18
	label=debian
	root=/dev/hdaYY
	append="video=ofonly"

10) reboot under OF once again, at boot prompt
	boot hd:ZZ, yaboot

11) this time the installed linux boot up
    - answer the question
    - set up /etc/apt/sources.list
    - install what you want, I strongly suggest man first.... ;-))
    - set up the /etc/yaboot.conf
      eg:
	# bootstrap partition
	boot=/dev/hdaNN
	device=hd:
	delay=20
	timeout=20

	# the OF menu to use
	magicboot=/usr/lib/yaboot/ofboot
	# the booter to use
	install=/usr/lib/yaboot/yaboot

	# enable boot form cdrom
	enablecdboot

	# default OS, linux of course
	defaultos=linux

	# linux boot options.
	default=debian

	image=hd:YY,/boot/vmlinux-2.2.18
        	label=debian
        	root=/dev/hdaYY
        	append="video=ofonly"

12) run mkofboot on /dev/hdaNN --filesystem hfs
    that's all folks, dual boot Linux/MacOS is set
    you just have to install what you want: X, compile a fitted kernel
    for this machine, and so on ;-))

just a note, as I've read on list, eth drivers for the eth card of the
TiG4 are not so good.


	Eric
-- 
l [e2fsck] a bien démarré, mais il m'a rendu la main aussitot en me
> disant "houlala, c'est pas beau à voir votre truc, je préfèrerai que
> vous teniez vous même la tronçonneuse" (traduction libre)
NC in Guide du linuxien pervers : "Bien configurer sa tronçonneuse."



Reply to: