Monday, 23 April 2007

1 down, 1 abandoned and 1 to go

Thinkpad (T41) upgrade via re-install of Ubuntu went fine. Used gnuplorer to save network settings (since they were all I wanted to keep). Manual partitioning worked brilliantly and allowed me to keep my Windows XP QEMU images (contained on separate /dev/sda9 partition).

One the Thinkpad was upgraded, proceded to use it to upgrade my Titanium Powerbook G4 Ubuntu to 7.04 (via network boot as it has no DVD drive).


apt-get install tftp tftpd dhcpd


Edited the /etc/dhcpd.conf

option domain-name "myhouse.com";
option domain-name-servers 192.168.1.254;

option subnet-mask 255.255.255.0;
default-lease-time 600;
max-lease-time 7200;

subnet 192.168.1.0 netmask 255.255.255.0 {
range 192.168.1.100 192.168.1.250;
}



Edited /etc/default/dhcp and added the following

INTERFACES="eth1"

As the Powerbook was already running Ubuntu, when it prompted for CD or Gnu/Linux, I hit control Z. This dropped me to the firmware OBP.


boot enet:192.168.1.25,yaboot




This went badly, firstly due to a problem with the yaboot.conf pointing to the root directory.



Apr 22 12:45:19 coalman dhcpd: DHCPDISCOVER from 00:03:93:87:6b:cc via eth1
Apr 22 12:45:19 coalman dhcpd: DHCPOFFER on 192.168.1.223 to 00:03:93:87:6b:cc via
eth1
Apr 22 12:45:19 coalman dhcpd: DHCPREQUEST for 192.168.1.64 from 00:03:93:87:6b:cc
via eth1
Apr 22 12:45:19 coalman dhcpd: DHCPNAK on 192.168.1.64 to 00:03:93:87:6b:cc via eth1
Apr 22 12:45:20 coalman in.tftpd[10693]: connect from 192.168.1.64 (192.168.1.64)
Apr 22 12:45:20 coalman tftpd[10694]: tftpd: trying to get file: yaboot
Apr 22 12:45:20 coalman tftpd[10694]: tftpd: serving file from /tftpboot/DEBIAN
Apr 22 12:47:05 coalman in.tftpd[10750]: connect from 192.168.1.64 (192.168.1.64)
Apr 22 12:47:05 coalman tftpd[10751]: tftpd: trying to get file: yaboot
Apr 22 12:47:05 coalman tftpd[10751]: tftpd: serving file from /tftpboot/DEBIAN
Apr 22 12:47:06 coalman in.tftpd[10752]: connect from 192.168.1.64 (192.168.1.64)
Apr 22 12:47:06 coalman tftpd[10753]: tftpd: trying to get file: yaboot.conf
Apr 22 12:47:06 coalman tftpd[10753]: tftpd: serving file from /tftpboot/DEBIAN
Apr 22 12:47:06 coalman in.tftpd[10754]: connect from 192.168.1.64 (192.168.1.64)
Apr 22 12:47:06 coalman tftpd[10755]: tftpd: trying to get file: /boot.msg



Once that was fixed:

BEFORE:



## This yaboot.conf is for hd-media booting only, do not use as reference.
## Ubuntu 7.04 PowerPC

default=install
root=/dev/ram

message=/boot.msg

image=/vmlinux
label=install
initrd=/initrd.gz
initrd-size=17217
append="--"
read-only




AFTER:



## This yaboot.conf is for hd-media booting only, do not use as reference.
## Ubuntu 7.04 PowerPC

default=install
root=/dev/ram

message=boot.msg

image=vmlinux
label=install
initrd=initrd.gz
initrd-size=17217
append="--"
read-only



it seems there is a bug with loading >6MB initrd.gz on PPC architectures.

I gave up, and went back to Debian on my PowerBook G4. I am impressed by how much it has moved on since last time I tried it:

Final inetd.conf

tftp dgram udp wait nobody /usr/sbin/tcpd /usr/sbin/in.tftpd
/tftpboot/DEBIAN



Wireless networking worked immediately, my only problem lay with the xorg.conf

Edited /etc/X11/xorg.conf

diff /etc/X11/xorg.conf.stock /etc/X11/xorg.conf
85a86,87
> HorizSync 30-70
> VertRefresh 50-160

No comments: