Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I am working on a kernel panic issue.

As Ubuntu is very reliant on internet, I am currently investigating how to connect to internet when choosing recovery mode. Even in my healthy 11.10 system it doesnt work (nor wireless, nor wired). I ticked for both cases available for all users.

Normally, in recovery mode the netroot option should give you access to the internet, but no joy. Any idea?

share|improve this question
    
If you just want to enable wireless in recovery it's covered here askubuntu.com/questions/104066/… ... –  hbdgaf Mar 31 '12 at 19:17

1 Answer 1

When you boot to recovery mode you should get an option to drop to a root shell with networking , netroot

netroot

I do not know what problem you are having, but sometimes it is easier to use the live CD.

https://help.ubuntu.com/community/LiveCdRecovery

If needed you can use chroot to access / update your root partition.

Assuming your ubuntu partition is as /dev/sda1 (you may need to mount /home and/or /boot if you have separate /home or /boot partitions) ...

sudo mount /dev/sda1 /mnt
# If needed
sudo mount /dev/sda2 /mnt/boot

sudo cp /etc/resolv.conf /mnt/etc/
sudo cp /etc/hosts mnt/etc/

sudo mount --bind /dev/ /mnt/dev

sudo chroot /mnt

mount -t proc none /proc
mount -t sysfs none /sys
mount -t devpts none /dev/pts

You should now have root access to your ubuntu root partition.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.