Another question here. I installed Ubuntu (12.04 I thing, the ones with the LT support?), was previously using Windows 7. Now when I boot, I get the option to use Windows 7 or Ubuntu, but when I select Ubuntu nothing happens - just a black screen. I then have to power off by holding down the power switch and select Win 7?
Any ideas?

Dani AI

Generated

A black screen after selecting Ubuntu from GRUB usually points to a graphics/driver or bootloader problem rather than a need to wipe the disk. Formatting or reinstalling (as suggested by and echoed by /) is a last resort. 's USB idea is useful for rescue and recovery, and is correct to focus attention on GRUB/boot management.

Try these diagnostic steps (non-destructive) in order:

  • At the GRUB menu edit the Ubuntu entry (press e), remove quiet splash and add nomodeset, then boot (Ctrl+X). If the desktop appears, install the correct proprietary video driver for the GPU and then remove nomodeset.
  • If the screen is black but a text console is available, switch with Ctrl+Alt+F1. Check the GPU and X logs to see what failed.
lspci -nnk | grep -i -A3 vga
sudo less /var/log/Xorg.0.log
dmesg | less
  • If GRUB itself looks wrong or Ubuntu was installed in a different mode than Windows (BIOS vs UEFI), boot a live USB (as suggested by ), mount the installed root partition and reinstall GRUB from a chroot:
sudo mount /dev/sdaX /mnt        # replace sdaX with Ubuntu root
sudo mount --bind /dev /mnt/dev
sudo mount --bind /proc /mnt/proc
sudo mount --bind /sys /mnt/sys
sudo chroot /mnt
grub-install /dev/sda
update-grub
exit

Replace device names carefully. If nomodeset fixes the boot, use "Software & Updates -> Additional Drivers" to install the correct driver and then update /etc/default/grub and run sudo update-grub to remove temporary boot flags. If hardware is newer, note that Ubuntu 12.04 is long out of support; testing a current supported LTS from a live USB often resolves driver/compatibility issues without reinstalling.

Recommended Answers

All 7 Replies

I ges u have to format your machine n remove vwindow 7 completely that u b able to boot on Ubuntu automaticaly

Yea @mat1998x that wiil do also

Who is managing your boot? During the ubuntu install, you were given the option of installing GRUB. What did you pick here?

Here the full tutorial
https://www.youtube.com/watch?v=FmN4Pj3VWpc

It worked for me I am using Windows 7 and ubuntu 12.04
If you have already installed ubuntu incorrectly, format the part of the hardisk reserved for ubuntu and follow the steps in the video :)

Good Luck

reinstall ubuntu...

I am using ubuntu 12.04 and windows 7

reinstall ubuntu it will work properly

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.