BOCHS: Booting from Partition...

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.
Post Reply
Wacky

BOCHS: Booting from Partition...

Post by Wacky »

Hello everybody!

Now, i've a Fat16 Filesystem in my OS. I compile it successfull on my primary partition d: (yes, i'm using Windows ;D)

My problem is: i can't boot from this partition using BOCHS!! :-\
Has anyone a idea, how i have to modify the bochsrc.txt, so i can boot and test my os??

thx... Wacky


hmm..... sorry for my bad english. I hope you know waht i mean! ;)
User avatar
Pype.Clicker
Member
Member
Posts: 5964
Joined: Wed Oct 18, 2006 2:31 am
Location: In a galaxy, far, far away
Contact:

Re:BOCHS: Booting from Partition...

Post by Pype.Clicker »

what about boot=d: ?
Wacky

Re:BOCHS: Booting from Partition...

Post by Wacky »

No... the result of this: "boot directive with unknown boot device 'd:'. use 'a', 'c' or 'cdrom'." :-\
User avatar
Pype.Clicker
Member
Member
Posts: 5964
Joined: Wed Oct 18, 2006 2:31 am
Location: In a galaxy, far, far away
Contact:

Re:BOCHS: Booting from Partition...

Post by Pype.Clicker »

hmm ... so you might need to make BOCHS use your hard drive using the ata0-master: type=disk path="d:", ... instead, and then use 'boot=c' ...
Wacky

Re:BOCHS: Booting from Partition...

Post by Wacky »

hmm...no.. i've always checked this out! I think it is inpossible to run a OS this way under Windows....

Let's use Linux!! ;D
Tim

Re:BOCHS: Booting from Partition...

Post by Tim »

Have you put your OS onto your computer's D: drive, or onto a hard disk image which maps to the second drive in Bochs?

If you're using your real hard disk (which I don't recommend -- too risky), and you're using Windows NT, 2000 or XP, it's enough to use "D:" as the disk image path in Bochs. If you're using Windows 95, 98 or Me then you can't do things this way and you will need to create a hard disk image.

Also, try getting the latest version of Bochs. Looking at the error messages, I'd say you're using an old version.
Post Reply