Wednesday, May 1, 2024
 Popular · Latest · Hot · Upcoming
0
rated 0 times [  0] [ 0]  / answers: 1 / hits: 4877  / 2 Years ago, tue, january 25, 2022, 10:26:07

I installed ubuntu from wubi using a live cd but when i booted i just got a black screen so i followed the instructions from this forum http://ubuntuforums.org/showpost.php?p=10089820&postcount=8 which successfully completed the ubuntu installation but now when i boot ubuntu i just get a command prompt. when i type in startx it comes up with an error. I am told i need to install graphics drivers, how do i do this?
Thanks in advance
Ryan


More From » drivers

 Answers
3

(If you installed from Wubi and need to start recovery mode with nomodeset this could do the trick:
To make ubuntu boot with 'nomodeset' all the time you have to edit a wubi file inside Windows. In Windows open the file 'ubuntuinstallwubildr-disk.cfg' in WordPad
It'll look like this:
loopback loop0 /ubuntu/disks/root.disk
set root=(loop0)
search --set=diskroot -f -n /ubuntu/disks/root.disk
probe --set=diskuuid -u $diskroot
linux /vmlinuz root=UUID=$diskuuid loop=/ubuntu/disks/root.disk preseed/file=/ubuntu/install/preseed.cfg wubi-diskimage ro quiet splash
initrd /initrd.img
boot
On the line that starts with 'linux /vmlinuz root=UUID=$diskuuid....' you have to add nomodeset after 'quiet splash'. Save this file and reboot. )



Boot into Recovery mode, select option 'remount'. Drop into a root shell with network access (the 'netroot' option)



From the command line interface please type the following commands to install the newest amd driver:



login


(Just to make sure you are logged in as user not as root)



sudo apt-get remove --purge xorg-driver-fglrx fglrx*
sudo apt-get remove --purge fglrx*
sudo apt-get install build-essential cdbs fakeroot dh-make debhelper debconf libstdc++6 dkms libqtgui4 wget execstack libelfg0 dh-modaliases
sudo apt-get install --reinstall xserver-xorg-core libgl1-mesa-glx libgl1-mesa-dri
sudo dpkg-reconfigure xserver-xorg


This is just to make sure nothing you did prior to this walkthrough will corrupt the outcome.



cd ~/Downloads
wget --referer=http://support.amd.com radeon-crimson-15.12-15.302-151217a-297685e.zip
unzip radeon-crimson-15.12-15.302-151217a-297685e.zip
cd fglrx-15.302
sudo chmod +x amd-driver-installer-15.302-x86.x86_64.run
sudo sh amd-driver-installer-15.302-x86.x86_64.run


The installer will guide you through the installation, after it's done type:



sudo amdconfig --initial
sudo reboot


Your system should now boot up fine with a graphical interface


[#39422] Wednesday, January 26, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
rmiend

Total Points: 292
Total Questions: 101
Total Answers: 111

Location: Azerbaijan
Member since Tue, Aug 9, 2022
2 Years ago
;