Ubuntu 18.04 cannot boot after installing the NVIDIA driver
I tried to install Nvidia driver on my Alienware 17 R4 laptop with GTX 1070. However, I cannot boot the computer and it always stuck on a purple screen before logging in. What I can do is just to log in single user mode and remove the driver.
I have tried several versions, including 410.78, 410.93, 390. I am really grateful if someone can help me.
drivers nvidia
New contributor
add a comment |
I tried to install Nvidia driver on my Alienware 17 R4 laptop with GTX 1070. However, I cannot boot the computer and it always stuck on a purple screen before logging in. What I can do is just to log in single user mode and remove the driver.
I have tried several versions, including 410.78, 410.93, 390. I am really grateful if someone can help me.
drivers nvidia
New contributor
Try recovery mode.
– Vijay
2 days ago
I tried, but it doesn't work. It still stuck.
– YHLi
2 days ago
How did you install NVIDIA driver, from the GUI Additional Drivers or some other method?
– Vijay
2 days ago
add a comment |
I tried to install Nvidia driver on my Alienware 17 R4 laptop with GTX 1070. However, I cannot boot the computer and it always stuck on a purple screen before logging in. What I can do is just to log in single user mode and remove the driver.
I have tried several versions, including 410.78, 410.93, 390. I am really grateful if someone can help me.
drivers nvidia
New contributor
I tried to install Nvidia driver on my Alienware 17 R4 laptop with GTX 1070. However, I cannot boot the computer and it always stuck on a purple screen before logging in. What I can do is just to log in single user mode and remove the driver.
I have tried several versions, including 410.78, 410.93, 390. I am really grateful if someone can help me.
drivers nvidia
drivers nvidia
New contributor
New contributor
edited 2 days ago
DK Bose
13.2k123983
13.2k123983
New contributor
asked 2 days ago
YHLiYHLi
61
61
New contributor
New contributor
Try recovery mode.
– Vijay
2 days ago
I tried, but it doesn't work. It still stuck.
– YHLi
2 days ago
How did you install NVIDIA driver, from the GUI Additional Drivers or some other method?
– Vijay
2 days ago
add a comment |
Try recovery mode.
– Vijay
2 days ago
I tried, but it doesn't work. It still stuck.
– YHLi
2 days ago
How did you install NVIDIA driver, from the GUI Additional Drivers or some other method?
– Vijay
2 days ago
Try recovery mode.
– Vijay
2 days ago
Try recovery mode.
– Vijay
2 days ago
I tried, but it doesn't work. It still stuck.
– YHLi
2 days ago
I tried, but it doesn't work. It still stuck.
– YHLi
2 days ago
How did you install NVIDIA driver, from the GUI Additional Drivers or some other method?
– Vijay
2 days ago
How did you install NVIDIA driver, from the GUI Additional Drivers or some other method?
– Vijay
2 days ago
add a comment |
1 Answer
1
active
oldest
votes
Try removing NVIDIA by booting into live USB/DVD.
Boot from live DVD or USB drive (installation DVD/USB) and choose "Try Ubuntu".
Mount the partition your Ubuntu Installation is on. If you are not sure which it is, launch GParted (included in the Live CD)
or. Open a terminal (Ctrl+Alt+T) and use the following command:
sudo fdisk -l
and find out. It is usually a EXT4 Partition. Replace the XX with the drive letter, and partition number, for example: sudo mount /dev/sda1 /mnt.
sudo mount /dev/sdXX /mnt
sudo mount /dev/sdXY /mnt/boot #if separate boot partition
Note : sdX = disk | sdXX = system partition | sdXY = boot partition
Now bind the directories that are needed to access and detect other operating systems.
sudo mount --bind /dev /mnt/dev &&
sudo mount --bind /dev/pts /mnt/dev/pts &&
sudo mount --bind /proc /mnt/proc &&
sudo mount --bind /sys /mnt/sys
Now chroot.
sudo chroot /mnt
Now remove NVIDIA
apt remove --purge nvidia-*
apt install ubuntu-desktop
echo 'nouveau' | tee -a /etc/modules
apt install ubuntu-desktop
If network problem
echo "nameserver 8.8.8.8" >/etc/resolv.conf
Now unmount as follows
exit &&
sudo umount /mnt/sys &&
sudo umount /mnt/proc &&
sudo umount /mnt/dev/pts &&
sudo umount /mnt/dev &&
sudo umount /mnt
Shut down and turn on your computer again without installation DVD/USB.
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "89"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
YHLi is a new contributor. Be nice, and check out our Code of Conduct.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1107092%2fubuntu-18-04-cannot-boot-after-installing-the-nvidia-driver%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
Try removing NVIDIA by booting into live USB/DVD.
Boot from live DVD or USB drive (installation DVD/USB) and choose "Try Ubuntu".
Mount the partition your Ubuntu Installation is on. If you are not sure which it is, launch GParted (included in the Live CD)
or. Open a terminal (Ctrl+Alt+T) and use the following command:
sudo fdisk -l
and find out. It is usually a EXT4 Partition. Replace the XX with the drive letter, and partition number, for example: sudo mount /dev/sda1 /mnt.
sudo mount /dev/sdXX /mnt
sudo mount /dev/sdXY /mnt/boot #if separate boot partition
Note : sdX = disk | sdXX = system partition | sdXY = boot partition
Now bind the directories that are needed to access and detect other operating systems.
sudo mount --bind /dev /mnt/dev &&
sudo mount --bind /dev/pts /mnt/dev/pts &&
sudo mount --bind /proc /mnt/proc &&
sudo mount --bind /sys /mnt/sys
Now chroot.
sudo chroot /mnt
Now remove NVIDIA
apt remove --purge nvidia-*
apt install ubuntu-desktop
echo 'nouveau' | tee -a /etc/modules
apt install ubuntu-desktop
If network problem
echo "nameserver 8.8.8.8" >/etc/resolv.conf
Now unmount as follows
exit &&
sudo umount /mnt/sys &&
sudo umount /mnt/proc &&
sudo umount /mnt/dev/pts &&
sudo umount /mnt/dev &&
sudo umount /mnt
Shut down and turn on your computer again without installation DVD/USB.
add a comment |
Try removing NVIDIA by booting into live USB/DVD.
Boot from live DVD or USB drive (installation DVD/USB) and choose "Try Ubuntu".
Mount the partition your Ubuntu Installation is on. If you are not sure which it is, launch GParted (included in the Live CD)
or. Open a terminal (Ctrl+Alt+T) and use the following command:
sudo fdisk -l
and find out. It is usually a EXT4 Partition. Replace the XX with the drive letter, and partition number, for example: sudo mount /dev/sda1 /mnt.
sudo mount /dev/sdXX /mnt
sudo mount /dev/sdXY /mnt/boot #if separate boot partition
Note : sdX = disk | sdXX = system partition | sdXY = boot partition
Now bind the directories that are needed to access and detect other operating systems.
sudo mount --bind /dev /mnt/dev &&
sudo mount --bind /dev/pts /mnt/dev/pts &&
sudo mount --bind /proc /mnt/proc &&
sudo mount --bind /sys /mnt/sys
Now chroot.
sudo chroot /mnt
Now remove NVIDIA
apt remove --purge nvidia-*
apt install ubuntu-desktop
echo 'nouveau' | tee -a /etc/modules
apt install ubuntu-desktop
If network problem
echo "nameserver 8.8.8.8" >/etc/resolv.conf
Now unmount as follows
exit &&
sudo umount /mnt/sys &&
sudo umount /mnt/proc &&
sudo umount /mnt/dev/pts &&
sudo umount /mnt/dev &&
sudo umount /mnt
Shut down and turn on your computer again without installation DVD/USB.
add a comment |
Try removing NVIDIA by booting into live USB/DVD.
Boot from live DVD or USB drive (installation DVD/USB) and choose "Try Ubuntu".
Mount the partition your Ubuntu Installation is on. If you are not sure which it is, launch GParted (included in the Live CD)
or. Open a terminal (Ctrl+Alt+T) and use the following command:
sudo fdisk -l
and find out. It is usually a EXT4 Partition. Replace the XX with the drive letter, and partition number, for example: sudo mount /dev/sda1 /mnt.
sudo mount /dev/sdXX /mnt
sudo mount /dev/sdXY /mnt/boot #if separate boot partition
Note : sdX = disk | sdXX = system partition | sdXY = boot partition
Now bind the directories that are needed to access and detect other operating systems.
sudo mount --bind /dev /mnt/dev &&
sudo mount --bind /dev/pts /mnt/dev/pts &&
sudo mount --bind /proc /mnt/proc &&
sudo mount --bind /sys /mnt/sys
Now chroot.
sudo chroot /mnt
Now remove NVIDIA
apt remove --purge nvidia-*
apt install ubuntu-desktop
echo 'nouveau' | tee -a /etc/modules
apt install ubuntu-desktop
If network problem
echo "nameserver 8.8.8.8" >/etc/resolv.conf
Now unmount as follows
exit &&
sudo umount /mnt/sys &&
sudo umount /mnt/proc &&
sudo umount /mnt/dev/pts &&
sudo umount /mnt/dev &&
sudo umount /mnt
Shut down and turn on your computer again without installation DVD/USB.
Try removing NVIDIA by booting into live USB/DVD.
Boot from live DVD or USB drive (installation DVD/USB) and choose "Try Ubuntu".
Mount the partition your Ubuntu Installation is on. If you are not sure which it is, launch GParted (included in the Live CD)
or. Open a terminal (Ctrl+Alt+T) and use the following command:
sudo fdisk -l
and find out. It is usually a EXT4 Partition. Replace the XX with the drive letter, and partition number, for example: sudo mount /dev/sda1 /mnt.
sudo mount /dev/sdXX /mnt
sudo mount /dev/sdXY /mnt/boot #if separate boot partition
Note : sdX = disk | sdXX = system partition | sdXY = boot partition
Now bind the directories that are needed to access and detect other operating systems.
sudo mount --bind /dev /mnt/dev &&
sudo mount --bind /dev/pts /mnt/dev/pts &&
sudo mount --bind /proc /mnt/proc &&
sudo mount --bind /sys /mnt/sys
Now chroot.
sudo chroot /mnt
Now remove NVIDIA
apt remove --purge nvidia-*
apt install ubuntu-desktop
echo 'nouveau' | tee -a /etc/modules
apt install ubuntu-desktop
If network problem
echo "nameserver 8.8.8.8" >/etc/resolv.conf
Now unmount as follows
exit &&
sudo umount /mnt/sys &&
sudo umount /mnt/proc &&
sudo umount /mnt/dev/pts &&
sudo umount /mnt/dev &&
sudo umount /mnt
Shut down and turn on your computer again without installation DVD/USB.
edited 2 days ago
Kulfy
3,63341139
3,63341139
answered 2 days ago
VijayVijay
1,438618
1,438618
add a comment |
add a comment |
YHLi is a new contributor. Be nice, and check out our Code of Conduct.
YHLi is a new contributor. Be nice, and check out our Code of Conduct.
YHLi is a new contributor. Be nice, and check out our Code of Conduct.
YHLi is a new contributor. Be nice, and check out our Code of Conduct.
Thanks for contributing an answer to Ask Ubuntu!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1107092%2fubuntu-18-04-cannot-boot-after-installing-the-nvidia-driver%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Try recovery mode.
– Vijay
2 days ago
I tried, but it doesn't work. It still stuck.
– YHLi
2 days ago
How did you install NVIDIA driver, from the GUI Additional Drivers or some other method?
– Vijay
2 days ago