SCIENTIFIC-LINUX-USERS Archives

January 2005

SCIENTIFIC-LINUX-USERS@LISTSERV.FNAL.GOV

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Joakim Sernbrant <[log in to unmask]>
Reply To:
Joakim Sernbrant <[log in to unmask]>
Date:
Mon, 17 Jan 2005 10:55:44 +0100
Content-Type:
text/plain
Parts/Attachments:
text/plain (88 lines)
Here is how I upgraded from RH9 to SL3.0.3. I read the 7.2 to 3.0.3
Upgrade how-to but didn't understand the autorpm stuff so I just used
yum upgrade.

System info:

VIA EPIA Mini-ITX Eden 533Mhz
60GB HD
10Mbit internet
Fixed LAN IP
RedHat 9 with custom built kernel (see below, part 2). No --forced rpms
as far as I remember.

$ uname -a
Linux host 2.4.20-27.9custom #4 Fri Dec 26 18:55:18 CET 2003 i686 i686
i386 GNU/Linux

$ cat /etc/redhat-release
Red Hat Linux release 9 (Shrike)

You should have at least 500M free on /var/cache/yum before attempting
this...

--- part one, upgrade ---

$ rpm -e up2date
$ rpm --import
ftp://ftp.scientificlinux.org/linux/scientific/303/i386/RPM-GPG-KEYs/RPM
-GPG-KEY-csieh
$ rpm --import
ftp://ftp.scientificlinux.org/linux/scientific/303/i386/RPM-GPG-KEYs/RPM
-GPG-KEY-dawson
$ rpm --import
ftp://ftp.scientificlinux.org/linux/scientific/303/i386/RPM-GPG-KEYs/RPM
-GPG-KEY-jpolok
$ rpm -i
ftp://ftp.scientificlinux.org/linux/scientific/303/i386/SL/RPMS/yum-2.0.
7-7.SL.noarch.rpm
$ rpm -i
ftp://ftp.scientificlinux.org/linux/scientific/303/i386/SL/RPMS/yum-conf
-303-2.SL.noarch.rpm

[edit /etc/yum.conf if you want to use a mirror from
https://www.scientificlinux.org/download/]

$ yum upgrade # this took about 30 minutes
$ rpm -e lilo
$ yum install sl-release

[I think the kernel would have been upgraded if were a stock RH9 kernel,
edit /etc/grub.conf as needed]

$ reboot

--- end of part one ---

--- part two, build kernel ---

The EL.i686 kernel does not work on the VIA EPIA Eden CPU so we have to
build our own.

References:

http://www.mini-itx.com/faq.asp
http://www3.sympatico.ca/howlettfamily/epia/epia_howto/x881.html

Ok, here goes. This will take several hours...

$ cd /usr/src/linux # verify that this points to the new kernel source

$ make clean
$ make mrproper
$ make menuconfig # select Processor CyrixIII/VIA-C3
$ make dep
$ make clean
$ make bzImage
$ make modules
$ make modules_install
$ make install

[edit /etc/grub.conf as needed]

$ reboot

--- end of part two --

/// jocke

ATOM RSS1 RSS2