You are not logged in.

#1 2014-10-12 23:22:37

stevenmw
Banned
Registered: 2014-10-12
Posts: 48

[SOLVED] Grub config won't update after a kernel upgrade

So I updated my kernel to 3.16-4 by accident. So I tried to update my grub config with

grub-mkconfig -o /boot/grub/grub.cfg

It saw my images but I kept getting the error

/proc/devices/ No entry for device-mapper found

So I rebooted anyway. Then when I get into my tty and it says

Arch Linux 3.16.3-1-ARCH (tty1)

Updating the kernel broke my GUI and my machine couldn't see any Ethernet interfaces. So I downgraded and everything worked fine. Then I figured I'd try to upgrade to 3.17 but I get the exact same issue explained above.
Any idea how to upgrade and get past these issues?

Last edited by stevenmw (2014-11-06 16:40:22)

Offline

#2 2014-10-13 12:16:25

mrunion
Member
From: Jonesborough, TN
Registered: 2007-01-26
Posts: 1,938
Website

Re: [SOLVED] Grub config won't update after a kernel upgrade

It seems that maybe your /boot partition is not being mounted when you update the Kernel? Are you using a UEFI system and Grub?


Matt

"It is very difficult to educate the educated."

Offline

#3 2014-10-13 12:30:07

stevenmw
Banned
Registered: 2014-10-12
Posts: 48

Re: [SOLVED] Grub config won't update after a kernel upgrade

I'm using legacy.

Offline

#4 2014-10-14 09:49:34

stevenmw
Banned
Registered: 2014-10-12
Posts: 48

Re: [SOLVED] Grub config won't update after a kernel upgrade

Solved. I'm assuming something was wrong with my fstab file and my boot partition wasn't mounted during the upgrade.. I just re installed Arch in order to reconfigure everything.

Last edited by stevenmw (2014-10-14 10:06:29)

Offline

#5 2014-10-14 10:00:45

HiImTye
Member
From: Halifax, NS, Canada
Registered: 2012-05-09
Posts: 1,072

Re: [SOLVED] Grub config won't update after a kernel upgrade

stevenmw wrote:

Solved

how did you solve it? remember, help is a two way street. if you want assistance here, then you should also add whatever solution you happen to come across, so that others may benefit from your experience if they encounter the same or similar problems down the road.

Offline

#6 2014-10-14 10:08:01

stevenmw
Banned
Registered: 2014-10-12
Posts: 48

Re: [SOLVED] Grub config won't update after a kernel upgrade

Solution above.

Last edited by stevenmw (2014-10-14 10:08:41)

Offline

#7 2014-10-14 14:27:01

stevenmw
Banned
Registered: 2014-10-12
Posts: 48

Re: [SOLVED] Grub config won't update after a kernel upgrade

This may be more of an actual solution. I did a fresh install and everything worked fine with the 3.16-4 kernel so I wanted to know if updating to 3.17 would give me the same error as in the original post. It did. Here is what happened

I enabled the testing repo (instructions can be found here; https://wiki.archlinux.org/index.php/of … s#testing)

I ran pacman -Syyu in order to update everything, then I rebooted and got the exact same problem as in my original post

So I downgraded the kernel back to 3.16-4 (instructions here; https://wiki.archlinux.org/index.php/do … _packages)

Then I rebooted and ran pacman-Syyu again, but didn't restart so I could utilize my connection.

Then I tried to update my grub.cfg with grub-mkconfig -o /boot/grub/grub.cfg

But I was told that the file or folder didn't exist. So I ran ls /boot and my /grub folder was gone

So I re-installed grub and then ran grub-mkconfig -o /boot/grub/grub.cfg which gave me a no device mapper found error

I restarted and the update had been successful, so I ran grub-mkconfig -o /boot/grub/grub.cfg one more time because I read that the no device mapper error was harmless. This time I didn't get a single error, and the config generated just fine.

I pinged Google and all was well. Then In installed everything I needed for XFCE and it all worked great.

I guarantee something is wrong in my setup since I had to reinstall grub and the changes  didn't just happen when rebooting, but I don't know how to narrow it down. Probably something wrong with my /boot partition. Really strange that just running pacman -Syyu and rebooting wasn't enough. i always thought you needed to update your boot menu when upgrading the kernel but from what I hear, you shouldn't have to.

Last edited by stevenmw (2014-10-14 15:31:24)

Offline

#8 2014-10-14 15:17:20

gregster
Member
Registered: 2014-10-14
Posts: 1

Re: [SOLVED] Grub config won't update after a kernel upgrade

HiImTye wrote:
stevenmw wrote:

Solved

how did you solve it? remember, help is a two way street. if you want assistance here, then you should also add whatever solution you happen to come across, so that others may benefit from your experience if they encounter the same or similar problems down the road.


Hahaha! This OP got one resposne that was really just somethign to try. Sure they pointed the OP in the right direction, but this topic has 193 views and no one really helped the OP. But as soon as the OP mentioned what they looked at as not really a solution to the problem, but a fix to the issue... HilmType swoops in wanting that solution. haha no one helped OP but as soon as he resolves the issue, vultures swoop in to get that solution! "Help is a two way street." hahaha Come one HilmType. While this it true, no one really helped.

Last edited by gregster (2014-10-14 15:23:56)

Offline

#9 2014-10-14 20:38:25

Xyne
Forum Fellow
Registered: 2008-08-03
Posts: 6,965
Website

Re: [SOLVED] Grub config won't update after a kernel upgrade

gregster wrote:

Hahaha! This OP got one resposne that was really just somethign to try. Sure they pointed the OP in the right direction, but this topic has 193 views and no one really helped the OP. But as soon as the OP mentioned what they looked at as not really a solution to the problem, but a fix to the issue... HilmType swoops in wanting that solution. haha no one helped OP but as soon as he resolves the issue, vultures swoop in to get that solution! "Help is a two way street." hahaha Come one HilmType. While this it true, no one really helped.

So 193 people viewed the thread but no one had a solution. Among those 193 someone had the same or a similar problem and requested the solution. If he had the solution to begin with, before OP re-installed, he would likely have shared it.

Your remarks are logically flawed and contribute nothing to this thread. I consider your post trollish and I ask that you refrain from making such vapid remarks again.


My Arch Linux StuffForum EtiquetteCommunity Ethos - Arch is not for everyone

Offline

#10 2014-10-14 23:07:59

HiImTye
Member
From: Halifax, NS, Canada
Registered: 2012-05-09
Posts: 1,072

Re: [SOLVED] Grub config won't update after a kernel upgrade

gregster wrote:

Hahaha! This OP got one resposne that was really just somethign to try. Sure they pointed the OP in the right direction, but this topic has 193 views and no one really helped the OP. But as soon as the OP mentioned what they looked at as not really a solution to the problem, but a fix to the issue... HilmType swoops in wanting that solution. haha no one helped OP but as soon as he resolves the issue, vultures swoop in to get that solution! "Help is a two way street." hahaha Come one HilmType. While this it true, no one really helped.

the solution doesn't apply to me, as I don't have the problem. I just think that it's nice to offer a solution that you come up with yourself, as I have done on several of the threads I've made here.

Offline

Board footer

Powered by FluxBB