- Joined
- May 31, 2004
I am using Ubuntu 14.04 and I accidentally edited the video configuration file with a wrong number and now Ubuntu won't boot.
I have tried using the live disk to gain access to the file and when I try to write the correction it won't let me do so because
I don't have permission. How can I gain permission?
----------------- UPDATE ----------------------------
I finally gained access to the video file from
the live cd by using the following in a terminal:
sudo mount /dev/sda1 /mnt
for i in /sys /proc /run /dev /dev/pts; do sudo mount --bind "$i" "/mnt$i"; done
sudo cp /etc/resolv.conf /mnt/etc/
sudo chroot /mnt
then I could use nautilus to navigate to /etc/X11 and edit the file
I got this info from an internet site describing how to gain access to an HD root from live cd.
I have tried using the live disk to gain access to the file and when I try to write the correction it won't let me do so because
I don't have permission. How can I gain permission?
----------------- UPDATE ----------------------------
I finally gained access to the video file from
the live cd by using the following in a terminal:
sudo mount /dev/sda1 /mnt
for i in /sys /proc /run /dev /dev/pts; do sudo mount --bind "$i" "/mnt$i"; done
sudo cp /etc/resolv.conf /mnt/etc/
sudo chroot /mnt
then I could use nautilus to navigate to /etc/X11 and edit the file
I got this info from an internet site describing how to gain access to an HD root from live cd.
Last edited: