Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
grub2-mkconfig using UUID kernel panic
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
njcwotx
Guru
Guru


Joined: 25 Feb 2005
Posts: 564
Location: Texas

PostPosted: Thu Sep 17, 2015 3:57 am    Post subject: grub2-mkconfig using UUID kernel panic Reply with quote

I updated a small solid state pc I have been running for some time.

grub updated to grub2. I did the grub2-install /dev/sda and grub2-mkconfig -o /boot/grub/grub.cfg commands.

Upon boot I am not able to find the root file system, getting the VFS kernel panic. higher up says it cant find the UUID.


I tried the GRUB_DISABLE_LINUX_UUID=true but that still didnt fix the issue. It does change root=UUID=blah to root=/dev/sda2, but the seach lines still include UUID's. Maybe this doesnt matter...

something else I noticed. I think its picking the UUID of the boot partition, not the root partition.

either way, I had this issue on another upgrade recently and the DISABLE_LINUX_UUID did the trick but its not working now. grub.cfg keeps showing up in the search line with a UUID of the boot partition.
_________________
Drinking from the fountain of knowldege.
Sometimes sipping.
Sometimes gulping.
Always thirsting.
Back to top
View user's profile Send private message
njcwotx
Guru
Guru


Joined: 25 Feb 2005
Posts: 564
Location: Texas

PostPosted: Thu Sep 17, 2015 4:33 am    Post subject: Reply with quote

OK, this is weird, but after several retries, the old kernel works again. Didnt for several go arounds, but it took this time, at least on old kernel. I still have to figure out why new one vfs's, but at least I can stop having to go back to the boot usb for now.
_________________
Drinking from the fountain of knowldege.
Sometimes sipping.
Sometimes gulping.
Always thirsting.
Back to top
View user's profile Send private message
RAPHEAD
Tux's lil' helper
Tux's lil' helper


Joined: 20 Jun 2003
Posts: 134
Location: Germany

PostPosted: Fri Sep 18, 2015 1:54 am    Post subject: Reply with quote

I have exactly the same problem.
My reason for _not_ using UUIDs is that I clone a system sometimes to multiple other disks and when putting those
clones disks into the target systems, they will end up with this well-known error.

I also see in grub.conf:

Code:
set root='hd0,gpt2'


But still UUIDs.
I also tried several rounds of grub2-mkconfig and grub2-install but no luck.

Do you know how you solved this by now?
Back to top
View user's profile Send private message
njcwotx
Guru
Guru


Joined: 25 Feb 2005
Posts: 564
Location: Texas

PostPosted: Thu Sep 24, 2015 4:00 am    Post subject: Reply with quote

turns out. the GRUB_DISABLE_LINUX_UUID=true still uses the reference /dev/sda2 but my newer kernel had the disk drivers moved in the config tree or renamed or something. After this the old original kernel booted fine, I was able to get into make menuconfig and add any disk driver I could find that looked close to my hardware and it finally booted.
_________________
Drinking from the fountain of knowldege.
Sometimes sipping.
Sometimes gulping.
Always thirsting.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum