Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Migration to GRUB 2: Fallback and Obsolete Files
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
svoop
n00b
n00b


Joined: 11 Jan 2009
Posts: 64

PostPosted: Wed Oct 16, 2013 10:19 pm    Post subject: Migration to GRUB 2: Fallback and Obsolete Files Reply with quote

Hi

I've just done the migration to GRUB 2 according to the official migration guide. Works like a charm so far.

However, I had GRUB 1 configured with fallback. In other words, if a newly installed kernel fails to boot, the box reboots and then automatically boots another known-to-work kernel. This is very useful since I don't have physical access to the box.

hydrapolic has written a short guide on how to do a similar thing with GRUB 2, however, he's manually maintaining grub.cfg. I would like to stick to the generated grub.cfg file and therefore can't do it this way.

A solution has been documented for Ubuntu. I'm not sure whether it can be used for Gentoo as well since both distros might have tampered the default config files of GRUB 2. Hence the question: Has anybody done this?

And for some bonus points: After removing GRUB 1, there are still GRUB 1 files in /boot/grub. I'd like to clean this dir and zap all files not required by GRUB 2. But I'm not sure which files belong to GRUB 1, GRUB 2 or both.

Thanks a bunch for your hints!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware 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