assuming that /dev/sda1 is the root partition:
Code:
sudo mkdir /mnt/ubuntu
sudo mount /dev/sda1 /mnt/ubuntu
sudo mount --bind /dev/ /mnt/ubuntu/dev
sudo mount --bind /dev/pts /mnt/ubuntu/dev/pts
sudo mount -t proc none /mnt/ubuntu/proc
sudo mount -t sysfs none /mnt/ubuntu/sys
sudo mount -o bind /etc/resolv.conf /mnt/ubuntu/etc/resolv.conf
EDIT3:
Code:
sudo chroot /mnt/ubuntu
run:
go to File -> Save Marking As..., select the Save full state, not only changes check box and save the markings in the root ("/") of the filesystem.
EDIT1: you can try to reinstall the kernel via synaptic.
EDIT2: to reinstall grub:
Code:
update-grub
grub-install /dev/sda
sudo grub-install --recheck /dev/sda
replace sda with the actual device name.
for more details see: https://help.ubuntu.com/community/Gr...ng from LiveCD
exit from the chroot:
backup the file:
Code:
sudo cp /mnt/ubuntu/filename /media/partition
Bookmarks