Friday, May 10, 2024
 Popular · Latest · Hot · Upcoming
1
rated 0 times [  1] [ 0]  / answers: 1 / hits: 11396  / 2 Years ago, tue, october 4, 2022, 9:42:34

Basically I've tried dual-booting ubuntu with windows 10 and when I try to boot ubuntu I get stuck with the message: /dev/sda8: clean, 201385/4890624 files, 2235266/19531008 blocks - I am able to then press alt+f2 to login get to the following screen:screen after pressing alt+f2 and inputting login


If in the grub menu I choose to boot ubuntu in recovery mode I can press the resume boot option which then always me to boot ubuntu. If anyone knows how to fix this issue it would be greatly appreciated, some things I've tried already are updating the display manager, tried changing nvidia drivers but for some reason it will not let me.


More From » dual-boot

 Answers
6

It sounds like you're experiencing some nvidia/display driver issues as you mentioned.
9 out of 10 times when this happens it's a bad driver or a corrupt file system.
If Ubuntu is not declaring to run in a read-only file system when you booted or when you try to auto-complete commands from the commandline for example, then its most likely an nvidia issue.


since you have nvidia and a laptop, I'm going to assume it has an intel processor.
that makes it so that you need to use nvidia optimus to twitch between the performance and discreet modes of the dedicated GPU. It also means that probably the reason the OS is stuck on a regular boot and not the recovery mode is because the recovery mode uses the nouveau drivers (propietary intel display drivers)
and while they boot more easily, they are also very bad to use, especially when you have an nvidia card.


I cannot derive from the context of your problem if the ubuntu install has worked in the past and it broke, or it has been broken since installing, but I would suggest the following:


sudo apt-get install linux-headers-generic
sudo dkms remove nvidia
sudo apt-get install nvidia-current
sudo nvidia-xconfig
sudo reboot

if this does not solve the problem, first correctly install nouveau drivers, reboot so you have working graphical user interface like normal, do the steps outlined above (or install the nvidia drivers with software center, but I recommend terminal, it will actually show what is going wrong during the install and software center does not show you.) that will install nvidia drivers.
after that you can blacklist the nouveau drivers.


alternatively, you can add nvidia Xorg server (the nvidia settings app for ubuntu)
to start with an additional argument so it always boots on performance mode.
might be useful if you play games. if not then maybe you could use power saving mode by default.


install nouveau:


sudo apt-get install xserver-xorg-video-nouveau

Realistically you should be able to reboot into normal ubuntu now.
now from terminal again do a:


gksu gedit

From the gedit open /etc/modprobe.d/blacklist.conf.


Add this line at the bottom: blacklist nouveau


Save the file, and open /etc/modprobe.d/nvidia-graphics-drivers.conf


Add these lines:

blacklist nouveau
blacklist lbm-nouveau
blacklist nvidia-173
blacklist nvidia-96
alias nvidia nvidia-current

Now save this file, and close gedit.
Run:


sudo nvidia-xconfig
and then:
sudo apt-get remove xserver-xorg-video-nouveau
followed by:
sudo shutdown -r now

Check drivers in use for search term "VGA". This should display both intel and nvidia (unless you remove nouveau, ofc.)


lspci -k | grep -A 2 -i "VGA"

[#2119] Thursday, October 6, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
tocklftime

Total Points: 110
Total Questions: 109
Total Answers: 100

Location: Mayotte
Member since Mon, Sep 12, 2022
2 Years ago
tocklftime questions
;