Jun 23, 2012 at 3:01 AM
Edited Jun 23, 2012 at 3:02 AM
Well after many hours of banging my head up against the wall and tons of reading. I have finally figured out how to edit those files on the VMWare disk that comes with Cosmos and is used when testing your os out of VMWare. Now with this being said, I found
some other interesting info. Cosmos, Did you know without that disk the OS wont boot in VMWare? I dont know why. Is this the reason why the OS wont boot on live Hardware either? Cause it does the same thing the live boot does just without the Kernel exception
error.... Why is this? And can you guys fix it? Cause right now without Cosmos being installed you cant boot the OS Iso. Which is kind of odd. But oh well.
Ok now right to it! I am going to share with you a small in depth tutorial as well as I can. Let me know what you think.
So, first things first. We need to get a program! I don't think you need VMWare installed for this and you don't NEED workstation either, as I don't have it myself.
#1 Download And Install this: http://www.vmware.com/download/eula/diskmount_ws_v55.html
#2 Ok now the fun part! Goto Run and type without quotes "%appdata%" now it should have already taking you into the roaming folder, or another one. You'll know because you will see a "Cosmos User Kit" folder, something close to that.
#3 Go into the build folder and navigate to "VMWare" and then"Workstation". Find the file "Filesystem.vmdk" its the filesystem that Cosmos stored some files in. Now get its path, example "C:/Documments ect.... and \Filesystem.vmdk"
now get the full path including that file.
#4 Now goto your computer under "C:" and navagate to Program Files and Program Files x86 if your using Windows7 ect.. Now once inside find the folder "VMWare" now go inside and find the folder "VMware DiskMount Utility"
Now. Get the path. It will be under the explorer bar if you have vista or above just click it and it will give you the path. Now do a control c.
#5 Open CMD and type without quotes "cd " and then right click and hit paste. Hit the enter key. Now this is where things get tricky.
#6 type without quotes into your cmd window "vmware-mount " then type the drive number, this can be anything, so for me it would be "vmwar -mount J: " without quotes. Now after that you need to copy the full path including the file of
the "Filesystem.vmdk" in the Cosmos directory we were just in. Once copied do step # 7.
#7 now you should already have in the cmd window without quotes "vmware-mount J: " now do type " and the right click and hit paste to paste the full path of the "Filesystem.vmdk" file. Now type ". Ok now it the enter key. The
Command will look something like this vmware-mount J: "path"
#8 Now it should say like error the virtual machine is suspended. Ok if you get this dont worry. Simply open VMWare click the Cosmos os button. Let it resume it, then hit power down, under a menu, cant remeber which. Its easy to find. Now once the OS has
been powered down, try #6 & #7 again to get the command. Try the command and it should say nothing.
#9 Now since you didn't get the error this time, your most likely thinking... "Um it didn't say anything". I know and that's good =)". Now in the same cmd window type the drive letter you put example "J:" now hit enter. It will then
goto the J drive instead of the one we cd'd to. Now we get to have the fun part.
#10. Ok heres the bad and good part. Bad part, theres no GUI for this. Good part its easy to work without one, maybe I will make a program for this...
Ok so now type in the same cmd window without quotes "dir" and hit enter, this will list all the files on the mounted virtual drive. Now heres the few commands we will work with, if you need info on them, feel free to type "help" without
quotes in the cmd window.
Ok to add a file we can type "copy filepath" without quotes, that will copy the specified file to the virtual disk. Now you can type "del filename" to delete a file from the virtual disk as well.
and I believe move will allow you to move a file to it, and move can also take a file out of the virtual disk as well. Now once your done editing, you will need to unmount the virtual disk.
#11 Do step #4 & #5 again to cd to the virtual disk utility path. Now type without quotes "vmware-mount J: /d" to umount the disk! Now you can replace J: with the drive you specified, just J was a random one I decided to use. Now you have successfully
modify'ed your Cosmos Virtual Disk! Now guys, you can add in files and load images, fonts, programs ect... Wohoo! Enjoy and let me know what you think. I hope I wrote this well.. =)