Comment 7 for bug 512253

Revision history for this message
Alecz20 (alexguzu) wrote :

Here is a workaround for this problem:

If this happened to you and you cannot boot (and maybe you have a server without a CD-ROM drive), here is what you have to do to recover your system:

- When GRUB menu appears (press ESC to prevent it from trying to boot), select any line and press 'e' for Edit.
- Then, select the second line (the one that has 'kernel' at the beginning), and make the following changes:
- replace 'ro' with 'rw' so you can read and write in the file-system
- add 'init=/bin/bash' at the end of the line
- Press Enter (so that the line is saved)
- Press 'b' to boot.

You will now be able to 'nano /etc/network/interfaces' and fix the file.
- After you fix the file, press "Ctrl + Alt + Del"

The changes you made in GRUB will NOT be saved for further boots, so you don't need to do anything to GRUB after this.

Hope this helps.