You are not logged in.

#1 2015-09-19 05:48:47

Lucrecious
Member
Registered: 2015-09-19
Posts: 4

Arch Linux Hangs on Boot (After a bunch of errors)

I had Arch Linux set up the way I wanted on my desktop. I had Grub and was able to choose Arch Linux and it would prompt me to login, and everything was fine.

Today I was trying to get a NVIDIA 960 driver installed and failed. The error given from trying to run the .run driver was something about not being able to find the kernel header (if anyone knows what that means that'd be great).

For some reason, I thought I needed the base-devel package. So I got that package (sudo pacman -S base-devel), rebooted and now Arch Linux is having trouble starting up (I can't really screenshot it). The text scrolling down the screen says something about not being able find the mount, and that the temporary directory can't be created, and a bunch of other stuff.

I'm sorry I can't give a lot of detail, but this information just scrolls down the screen really quickly and then hangs. After the boot hangs (with a bunch of text on the screen), I can't do anything to break out of the boot error, so I restart the computer.

I hope that's enough to help me.

Thanks,
     Luca

Offline

#2 2015-09-19 06:22:44

byte
Member
From: Düsseldorf (DE)
Registered: 2006-05-01
Posts: 2,046

Re: Arch Linux Hangs on Boot (After a bunch of errors)

That's why one doesn't run external stuff as root and instead uses distribution packages (nvidia, nvidia-utils).
And no, it isn't enough, far from it.

Tell us what (URL) you downloaded, how you ran it (.bash_history), and the errors (journalctl; you might need to chroot into your system from the archiso for that).


1000

Offline

#3 2015-09-19 14:03:25

descrip
Member
Registered: 2015-03-14
Posts: 9

Re: Arch Linux Hangs on Boot (After a bunch of errors)

You can also have boot messages stay on tty1 by following this guide:

https://wiki.archlinux.org/index.php/Di … t_messages

Offline

#4 2015-09-19 15:22:21

Lucrecious
Member
Registered: 2015-09-19
Posts: 4

Re: Arch Linux Hangs on Boot (After a bunch of errors)

byte wrote:

That's why one doesn't run external stuff as root and instead uses distribution packages (nvidia, nvidia-utils).

Well that's why I'm in the Newbie Corner, I don't know about this stuff! Now that I know, I won't repeat the mistake smile


And no, it isn't enough, far from it.

Tell us what (URL) you downloaded, how you ran it (.bash_history),

Here's a timeline of what I did:

Installed some Nvidia packages.
nvidia, nvidia-lts and nvidia-libgl (all from the Arch Linux repo)

sudo pacman -S nvidia nvidia-lts nvidia-libgl

(reboot because of the nvidia package required that)

Afterwards, this is the NVIDIA driver I downloaded and ran.
http://www.nvidia.com/download/driverRe … 0279/en-us

sudo sh driver_name.run

This resulted in the: Unable to find kernel header error

Then I installed base-devel from the Arch Linux repo i.e.

sudo pacman -S base-devel

This is where I rebooted to find the Arch Linux's boot was broken.


and the errors (journalctl; you might need to chroot into your system from the archiso for that).

I tried doing this, I'm not sure if I got this totally correct, but here's to hoping.

https://github.com/Lucrecious/Arch-Boot-Errors

I didn't know of an easier way to copy information without having access to a browser, so I put the errors on a temporary repository on github.
log.txt is the entirety of the journalctl from its last boot.
log_failed.txt is journalctl but only the things that counted as an error from its last boot.

Hope this helps you help me smile

Last edited by Lucrecious (2015-09-19 15:25:39)

Offline

#5 2015-09-19 19:04:06

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Arch Linux Hangs on Boot (After a bunch of errors)

Have you read the wiki article about nvidia?

Offline

#6 2015-09-19 22:03:21

Lucrecious
Member
Registered: 2015-09-19
Posts: 4

Re: Arch Linux Hangs on Boot (After a bunch of errors)

karol wrote:

Have you read the wiki article about nvidia?

Yes, I did my best to follow the steps but ran into many problems. I think my steps clearly indicate that I was following the wiki article though (aside from the pacman -S base-devel which I found through google searches).

Offline

#7 2015-09-20 21:14:34

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Arch Linux Hangs on Boot (After a bunch of errors)

Why did you run

Lucrecious wrote:

Afterwards, this is the NVIDIA driver I downloaded and ran.
http://www.nvidia.com/download/driverRe … 0279/en-us

sudo sh driver_name.run

Offline

Board footer

Powered by FluxBB