Showing posts with label disk. Show all posts
Showing posts with label disk. Show all posts

Tuesday, 11 July 2017

Creating virtual disk

Creating virtual disk



How do I create a virtual disk in Ubuntu?

Open a terminal (Applications -> Accessories -> Teminal), and enter these commands (this will create a 10 GB extra.virtual.disk, adjust line 2 to change these):
cd /host/ubuntu/disks
dd if=/dev/zero of=extra.disk bs=1MB count=10000 seek=1
mkfs.ext3 -F extra.disk

How do I create a virtual disk in Windows?

You can use qemu-img for that. Another dirty (but working) trick is to copy any other file of the desired size to C:wubidisks and rename it "root.disk", "home.disk", "swap.disk" or "extra.disk". Thats the Wubi equivalent of buying (and installing) a new hard disk.
If you are running Windows XP (may work in Windows 2000 and Vista as well) you can create a file by using the fsutil that is included with Windows. The command format is fsutil file createnew filename filesize where filename is the file you wish to create and filesize is the size of the file to be created in bytes.
{ Read More }


Friday, 16 June 2017

Cromemco MFM Hard Disk Formatting

Cromemco MFM Hard Disk Formatting



Subtitle: How long does it take Marcus to format a hard Disk?

Answer: About 1 day :-)

At first my answer to Agata about the formatting time of 1 day, or about 8 hours of Marcus life would seem to be quite high, especially since the disk is only going to be 91MB in size, post formatting.

Presumably though this is exactly the point.

This is the disk:

Yes this disk however is now over 30 years old and it is somewhat of a miracle that it is still working electrically or mechanically, or that there is a computer that can use it, or a person that knows how to use it well.

And the capacity of just under 100MB is 500 times smaller than the storage card in my mobile phone.  Oh mi, how things have moved on since the 80s



The following worked example of a disk format using Cromemco Cromix 167 my Operating System of choice in about 1981.  Oh, and still my Cromemco Operating System of choice in 2016.


Using inithard with parameter -n it means dont read the existing partition table from the head of the disk and instead prompt the user for the geometry.  At the end of the format the partition table parameters are written to a special place at the front of the disk.

Unlike with todays hard disks there is no mechanism for the host to equire about geometry, power on hours that primarily the SMART standard has made so easily possible today

First pass formatting produces errors.

Using the Cromemco STDC and STDX hard disk controllers the data track is not split into conventional sectors.  Instead a single read and write track command is used to write the 10K bytes contained on the surface.  The STDC controller then buffers the output reads and writes back to the operating system in a more manageable fashion.

This does mean that if any part of a track surface is faulty then the whole track is marked as unreadable.  In a more conventional schema of the time the track is divided into sectors and individual sectors are remapped if erroneous.


Although the disk starts from Cylinder 0 from Cromemco Cromix (cf Cromemco UNIX) the usable starting cylinder of the disk is always given to be 1

When you first format the whole disk the formatter checks for errors.  What you typically do then is make a first list of all the erroneous  surfaces.  You are then going to remap those error surfaces to an alternate track table.

Example: Your disk contains 1000 tracks from 0-999.  And there are 6 heads so meaning head 0 thru 5. You allocate the data part to be between 1-990 and leave 991-999 for bad track alternative mapping.

Whilst formatting you find track 146 surface 5 (head 5) has an issue.  So you relocate this to track 990 head 0.  So then when the Operating system tries to ready 146 surface 5 it gets remapped to track 990 head 0.


Whilst you can allocate an entire disk into a single partition you can split it into more than one partition as shown above.  You can then boot any partition from cold or whilst booted to a partition mount other partitions as you wish.

There is no 4 partition limit here as was imposed in later PC Operating System.

The partition allocation takes place after the formatting, though you can in fact just make partitions and do no formatting, if for example that you did it earlier.

The diskinfo command can show you the result of your formatting, partition allocation and bad track relocation. This simply reads the special area in track 0 and decodes it for display.



The readall command is the fastest way to read the entire disk and check it for any error
As a paranoid android lets read the whole disk 4 times, and time the event


As you can see this takes over 40 minutes!

It is good practice to do this for these 35 year plus old disks (!!) so we can be sure that no extra read errors crop up after the disk has been spinning for a few hours.  Again, with media of this age, who design life was no doubt about 5 years, but is now over 35 years old, one has to be a little bit more careful.

Cromemco Cromix also provided a special rcopy command that would copy especially quickly from block devices, for example hard disks.  So back in the day it was good practice to have pairs of hard drives.  You could use the rcopy command to make a bit for bit copy from source to target hard disk.  If the source disk should fail simply boot from target and repair source.

Today this practice lives on in the UNIX and Linux community using the dd command to copy disks, although metadata on hard disks can make this a bad idea.

So here is the disk information showing all the partitions and alternate tracks  With the disk up and spinning for a couple of hours checking that no extra errors have sprung up.


One of the last steps is to make a filesystem that can contain files and directories.  In the days of Cromix there was only the Cromix filesystem  cf today when Windows offers FAT, NTFS and ReFS, and Linux offers more than 20 different filesystems.  Back in 1981 you only got a choice of 1 for Cromix  (and 1 for it even older CDOS) Operating System.


Here I made all the filesystems and finally mounted uo the the /dev/std32 partition up onto the filesystem blank /hd32.  Then using the cptree command I would copy the entire existing Operating System from / to the target /hd32.


Summary
I hope that I have shown why formatting a single disk on my 1980s Cromemco Cromix computer system can take the best part of the day.  Well to do it professionally and in an error free manner, given that this ancient media can now have significant defects which must be detected and then remapped.

{ Read More }


Friday, 9 June 2017

Creates A Virtual Encrypted Disk with Password Protect in your USB flash Drive or Hard drive

Creates A Virtual Encrypted Disk with Password Protect in your USB flash Drive or Hard drive



Creates A Virtual Encrypted Disk with Password Protect in your USB flash Drive or Local Hard drive using TrueCrypt Free Software. First download And Install TrueCrypt in your System Computer. For more updates you can visit the main source here .

Step-by-Step Instructions on How to Create,
Mount, and Use a TrueCrypt Volume Encryption.


The main TrueCrypt window should appear. .

Step 1:


Click Create Volume (marked with a red rectangle for clarity).

Step 2:


Choose Creates an Encrypted File Container and Click Next.

Step 3:


Choose Standard TrueCrypt Volume, Select this option if you want to create a normal TrueCrypt volume

Step 4:



Select A File, or Create a file then Save and Click Next

Step 5:


Click Next

Step 6:



Choose Default Encryption Option Click Next.

Step 7:


Select Your Volume Size, TrueCrypt Will Detect All Free Space available in your local Drive. Click Next.

Step 8:


Insert Password for your TrueCrypt, TrueCrypt Recommend choosing a password more than 20 character (the longer, ther better). click Next

Step 9:


If password below 20 character TrueCrypt alert you, You can choose yes if you dont want longer password.

Step 10:


Select Yes if you want TrueCrypt Store more Than 4GB in your Drive. Click Next.

Step 11:


Click Format, Wait until TrueCrypt Finish Formating Your Encrypted Drive


To Mount Created Volume

Step 1:


Step 2:


Step 3:


Step 4:







Watch Live Video Tutorial: Here


More Tags: Angry Bird, Blogger, Fate , Plants Vs Zombie, Special Force, Point Blank, Ai Maps, Deep Freeze UnFreezer, Ninja Saga, Deep Freeze, Samsung SGH, Guitar Pro, USB XP Install, Yahoo 443 Problem, Turtle Odyssey, GTA San-Andreas, PlayStation, Tips Tweaks Tricks, HTML, Facebook, Animated JPG, Counter-Strike, USB Windows Format, Screensaver, USB Security.
{ Read More }


Tuesday, 18 April 2017

Create a Startup Disk By Using this Virtual Floppy Disk Drive No Built in Installations Needed

Create a Startup Disk By Using this Virtual Floppy Disk Drive No Built in Installations Needed


Because of fast technology CD�s is much exploit compare to a Floppy Disk And because of a high memory capacity of 700MB it can store any type of file. Like Mp3, Video, your important data files and Bootable Disk Streaming Windows Xp SP2 Professional by using any Burning Software. Best example is (Nero). However, Other Program requires to having built-in Floppy Drive on their PC to open a system files. So I made a Decision and find what Software I will use to make a Virtual floppy Drive. And this is it, VFD Control Panel a small software that can you use to backup your system files and make not only one but twice Virtual Floppy Drive. With A default letter A: for your Floppy Drive. But you can select what Letter you want for your Device A-Z. It safe and no Hustle, no Adds-on and Virus free. Just Install or extract the file on any directory you want. Now you can use Floppy drive without built-in installed�.

Click All the Image for Better Guide:




Download VFDCpanel: Here
Download OEMBoot.IMZ: Here


Note: You can Make a Blank IMZ file by Copying OEMBoot.IMZ file and Rename it into Blank144.IMZ file. Open your Rename file in VFDCPanel. Format then Save Now you Have a Black 3.5" 1.44MB Image Disk. Thanks...



More Tags: Angry Bird, Blogger, Fate , Plants Vs Zombie, Special Force, Point Blank, Ai Maps, Deep Freeze UnFreezer, Ninja Saga, Deep Freeze, Samsung SGH, Guitar Pro, USB XP Install, Yahoo 443 Problem, Turtle Odyssey, GTA San-Andreas, PlayStation, Tips Tweaks Tricks, HTML, Facebook, Animated JPG, Counter-Strike, USB Windows Format, Screensaver, USB Security.
{ Read More }


Friday, 7 April 2017

convert virtualBox vdi to real physical bootable disk

convert virtualBox vdi to real physical bootable disk


How restore a non working windows partition and how install a proper bootloader.

http://www.kabindra.com.np/2011/01/install-burgbrand-new-universal-loader-from-grub-in-ubuntu/

http://www.kabindra.com.np/2010/11/how-to-manually-repair-windows-7-boot-loader-problems/

http://ubuntuforums.org/showthread.php?t=1014708
  How to restore the Ubuntu/XP/Vista/7 bootloader (Updated for Ubuntu 10.10)

http://www.techspot.com/guides/143-dual-boot-windows7/  

http://forums.techarena.in/tips-tweaks/1114826.htm

Convert virtualbox .vdi to physical & bootable second disk

Actually this is very simple to accomplish. As stated before you need to unload all the drivers off of the virtual machine. get it back to the standard default drivers that came with it when you first installed the OS. This can be done a few ways but the easiest would be with sysprep (otherwise you an manually uninstall them all... never tried it this way but I suppose that it could work).

After you get it back to the factory defaults it is as simple as cloning the HDD via a program that you can boot into. My personal favourite is Hiren boot CD. I use the Norton Ghost utility off it to create a clone of the virtual HDD onto a DVD. This is accomplished by booting the virtual machine up with the Hiren CD.


With that DVD then I can boot up the physical machine with Hiren go to the Norton Ghost program and then reverse the process uploading the new image off of the DVD onto the HDD.


Overall this process takes about a hour, of course depending on the size of the virtual machine and the speed of the PC that you are using.
{ Read More }