From: Jan Lien (lien@lysator.liu.se)
Date: 11/21/92


From: lien@lysator.liu.se (Jan Lien)
Subject: How to upgrade to pl5?
Date: 21 Nov 1992 16:03:38 GMT


I originally downloaded linux 0.97 and got it working from my hard
disk, without much problems. I have upgraded to 0.98 pl1, by
compiling it myself, and that works too. Now I have tried upgrading
to 0.98pl4 and 0.98pl5, but with no success. I can recompile linux
0.98-5 with no problems, when I boot with 0.98-1. I boot from
floppy, so there is no lilo or shoelace or so involved.

The problems start when I boot with 0.98-5. I can log in ok, but:

- I can not compile anything. I use emacs 18.59 (Rick's version
    nic.funet.fi), and M-X compile results in

        shell-init: getwd: cannot access parent directories
        make: *** No way to make target 'disk'.

    (I can however compile with the same emacs, same command, if I
    boot 0.98-1). I have checked all permissions in superior
    directories, and it is at least r-x. Please note that this
    problem does NOT occur with 0.98-1.
    I have even tried a new bash from HJ Lu Root disk. No change.

    (By the way, if I log in as an ordinary user, I get the same
    message shell-init, but it does not prevent login or running
    programs).

- mount does not work. I use mount from HJ Lu root disk. It says

        /dev/fd0 already mounted or /mnt busy.

    Nothing is mounted, and I have just booted, nothing else has been
    started. It does not help to umount /dev/fd0.

- using old stat() call -r recompile your binary
    OK. This can apparently be solved by recompiling. But before
    the problems described above are solved I seem unable to
    recompile.

What is the recommended way to upgrade from one version to another?
Must I do: repartition my hard disk, and install everything from
pre-prepared root floppy disks again?