Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
gentoo on sun E220
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
xming
Guru
Guru


Joined: 02 Jul 2002
Posts: 441

PostPosted: Thu Dec 12, 2002 11:50 pm    Post subject: gentoo on sun E220 Reply with quote

Well I am installing Gentoo on a E220 (dual 450Mhz/2GB RAM), and I will update my installation doc if there is any interest

I'll keep you updated

xming
Back to top
View user's profile Send private message
xming
Guru
Guru


Joined: 02 Jul 2002
Posts: 441

PostPosted: Fri Dec 13, 2002 3:46 pm    Post subject: new sparc console install guide Reply with quote

Code:

#gentoo on sparc64 (netra T1) and E220
# using iso 1.1 for sparc64

# during boot stop-a or ctrl-break or ctrl-A F in minicom)
# on OK prompt

boot cdrom

#on silo
ramdisk init=/bin/sh

#on sh prompt
ifconfig eth0 x.x.x.x netmask y.y.y.y broadcast z.z.z.z
route add default gw w.w.w.w
#(net1=eth0, net0=eth1 on nectra T1)
/etc/init.d/rcS

fdisk
# make you partitoins, it is best to use ext2 for /boot for better compatibility with silo

#adding swap (replace your pattirion)
mkswap /dev/sda5
swapon /dev/sda5

mkdir /mnt/cdrom
mount /dev/cdrom /mnt/cdrom
mount -o bind /proc /mnt/cdrom/root-sparc64/proc
chroot /mnt/cdrom/root-sparc64
cd /sbin

# making fs (replace your pattirion)
echo y |./mkreiserfs /dev/sda2
echo y |./mkreiserfs /dev/sda4
echo y |./mkreiserfs /dev/sda6
exit
mkfs.ext2 /dev/sda1


cd /mnt
mkdir gentoo

#mounting fs (replace your pattirion)
mount /dev/sda2 /mnt/gentoo
cd /mnt/gentoo
mkdir boot usr var
mount /dev/sda1 boot
mount /dev/sda4 usr
mount /dev/sda6 var

wget http://152.2.210.81/pub/Linux/distributions/gentoo/releases/build/1.4_rc1
/sparc/stage1-sparc64-1.4_rc1.tbz2

bzip2 -cd stage1-sparc64-1.4_rc1.tbz2 | tar xvf -
mount -o bind /proc /mnt/gentoo/proc

chroot /mnt/gentoo /bin/bash
# set the corect time
date -s
# doing this the 2nd time with p for the right perm
tar jxfp stage1-sparc64-1.4_rc1.tbz2
source /etc/profile
# edit /etc/resolv.conf with your nameservers
nano -w /etc/resolv.conf
emerge sync
emerge rsync

CHOST=sparc-unknown-linux-gnu

#edit /etc/make.conf
nano -e /etc/make.conf

# HTTP_PROXY="your_proxy:8080"
# FTP_PROXY="your_proxy:8080"
# USE="sparc64 mysql innodb -opengl -alsa -esd -X -java -gpm -berkdb -qt -gmp"
# ARCH="sparc64"
# PLATFORM=sparc64-unknown-linux-gnu
# CHOST="sparc-unknown-linux-gnu"
# CFLAGS="-O2 -mcpu=ultrasparc -mtune=ultrasparc"
# CXXFLAGS="-O2 -mcpu=ultrasparc -mtune=ultrasparc"
# FEATURES="-sandbox"

# linking the right profile
cd /etc
rm /etc/make.profile
ln -s ./usr/portage/profiles/default-sparc64-1.4  make.profile

cd /usr/portage
scripts/bootstrap.sh
export CONFIG_PROTECT=""
emerge system

emerge vanilla-sources
cd /usr/src/linux

make menuconfig
make dep;amke clean;make vmlinux;make modules

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
nano -w /etc/silo.conf
mkdir /boot/etc
cp /etc/silo.conf /boot/etc
silo -C /boot/etc/silo.conf

nano -w /etc/make.conf FEATURES="sandbox"

---reboot---

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