Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Netra X1 console install HOWTO
View unanswered posts
View posts from last 24 hours

Reply to topic    Gentoo Forums Forum Index Gentoo on Sparc
View previous topic :: View next topic  
Author Message

Joined: 02 Jul 2002
Posts: 440

PostPosted: Mon Sep 29, 2003 8:19 pm    Post subject: Netra X1 console install HOWTO Reply with quote

Here is just my install note on headless,cdrom-less netra x1 (550 US II, 256MB, IDE) and dmfe net NICs not found on the standard Debian tftp images so hope this helps someone.

Since this has no cdrom drive you have to netboot, which means you have to have an other box serving as rarpd/bootp or dhcp server, I am using dhcp server.


#netbooting X1 from serial console

#Software needed on the DHCP server
emerge tftp-hpa
emerge net-misc/dhcp
#an ftp/http server

#image needed

#stage needed (I am using stage1 here)
bzip2 -cd stage1-sparc64-1.4_rc4.tar.bz2 |gzip -c9 > stage1-sparc64-1.4_rc4.tar.gz
#put the stage1-sparc64-1.4_rc4.tar.gz in http/ftp accessible place

# On the DHCP server
mkdir /tftpboot
cp <PATH>/tftpboot.img /tftpboot/
/etc/init.d/in.tftpd start

cd /etc/dhcp
cp dhcpd.conf.sample dhcpd.conf
vi dhcpd.conf (please read the docs of dhcp)
     option domain-name "";
     option domain-name-servers;
     option subnet-mask;
     default-lease-time 600;
     max-lease-time 7200;
     server-name "servername";

     subnet netmask {
       option routers;
     host clientname {
       filename "/tftpboot/tftpboot.img";
       server-name "servername";
       next-server servername;
       hardware ethernet 01:23:45:67:89:AB;

vi /etc/conf.d/dhcp
/etc/init.d/dhcp start

#on X1 ethernet cable in net0 and connect to the serial console
boot net:dchp
# once debian boots up press enter then choose execute a shell from the menu

#WARNING after Linux is booted eth0=net1 and eth1=net0
ifconfig eth1 x.x.x.x netmask y.y.y.y
# YES this is eth1, if you use eth0 you have to switch cable, or connect both of them ;)
route add default gw z.z.z.z

#makeing you partitions

#activate swap
mkswap /dev/hdxx
swapon /dev/hdxx

#mkfs, I use reiser and ext2 for /boot (silo does boot from reiser)
mkreiserfs /dev/hdxx
mkfs.ext2 /dev/hdxx # (boot partition)

cd /mnt
mkdir gentoo
mount /dev/<ROOT> /mnt/gentoo
cd /mnt/gentoo
mkdir boot usr var
mount /dev/<BOOT> boot
mount /dev/<USR> usr
mount /dev/<VAR> var

wget ftp://<your ftp server>/<PATH>/stage1-sparc64-1.4_rc4.tar.gz
wget http://<your http server>/<PATH>/stage1-sparc64-1.4_rc4.tar.gz

#the usual stuffs
nano -w /etc/make.conf

#if you use proxy
export HOME=/root
nano -w .wgetrc
# add ftp_proxy = proxy-hostname:8080
#       http_proxy = proxy-hostname:8080

# bootstraping stage2
cd /usr/portage

#going to stage3
emerge system

# I use vannila src
emerge vanilla-sources
cd /usr/src/linux
make menuconfig
# WARNING: use tulip instead dmfe for the NICs
make dep;make clean;make vmlinux;make modules; make modules_install

emerge syslog-ng
rc-update add syslog-ng default

emerge vcron
rc-update add vcron default

emerge reiserfsprogs
cd /etc
ln -sf ../usr/share/zoneinfo/Europe/Brussels localtime
nano -w /etc/hostname
nano -w /etc/hosts
nano -w /etc/conf.d/net
rc-update add net.eth0 default
rc-update add sshd default

nano -w /etc/rc.conf
emerge silo
cp /usr/src/linux/vmlinux /boot
cd boot
gzip -9 vmlinux
mkdir /boot/etc
cp /etc/silo.conf /boot/etc
nano -w /boot/etc/silo.conf
silo -C /boot/etc/silo.conf
nano -w /etc/fstab
nano -w /etc/inittab #add serial console: c0:12345:respawn:/sbin/agetty 9600 ttyS0 vt100
nano -w /etc/securetty # add tts/0
passwd root

#final step

Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on Sparc All times are GMT
Page 1 of 1

Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum