Hi Neil...HUGE thanks for your help on this. I ended up booting via the
stick I made & was able to to an upgrade from the stick. Turns out the
OS that was on there was 16.04.3, so was older then I thought. I was
able to update to 17.10 & data seems to have been retained which is a
HUGE bonus. Haven't checked everything but if I have to
re-install/update a couple applications who cares.
Thanks again!
On 2018-01-05 09:09 PM, Neil Mayhew wrote:
A mountpoint is the directory that a partition appears as when mounted.
If you mount the root partition using the GUI in the live system it will
be something like `/run/media/ubuntu/root`. If you open a file manager
window on it, you can drag it's icon to the terminal window to paste the
path into the command line. You can also check by looking at the output
of running `mount` (with no arguments). The mounted device will most
likely be `/dev/sda1` or `/dev/sda2` and the mountpoint will be the
directory name that follows the word "on". So look for line that begins
with `/dev/sda` something. The commands you run will then be something like:
sudo apt-get -o RootDir=/run/media/ubuntu/root update
sudo apt-get -o RootDir=/run/media/ubuntu/root dist-upgrade
I recommend trying this before trying to update to an entirely newer
version of the OS.
If you get the wrong partition mounted (eg if you have a separate boot
partition) `apt-get` will complain and not do anything.
On 2018-01-05 06:40 PM, TekBudda wrote:
Hi Neil...thanks for letting me know that. I actually didn't even
think of trying to recover via USB until I started writing the email.
And have finished downloading the ISO. Working on a boot stick here
shortly. But one question...in the Live USB, what would I choose as
the mountpoint? Woudl it be the root of the drive or is there
someplace else I should choose. And will it specify the mountpoint
name? Never done this before. Will see if I can find some
instructions, but soemtimes you don't know what to look for...because
you don't know what you are looking for. LOL
On 1/5/2018 5:52 PM, Neil Mayhew wrote:
On 2018-01-05 05:19 PM, TekBudda wrote:
I am not sure if it is possible to run updates (that will likely fix
the issue) on the installed system from a Live USB or not.
Yes, it is. Various places on the web say you can mount the internal
drive and then use `sudo apt-get -o RootDir=MOUNTPOINT` to do
`update`, `dist-upgrade` and so on. However, I haven't tried this
myself yet.
It's also possible to do full-on chroot, with `sudo chroot
MOUNTPOINT` and then run `apt-get` as normal. However, for this to
work well you should also bind-mount some virtual filesystems such as
`/proc` and `/sys` onto the relevant places in the internal drive. I
can give instructions for this if the `-o RootDir` approach doesn't work.
_______________________________________________
clug-talk mailing list
clug-talk@clug.ca
http://clug.ca/mailman/listinfo/clug-talk_clug.ca
Mailing List Guidelines (http://clug.ca/ml_guidelines.php)
**Please remove these lines when replying
_______________________________________________
clug-talk mailing list
clug-talk@clug.ca
http://clug.ca/mailman/listinfo/clug-talk_clug.ca
Mailing List Guidelines (http://clug.ca/ml_guidelines.php)
**Please remove these lines when replying
_______________________________________________
clug-talk mailing list
clug-talk@clug.ca
http://clug.ca/mailman/listinfo/clug-talk_clug.ca
Mailing List Guidelines (http://clug.ca/ml_guidelines.php)
**Please remove these lines when replying