Page 1 of 5

Grub2 information & Links.

Posted: Tue Aug 04, 2009 7:51 pm
by Fred
As emorrp1 pointed out to me the other day, grub2 is coming. It will mean a number of changes in the way grub booting will be managed.

I'll be the first to tell you that I know next to nothing about grub2. I have been doing some reading about it but that is a long way from having a strong working knowledge of grub2.

The first thing that I noticed that seems to be missing is the ability to use unique identifiers in the "root" line. We seem to still be stuck with the "hd0,1" drive/partition identifier. In my opinion this was one of the biggest improvements needed in this day of mixed storage devices. I hope I am wrong on this issue, and just missed something.

At any rate, what I would like to suggest is a list of links to grub2 information/documentation that we all can use as a knowledge base for grub2. Good documentation on grub2 seems hard to find at the moment, so we would all benefit from assembling what we can in one list. emorrp1 gave me the first link below and I am adding another. If you find something you think is worth posting about grub2 please put it in this thread and I will put it in the list. That way it can all be kept together and easy to access.

Thanks,

Fred


Grub2 Links:

https://wiki.kubuntu.org/Grub2

http://ubuntuforums.org/showthread.php?t=1195275

http://grub.enbug.org/

http://grub.enbug.org/Manual

http://grub.enbug.org/CommandList

Using a splashscreen..
http://blogs.koolwal.net/2008/12/16/how ... sh-images/

Multiboot (dual-boot) - Windows XP
http://blogs.koolwal.net/2008/12/28/win ... r-grub-pc/

http://aronzak.wordpress.com/2008/09/30 ... rom-grub2/

http://linuxhub.net/2009/07/install-gru ... jackalope/

http://www.gnu.org/software/grub/

https://wiki.ubuntu.com/KernelTeam/Grub2Testing

http://members.iinet.net/~herman546/p20.html ... Good links within too.

http://news.softpedia.com/news/GRUB-2-T ... 3671.shtml ... General description.

http://kubuntuforums.net/forums/index.p ... =3106368.0

http://kubuntuforums.net/forums/index.p ... =3081671.0

Re: Grub 2 information & Links.

Posted: Tue Aug 04, 2009 9:22 pm
by newW2

Re: Grub 2 information & Links.

Posted: Tue Aug 04, 2009 10:27 pm
by Fred
newW2,

Thanks for the contribution sir. :-)

Fred

Re: Grub 2 information & Links.

Posted: Tue Aug 04, 2009 10:36 pm
by DrHu
Fred wrote:The first thing that I noticed that seems to be missing is the ability to use unique identifiers in the "root" line. We seem to still be stuck with the "hd0,1" drive/partition identifier. In my opinion this was one of the biggest improvements needed in this day of mixed storage devices. I hope I am wrong on this issue, and just missed something.
  • (hd0,0)
    -Grub1 (legacy grub)
  • (hd0,1)
    -grub 2
--yes they changed the number sequencing, who knows why

This has been looming for awhile, every since Grub2 was announced, and grub legacy was the new name for the older Grub..
Grub2 Grub2 --cautions..
  • Edit grub.cfg or other method..
    http://aronzak.wordpress.com/2008/09/30 ... rom-grub2/

    Code: Select all

    8. mike_s - 18 May, 2009
        well I just got grub2 up and running on my triple boot system. I have ubuntu 9.1, Windows Vista, and a version of OSX using chameleon’s darwin bootloader. Although I agree that grub2 is way more complicated than its legacy, it is definately doable. The people who are telling you to edit the grub.cfg file are full of beans, as a mismatch between the executables in /etc/grub.d and the .cfg seems to royally piss off grub2. you should edit the exe’s in ~/grub.d to make changes and then execute the command: sudo /usr/sbin/update-grub to make those changes flow through into the grub.cfg
    ...
    oh also grub2 doesn’t understand uuid’s so while you are in between you should make sure to edit the menu.ls used by legacy grub to change all uuid’s (except where it says uuid=root) to the respective device and partition or else you will get an error 11 unrecognized device. good luck
Grub 2 caveats..
grub.cfg gets updated with each update-grub
  • For a permanent modification of grub.cfg, you must create a script in /etc/grub.d/
    -- script goes into in /etc/grub.d or /etc/default/grub
While it looks quite different using { and } instead of TAB or spaces as the block format
--with some additional menu command names like menuentry
  • grub 2
    {
    command 1
    command 2
    ...
    }
  • grub1
    command 1
    command 2
    ...

Re: Grub 2 information & Links.

Posted: Wed Aug 05, 2009 7:27 am
by Aging Technogeek
Here are a couple of additional links:

http://linuxhub.net/2009/07/install-gru ... jackalope/

http://grub.enbug.org/

The second is to the first page of the Grub 2 Wiki. All kinds of neat links there.

EDIT

Got another:

http://www.gnu.org/software/grub/

This is the Gnu site for Grub . All the latest info will be linked from here and there is a Grub 2 download if you want to play around with the beta version to gain some familiarity. (I will be doing this asap)

Re: Grub 2 information & Links.

Posted: Wed Aug 05, 2009 10:33 am
by emorrp1

Re: Grub 2 information & Links.

Posted: Wed Aug 05, 2009 4:29 pm
by Fred
Much thanks gentlemen. It is beginning to fill out a bit. :-)

Fred

Re: Grub 2 information & Links.

Posted: Thu Aug 06, 2009 9:21 pm
by nukm

Re: Grub 2 information & Links.

Posted: Thu Aug 06, 2009 9:31 pm
by Fred
Good link. Thanks nukm. :-)

Fred

Re: Grub 2 information & Links.

Posted: Sat Aug 08, 2009 12:04 am
by ddalley
Thanks for organizing this, Fred.

Over time, I will go through these links and read about GRUB 2.
Then I can pretend to understand it. :lol:

Re: Grub 2 information & Links.

Posted: Sat Aug 08, 2009 12:17 am
by ddalley
Gumbotron wrote:is this site reliable anyway?
Reliable? In what way?

I've accessed Softpedia for the past couple of years, mainly for Windows utilities, when necessary.
My Linux programs come mainly from the native installer.

No embedded advertising and a reasonable database makes it "OK", in my book.
I haven't paid much attention to their articles. User comments are typical.

Re: Grub 2 information & Links.

Posted: Wed Aug 19, 2009 10:14 pm
by Fred
Thanks to all of you that have contributed to this thread so far. :-)

Fred

Re: Grub2 information & Links.

Posted: Sun Oct 18, 2009 2:13 am
by Fred
DataMan,

I added your references from another thread to the list also. I hope you don't mind. :-)

Thanks.

Fred

Re: Grub2 information & Links.

Posted: Sun Oct 18, 2009 2:44 am
by nadir
this is a very usefull thread !

i found this link about grub2 and splashimages a while ago, but am not sure if that issue is allready dealt with above ( soooo much links :-) ):
http://blogs.koolwal.net/2008/12/16/how ... sh-images/
(this how-to-splash makes use of debian-lenny, im not sure if one may adapt it for mint with grub2, but i hope so)

Re: Grub2 information & Links.

Posted: Fri Nov 20, 2009 11:00 pm
by Aging Technogeek
lagagnon found this link and posted it here: http://forums.linuxmint.com/viewtopic.p ... 15&start=0 . It should be added to the list.

http://maketecheasier.com/mastering-grub-2-the-easy-way

good info installing grub2 and recognizing windows partition

Posted: Wed Dec 16, 2009 11:11 pm
by breaker

Re: good info installing grub2 and recognizing windows partition

Posted: Sat Dec 19, 2009 5:55 pm
by Husse
Nice - I'll make this sticky

Re: Grub2 information & Links.

Posted: Tue Dec 22, 2009 6:21 am
by breaker
Really great guide, with screen shots: http://www.dedoimedo.com/computers/grub-2.html

Re: Grub2 information & Links.

Posted: Mon Jan 04, 2010 2:34 pm
by djonie
Thanks for the links.. I'm trying to tweak my GRUB right now..

Re: Grub2 information & Links.

Posted: Tue Jan 05, 2010 7:48 pm
by newW2