how to make bootable image of os 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.
Locked
shrikant
Posts: 9
Joined: Sat May 03, 2008 3:05 pm

how to make bootable image of os with grub

Post by shrikant »

how to make bootable image of my os with grub.
my os supports only floppy drive,and i want to use grub as a bootloader?
svdmeer
Member
Member
Posts: 87
Joined: Tue May 06, 2008 9:32 am
Location: The Netherlands

Post by svdmeer »

You can write your own one.
shrikant
Posts: 9
Joined: Sat May 03, 2008 3:05 pm

Post by shrikant »

i dnt want to write my own boot loader,i want to use grub
User avatar
AJ
Member
Member
Posts: 2646
Joined: Sun Oct 22, 2006 7:01 am
Location: Devon, UK
Contact:

Post by AJ »

Hi,

Have a look at the -> GRUB <- article on the wiki.

Cheers,
Adam
shrikant
Posts: 9
Joined: Sat May 03, 2008 3:05 pm

Post by shrikant »

nothing satisfactory information......for a novoice
User avatar
AJ
Member
Member
Posts: 2646
Joined: Sun Oct 22, 2006 7:01 am
Location: Devon, UK
Contact:

Post by AJ »

Hi,

So...you have made an OS but can't follow the wiki GRUB instructions? :roll:

If you are using a Linux environment they should be fairly simple to follow. If using Windows, you will need to download a preinstalled image. There are many available on the net including this one from my web page. If you later want GRUB on a hard disk, key drive or other medium, you will need to use this preinstalled image to install it yourself as per the GRUB instructions - you are unlikely to obtain a blank preinstalled version.

Cheers,
Adam
shrikant
Posts: 9
Joined: Sat May 03, 2008 3:05 pm

Post by shrikant »

thanks for the reply sir,but can u please tell me one more thing that how can i use this image to load my kernel
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 »

Seriously, have you read the grub manual and the wiki page? It tells you exactly how to have grub boot your kernel.
"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
piranha
Member
Member
Posts: 1391
Joined: Thu Dec 21, 2006 7:42 pm
Location: Unknown. Momentum is pretty certain, however.
Contact:

Post by piranha »

Wow, another perfect test case for the RTFM thread! :shock:

Can you load that image as a virtual drive/loop device? Then copy the kernel on to it and tell grub what to load in the menu.lst file.

It's all there, just look for it.

-JL
SeaOS: Adding VT-x, networking, and ARM support
dbittman on IRC, @danielbittman on twitter
https://dbittman.github.io
shrikant
Posts: 9
Joined: Sat May 03, 2008 3:05 pm

Post by shrikant »

how to use pre installed grub floopy image
User avatar
inflater
Member
Member
Posts: 1309
Joined: Thu Sep 28, 2006 10:32 am
Location: Slovakia
Contact:

Post by inflater »

Geez dude. Wire it to the 230 volts supply. :roll:

Rawwritewin, WinImage, DD, for physical diskettes? Use a emulator like QEMU? :roll:
My web site: http://inflater.wz.cz (Slovak)
Derrick operating system: http://derrick.xf.cz (Slovak and English :P)
User avatar
piranha
Member
Member
Posts: 1391
Joined: Thu Dec 21, 2006 7:42 pm
Location: Unknown. Momentum is pretty certain, however.
Contact:

Post by piranha »

You asked a question that can be answered by the information given. You then awoke this thread again with a simple restatement. Did you even look at the links given? I'd say that after asking this question twice with all the information given, you need to learn more about the dev tools, the utilities and the operating system that you are using.

Seriously, do you think that you will be able to do this if you can't figure it out?

I worked on doing this for a week on and off with no help and I could figure it out. So did many others on this forum.

Rethink what your doing, and if you still don't know how to do this if you've read all the material, rethink the project.

-JL
SeaOS: Adding VT-x, networking, and ARM support
dbittman on IRC, @danielbittman on twitter
https://dbittman.github.io
Locked