Updating YDL 3.0

Eric Dunbar eric.dunbar at gmail.com
Fri Feb 11 08:31:58 MST 2005


Instructions on upgrading YellowDogLinux 3 to 4.0, in situ:
<http://www.shiner.info/?manuals/ANS-from-3-to-4.html>

The instructions at shiner.info are still relevant (2005/2/11) but
need a few minor changes/clarifications.

At the end of step 3 (which will take a long time), you may "error
out" with a bunch of complaints about dependencies. Do not panic.
Remove those dependencies with rpm -e. You can list multiple packages
on one line:

rpm -e foobar foobaz-1.8 fudgsicles-0.1a

Also, if you run out of room, do not worry. If you have another
partition with room, mv /var/cache/yum to some directory (in my case /
and /home are separate) and create a symlink to your new directory,
e.g. ln -s /home/yum /var/cache

Yum will now work and you'll have an extra 1.4 GB to do your install.

Now for more comments from Daniel Gimpelevich:

Re: upgrading YDL 3.0.x to 4.0

On Fri, 14 Jan 2005 11:19:43 -0800, Daniel Gimpelevich
<daniel at gimpelevich> wrote:

Someone posted this immediately after 4.0 came out: 
<http://www.shiner.info/?manuals/ANS-from-3-to-4.html>

Some adjustments have to be made to that page, though. Step 1 is
obsolete; you now simply replace your /etc/yum.conf file with the one
at

<http://lists.terrasoftsolutions.com/pipermail/yellowdog-general/2004-December/017330.html>

and do a "yum clean all" before continuing with Step 2. Step 5 no
longer applies because yum will now install a nearly universal kernel,
which you will immediately want to put in your /etc/yaboot.conf and
issue a "/sbin/ybin -v" command.

If you are using BootX, instead copy the kernel from /boot to your
Linux Kernels folder on your Mac OS "boot disk" partition**, and also
copy the matching initrd-(version).img, which you will need for the
Use Ramdisk option which must now be ON***. Set the Additional Kernel
Arguments to "rhgb quiet" and save preferences. After booting the new
kernel, continue with Step 6.

** To copy files from an ext3 partition (YDL) to an HFS/HFS+ partition
use the following (for e.g.):
mkdir /mnt/mymacside
mount /dev/hdc7 mnt/mymacside -t hfsplus

If you're using an hfs partition, replace hfsplus with hfs. Using
"pdisk -i" (no quotes) you can determine where to find your HFS(+)
partition using the L command. It'll be "/dev/hdxn" where x = {a, b,
c, s} (usually, IIRC) and n >= 5.

*** I (Eric) found that the RAM disk option was redundant for my
OldWorld machine-- it caused my kernel to panic so I disabled it in
BootX (make sure you click save to make the change permanent in case
you enabled it). I suspect that you use the RAM disk option when
you're installing/upgrading YDL 4.0 from CD, not when running the
machine (my mistake)?

Another e-mail of relevance:

>> Some questions of my own:
>> 
>> Will this procedure pull down a kernel appropriate for an OldWorld
>> machine?
> 
> The stock kernel (2.6.8-1.ydl.7) will NOT boot a OldWorld.
> It will hang at a mon> prompt shortly after bootloader. The kernel
> from shiner.info: <http://www.shiner.info/?manuals/ANS-from-3-to-4.html>
> will work just fine as well as the latest kernel from TSS (2.6.9-1.ydl.8).
> Use shiner's kernel to install via anaconda then upgrade via yum.


More information about the yellowdog-general mailing list