User Tools

Site Tools


create_vinux_rescue_dvd

Create a Vinux Rescue DVD including Image for Linux

by Don Marang

These instructions should enable you to create a bootable live Vinux 3.0.1 or Vinux 3.1 Rescue DVD which has speech enabled in both console and the gnome graphical desktop. It features the Image for Linux application. This is sold with the popular Disk Image backup program "Image for Windows". It is the best way to provide speech during an emergency situation where the Windows partition fails and a recovery is necessary.

It also includes many of the Ubuntu packages used in the "Ubuntu Rescue Remix" disk for Windows plus a few extras. I am not familiar with the operation of all of these commands, but I thought it would be nice to have handy in an emergency. Any on-line documentation regarding how to use the "Ubuntu Rescue Remix" should be applicable. I assume the Command Line programs will be mostly accessible.

If you already have Vinux installed to a hard disk, you can download the ifl software in step 5 directly within Vinux and skip to step 12 to install Image for Linux on your hard drive. Note that you can not recover a partition from that partition. That is why a live DVD or USB Flash drive is recommended.

It is also possible to create a Vinux 3.0.1 or Vinux 3.1 live installation with Image for Linux on an USB Flash drive using the Create a Vinux Emergency USB Flash drive with Image for Linux instructions.

Instructions:

Note, commands that should be typed in at a command prompt will be displayed on a separate line and in bold.

  1. Download and unzip the Vinux 3.0.2 Virtual Edition from the vinuxproject.org website. The direct download link is:http://vinuxproject.org/Downloads/V3.0.2/Vinux-3.0.2-Virtual-Edition.exe The MD5Sum for this file is available on the vinuxproject.org downloads page. Vinux 3.0.2 is based on Ubuntu 10.0.4. It is the latest Virtual-Vinux as of this writing. However, if you have newer hardware only detected by a newer Vinux it is not hard to make a virtual machine using one of the standard Vinux .iso images.
  2. Just download the Vinux image that you can boot on the computer in question instead. Just make sure to use the correct version number as the vinux version in all filenames and commands in these instructions. Create a free VMware account on the VMware site and download the free VMware Player 3.1 application. http://downloads.vmware.com/d/info/desktop_downloads/vmware_player/3_0 Alternatively, a copy of the VMware Player should be inside the zip file downloaded in step 1. It may need to be updated once installed to get the latest version.
  3. Install the VMware Player 3.x application. The defaults should be fine. If you can not move between buttons of the dialogs with JAWS, press the Insert + Z key.
  4. JAWS Scripts should not be necessary with the Player 3.x version of the application. it is very accessible without any scripts! I have JAWS scripts available for VMware Player (free) and Workstation (about $168) that provide a little more functionality. They are more helpful if using Workstation 7.1, since it is slightly less accessible without scripts. If interested they are available at:http://mysite.verizon.net/marangs/VMware.html
  5. Purchase Image for Windows at the TerabyteUnlimited.com site if not done so already. It will direct you to the secure download page. Download the Image for Windows program if you have not already done so. While on the download page, download the Linux software, "ifl_en.zip" file as well. As of this writing, the version of Image for Windows and ifl_en.zip were version 2.6.1, dated 4 December 2010. It is very important to get this version or later if you are using Vinux 3.1. It fixes a fatal error that was broken in Maverick.
  6. If the Image for Windows program is not yet installed, install it now. You may want to experiment with the features of Image for Windows, listen to the audio tutorials on the jaws-users website; Image For Windows Creating A Backup and Image For Windows Reloading Your System and create an image backup to a USB external hard drive. Make sure that the copy of Image for Windows is no longer a trial version and that you have entered the product key into the registration dialog. It can be somewhat difficult to locate this dialog since it only stays on screen for 10 seconds. Additionally, if you have enabled User Account Control (UAC) in Vista or Windows 7, the dialog can easily disappear before you find the Reminder dialog. Press Enter on the dialog to stop the countdown timer. Type in your name as it appears on your order and paste the product key into the dialog. Any backup performed during the trial period will not be valid after the trial period is over.
  7. Run the "(click first)!Enable Shared Folder.bat" batch file in the Vinux 3.0 Virtual Edition zipped folder to create the directory shared between Vinux and Windows. This directory will be "C:\VinuxShare\" in Windows and "/home/hgfs/VinuxShare/" in Vinux.
  8. Go to the location where you saved the Image for Linux (IFL) software, "ifl_en.zip". Press Control + C to copy the file.
  9. Start the VMware Player 3.x application and press Control + O to open a Virtual Machine. Browse to the location where you saved the Vinux 3.0 Virtual Edition hard disk image and press Enter. The first time you open this file, the Player will ask if you moved or copied the file. Answer that the file was copied. I have found that the remastersys command performed later takes significantly less time if more memory is allocated to the Vinux client. If there is plenty of memory on your physical computer. increasing the allocated memory from 512 MB to 736 MB or 1024 MB will decrease the amount of time it takes to create the ISO image file. To do this, press Control + D to edit the hardware settings for the Virtual Machine. Hit Tab until on the memory spin control. Enter the new value, such as 1024 and press Enter.
  10. Press Alt + V to bring up the VM menu and select "Play" or "Power up" from the power submenu. This will boot from the virtual hard disk into Vinux.
  11. Press Control + G, to make the keyboard input be directed to the Virtual Machine (Vinux).
  12. While starting, Vinux will ask you for a username and password. Enter vinux (v i n u x) twice. As soon as the desktop is loaded, Orca will say "Welcome to Orca". Note Orca is the name of the screen reader.
  13. Open a File Browser window of the Home directory by pressing LeftAlt + F1 to bring up the menus, then arrow down and right to Places > Home and select by hitting Enter on the main keyboard (not the keypad).
  14. Press Control + V to paste the file here. The VMware Tools will take over to allow cut and paste of files and text between the host and client Operating Systems.
  15. Press the hotkey to return control of the keyboard back to the Windows host. By default, this keystroke is just Alt + Control. Many times this keystroke seems to make either the Alt or Control key stick. Press Alt + Control on the other side of the keyboard until pressing Escape just says Escape.
    I prefer to change this hotkey to Alt + Control + Shift, which does not conflict with Vinux operation.  If you want to change this hotkey, see

    Changing Release Hotkey.

  16. After purchasing Image for Windows, an email will be sent to you containing product keys for; Image for Windows, Image for DOS, and Image for Linux (IFL). Highlight the Image for Linux product key in the message and copy to the clipboard with Control + C. Save the email message as a text file for future use. Note that these product keys are also available when you login to the TerabyteUnlimited.com site on the download page.
  17. Return to the VMware Player window and press Control + G to pass control of the keyboard back to Vinux.
  18. Unzip the IFL software file to a directory named ifl_en. sudo unzip ifl_en.zip -d ifl_en This can also be done in the Nautilus File Manager. Select the ifl_en.zip file, press the Applications key, and select "Extract here" .
  19. move inside the folder (Change directory). cd ifl_en
  20. Run the setup program. Just press "y", then Enter to accept the license agreement and the defaults. It will ask for the product key. Type the following in a terminal window: sudo ./setupy
  21. Paste the product key into the edit box when asked using Control + Shift + V, then hit Enter.
  22. Press Enter four (4) times to finish setup using all defaults.
  23. A gnome desktop Launcher shortcut can be created by moving to the gnome desktop with Alt + Control + Tab. Simulate right clicking on a blank area of the desktop with Control + Shift + F10. Select "Add Launcher…" from the context menu. A dialog will appear to create a desktop launcher. Press Shift Tab once to the Type combo box. The default value is "Application". Press the Down Arrow once to select "Application in a terminal". Press Tab through the edit fields and fill in the following values:Name: Image for LinuxCommand: sudo /home/vinux/ifl_en/imagelComments: Provides recovery for Image for Windows backups Press Enter or Space on the Ok button.
  24. Install Ubuntu packages from the "Ubuntu Rescue Remix" disk providing many command line tools handy in an emergency that were not included in the standard Vinux 3.0 distributions. Many of these are now included in Vinux 3.0.1 and Vinux 3.1. I leave them listed here to let you know some of the packages that might help you out in an emergency. Do not forget the standard Linux commands are available as well, including gparted. The gparted application is an easy tool to partition hard disks. It is used within the gnome graphical desktop. Additionally, I found a few others that might be useful. Some are graphical interfaces to the command line tools. Copy and paste the lines beginning with "sudo apt-get" into a terminal window and press Enter. Update the current available package information:sudo apt-get update Command Line Interface (CLI) packages in Ubuntu-Rescue-Remix :(have a man page)sudo apt-get install chntpw scalpel foremost testdisk wipe scrounge-ntfs recover magicrescuesudo apt-get install array-info gptsync kpartx ext3grep(do not have a man page)sudo apt-get install ddrescue gnu-fdisk aoetools sleuthkit Additional tools:(have a man page)sudo apt-get install ntfs-config mountmanager mdadm e2undel autopsy memtester(do not have a man page)sudo apt-get install mondo mondo-doc smartmontools computertemp
  25. Add any Additional packages you might want on the DVD, such as any of the EasyInstall scripts, especially the EasyInstall - Security (which includes clam to scan for viruses), and perhaps EasyInstall - Office. It would be a good idea to make all settings to meet your preferences as well, so booting from a disk is not so annoying.
  26. Create a bootable libe CD image, using the current virtual hard disk configuration. This step will take a while to process! cd ..sudo remastersys backup Optionally, you can add a filename at the end of the command, which will be the name of the custom ISO file created.
  27. go to the folder where remastersys created the ISO image. cd /home/remastersys/remastersys
  28. Copy the ISO file for later use. The following lines will copy the ISO file and the checksum file to the shared directory, "C:\VinuxShare", which is available to both Vinux and Windows.cp Vinux-3.0.1.iso /mnt/hgfs/VinuxShare/cp Vinux-3.0.1.iso.md5 /mnt/hgfs/VinuxShare/ If you prefer to burn the disk in Vinux rather than in Windows as in step 31, do the following. Warning, usually VMware can not write to the physical DVD from a Virtual Machine running Vinux! Open the Nautilus File Browser in your home directory with Control + Shift + n. Press Backspace once to get to the /home directory. Select the remastersys directory and hit Enter. Again, select the remastersys directory and hit Enter. Now you should be viewing the /home/remastersys/remastersys/ directory. Select the Vinux-3.0.1.iso file. Press the Applications key for the context menu. Press the Up Arrow until the "Write to disk…" item is selected. Press Enter and follow the dialog to burn the DVD.
  29. Clean up! sudo renastersyes clean
  30. Shut down the Vinux Virtual Machine and VMware Player. Press LeftAlt + F1, then up arrow once to Shutdown and hit Enter.Press Space to Shutdown immediately. After the Virtual Machine closes and returns control to Windows, press Alt + F4 to Exit VMware Player.
  31. Burn the created ISO file to a blank DVD-R or DVD-RW disk in Windows. Open a Windows Explorer window and go to the C:\VinuxShare folder. Select the Vinux-3.0.1.iso file that was just copied here. Hit the applications key and select Open with > Windows Disk Image Burner. Follow the instructions in the wizard dialog. The disk will be ejected when completed. Note that the "Windows Disk Image Burner" wizard is included in the Windows 7 operating System. If you are using another version of Windows you can use the image burning software of your choice. I prefer the free utility ISO Recorder by Alex Feinman. It is a wizard like the new Windows 7 utility and is activated from the right click context menus in the same way. I even prefer it over the included burner in Windows 7, because I can burn directly from a network share file and it also creates ISO image files from a CD or DVD.

To use the recovery Vinux live CD with IFL

Make sure that your CD drive is in your computer's boot chain sequence. If you insert the bootable CD in the drive and restart your computer and it does not boot, it is probably because the CD drive is not in the boot chain. To add devices permanently, a change would need to be made to the boot sequence in the BIOS Setup. This requires sighted assistance.

On many computers, a key can also be pressed while powering up to select a source to boot from for that session. Dell computers will provide a list of boot sources if the F12 key is pressed and held for a few seconds after pressing the power button. Arrow down once to select CD/DVD and press Enter. Note, if a bootable USB device is also present, it will appear above the CD/DVD device.

If your hard disk fails and you need to recover from an image stored on an external hard disk, do the following:

  1. Insert the Vinux Live CD with IFL CD into the drive and boot the computer.
  2. Plug in your external hard disk.
  3. Switch to the console by pressing Alt + Control + F1. Log in to the vinux account. It should leave you at a command prompt. Change to the ifl_en directory. vinuxvinuxcd ifl_en
  4. Run Image for Linux. sudo ./imagel If the optional desktop shortcut was created, moving to the gnome desktop by pressing Alt + Control + Tab, arrow around to the "Image for Linux" icon, and pressing Enter will also start the application within gnome rather than switching to the console.
  5. Select the Recover radio button and then hit Enter.
  6. Select the "file OS" option.
  7. Browse to the location of the backup image on the external hard drive. Note that it may be easier to type in the directory name where the backup file is located. In my case, "/media/Elements/Backup/" represents my external hard drive G:\Backup\ in Windows.
  8. Select or confirm the partitions to be restored.
  9. Select where to find the target device or partition. First select "file direct", then "Linux drive". Select the device or partition where the backup should be placed.
  10. Select any additional options or Next to go to the summary dialog. If all of the parameters are correct, press Alt + s to start the recover operation.
  11. When the recover operation completes successfully, turn off the computer and reboot to Windows. If using the console, press Alt + Control + F7 to return to the gnome desktop. From the gnome desktop, press Alt + F1 for the main menu, Up Arrow once, then Enter on Shutdown and press Enter once more to power off the computer.

Send any comments to:SpeedyChair at live dot com

create_vinux_rescue_dvd.txt · Last modified: 2014/07/23 23:50 by Burt Henry