torek, 23. oktober 2012

Installing Gentoo Linux on HP c8000 workstation

I am a lucky owner of one of the latest  HP PA-RISC workstations, c8000. It is driven by one dual-core PA-8800 Mako processor and features an impressive array of system and I/O options. The center of the system is the HP zx1 chipset, which also supports Itanium processors.

Refernece guide:
Gentoo Linux SPARC Handbook 
Thanks to hppa Gentoo team.

I found many good advices about installing Gentoo on hppa platform  at blog LE PIG .

Here is a complete list of the commands that I used:

fdisk /dev/hda
 .........
 
mkfs.ext2 /dev/hda2
mkfs.ext3 /dev/hda4
swapon /dev/hda3
mount /dev/hda4 /mnt/gentoo
mkdir /mnt/gentoo/boot
mount /dev/hda2 /mnt/gentoo/boot


cp stage3-hppa2.0-20121012.tar.bz2 /mnt/gentoo/
tar xvjf stage3-hppa2.0-20121012.tar.bz2
cp portage-20121012.tar.bz2 /mnt/gentoo/usr/
tar xvjf portage-20121012.tar.bz2
cp -L /etc/resolv.conf /mnt/gentoo/etc/

mount -t proc none /mnt/gentoo/proc
mount --rbind /sys /mnt/gentoo/sys
mount --rbind /dev /mnt/gentoo/dev
chroot /mnt/gentoo /bin/bash
env-update
source /etc/profile
export PS1="(chroot) $PS1"

emerge --sync
eselect profile set 2
nano -w /etc/portage/make.conf
USE="-gtk -gnome qt4 kde dvd alsa cdr"
cp /usr/share/zoneinfo/Europe/Brussels /etc/localtime
echo "Europe/Brussels" > /etc/timezone
emerge gentoo-sources
emerge kgcc64
gcc-config 2
nano /usr/src/linux/arch/parisc/Makefile
CROSS_COMPILE   := hppa64-linux-gnu-
change to :-
CROSS_COMPILE   := hppa64-unknown-linux-gnu-

make menuconfig
make && make modules_install
cp vmlinux /boot/kernel-3.4.9-gentoo

nano -w /etc/fstab
........

emerge palo
nano /etc/palo.conf
--commandline=2/kernel-3.4.9-gentoo root=/dev/hda4
--init-partitioned=/dev/hda

nano /etc/inittab
comment out
“b0:12345:respawn:/sbin/agetty 9600 ttyB0 vt100”




 

2 komentarja:

  1. hi there
    is it the kernel 32bit or 64bit ? how much ram do you have ?
    is the system stable ?

    here I am on a C3600, it's fine in 32bit mode, but … there are a lot of troubles in 64bit mode, and I need it because I have 8Gbyte of ram

    let me know

    OdgovoriIzbriši
  2. As I remember it is 64bit. I have 1GByte of ram. The system is quite stable, but slow for these days.

    My C8000 is for sale in perfect condition.

    OdgovoriIzbriši