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.
how do I burn the james molloy tutorial os on a CD
-
- Member
- Posts: 62
- Joined: Mon Jan 07, 2013 10:38 am
Re: how do I burn the james molloy tutorial os on a CD
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
all you need with this is stage2 eltorito file of the grub which you can google...but make sure your kernel is multiboot complaint
- DavidCooper
- Member
- Posts: 1150
- Joined: Wed Oct 27, 2010 4:53 pm
- Location: Scotland
Re: how do I burn the james molloy tutorial os on a CD
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.
Last edited by DavidCooper on Wed Oct 30, 2013 11:33 am, edited 1 time in total.
Help the people of Laos by liking - https://www.facebook.com/TheSBInitiative/?ref=py_c
MSB-OS: http://www.magicschoolbook.com/computing/os-project - direct machine code programming
MSB-OS: http://www.magicschoolbook.com/computing/os-project - direct machine code programming
-
- Member
- Posts: 83
- Joined: Tue Feb 03, 2009 11:37 am
Re: how do I burn the james molloy tutorial os on a CD
I have a Makefile target to build an ISO of my OS for me:
Once you have the kernel binary, you can do the same thing.
The grub.cfg looks like:
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)
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
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.
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.
When you say, "I wrote a program that crashed Windows," people just stare at you blankly and say, "Hey, I got those with the system, for free." - Linus Torvalds
64 bit Kernel in early development
http://github.com/nerdguy12/core64
64 bit Kernel in early development
http://github.com/nerdguy12/core64