Writing a os on windows 8?
Writing a os on windows 8?
So I started my development on ubuntu but I am forced to start using windows 8. I cant get partcopy to work or VFD or the modified version of VFD. Does anyone have any tips to get this to work?
Re: Writing a os on windows 8?
Whats the problem with these? Error 5? Then start with Administrator rights and make sure the volume you are using is unformatted. An other idea is 'ImVirtual Disk' which can mount any file as a volume (Works on my windows 8 )
- max
- Member
- Posts: 616
- Joined: Mon Mar 05, 2012 11:23 am
- Libera.chat IRC: maxdev
- Location: Germany
- Contact:
Re: Writing a os on windows 8?
You should use Cygwin. Gives you all the tools you need and is the only suitable way for a cross compiler & os specific toolchain (im using Win7 too often).RobertH wrote:So I started my development on ubuntu but I am forced to start using windows 8. I cant get partcopy to work or VFD or the modified version of VFD. Does anyone have any tips to get this to work?
Re: Writing a os on windows 8?
If I was stuck with doing osdev under Windows, I would run linux under a VM. Cygwin is terrible.
Re: Writing a os on windows 8?
He is asking about disk utilities, not compilers and stuff btw I'm using MinGW. Works well for me as a hobby osdever.
- max
- Member
- Posts: 616
- Joined: Mon Mar 05, 2012 11:23 am
- Libera.chat IRC: maxdev
- Location: Germany
- Contact:
Re: Writing a os on windows 8?
Cygwin is great if you know how to use it, your Cygwin skills are probably terrible.kzinti wrote:If I was stuck with doing osdev under Windows, I would run linux under a VM. Cygwin is terrible.
Cygwin has ports for *nix utilities, not only compilers and stuff. MinGW only works as long as your not trying to achieve things like creating an OS specific toolchain/porting GCC to your OS/porting existing programs to your OS. It is not meant to be used in such a way.Roflo wrote:He is asking about disk utilities, not compilers and stuff btw I'm using MinGW. Works well for me as a hobby osdever.
You use MinGW if you just want a proper GCC on your Windows and want to develop programs for Windows (it has the best system support & allows static linkage). But if you want to build cross-compilers for various platforms and have a proper build environment and also use Linux tools, use Cygwin.
It is actually not very hard to set up your environment like this, you can take inspiration from the toolchain setup page of my kernel project.
Re: Writing a os on windows 8?
Rest assured my skills with Cygwin aren't the issue here. I've used it for many years and still do on occasion. That said, I'd much rather be in a real Linux environment.max wrote:Cygwin is great if you know how to use it, your Cygwin skills are probably terrible.
Re: Writing a os on windows 8?
I'm intrigued to know why you are forced to use Windows 8. Even so, can't you just run Ubuntu (or preferably some better Linux distribution) in a VM for your OS development work?
Re: Writing a os on windows 8?
Thank you everyone for your answers ill look into some of your suggestions. And your the ones that want to know why I have to use windows 8 it is because my school is forcing me to. I would need to buy another computer to use linux(without lag because of a virtual machine).
Re: Writing a os on windows 8?
You should have no appreciable lag using Linux in a virtual machine. I use Linux in a VM on a Mac Mini, and that not the fastest of computers. It's only 3D graphics that tend to suffer. A VM is perfect for OS development, much better than messing about with CygWin IMO.
Re: Writing a os on windows 8?
I concur. Working in a VM is perfectly fine as long as you stay away from intensive graphics.iansjack wrote:You should have no appreciable lag using Linux in a virtual machine. I use Linux in a VM on a Mac Mini, and that not the fastest of computers. It's only 3D graphics that tend to suffer. A VM is perfect for OS development, much better than messing about with CygWin IMO.
Re: Writing a os on windows 8?
Maybe Ill just try other software then and see if it lags.iansjack wrote:You should have no appreciable lag using Linux in a virtual machine. I use Linux in a VM on a Mac Mini, and that not the fastest of computers. It's only 3D graphics that tend to suffer. A VM is perfect for OS development, much better than messing about with CygWin IMO.
Re: Writing a os on windows 8?
Hi,
You should also be able to find utilities that allow you to write raw disk images to real disks (like rawrite, most CD burning software, etc).
When I was doing OS development on Windows (a very very long time ago, but the tools still exist and still work) this was easier and less annoying that diddling with virtual machines and/or cygwin.
Cheers,
Brendan
You should also be able to find utilities that allow you to write raw disk images to real disks (like rawrite, most CD burning software, etc).
When I was doing OS development on Windows (a very very long time ago, but the tools still exist and still work) this was easier and less annoying that diddling with virtual machines and/or cygwin.
Cheers,
Brendan
For all things; perfection is, and will always remain, impossible to achieve in practice. However; by striving for perfection we create things that are as perfect as practically possible. Let the pursuit of perfection be our guide.
- eryjus
- Member
- Posts: 286
- Joined: Fri Oct 21, 2011 9:47 pm
- Libera.chat IRC: eryjus
- Location: Tustin, CA USA
Re: Writing a os on windows 8?
I would consider setting up a dual boot computer to overcome your constraints -- Windows for school and Linux for play.RobertH wrote:I would need to buy another computer to use linux(without lag because of a virtual machine).
Also, without getting into a major discussion over which Linux distro to use, I have found that Ubuntu makes too many decisions for the power user and you cannot get the control you need/want over your host environment. I personally prefer Fedora Core, but that is likely unpalatable to some due to the aggressive release cycle.
Adam
The name is fitting: Century Hobby OS -- At this rate, it's gonna take me that long!
Read about my mistakes and missteps with this iteration: Journal
"Sometimes things just don't make sense until you figure them out." -- Phil Stahlheber
The name is fitting: Century Hobby OS -- At this rate, it's gonna take me that long!
Read about my mistakes and missteps with this iteration: Journal
"Sometimes things just don't make sense until you figure them out." -- Phil Stahlheber
Re: Writing a os on windows 8?
When I was developing on Windows (~6 months ago), these tools were enough for me:
1. NASM (Assembler)
2. Debug.exe (To write binaries to disk image)
3. VFD (Virtual Floppy Drive)
4. VirtualBox (Virtual Machine)
And they are easily available.
By the way, what is wrong with Linux and Windows dual booting?
1. NASM (Assembler)
2. Debug.exe (To write binaries to disk image)
3. VFD (Virtual Floppy Drive)
4. VirtualBox (Virtual Machine)
And they are easily available.
By the way, what is wrong with Linux and Windows dual booting?