New GRUB 2 article

All about the OSDev Wiki. Discussions about the organization and general structure of articles and how to use the wiki. Request changes here if you don't know how to use the wiki.
Post Reply
User avatar
KotuxGuy
Member
Member
Posts: 96
Joined: Wed Nov 25, 2009 1:28 pm
Location: Somewhere within 10ft of my favorite chubby penguin!

New GRUB 2 article

Post by KotuxGuy »

For anyone who hasn't seen it already, there's a new tutorial I made on how to upgrade from GRUB Legacy to GRUB 2.
Link: GRUB 2

The tutorial instructions has been tested with my OS.

Please, tell me what you think, and how to improve it!
Give a man Linux, you feed the nearest optician ( Been staring at the PC too long again? ).
Give a man OS X, you feed the nearest NVidia outlet ( I need more GPU power!! )
Give a man Windows, you feed the entire Tylenol company ( Self explanatory :D )
User avatar
Solar
Member
Member
Posts: 7615
Joined: Thu Nov 16, 2006 12:01 pm
Location: Germany
Contact:

Re: New GRUB 2 article

Post by Solar »

Nice start.

But it doesn't tell the reader anything about what grub-mkimage does, or what the parameters are for.

And it doesn't tell us about the similarities / differences between GRUB legacy and GRUB 2. (Multiboot header still required? Any changes in the magic numbers? State of the CPU when control passes to the kernel still the same as with GRUB Legacy?)

PS: Sorry, I meant to answer this post the whole week long, but I was at a training seminar, and the online terminals they had there were blacklisted because of spamming... :?
Every good solution is obvious once you've found it.
User avatar
KotuxGuy
Member
Member
Posts: 96
Joined: Wed Nov 25, 2009 1:28 pm
Location: Somewhere within 10ft of my favorite chubby penguin!

Re: New GRUB 2 article

Post by KotuxGuy »

Thanks, I'll add that ASAP!
Give a man Linux, you feed the nearest optician ( Been staring at the PC too long again? ).
Give a man OS X, you feed the nearest NVidia outlet ( I need more GPU power!! )
Give a man Windows, you feed the entire Tylenol company ( Self explanatory :D )
User avatar
DrLecter
Posts: 6
Joined: Wed May 14, 2008 4:28 am

Re: New GRUB 2 article

Post by DrLecter »

nice... I have so many questions about grub2 :)
How to use genisoimage to generate an iso image from core.img?
How to mount core.img?
KotuxGuy wrote:For anyone who hasn't seen it already, there's a new tutorial I made on how to upgrade from GRUB Legacy to GRUB 2.
Link: GRUB 2

The tutorial instructions has been tested with my OS.

Please, tell me what you think, and how to improve it!
User avatar
Solar
Member
Member
Posts: 7615
Joined: Thu Nov 16, 2006 12:01 pm
Location: Germany
Contact:

Re: New GRUB 2 article

Post by Solar »

DrLecter wrote:How to use genisoimage to generate an iso image from core.img?
How to mount core.img?
Not questions about GRUB 2, but questions about Disk Images and genisoimage.
Every good solution is obvious once you've found it.
User avatar
KotuxGuy
Member
Member
Posts: 96
Joined: Wed Nov 25, 2009 1:28 pm
Location: Somewhere within 10ft of my favorite chubby penguin!

Re: New GRUB 2 article

Post by KotuxGuy »

DrLecter wrote:nice... I have so many questions about grub2 :)
How to use genisoimage to generate an iso image from core.img?
How to mount core.img?
KotuxGuy wrote:For anyone who hasn't seen it already, there's a new tutorial I made on how to upgrade from GRUB Legacy to GRUB 2.
Link: GRUB 2

The tutorial instructions has been tested with my OS.

Please, tell me what you think, and how to improve it!
I'm not trying to be mean or anything, but that article clearly stated that core.img is used in conjunction with cdboot.img to generate a bootable image.
It also gave instructions on how to make a LiveCD, with genisoimage.

Please, in the future, do some research before you ask, OK?
Give a man Linux, you feed the nearest optician ( Been staring at the PC too long again? ).
Give a man OS X, you feed the nearest NVidia outlet ( I need more GPU power!! )
Give a man Windows, you feed the entire Tylenol company ( Self explanatory :D )
User avatar
DrLecter
Posts: 6
Joined: Wed May 14, 2008 4:28 am

Re: New GRUB 2 article

Post by DrLecter »

come on... I know what genisoimage and google are for.

After reading the man page I couldn't hit the right combination of parameters.

Forgive me for being so stupid :)

Solar wrote:
DrLecter wrote:How to use genisoimage to generate an iso image from core.img?
How to mount core.img?
Not questions about GRUB 2, but questions about Disk Images and genisoimage.
User avatar
Combuster
Member
Member
Posts: 9301
Joined: Wed Oct 18, 2006 3:45 am
Libera.chat IRC: [com]buster
Location: On the balcony, where I can actually keep 1½m distance
Contact:

Re: New GRUB 2 article

Post by Combuster »

DrLecter wrote:come on... I know what genisoimage and google are for.

After reading the man page I couldn't hit the right combination of parameters.
If you had followed forum rules...
"Certainly avoid yourself. He is a newbie and might not realize it. You'll hate his code deeply a few years down the road." - Sortie
[ My OS ] [ VDisk/SFS ]
User avatar
KotuxGuy
Member
Member
Posts: 96
Joined: Wed Nov 25, 2009 1:28 pm
Location: Somewhere within 10ft of my favorite chubby penguin!

Re: New GRUB 2 article

Post by KotuxGuy »

Combuster: Thread Lock requested! :D
Give a man Linux, you feed the nearest optician ( Been staring at the PC too long again? ).
Give a man OS X, you feed the nearest NVidia outlet ( I need more GPU power!! )
Give a man Windows, you feed the entire Tylenol company ( Self explanatory :D )
pcmattman
Member
Member
Posts: 2566
Joined: Sun Jan 14, 2007 9:15 pm
Libera.chat IRC: miselin
Location: Sydney, Australia (I come from a land down under!)
Contact:

Re: New GRUB 2 article

Post by pcmattman »

Combuster isn't a moderator.

As for the article, I have the following to say:
  • I think it's a tutorial, but I have no idea what I get out of it, and I have no idea how it works. You need far more explanation even if this is just a tutorial.
  • Why GRUB2? I'm not going to stop using GRUB Legacy unless I can see some nice summarised reasons for using GRUB2
  • When you talk about the different syntax, you show a simple example. How has the syntax changed? What about modules - has the syntax for specifying those changed? If you tell people the syntax is different, you need to show how it's different in ways that are relevant to the most common use cases.
  • More information about what GRUB2 is? The history of GRUB2 (and GRUB in general) is not short enough to fit into two sentences like you've done.
  • Why not also cover "copying the files to a disk image"? At the moment you just stop - the GRUB legacy article walks through setting up a complete floppy disk image from scratch, and the Bootable El-Torito CD with GRUB Legacy also covers setting up a complete GRUB legacy ISO. The thing a reader of your page probably needs to know the most is how to actually create that bootable image ;)
I realise Solar has already mentioned a couple of these things, but I thought a nice summary of problems I've found with the page would make it easier for you to see what I see.
User avatar
KotuxGuy
Member
Member
Posts: 96
Joined: Wed Nov 25, 2009 1:28 pm
Location: Somewhere within 10ft of my favorite chubby penguin!

Re: New GRUB 2 article

Post by KotuxGuy »

Whoops, I forgot Combuster wasn't a mod. The way he handles n00bs, you'd think he'd still not stepped down :lol:

Yes, I see your points. Although there's quite a lot of them, and as I'm quite busy with non-OS stuff right now, I don't know when I can get all that done.
Give a man Linux, you feed the nearest optician ( Been staring at the PC too long again? ).
Give a man OS X, you feed the nearest NVidia outlet ( I need more GPU power!! )
Give a man Windows, you feed the entire Tylenol company ( Self explanatory :D )
User avatar
DrLecter
Posts: 6
Joined: Wed May 14, 2008 4:28 am

Re: New GRUB 2 article

Post by DrLecter »

all fixed with the links... sorry... next time I will search better :)
pcmattman wrote:Combuster isn't a moderator.

As for the article, I have the following to say:
  • I think it's a tutorial, but I have no idea what I get out of it, and I have no idea how it works. You need far more explanation even if this is just a tutorial.
  • Why GRUB2? I'm not going to stop using GRUB Legacy unless I can see some nice summarised reasons for using GRUB2
  • When you talk about the different syntax, you show a simple example. How has the syntax changed? What about modules - has the syntax for specifying those changed? If you tell people the syntax is different, you need to show how it's different in ways that are relevant to the most common use cases.
  • More information about what GRUB2 is? The history of GRUB2 (and GRUB in general) is not short enough to fit into two sentences like you've done.
  • Why not also cover "copying the files to a disk image"? At the moment you just stop - the GRUB legacy article walks through setting up a complete floppy disk image from scratch, and the Bootable El-Torito CD with GRUB Legacy also covers setting up a complete GRUB legacy ISO. The thing a reader of your page probably needs to know the most is how to actually create that bootable image ;)
I realise Solar has already mentioned a couple of these things, but I thought a nice summary of problems I've found with the page would make it easier for you to see what I see.
Post Reply