Getting started with GRUB!

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
User avatar
djnorthyy
Member
Member
Posts: 49
Joined: Mon Apr 09, 2007 10:50 am
Location: UK, Hants
Contact:

Getting started with GRUB!

Post by djnorthyy »

Hi, I am completely new to OS Development and i want to start using GRUB to save time when developing.

I am using Windows XP Pro

Does anyone have any ideas on how to get started with GRUB???
As i am completly clueless!!!!! :(

Many Thanks!
Harry.
Last edited by djnorthyy on Mon Apr 09, 2007 12:01 pm, edited 1 time in total.
Reflect Desktop Operating System - ' You only remember the name of the OS when it crashes '
User avatar
mystran
Member
Member
Posts: 670
Joined: Thu Mar 08, 2007 11:08 am

Post by mystran »

Start by Googling for GRUB. Download it, and read the manual.

Being able to deal with manuals (and random pieces of information nowhere near the quality of proper manual, or datasheets that were written for hardware folks, not OS developers... and so on) is an essential skill.

You are going to need to read a LOT. So learn not to fear it. ;)

edit: Oh and you don't necessarily need to start a new thread if you want to ask for more info. It's normal here for threads to grow relatively long, and most people read most threads anyway.
The real problem with goto is not with the control transfer, but with environments. Properly tail-recursive closures get both right.
User avatar
djnorthyy
Member
Member
Posts: 49
Joined: Mon Apr 09, 2007 10:50 am
Location: UK, Hants
Contact:

Windows XP Pro?

Post by djnorthyy »

Is it possible to use GRUB under Windows XP Pro?

Im sorry if this is a stupid question!

Harry.
Reflect Desktop Operating System - ' You only remember the name of the OS when it crashes '
User avatar
AJ
Member
Member
Posts: 2646
Joined: Sun Oct 22, 2006 7:01 am
Location: Devon, UK
Contact:

Post by AJ »

Hi,

Try http://www.geocities.com/lode_leroy/grubinstall/. Alternatively, Google for pre-installed GRUB disk images, which will get you started. There are several about, including this one :) (I'll make sure that URL is valid for a few weeks).

Cheers,
Adam
User avatar
djnorthyy
Member
Member
Posts: 49
Joined: Mon Apr 09, 2007 10:50 am
Location: UK, Hants
Contact:

Confusing?

Post by djnorthyy »

Hi, I downloaded that .img file and i tried to open it in my virtual disc software (PowerISO) and it comes up with an error! SOmething about invalid file or courrupted!

Sorry,
Harry.
Reflect Desktop Operating System - ' You only remember the name of the OS when it crashes '
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:

Post by Combuster »

That's because it is a Floppy image, not a CD image.

Try googling for rawwritewin in order to "burn" it. *nix/cygwin's dd utility will do as well
"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
djnorthyy
Member
Member
Posts: 49
Joined: Mon Apr 09, 2007 10:50 am
Location: UK, Hants
Contact:

Links?

Post by djnorthyy »

Hi,

Can you give a link to the utility you reccomend please?

Many Thanks!
Harry.
Reflect Desktop Operating System - ' You only remember the name of the OS when it crashes '
ehird
Member
Member
Posts: 214
Joined: Thu Mar 15, 2007 8:48 am

Post by ehird »

Have you done any application development? If not, you should do some first. Lots of it.
User avatar
djnorthyy
Member
Member
Posts: 49
Joined: Mon Apr 09, 2007 10:50 am
Location: UK, Hants
Contact:

Yes

Post by djnorthyy »

Yer I have made apps in C++ and C# plenty of times!
Reflect Desktop Operating System - ' You only remember the name of the OS when it crashes '
nick8325
Member
Member
Posts: 200
Joined: Wed Oct 18, 2006 5:49 am

Post by nick8325 »

WinImage should be able to open the disk image. From there, you can write the image to a floppy disk, or add files to the disk image.

For testing your OS, you could use Bochs, QEMU (which is easier to set up but less forgiving of mistakes) or a real machine.
User avatar
djnorthyy
Member
Member
Posts: 49
Joined: Mon Apr 09, 2007 10:50 am
Location: UK, Hants
Contact:

Cheers

Post by djnorthyy »

Thanks guys, your help has been much appreacted!!!
:D :D

Cheers!
Harry.
Reflect Desktop Operating System - ' You only remember the name of the OS when it crashes '
User avatar
inflater
Member
Member
Posts: 1309
Joined: Thu Sep 28, 2006 10:32 am
Location: Slovakia
Contact:

Post by inflater »

Don't use GRUB ! :twisted:

hehe, j/k :lol:
My web site: http://inflater.wz.cz (Slovak)
Derrick operating system: http://derrick.xf.cz (Slovak and English :P)
User avatar
djnorthyy
Member
Member
Posts: 49
Joined: Mon Apr 09, 2007 10:50 am
Location: UK, Hants
Contact:

Joke?

Post by djnorthyy »

Don't use GRUB !
I take that was a joke :? . I think i will make my own version untill i am more confident in OS Dev as it is very confusing!!!!

LOL

Harry.
Reflect Desktop Operating System - ' You only remember the name of the OS when it crashes '
User avatar
inflater
Member
Member
Posts: 1309
Joined: Thu Sep 28, 2006 10:32 am
Location: Slovakia
Contact:

Post by inflater »

Yes it *was* a joke, j/k means Just Kiddin' :)

inflater
My web site: http://inflater.wz.cz (Slovak)
Derrick operating system: http://derrick.xf.cz (Slovak and English :P)
User avatar
Brynet-Inc
Member
Member
Posts: 2426
Joined: Tue Oct 17, 2006 9:29 pm
Libera.chat IRC: brynet
Location: Canada
Contact:

Post by Brynet-Inc »

inflater wrote:Yes it *was* a joke, j/k means Just Kiddin' :)

inflater
Don't confuse the n00bs inflater... :wink:
Image
Twitter: @canadianbryan. Award by smcerm, I stole it. Original was larger.
Post Reply