Page 2 of 2
Re: Upgrade 13.37 to 14.2
Posted: 25. Sep 2016, 08:11
by gapan
In cases like these it's better not to shutdown/reboot until you have figured everything out. Now, since it doesn't boot your best option is to use a salix installer CD/USB, exit the installer and then mount the harddrive partition:
and the CD/USB:
(adjust the device names accordingly)
then install/upgrade all packages using the --root option
Code: Select all
spkg --root /hd /usb/salix/*/*.t[xg]z
after that, chroot into your hd and run lilo:
If everything goes well, you'll have a system that is mostly upgraded and can boot. You should then be able to reboot and continue the upgrade process from the
step.
Still might be easier to just go with a new installation.
Re: Upgrade 13.37 to 14.2
Posted: 26. Sep 2016, 20:01
by Van_Vinkle
I've followed your instructions and all was very well. The system reboots, I can enter as user but no Mate session is available, only an openbox one.
I thought it was caused because the system was not upgraded. I tried to enter as root, but I've run into the problem that no su nor sudo orders are accepted. With a rescue CD I've added my name in the group wheel with no success; then I cannot act as administrator and upgrade the system.
Also, I can't connect to the net. The connection is by wire, but it does not run, and I do not know which program run to start it.
Thanks, Gapan, for your support and patience.
Re: Upgrade 13.37 to 14.2
Posted: 26. Sep 2016, 20:32
by gapan
What's the problem when trying to run the su command? Since you're upgrading from 13.37, the root user should be there.
If you gain root access, you could connect to the network with:
assuming your wired interface is eth0.
Re: Upgrade 13.37 to 14.2
Posted: 26. Sep 2016, 22:46
by Van_Vinkle
gapan wrote:What's the problem when trying to run the su command? Since you're upgrading from 13.37, the root user should be there.
The problem is that
su does not recognize the password, which must be (I think so) the same as the 13.37 installation.
Re: Upgrade 13.37 to 14.2
Posted: 26. Sep 2016, 22:49
by gapan
It should be. Unless you messed with the /etc/passwd file during upgrade.
You can use the same installation iso, chroot into the installation and change the password with something like:
Code: Select all
mkdir /hd
mount /dev/sda1 /hd
chroot /hd
passwd
Re: Upgrade 13.37 to 14.2
Posted: 28. Sep 2016, 10:29
by Van_Vinkle
As usual, your instructions solved the problem.
Thank you very much!
Re: Upgrade 13.37 to 14.2 [Solved]
Posted: 28. Sep 2016, 11:10
by gapan
Good. If you want mate, you should probably run:
at some point. Make sure you're done with the upgrade process first.
Re: Upgrade 13.37 to 14.2 [Solved]
Posted: 28. Sep 2016, 11:57
by Van_Vinkle
I did it already.
