How do i install this OS on my Hard Drive?

250 views
Skip to first unread message

El1iP3S01D

unread,
Jul 12, 2010, 2:05:54 PM7/12/10
to BareMetal OS
Ian, How do i install this on my HDD so that i can learn 64 bit
Assembly Language? Or can you create a video How to install on the HDD?

Ian

unread,
Jul 12, 2010, 3:38:38 PM7/12/10
to BareMetal OS
The easiest way to accomplish this is to write the BareMetal.img file
directly to a hard drive. You can do this with the Linux dd command.
In Windows you can use the software here: http://www.chrysocome.net/dd

Note that this will destroy any data on the hard drive in question.
Also be very careful that you do not write the image to the wrong
drive.

The other method would involve modifying the boot sector on the hard
drive which is a bit more tricky.

I hope this helps.

-Ian

El1iP3S01D

unread,
Jul 13, 2010, 1:43:48 AM7/13/10
to BareMetal OS
Ian, i'm not familiar with what you stated and thanks for replying by
the way...
Ian, How do you create the OS? And what book do you recommend for me
to learn 64 bit Assembly Language? So that i can create my own OS? And
the Steps that are required to do this task?

On Jul 12, 2:05 pm, El1iP3S01D <rad...@gmail.com> wrote:

Masquerade

unread,
Jul 14, 2010, 6:03:01 AM7/14/10
to BareMetal OS
http://wiki.osdev.org/Main_Page is a good starting point if you want
to develop your own OS. You should also get Intel or AMD's developer
manuals. http://www.intel.com/products/processor/manuals/index.htm

Bartłomiej Pietrzyk

unread,
Jul 14, 2010, 6:08:17 AM7/14/10
to bareme...@googlegroups.com
Agreed, sole assembly knowledge isn't enough to develop an OS :). Here are some fun articles http://www.osdever.net/

2010/7/14 Masquerade <philip...@gmail.com>

http://wiki.osdev.org/Main_Page is a good starting point if you want
to develop your own OS. You should also get Intel or AMD's developer
manuals. http://www.intel.com/products/processor/manuals/index.htm



--
Pozdrawiam
Bartłomiej Pietrzyk

El1iP3S01D

unread,
Jul 19, 2010, 11:09:58 AM7/19/10
to BareMetal OS
Masquerade and Bart, thanks for your input....

On Jul 12, 2:05 pm, El1iP3S01D <rad...@gmail.com> wrote:

El1iP3S01D

unread,
Jul 19, 2010, 11:13:03 AM7/19/10
to BareMetal OS
Ian, how would i be able to get a profile of my system to see if that
would help with the your OS understanding my system, because i do have
Quad core intel cpu and a Asus mobo P5N-D...

El1iP3S01D

unread,
Jul 19, 2010, 2:45:02 PM7/19/10
to BareMetal OS
Ian, i did as you suggested and i was able to install it on my HDD.
And all the OS does it just hangs, hangs and hangs...
i did like this sudo dd if=Baremetal.img of=/dev/sda, which install
properly. Yet the OS when it boots up it hangs at the first screen...

Any suggestions as to how to fix this, so that i can learn 64 bit
Assembly Language?




On Jul 12, 3:38 pm, Ian <isey...@gmail.com> wrote:
> > Assembly Language? Or can you create a video How to install on the HDD?- Hide quoted text -
>
> - Show quoted text -
Message has been deleted

Ian

unread,
Jul 19, 2010, 2:50:14 PM7/19/10
to BareMetal OS
What exactly is on the screen when it hangs? Pure64 will display some
debug values in the top-right corner of the screen during
initialization.

-Ian

Ian

unread,
Jul 19, 2010, 2:51:53 PM7/19/10
to BareMetal OS
It should run on any x86-64 capable system. What CPU is it? A Core 2
Quad?

-Ian

El1iP3S01D

unread,
Jul 20, 2010, 12:22:30 AM7/20/10
to BareMetal OS
Pure64 v 0.4.6 - http://www.returninfinity.com
M

Initializing system...Done

[CPU: 2.66MHZ x1] [MEM: 2048 MiB] [HDD: 31 MiB]

This is the screen Ian, what do i do next? And why is the Letter M at
the far right of the Screen?

By the way, what book do you recommend to learn 64bit Assembly
Language?

Thanks, for answering...

El1iP3S01D

unread,
Jul 20, 2010, 12:25:55 AM7/20/10
to BareMetal OS
My Mobo is a Asus P5N-D and the CPU is Intel core 2 quad at 4 cores at
2.66ghz. Q8400...





On Jul 19, 2:51 pm, Ian <isey...@gmail.com> wrote:
> It should run on any x86-64 capable system. What CPU is it?

Bartłomiej Pietrzyk

unread,
Jul 21, 2010, 2:47:03 AM7/21/10
to bareme...@googlegroups.com
Sorry for the partial "off topic" but does anybody know how to get Baremetal on VirtualBox drive?

2010/7/12 Ian <ise...@gmail.com>



--
Pozdrawiam
Bartłomiej Pietrzyk

Fernando Mercês

unread,
Jul 21, 2010, 6:12:48 AM7/21/10
to bareme...@googlegroups.com
Hi.

You can convert the BareMetal.img to VDI first:

$ VBoxManage convertfromraw BareMetal.img BareMetal.vdi

After that, you can use the VDI as virtual disk fo VM.

Regards,

Fernando


From: Bartłomiej Pietrzyk <bartlomie...@gmail.com>
Date: Wed, 21 Jul 2010 08:47:03 +0200
Subject: Re: How do i install this OS on my Hard Drive?

Bartłomiej Pietrzyk

unread,
Jul 21, 2010, 6:21:07 AM7/21/10
to bareme...@googlegroups.com
Thank you very much Fernando. Will try this right away, after work :)

2010/7/21 Fernando Mercês <nan...@gmail.com>



--
Pozdrawiam
Bartłomiej Pietrzyk

Yzzyx

unread,
Jul 21, 2010, 8:06:05 AM7/21/10
to BareMetal OS
I had exactly the same problem, this is what worked for me.

- I put the IDE drive in "compatible" mode (Could net get SATA to work
so I had to use IDE). Wrote the image with dd AFTER i put it in
compatible mode.
- Pressed F8 to get boot device selection.
- Selected the disk with BareMetal on it.
It would now boot... If I try to set it to boot automaticaly (without
using F8 it will fail)

The only problem I have now is that the machine freezes as soon as i
press "enter" at the prompt. :-)

Machine:
Asus P5G41-M
Celeron 430 1.8Ghz (/proc/cpuinfo gives: cpu family : 6 model : 22)
3GB RAM
HDD WD1600AAJB (160GB Caviar Blue)
> > > > > Assembly Language? Or can you create a video How to install on the HDD?- Dölj citerad text -
>
> - Visa citerad text -

Ian

unread,
Jul 21, 2010, 12:45:26 PM7/21/10
to BareMetal OS
El1iP3S01D,

What BIOS options are set for the IDE controller? It looks like it is
not finding the KERNEL64.SYS file. Check if the IDE controller is set
to LEGACY mode. Also verify the the harddrive is connected to the
Primary IDE controller and the drive is set to Master.

-Ian


On Jul 20, 12:22 am, El1iP3S01D <rad...@gmail.com> wrote:
> Pure64 v 0.4.6 -http://www.returninfinity.com

Dave Ojika

unread,
Jul 24, 2013, 3:24:33 PM7/24/13
to bareme...@googlegroups.com, rad...@gmail.com
where is the file  BareMetal.img? I have searched the net

Ian Seyler

unread,
Jul 25, 2013, 10:44:35 AM7/25/13
to bareme...@googlegroups.com, rad...@gmail.com
That file is now auto-generated with the BareMetal scripts.


-Ian

Dave Ojika

unread,
Aug 6, 2013, 2:37:46 AM8/6/13
to bareme...@googlegroups.com
Thanks Ian.
Reply all
Reply to author
Forward
0 new messages