Showing posts with label FreeDos. Show all posts
Showing posts with label FreeDos. Show all posts

Thursday, 23 April 2009

Installing GParted and XOSL on FAT partitions

Alternative way, I liked is to use GParted for all partitioning jobs. I put Gparted Live CD and restarted computer. I select safe mode from the menu. It is more comfortable for sight to have vga normal rather than default vga=791 or whatever it is. In the menu of Gparted I delet any partition I had done from XP, but the XP's NTFS partition. I keep my XP untouched and then choose an extended partition, something more than 4GB from the beginning of the unallocated space. I selected "Lab" as its name since it is the place that I can experiment. For the logical partitions inside the extended partition I started from a default minimum of 16Mb for XOSL that comes out later as an actual 24Mb. I format it as FAT16 partition. It is more than enough for XOSL. Second logical drive I partition in the menu is a 120Mb for permanent residence of GParted with FAT32 format. I leave a 4Gb for FreeDos. If I can find my installed partitions on a DOS prompt by "fdisk" I will find partition letters "C:," "D:" and "E:" for these three new partitions, respectively. Now I should install XOSL and GParted. For XOSL installation I need to have any DOS bootable floppy that gives me a DOS prompt A:\> that is all. I put the entire XOSL folder inside this floppy. When I restarted after Gparted partitioning job I put this diskette immediately in the floppy drive to reboot from the diskette. When A:\> prompt comes I "cd," that is I change directory to XOSL and then I type "INSTALL." After that I follow and accept all defaults. I am careful to have "C" as installation partition. I can change it by toggling "Page Up" on my keyboard, but I don't. When it reboots I configure it to be able to boot from GParted partition or from FreeDos or from XP or from a floppy drive and, of course, any future operating system that I might decide. I check the box for XP to be my default boot and select a hot key such as "x" key for accelerated booting. I'll have XOSL on my hard drive installed forever and whatever happens in future, even if I want to fresh install other things, it remains there. I check "My Computer" to see what letters XP has chosen for new partitions. I notice it has selected "E" for "XOSL" and "H" for GParted and "I" for FreeDos partition. It has left "F" and "G" for my other hard disk drives. I go to disk manager and change "XOSL" to "P" and Gparted to "Q" to keep them away from other drives and daily unwanted manipulations. Now I should install GParted and make it permanent, as well. I go to my XP. From here I downloaded a zipped version of GParted for hard disk drives. Inside that, when unzipped to a folder in any place in XP, there are three folders: "live," "syslinux" and "utils." Inside utils from the folder "Win32" I copy "syslinux.exe" and paste it in "C:\Documents and Settings\Owner" to be accessible from XP command prompt. Then I go to "start" in the XP and "Run" from the right hand pane. When the "Run" dialogue comes usually is on its default "cmd" or in the last command that has been run. In the later case I change it back to "cmd" command and then I "OK" button. In the command prompt window I type "syslinux.exe -sfa Q:" where "Q" is the designated partition for GParted. In this way I install "ldlinux.sys" on Gparted partition to make it linux bootable. Then from the unzipped folder of GParted I copy three folders "live," "syslinux," and "utils" and drop them in the "Q" drive such that they sit on the root of the drive. Now, if I restart and I go to menu of XOSL, I can choose to boot it in GParted partition and voila Gparted boots to its menu and I have it permanently for any future manipulations of hard disks.

Friday, 17 April 2009

Multi-booting Windows XP

When I installed my XP and fully patched it with all service packs and updates and watched its fresh install then I turn my computer fully off and switch off the main socket and without unplugging the cable I reconnect my spare hard disks; both of their data cables and power cables. Then I switch on the main socket and turn on computer. I allow it to completely loads the operating system and finds back spare hard disks and brings all bubble messages and finishes parking the hard disk. At this moment I point to start and in the menu I right click on "My Computer" and select "Manage" in the context. It opens the computer management window. I select "Disk Management" there to show my installed hard disks. When I find everything sound and safe, I select the unallocated space at the beginning of my main hard drive and partition it with extended partition of some 4Gb (4100Mb). Inside the extended partition I allocate some 4050Mb for FreeDos at the top and the remaining, some 50Mb (it is Mb) for XOSL at the bottom. These two new partitions inside the extended partition should be formatted with FAT32 file system.

Monday, 13 April 2009

Using Code View IDE in FreeDos

I had the companion software "Free Microsoft Visual C++ 1.0" as part of the book "Learn Visual C++ Now," by Mark Andrew, from Microsoft Press, 1996. My daughter, Mercedes, bought the book for me when we were in Exeter many years ago. I liked to install it on my computer frequently, I couldn't succeed. Recently I tried again to put it inside the MASM editor. There is no way to use its compiler. Windows XP SP3 that I have, has nothing to do to chase EMM.386 in a SYSTEM.INI legacy of 16 bits DOS. But the editor loads and saves and it is funny to have it exploited. The CodeView for Windows (CVW) is impossible to be used and CodeView for DOS (CV) takes a hell out of your CPU. The best thing is to install a separate DOS partition on your hard disk and take it there to enjoy. And I did that. I created a FreeDos partition next door to my XP.