Getting Started
To enter in Recovery Mode under Ubuntu, reboot your system and hold down the Shift key to bring up the GRUB boot menu. When it shows up, select the line saying Ubuntu, with Linux 3.8.0-32-generic (recovery mode)
and press Enter.
Wait a few seconds and another menu will appear. Select network Enable networking
using your keyboard ↓ arrow key and press Enter to enable your internet connection.
In the next screen, select Yes and press Enter.
Select now root Drop to root shell prompt
and press Enter.
You are now in CLI mode, update your system firstly using following command:
$ sudo apt-get update && sudo apt-get upgrade
If you can not connect to the network
Dynamic IP Address Assignment (DHCP Client)
$ sudo vim /etc/network/interfaces
The example below assumes you are configuring your first Ethernet interface identified as eth0.
$ auto eth0 $ iface eth0 inet dhcp
Or get address by this command
$ sudo dhclient eth0
Static IP Address Assignment
$ sudo nano /etc/network/interfaces
The example below assumes you are configuring your first Ethernet interface identified as eth0. Change the address, netmask, and gateway values to meet the requirements of your network.
auto eth0 iface eth0 inet static address 10.0.0.100 netmask 255.255.255.0 gateway 10.0.0.1
Name Resolution
Name resolution as it relates to IP networking is the process of mapping IP addresses to hostnames, making it easier to identify resources on a network. The following section will explain how to properly configure your system for name resolution using DNS and static hostname records.
DNS Client Configuration
$ sudo nano /etc/resolv.conf
Below is an example of a typical configuration of /etc/resolv.conf
for a server on the domain example.com
and using two public DNS servers.
$ search example.com nameserver 8.8.8.8 nameserver 8.8.4.4
Restart Network
$ sudo /etc/init.d/networking restart $ sudo apt-get install gnome
Then select Resume normal boot
to start your system in normal mode. I hope you find this tutorial useful.