PDA

View Full Version : Boot into recovery mode and turn on networking?



UserJB
July 4th, 2016, 07:08 PM
Is it possible to boot into recovery mode and turn on networking so that I can install packages with apt-get? If so, how can I turn on networking from recovery mode?

So far, I can boot into recovery mode, and I'm trying to run apt-get update or apt-get upgrade or even install the nvidia drivers, but networking is off so that doesn't work.

ajgreeny
July 4th, 2016, 09:05 PM
Do you have a connection problem when booting normally into the normal desktop, or is this just a recovery-mode problem, and if so, why are you needing recovery-mode?

If you can not get a connection in normal boots tell us more about your hardware and whether wifi or cable ethernet connection.

UserJB
July 4th, 2016, 09:16 PM
The problem I'm having is that when I boot Ubuntu 16.04, the display is broken: icons are flashing, and I can't do anything.

I was looking at recovery mode because I wanted to get at a command-line so I could install a new display driver.

I was able to solve this in another way: by typing ALT+CTRL+F1: that got me to a login prompt.

steeldriver
July 4th, 2016, 09:32 PM
Is there no longer a "root shell with networking" in the boot menu? As seen here http://askubuntu.com/a/95268/178692

grahammechanical
July 4th, 2016, 11:50 PM
Recovery mode has an option called Network - Enable networking. It will use the information in network manager to make a connection to the router. It will also put the file system (Ubuntu partition) in read/write mode and then come back to the recovery menu where we can select Root - drop to root shell prompt.

And with the file system in read/write mode we can make changes to the system such as purging and installing proprietary video drivers. To come out of root shell prompt type "exit" and press enter. Then, when back at the recovery menu select "resume."

At this point the video drivers have not been loaded. They have been by-passed. So, expect the system to be using a fall back open source video driver called llvmpipe with a lower screen resolution. It takes a restart to load the standard open source video driver or an installed proprietary video driver and run Ubuntu with the optimum screen resolution.

Regards.

kansasnoob
July 5th, 2016, 12:13 AM
Is there no longer a "root shell with networking" in the boot menu? As seen here http://askubuntu.com/a/95268/178692

The devs blew that up a long time ago.

ajgreeny
July 5th, 2016, 11:07 AM
Great!

Assuming this really is solved for you please mark as SOLVED from the Thread Tools menu up-top. It is a great help to users searching the forum.