rami.info



Installing Gentoo On Cobalt RaQ XTR

Posted in AtWherever by Rami on the February 20th, 2005
  • Requirments:
  • RaQ XTR
  • A Linux server having nfs supprt and running dhcpd
  • Download the following files:
    • http://prdownloads.sourceforge.net/cobalt-rom/cobalt-2.10.3-ext3-1M.rom?download
    • http://prdownloads.sourceforge.net/cobalt-rom/romutils-1.0.tar.bz2?download
    • ftp://ftp.cobalt.sun.com/pub/iso/960-RAQXTR01AU.iso.gz
    • ftp://ftp.cobalt.sun.com/pub/products/raq550/RPMS/kernel-2.4.16C12_V-1.i386.rpm
  • Copy the cobalt-rom as well as the romutils to the cobalt and run the following on the cobalt to upgrade the rom:
    • flashtool -v -w cobalt-2.10.3-1M.rom
  • If the upgrade fails keep on trying till it succeeds.
  • After a successful rom upgrade do the following on the linux server:
    • gunzip 960-RAQXTR01AU.iso.gz
    • mkdir /mnt/raq
    • mount -o loop 960-RAQXTR01AU.iso /mnt/raq
    • cd /mnt/raq
    • cp -a nfsroot-x86 /
  • Edit /etc/exports and add the following on the linux server:
  • /nfsroot-x86 192.168.1.0/255.255.255.0(rw,no_root_squash)

    • Edit the dhcpd.conf file and add the following on the linux server:

    ddns-update-style none;
    server-name "192.168.1.25";
    next-server 192.168.1.25;
    option root-path "192.168.1.25:/nfsroot-x86";
    subnet 192.168.1.0 netmask 255.255.255.0 {
    range 192.168.1.50 192.168.1.100;
    }

    • Download stage1 from a gentoo mirror and place it in /nfsroot-x86 as well as the previously downloaded raq kernel.
    • Edit /nfsroot-x86/etc/rc.d/rc.sysinit and add /bin/bash before /test/main_script
    • Change the ip of the linux server to 192.168.1.25 and restart both the dhcpd and nfs.
    • Connect a serial console to the RaQ with 115200 8N1
    • Reboot the RaQ while holding the S key.
    • When it asks you for the device to boot select ‘boot from net’
    • When it’s done booting you will get a bash prompt at the serial console.
    • Proceed installing Gentoo as normal.
    • When done run the following commands:
    • emerge rpm
    • emerge xinetd
    • netkit-telnetd
    • rc-update add xinetd default
  • Edit /etc/xinetd.conf and remove the line that says "only_from = localhost"
  • Edit /etc/xinetd.d/telnetd and remove the line that says "disable = yes"
  • Edit /etc/inittab and remove all the lines having agetty then add the following line:
  • TO:2345:respawn:/sbin/agetty 115200 ttyS0 vt100
    • Run the following command to allow root to login from the serial console:
    • echo ttyS0 >> /etc/securetty
  • Edit /sbin/rc (remember to do that everytime /sbin/rc is updated) and change any devfs="yes" to devfs="no"
  • Copy the earlier downloaded kernel to / of the gentoo system and run the following:
    • rpm2cpio kernel-2.4.16C12_V-1.i386.rpm | cpio -i –make-directories
  • Reboot
  • Press the spacebar when prompted to enter the ROM mode
  • Enter the following commands:
    • boot
    • set_boot_type disk
    • set_root_dev hde3
    • set_boot_dev hde1
    • reboot
  • Enjoy
  • Leave a Reply