Archive for the ‘Virtual box’ Category

I believe you have already read my article about How to install MS-DOS 6.22 in virtual box. Now, I will guide you how to install CD driver in MS-DOS 6.22.

Below are the steps:

1.Download the CD driver.
2.Create an floppy disk image.
3.Create a virtual floppy disk drive.
4.Mount the image file to the floppy drive.
5.Copy the driver.
6.Unmount and remote the virtual floppy disk.
7.Run DOS in the Virtual box.
8.Edit AUTOEXEC.BAT file.
9.Edit Config.sys file.
10.Reboot the DOS system

Step 1. Download the CD Driver
First, you have to download the CD/DVD driver.
The driver is oakcdrom.sys. You can get it from http://www.scriptco.net/rr/cdrom_info.htm
Then you have to copy it into a floppy disc image or a CDrom.
The easy one is just create an floppy disc image and copy the driver into it.

Step 2. Create a Floppy disk image
Open your Linux terminal.
Change your access to root.
Create a 1.44 MB floppy disc using linux command “mkfs.msdos“. It will create an MS-DOS file system under linux.
-Option “-C” is used to create the new file system in a file instead of a real device.
-Option “1440“ is the size of the floppy disk image.

$ mkfs.msdos -C myfloppy.img 1440
mkfs.msdos 3.0.9 (31 Jan 2010)

option -C means, create the file given (myfloppy.img) as device.
1440 means, the size is 1.44MB.

Let’s check the result.

$ ls -l myfloppy.img
-rw-rw-r-- 1 darklinux darklinux 1474560 2019-05-16 05:07 myfloppy.img

Good, now you have a floppy disk image.


Read Full Post »

I will explain to you how to install MS-DOS 6.22 (Microsoft Disc Operating System version 6.22) in virtual box. This version supports cd/dvd driver, usb and network.

If you want to play the old DOS games or old DOS applications, it will easier for you.

Before we start, few things you have to do:
1. Download the MS-DOS installation images from the link below:

There are 3 images files that represent 3 floppy discs. The extension file is .img.

Rename it to .dsk.
So, it will become:

There are few process that need to be done.

-Create the virtual hard disk
-Create the hard disk partition
-Format the hard disk

Now, we can start to install this operating system in VirtualBox. MS-DOS doesn’t need much space. So, 100MB hard disc space is enough to play around. But if you want to add the networking on it I suggest to provide 200MB hard disc space. For memory you can use the default 32 MB.


Read Full Post »

Why we still need to learn about how to create floppy disk image?
Floppy disk is only used in the old PC but we still need it for simulation in virtual machine. May be you want to collect old applications that run in old MS-DOS, learn about how old viruses work, install first generation linux, etc.. etc so you still need this image.

I will show how to create floppy image in Linux 14.04 LTS.

Step 1. Create directory in /media
Open your linux terminal, type $cd /media. Type $sudo mkdir floppy. to create the floppy directory.

darklinux@darklinux:~$ cd /media
darklinux@darklinux:/media$ ls -l
total 4
drwxr-x—+ 4 root root 4096 Jan 2 15:23 darklinux
$ sudo mkdir floppy
[sudo] password for darklinux:
darklinux@darklinux:/media$ ls -l
total 8
drwxr-x—+ 4 root root 4096 Jan 2 15:23 darklinux
drwxr-xr-x 2 root root 4096 Jan 2 15:49 floppy


Step 2. Create floppy disk image.
Open another linux terminal or go back to home directory.
Type $ mkfs.msdos -C myfloppy.img 1440 to create the floppy image.
-myfloppy.img is the image file
-1440 is floppy size (1.44 MB)

Type $ sudo mount -o loop myfloppy.img /media/floppy/ to mount the image with the floppy directory.

Read Full Post »

This is my experience when I replaced my old Gutsy with Intrepid.

When I use Linux, I always divide my hard disc into 3 partitions, System, Swap and /Home. It’s a good idea because next time you want to replace your OS, you will not lost all your /Home data.

For your Virtual Box, you will still have most all of your old configuration and the image file. When I did this upgrade, I still have my old virtual box setup and my OS image inside it.

I said not all because the ‘saved state‘ you can’t get it back. You have to press the ‘Discard‘ before you can use it. But it’s ok, only take few seconds for an OS to reboot.

Below are the steps.
First, go the virtual box website and download the program.

Read Full Post »

Before you install Windows XP on Virtual Box, make sure that you have enough time. The process will take at about 1 until 1.5 hours. It will depend on your machine.

Step 1. Run Create new Virtual machine.

  • Run Virtual box.

  • Click New.


  • Press Next.

  • Fill Name, for example ‘WindowsXP’ and select OS type ‘Windows XP’ and click ‘Next’ button.


  • Set your memory. I have 1 GB memory, so I give 256MB for Windows XP. It’s basic need for Windows XP to run smoothly. Then click ‘Next’ button.


  • Click ‘New’ to create a new virtual hard disk or ‘Existing’ if you have a virtual hard disk already.



Read Full Post »

If you need to run other Operating System in Ubuntu, you have to use a Virtual Machine. There are few most used Virtual Machines available on the internet, Virtual Box is one of them.

I like to use Virtual Box because it’s easy to operate.


From Ubuntu Terminal screen (Applications > Accessories > Terminal), type:

taufanlubis@toshiba:~$ sudo apt-get install virtualbox

Reading package lists… Done

Building dependency tree

Reading state information… Done

Note, selecting virtualbox-ose instead of virtualbox

The following extra packages will be installed:

virtualbox-ose virtualbox-ose-modules-2.6.22-14-generic

Recommended packages:


The following NEW packages will be installed:

virtualbox-ose virtualbox-ose-modules-2.6.22-14-generic

0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.

Need to get 6012kB of archives.

After unpacking 19.3MB of additional disk space will be used.

Do you want to continue [Y/n]? y

WARNING: The following packages cannot be authenticated!

virtualbox-ose-modules-2.6.22-14-generic virtualbox-ose

Install these packages without verification [y/N]? y

Get:1 http://archive.ubuntu.com gutsy/universe virtualbox-ose-modules-2.6.22-14-generic 6 [317kB]

Get:2 http://archive.ubuntu.com gutsy/universe virtualbox-ose 1.5.0-dfsg2-1ubuntu3 [5695kB]

Fetched 6012kB in 2m30s (40.0kB/s)

Selecting previously deselected package virtualbox-ose-modules-2.6.22-14-generic.

(Reading database … 152703 files and directories currently installed.)

Unpacking virtualbox-ose-modules-2.6.22-14-generic (from …/virtualbox-ose-modules-2.6.22-14-generic_6_i386.deb) …

Selecting previously deselected package virtualbox-ose.

Unpacking virtualbox-ose (from …/virtualbox-ose_1.5.0-dfsg2-1ubuntu3_i386.deb) …

Setting up virtualbox-ose-modules-2.6.22-14-generic (6) …

Installing new version of config file /etc/init.d/vboxdrv …

* Starting VirtualBox kernel module vboxdrv [ OK ]

Setting up virtualbox-ose (1.5.0-dfsg2-1ubuntu3) …


How to run?

  • Before you run the Virtual Box, you must have a permisson, otherwise you will get an error.

  • Open System > Administration > Users and Groups > Manage Groups.


Choose vboxusers then click Properties.

Mark on your user name and click OK.

Now, your user name has a permission to run Virtual Box.


Now, your user name has a permission to run Virtual Box.

Open Applications > System Tools > Innotek Virtualbox.

Now, you are ready to use Virtual Box.



Read Full Post »