Subject: How to recompile Kernel after using install CD
To: None <port-cobalt@netbsd.org>
From: None <phil.yeo@orange.co.uk>
List: port-cobalt
Date: 09/03/2003 12:23:34
Hello,
I have screwed it up again.
If I re-install using the CD to get a fresh 1.6.1 installation what do I do to
recompile the kernel on my Qube 2?
Here is what I did:
Download syssrc.tgz from
http://ftp.plig.org/pub/NetBSD/NetBSD-1.6.1/source/sets/
Copy syssrc.tgz to the Qube
tar -xzpf syssrc.tgz
cd /usr/src/sys/arch/cobalt/conf
cp GENERIC QUBE
vi QUBE
..make changes
config QUBE
cd ../compile/QUBE
make depends
make
edit /etc/fstab the following line
/dev/wd0e /altroot ext2fs rw 0 1
mount /altroot
[I think I messed it up here somewhere]
rm /altroot/boot/vmlinux_RAQ.gz
rm /altroot/boot/vmlinux_raq-2800.gz
mv /netbsd /netbsd.orig
mv /altroot/boot/vmlinux.gz /altroot/boot/vmlinux.gz.orig
cp netbsd /netbsd
cp netbsd /altroot/boot/vmlinux
cd /altroot/boot
gzip -v9 vmlinux
Any tips appreciated.
Also can I set up my i386 to do the compilation as it takes over half an hour on
the Qube?
Thanks,
Phil
*******************************************************************************
Important.
Confidentiality: This communication is intended for the above-named person and
may be confidential and/or legally privileged. Any opinions expressed in this
communication are not necessarily those of the company. If it has come to you
in error you must take no action based on it, nor must you copy or show it to
anyone; please delete/destroy and inform the sender immediately.
Monitoring/Viruses
Orange may monitor all incoming and outgoing emails in line with current
legislation. Although we have taken steps to ensure that this email and
attachments are free from any virus, we advise that in keeping with good
computing practice the recipient should ensure they are actually virus free.
Orange PCS Limited is a subsidiary of Orange SA and is registered in England No
2178917, with its address at St James Court, Great Park Road, Almondsbury Park,
Bradley Stoke, Bristol BS32 4QJ.
*******************************************************************************