**EDIT** This is a culmination of the information in this thread that has helped people boot. I compiled it together to make things easier (how bout that- compiling makes things easier for once, eh?)
Load a liveCD. Open a terminal and run:
Code:
and determine what partition 10.04 is installed on. Then, mount that partition. Assuming your / (root) partition is /dev/sda1:sudo fdisk -l
Then open nautilus as root:sudo mount /dev/sda1 /mnt
Then, navigate to /etc/default/grub and open it. Look for the line that says:gksudo nautilus /
Code:
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
(or whatever it says inside the " ") and change it to:
Code:
(For nvidia)
GRUB_CMDLINE_LINUX_DEFAULT="nomodeset"
(for intel)
GRUB_CMDLINE_LINUX_DEFAULT="i915.modeset=0"
Save and close.
Then, chroot into the system as follows:
Then, check out dino99's suggestions (you will be able to do them assuming the liveCD is connected to the internet):sudo mount --bind /dev /mnt/dev
sudo mount --bind /proc /mnt/proc
sudo mount --bind /sys /mnt/sys
sudo cp /etc/resolv.conf /mnt/etc/resolv.conf
sudo chroot /mnt
Then run:Some commands to check errors and repair them:
need to open a terminal:
- if you fail to boot completly (GSF1200S Edit: Or if you make it into the liveCD) but can use the keyboard, (GSF1200S Edit: you dont need to press alt f2 in the live environment, just open a terminal) press ALT+F2 to call a terminal, then:
1) sudo dpkg --configure -a
2) sudo dpkg-reconfigure gdm
3) sudo dpkg-reconfigure plymouth
4) sudo apt-get update
5) sudo apt-get install -f
6) sudo apt-get install ubuntu-desktop (added by GSF1200S)
validate these commands one by one, if errors appear with 5): read and note what is missing or wrong:
a) if missing: sudo apt-get install "the missing package name"
b) if wrong: sudo dpkg-reconfigure "the wrong package name"
Hope that can help some of you (GSF1200S Edit: Make sure you are looking in the directory where you mounted the 10.04 install, NOT the ubuntu live CD location)
- if you can boot but have errors:
look at system --> admin -- log viewer for errors
and .Xsession-errors into /home/your user/.Xsession-errors ( . stand for hidden file, so into menu check "show hidden file"
and then close that terminal. Open another and put in:sudo update-initramfs -u
sudo update-grub2
and then restart and hopefully it will boot.sudo umount /mnt/dev
sudo umount /mnt/proc
sudo umount /mnt/sys
sudo umount /dev/sda1




Adv Reply

Bookmarks