Grub2 information & Links.

Questions about Grub, UEFI,the liveCD and the installer
Forum rules
Before you post please read this

Grub2 information & Links.

Postby Fred on Tue Aug 04, 2009 7:51 pm

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
Last edited by Fred on Sun Oct 18, 2009 2:11 am, edited 7 times in total.
Insanity: Doing the same thing over and over and each time expecting a different result.

Democracy is 2 wolves and a lamb voting on the menu. Liberty is an armed lamb protesting the electoral outcome. A Republic negates the need for an armed protest.
User avatar
Fred
Level 10
Level 10
 
Posts: 3356
Joined: Fri Jan 04, 2008 11:59 am
Location: NC USA

Linux Mint is funded by ads and donations.
 

Re: Grub 2 information & Links.

Postby newW2 on Tue Aug 04, 2009 9:22 pm

User avatar
newW2
Level 6
Level 6
 
Posts: 1081
Joined: Fri Apr 06, 2007 10:24 am
Location: USA

Re: Grub 2 information & Links.

Postby Fred on Tue Aug 04, 2009 10:27 pm

newW2,

Thanks for the contribution sir. :-)

Fred
Insanity: Doing the same thing over and over and each time expecting a different result.

Democracy is 2 wolves and a lamb voting on the menu. Liberty is an armed lamb protesting the electoral outcome. A Republic negates the need for an armed protest.
User avatar
Fred
Level 10
Level 10
 
Posts: 3356
Joined: Fri Jan 04, 2008 11:59 am
Location: NC USA

Re: Grub 2 information & Links.

Postby DrHu on Tue Aug 04, 2009 10:36 pm

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
    ...
User avatar
DrHu
Level 16
Level 16
 
Posts: 6596
Joined: Wed Jun 17, 2009 8:20 pm

Re: Grub 2 information & Links.

Postby Aging Technogeek on Wed Aug 05, 2009 7:27 am

Here are a couple of additional links:

http://linuxhub.net/2009/07/install-grub-2-on-ubuntu-jaunty-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)
Image

Registered Linux User 483387
User avatar
Aging Technogeek
Level 13
Level 13
 
Posts: 4605
Joined: Sun Jan 11, 2009 9:54 am
Location: Right about here

Re: Grub 2 information & Links.

Postby emorrp1 on Wed Aug 05, 2009 10:33 am

If you have a question that has been answered and solved, then please edit your original post and put a [SOLVED] at the end of your subject header
Hint - use a google search including the search term site:forums.linuxmint.com
emorrp1
Level 8
Level 8
 
Posts: 2322
Joined: Thu Feb 26, 2009 8:58 pm

Re: Grub 2 information & Links.

Postby Fred on Wed Aug 05, 2009 4:29 pm

Much thanks gentlemen. It is beginning to fill out a bit. :-)

Fred
Insanity: Doing the same thing over and over and each time expecting a different result.

Democracy is 2 wolves and a lamb voting on the menu. Liberty is an armed lamb protesting the electoral outcome. A Republic negates the need for an armed protest.
User avatar
Fred
Level 10
Level 10
 
Posts: 3356
Joined: Fri Jan 04, 2008 11:59 am
Location: NC USA

Re: Grub 2 information & Links.

Postby nukm on Thu Aug 06, 2009 9:21 pm

"Books? Who needs books? They don't taste all that good." The American Connoisseur, circa 2010
"Radiation is good for you.Everyone should eat radiation to be fulfilled. (free translation)...Ann Coulter, circa 2011
nukm
Level 3
Level 3
 
Posts: 194
Joined: Wed Aug 05, 2009 4:14 pm

Re: Grub 2 information & Links.

Postby Fred on Thu Aug 06, 2009 9:31 pm

Good link. Thanks nukm. :-)

Fred
Insanity: Doing the same thing over and over and each time expecting a different result.

Democracy is 2 wolves and a lamb voting on the menu. Liberty is an armed lamb protesting the electoral outcome. A Republic negates the need for an armed protest.
User avatar
Fred
Level 10
Level 10
 
Posts: 3356
Joined: Fri Jan 04, 2008 11:59 am
Location: NC USA

Re: Grub 2 information & Links.

Postby Gumbotron on Fri Aug 07, 2009 10:35 am

heres a article that highlights some of its features

http://news.softpedia.com/news/GRUB-2-The-New-Boot-Loader-in-Ubuntu-9-10-113671.shtml

is this site reliable anyway?
User avatar
Gumbotron
Level 1
Level 1
 
Posts: 34
Joined: Thu Apr 09, 2009 2:00 am

Re: Grub 2 information & Links.

Postby ddalley on Sat Aug 08, 2009 12:04 am

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:
ddalley
Level 4
Level 4
 
Posts: 277
Joined: Sun Mar 15, 2009 4:25 am
Location: Toronto, Canada

Re: Grub 2 information & Links.

Postby ddalley on Sat Aug 08, 2009 12:17 am

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.
ddalley
Level 4
Level 4
 
Posts: 277
Joined: Sun Mar 15, 2009 4:25 am
Location: Toronto, Canada

Re: Grub 2 information & Links.

Postby Fred on Wed Aug 19, 2009 10:14 pm

Thanks to all of you that have contributed to this thread so far. :-)

Fred
Insanity: Doing the same thing over and over and each time expecting a different result.

Democracy is 2 wolves and a lamb voting on the menu. Liberty is an armed lamb protesting the electoral outcome. A Republic negates the need for an armed protest.
User avatar
Fred
Level 10
Level 10
 
Posts: 3356
Joined: Fri Jan 04, 2008 11:59 am
Location: NC USA

Re: Grub2 information & Links.

Postby Fred on Sun Oct 18, 2009 2:13 am

DataMan,

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

Thanks.

Fred
Insanity: Doing the same thing over and over and each time expecting a different result.

Democracy is 2 wolves and a lamb voting on the menu. Liberty is an armed lamb protesting the electoral outcome. A Republic negates the need for an armed protest.
User avatar
Fred
Level 10
Level 10
 
Posts: 3356
Joined: Fri Jan 04, 2008 11:59 am
Location: NC USA

Re: Grub2 information & Links.

Postby nadir on Sun Oct 18, 2009 2:44 am

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)
nadir
Level 3
Level 3
 
Posts: 143
Joined: Fri Oct 02, 2009 2:25 pm

Re: Grub2 information & Links.

Postby Aging Technogeek on Fri Nov 20, 2009 11:00 pm

lagagnon found this link and posted it here: viewtopic.php?f=46&t=36215&start=0 . It should be added to the list.

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

Registered Linux User 483387
User avatar
Aging Technogeek
Level 13
Level 13
 
Posts: 4605
Joined: Sun Jan 11, 2009 9:54 am
Location: Right about here

good info installing grub2 and recognizing windows partition

Postby breaker on Wed Dec 16, 2009 11:11 pm

rtfm - read the fine manual...
Boot info script: http://ubuntuforums.org/showthread.php?t=1291280
grub2 https://help.ubuntu.com/community/Grub2
PC-BIOS based booting, mbr, boot records; http://thestarman.pcministry.com/
breaker
Level 5
Level 5
 
Posts: 613
Joined: Sun Mar 16, 2008 5:28 am

Re: good info installing grub2 and recognizing windows partition

Postby Husse on Sat Dec 19, 2009 5:55 pm

Nice - I'll make this sticky
Image
Don't fix it if it ain't broken, don't break it if you can't fix it
Husse
Level 21
Level 21
 
Posts: 19710
Joined: Sun Feb 11, 2007 7:22 am
Location: Near Borås Sweden

Re: Grub2 information & Links.

Postby breaker on Tue Dec 22, 2009 6:21 am

Really great guide, with screen shots: http://www.dedoimedo.com/computers/grub-2.html
rtfm - read the fine manual...
Boot info script: http://ubuntuforums.org/showthread.php?t=1291280
grub2 https://help.ubuntu.com/community/Grub2
PC-BIOS based booting, mbr, boot records; http://thestarman.pcministry.com/
breaker
Level 5
Level 5
 
Posts: 613
Joined: Sun Mar 16, 2008 5:28 am

Re: Grub2 information & Links.

Postby djonie on Mon Jan 04, 2010 2:34 pm

Thanks for the links.. I'm trying to tweak my GRUB right now..
djonie
Level 1
Level 1
 
Posts: 2
Joined: Tue Dec 29, 2009 4:44 pm

Linux Mint is funded by ads and donations.
 
Next

Return to Installation & Boot

Who is online

Users browsing this forum: No registered users and 21 guests