I've found and am now currently running from a PCLinuxOS LiveCD.
I've never run chroot before, so am not sure what I need to do. Could you please advise what I need do to complete my update.
Thanks in advance for your assistance.
This is all done from the
liveCD, in a
terminal, as
root. Open the terminal, then enter;
[guest@localhost ~]$ su <Enter>
Password:
<-- Enter root then press the Enter keyFirst, run an
fsck on your
installed / partition, to fix any corruption that may have occurred from the crash.
[root@localhost ~]# fsck -fy /dev/<whatever> <Enter>
Replace
<whatever> with the
actual designation of your
installed / partition.
Next create a
mountpoint directory to mount the
installed / partition on.
[root@localhost ~]# mkdir /here <Enter>
[root@localhost ~]# mount /dev/<whatever> /here <Enter>
Replace
<whatever> with the
actual designation of your
installed / partition.
[root@localhost ~]# mount -o bind /dev /here/dev <Enter>
[root@localhost ~]# mount -o bind /sys /here/sys <Enter>
[root@localhost ~]# mount -o bind /proc /here/proc <Enter>
[root@localhost ~]# chroot /here <Enter>
The prompt will
change to indicate you're in the
/ directory of the
installed / partition.
[root@localhost /]#From this point, all commands will be executed as if the
installed / partition is the
/ partition of the
running system. The commands issued will be the
same as those used if you were
actually running the installed system.
To be sure there is a network connection;
[root@localhost /]# service network start <Enter>
You should get some sort of message about the network starting.
[root@localhost /]# apt-get update <Enter>
This is the same as clicking the
Reload link in
Synaptic. You'll see a number of lines of text showing the package lists being read.
[root@localhost /]# apt-get dist-upgrade <Enter>
If you get a message about packages being held back, or others that can't be installed, and asked if you wish to continue, answer
No, and use
copy/paste to
post the actual message seen, in your next reply. If a large number of system related packages are about to be removed, without replacement, also answer
No, and again, use
copy/paste to
post the actual message seen in your next reply.
If all looks normal, with a bunch of packages being upgraded, and maybe a few new packages installed, answer
Yes, and continue.
Again, more lines of text, showing the download of the packages, then the actual installation of packages, followed by the cleanup of the old packages.
When the upgrade finishes, you can leave the
chroot environment by issuing the command
exit.
[root@localhost /]# exit <Enter>
The prompt will again change;
[root@localhost ~]#...indicating you are back in the
liveCD environment.
[root@localhost ~]# umount -a <Enter>
You should get a message that the
/ partition is busy. This refers to the
liveCD / partition. All the other mounts will be released, at which point you can
reboot into the
installed system.
Post your results.