Page 1 of 1

how do I burn the james molloy tutorial os on a CD

Posted: Wed Oct 30, 2013 9:53 am
by gideond
So I'm following the infamous James Molloy's tutorials:
http://www.jamesmolloy.co.uk/tutorial_h ... setup.html

So far I've opened it on qemu and it works.

Two things:
1. I ran it in qemu-system-x86_64 and it worked. Does this mean it should work on my x64 computer although it's an OS for an x86 machine? Is this just like how you can install a 32 windows on a x64 machine? (Excuse the ignorance, I'm a newbie here)

The tutorial does have a update_image.sh, this generates a floppy.img, A disc burning program says that it isn't a valid image file though? And then I burnt it with regular windows explorer CD burning and it doesn't work.

When I select Boot from CD, it waits a second or so, does nothing and then gives me a "windows didn't start successfully" message.

Re: how do I burn the james molloy tutorial os on a CD

Posted: Wed Oct 30, 2013 10:44 am
by dansmahajan
You could create a bootable cd with el torito format ,follow this link http://wiki.osdev.org/Bootable_El-Torit ... RUB_Legacy
all you need with this is stage2 eltorito file of the grub which you can google...but make sure your kernel is multiboot complaint

Re: how do I burn the james molloy tutorial os on a CD

Posted: Wed Oct 30, 2013 11:31 am
by DavidCooper
Great thread title (although it seems a bit extreme as destructive criticism goes) - I was all set to warn you about dioxins being released when burning plastics.

Re: how do I burn the james molloy tutorial os on a CD

Posted: Wed Oct 30, 2013 11:33 am
by gsingh2011
I have a Makefile target to build an ISO of my OS for me:

Code: Select all

# Create a bootable image
$(IMG): $(KBIN)
	mkdir -p $(ISODIR)/boot/grub
	cp $(BUILDDIR)/grub/grub.cfg $(ISODIR)/boot/grub
	cp $(KBIN) $(ISODIR)/boot
	grub-mkrescue -o $(IMG) $(ISODIR)
Once you have the kernel binary, you can do the same thing.

The grub.cfg looks like:

Code: Select all

menuentry "MyOS" {
		  multiboot /boot/kernel.bin
}

Re: how do I burn the james molloy tutorial os on a CD

Posted: Thu Oct 31, 2013 8:16 am
by nerdguy
If your PC is an x64, but your Windows is not x64, Your PC would be able to execute an x64 Kernel,
This means that your Kernel is perfect for your x64 PC, To see whether your hardware supports 64-bit, on Windows
Goto Control Panel\All Control Panel Items\Performance Information and Tools and click View and print Detailed System Information,
A message will pop up, Then look out for 64-Bit Capable, If it says yes then you will be able to run an x64 Kernel, If it says NO then your PC doesn't support a 64-bit. Also if your Kernel is a 32-bit Kernel, x64 Hardware will again run it fine, I have a Windows 32-bit on my 64 bit Desktop.