From benoitc at archlinuxfr.org Tue Jan 3 01:24:50 2006 From: benoitc at archlinuxfr.org (Benoit Chesneau) Date: Tue, 03 Jan 2006 07:24:50 +0100 Subject: [arch-ports] install archlinuxppc on a powerbook g4 Message-ID: <1136269490.6351.50.camel@babylon.metavers.net> Hi all, Today I reinstalled my powerbook g4 with archlinuxppc since I broke /var/lib/pacman last week and can't reinstall any packages ... Find here a quick summary of steps I follow : 1) Download and burn the iso : ftp://ftp.archlinuxppc.org/iso/snapshots/2005-07-02_archppc.iso.bz2 2) At boot go in the open firmware shell (command + option + O + F) and type the folowing : boot cd:,\\yaboot This command allow your powerbook to boot on archlinuxppc cd. 3) Set up the network : I use a powerbook with airport extreme (powerbook 5,6) so I have to use ethernet to install archlinux. So I load sungem module : modprobe sungem. For owner of titanium powerbook or ibook, you just have to load airport module : modprobe airport Dhcp ddidn't work actually on archlinuxppc install, you have to manually set up network : ifconfig eth0 route add default gw Edit /etc/resolv.conf with vim and add your nameservers, ie enter line like it : nameserver IP.OF.NAMESERVER1 nameserver IP.OF.NAMESERVER2 3) Create your partitions and format then : mac-fdisk /dev/discs/disc0/disc - Erase default partitions : I only install linux on the powerbook, so I erased all partition : type i - Create apple boot partion : type b - Add your partitions : I actually use a simple partition shema : / -> 15G swap -> 1,5G /home -> 55 G Result of partitionning : --------------------------------------------------------------------------- # type name length base ( size ) system /dev/hda1 Apple_partition_map Apple 63 @ 1 ( 31.5k) Partition map /dev/hda2 Apple_Bootstrap bootstrap 1600 @ 64 (800.0k) NewWorld bootblock /dev/hda3 Apple_UNIX_SVR2 root 31457280 @ 1664 ( 15.0G) Linux native /dev/hda4 Apple_UNIX_SVR2 swap 3072000 @ 31458944 ( 1.5G) Linux swap /dev/hda5 Apple_UNIX_SVR2 home 121770544 @ 34530944 ( 58.1G) Linux native Block size=512, Number of Blocks=156301488 DeviceType=0x0, DeviceId=0x0 --------------------------------------------------------------------------- - Format partitions with ext3 filesystem: mke2fs -j /dev/discs/disc0/part3 mke2fs -j /dev/discs/disc0/part5 - Format swap partition : mkswap /dev/discs/disc0/part4 4) Create a chrooted archlinuxppc - Mount your partitions : mount -t ext3 /dev/discs/disc0/part3 /mnt mkdir /mnt/home mount -t ext3 /dev/discs/disc0/part5 /mnt/home - Dl quickinst. Actually quickinst isn't on cd and you need a modified script from i686 version. Type the following : cd /tmp wget ftp://ftp.archlinuxppc.org/other/quickinst - Install the base : cd /tmp ./quickinst ftp /mnt ftp://ftp.archlinuxppc.org/current/os/ppc - Mount chroot mount -t proc none /mnt/proc mount -t sysfs none /mnt/sys mount /mnt /bin/bash source /etc/profile udevstart Nb: udevstart create right devices in /dev 5) Edit configuration files file /etc/fstab; /etc/rc.conf, /etc/yaboot.conf, /etc/hosts *) Example of /etc/fstab with previous patition shema: --------------------------------------------------------------------------- none /dev/pts devpts defaults 0 0 none /dev/shm tmpfs defaults 0 0 tmpfs /tmp tmpfs defaults 0 0 #/dev/cdrom /mnt/cd iso9660 ro,user,noauto,unhide 0 0 #/dev/cdrom /mnt/dvd udf ro,user,noauto,unhide 0 0 /dev/hda3 / ext3 defaults 0 0 /dev/hda4 swap swap defaults 0 0 /dev/hda5 /home ext3 defaults 1 1 --------------------------------------------------------------------------- *) Example of /etc/yaboot.conf --------------------------------------------------------------------------- boot=/dev/hda2 device=/pci at f4000000/ata-6 at d/disk at 0: partition=3 delay=10 timeout=40 install=/usr/lib/yaboot/yaboot magicboot=/usr/lib/yaboot/ofboot image=/boot/vmlinux26 label=Linux root=/dev/hda3 initrd=/boot/initrd26.img read-only --------------------------------------------------------------------------- Note: to obtain device line, type the following on the shell: ofpath /dev/hda Example of /etc/rc.conf --------------------------------------------------------------------------- LOCALE=en_US.utf8 HARDWARECLOCK="localtime" TIMEZONE=Europe/Paris KEYMAP=mac-fr-ext_new CONSOLEFONT=lat9w-16 CONSOLEMAP= USECOLOR="yes" MOD_AUTOLOAD="yes" MOD_BLACKLIST=() MODULES=(sungem !usbserial) USELVM="no" HOSTNAME="enlil.metavers.net" lo="lo 127.0.0.1" eth0="eth0 192.168.0.4 netmask 255.255.255.0 broadcast 192.168.0.255" INTERFACES=(lo eth0) gateway="default gw 192.168.0.254" ROUTES=(gateway) DAEMONS=(syslog-ng !hotplug !pcmcia network netfs crond sshd) --------------------------------------------------------------------------- Note : If u use airport device add airport to your module list and add eth1 to your ethernet devices. To have airport as eth1 devices add these line to /etc/modprobe.conf alias sungem eth0 alias airport eth1 6) Install kernel & openssh pacman -Sy kernel26-pmac openssh 7) Install yaboot in the boot (be sure to have edited yaboot.conf) mkofboot ybin -v 8) Add a password to the root : passwd root 9) add a user useradd 10) Reboot That it and now you can use your powerbook with archlinux ppc, install X and so on... with pacman :) - Beno?t From benoitc at archlinuxfr.org Tue Jan 3 01:29:07 2006 From: benoitc at archlinuxfr.org (Benoit Chesneau) Date: Tue, 03 Jan 2006 07:29:07 +0100 Subject: [arch-ports] pb while installing kde 3.5 in testing Message-ID: <1136269747.6351.53.camel@babylon.metavers.net> I tryed this morning to install kde but I can't due to a dependancy error, rar isn't in the db. Hope it will hel :) - Beno?t From benoitc at archlinuxfr.org Tue Jan 3 02:16:33 2006 From: benoitc at archlinuxfr.org (Benoit Chesneau) Date: Tue, 03 Jan 2006 08:16:33 +0100 Subject: [arch-ports] archlinuxppc: bug with xorg7 in TESTING Message-ID: <1136272593.6351.71.camel@babylon.metavers.net> There are currently 2 bugs while installing xorg. The first one is critical : Bugs : 1) /etc/x11 isn't created at install. Or is there any possibility to recreate it by hand at the end of install ? 2) Problem xorg-fonts-misc package : /var/lib/pacman/local.xorg-fonts-misc-1.0.0-1/install: line 3: usr/bin/fc-cache: Nos such file or directory This package doesn't depend on fontconfig or xorg-server. So fontconfig is installed after. Note: I installed xorg-server with this command line : pacman -Sy xorg-server pacman -S xf86-input-keyboard xf86-input-mouse xf86-video-ati xterm pacman -S xorg-fonts-100dpi xorg-fonts-75dpi xorg-fonts-type1 Hope it will help, Regards. - Beno?t From a.radke at arcor.de Tue Jan 3 18:02:34 2006 From: a.radke at arcor.de (Andreas Radke) Date: Wed, 04 Jan 2006 00:02:34 +0100 Subject: [arch-ports] [arch64] kernel 2.6.15 and mkinitrd going to current Message-ID: <43BB028A.5060408@arcor.de> if you haven't already used the testing kernels you can soon update the kernel from current repo. just follow the instructions from our 32bit archlinux mother for creating and customizing the initrd. udev will be next. but some dependencies still need to be resolved. AndyRTR From aba at disipos.de Wed Jan 4 05:17:10 2006 From: aba at disipos.de (Alexander Baldeck) Date: Wed, 04 Jan 2006 11:17:10 +0100 Subject: [arch-ports] archlinuxppc: bug with xorg7 in TESTING In-Reply-To: <1136272593.6351.71.camel@babylon.metavers.net> References: <1136272593.6351.71.camel@babylon.metavers.net> Message-ID: <43BBA0A6.2010806@disipos.de> Benoit Chesneau wrote: >There are currently 2 bugs while installing xorg. The first one is >critical : > >Bugs : >1) /etc/x11 isn't created at install. Or is there any possibility to >recreate it by hand at the end of install ? > > This directory seems to be obsolete, my xorg.conf is in /etc now and it my X desktop works just like before. Yes, /etc/X11 is missing on my system as well. >2) Problem xorg-fonts-misc package : > >/var/lib/pacman/local.xorg-fonts-misc-1.0.0-1/install: line 3: >usr/bin/fc-cache: Nos such file or directory > >This package doesn't depend on fontconfig or xorg-server. So fontconfig >is installed after. > > > I added fontconfig as a dependendy to font-util, this should fix the install of all xorg-fonts-* packages that properly depend on font-util. Thanks for the short report. ;) Cheers! Alex Ps: Things will start to get (very) busy for me from today on, first day at the office this year. From olivasj at ecs.csus.edu Thu Jan 5 11:19:35 2006 From: olivasj at ecs.csus.edu (olivasj at ecs.csus.edu) Date: Thu, 5 Jan 2006 08:19:35 -0800 (PST) Subject: [arch-ports] install archlinuxppc on a powerbook g4 In-Reply-To: <1136269490.6351.50.camel@babylon.metavers.net> References: <1136269490.6351.50.camel@babylon.metavers.net> Message-ID: <33555.192.55.52.4.1136477975.squirrel@gaia.ecs.csus.edu> > That it and now you can use your powerbook with archlinux ppc, install X > and so on... with pacman :) > > > - Beno?t Thank you! I had put my G3 iMac in storage after I could not get Arch installed. I tried your guide and it (almost) worked perfectly. I did have a problem with my initrd. For some reason, the shell script that determines what type of filesystem to mount as the root fs wasn't working properly, so I edited it manually and re-gzipped the .img and used it and now it works perfectly. I'm very pleased with the performance of the 400mhz G3 with 320MB RAM. I still need to figure out what I'm going to do with the imac, but at least I have it working! -Joe From aba at disipos.de Sun Jan 8 07:15:51 2006 From: aba at disipos.de (Alexander Baldeck) Date: Sun, 08 Jan 2006 13:15:51 +0100 Subject: [arch-ports] Main Mirror Website for PPC outage Message-ID: <43C10277.2050103@disipos.de> Hey all, I've been updating the kernel last night to include some patches etc. Unfortunately mkinitrd didn't play nice, so the machine didn't come back up. The admins over at my ISP are trying to get the machine back up right now and I hope the issue will be solved until Monday, the 8th January at latest. For the time being, no website, no ftp no CVS repo. Sorry for the inconvenience! :( Regards, Alex - kth5