Previous Topic: Debian 6 i386Next Topic: Fedora 18 i386


Debian 6 x86_64

You can install this distro in your appliance.

Note: We recommend creating a separate partition for /usr volume to allow you to move the volume later. This allows you to create a volume that is read-only and shared between appliance instances as well as conserve disc space. You must verify that the distro that you are installing supports the separation. If you create multiple partitions and do not separate later, some filesystem counters will not report correctly.

Follow these steps:

  1. Upload the installation DVD to the /vol/_impex/ directory.
  2. Open the grid shell and initialize the installation with the following command:
    util iso2class app_name=Debian6_x64 install_size=5G console_type=graphic iso_volume1=debian-6.0.6-amd64-DVD-1.iso os=linux virt_mode=xen_pv,xen_hvm cpu=0.5 mem=2G bw=1M
    

    The following prompt appears:

    When you have finished installing from iso_volume1 and are ready to reboot so that remaining volume(s) become available, press [Enter]
    
  3. Access the GUI, select the Debian6_x64 application, and click the Login (graphic) icon.

    The Debian installation wizard displays a series of panels for you to select your preferences. After you make your selections on each panel, press Enter to advance to the next one.

  4. For some panels, you can make your own choices or accept default values, but for the following panels, select the following values:
    1. Installer boot menu: select Install.
    2. Primary network interface: select eth1.
    3. Continue without the default route: select Yes.
    4. Name server addresses: select Continue without adding any servers.
    5. Domain name: select Continue without adding any domains.
    6. Enter and verify the password for the root user.
    7. Define Full name, Username, and password for a non-privileged account.
    8. Partitioning method: select Manual, and on the next panel, select the disk device.
    9. Create a new empty partition table on this device: select Yes, and on the next panel, select the FREE SPACE line.
    10. How to use this free space: select Create a new partition for the first primary ext3-formatted, 2 GB partition.
    11. New partition size: enter 2 GB.
    12. Type for the new partition: select Primary.
    13. Location for the new partition: select Beginning.
    14. Partition settings: set the following values:
      • Use as: Ext3 as the file system
      • Mount point: /
    15. Select Done setting up the partition and press Enter.
    16. Select the FREE SPACE line to create the second, primary ext3-formatted partition, with the mount point set to /usr.
    17. How to use this free space: select Create a new partition.
    18. New partition size: enter 3.4 GB.
    19. Type for the new partition: select Primary.
    20. Partition settings: set the following values:
      • Use as: Ext3 as the file system
      • Mount point: /usr
    21. Select Done setting up the partition and press Enter.
  5. Select Finish partitioning and write changes to disk to commit your changes to disk volume.
    1. Do you want to return to the partitioning menu: select No.
    2. Write the changes to disks: select Yes.
    3. Scan another CD or DVD: select No.
    4. Use a network mirror: select No.
    5. Participate in the package usage survey: select No.
    6. Choose software to install: select SSH Server and Standard system utilities.
    7. Install the GRUB boot loader to the master boot record: select Yes
    8. Wait until the progress screen completes and all required software is installed.
    9. Installation complete: select Continue

    The Debian installation wizard closes.

  6. Complete the installation:
    1. Return to the grid shell.

      The following prompt still appears:

      When you have finished installing from iso_volume1 and are ready to reboot so that remaining volume(s) become available, press [Enter]
      
    2. Press Enter, Y, Enter.

      The following prompt appears:

      When you have finished with the installation, press [Enter] to continue
      
    3. Press Enter, Y, Enter.

      A prompt appears to specify whether to install msi/APK.

    4. Press 2, Enter to select NOT to install the msi/APK.

      A prompt appears to specify whether to call hvm2pv now.

    5. Press 2, Enter to select NOT to call hvm2pv now.

      You now should have an Debian application named Debian6_x64 running.

    6. Enter the following command to stop the application:
      app stop Debian6_x64
      
    7. Specify the device schema:
      • Open the application GUI, right-click on the singleton, and select Modify Boundary.
      • On the General tab, in the Virtualization section, click Advanced, select IDE and /dev/hdX, and click OK.
      • On the Volumes tab, select the consecutive hd* (hda,hdb,hdc...) devices for all volumes (where hda is the boot volume), click OK, and save the application.
    8. Enter the following command to call the hvm2pv utility:
      util hvm2pv name=Debian6_x64:main.iso2class
      

      The following prompt appears:

      Is the pre-requisite software installed?
      
    9. Press Y, Enter.

      A confirmation prompt appears.

    10. Press Y, Enter to confirm the Debian OS and 64-bit architecture.

      A prompt appears to set up a new root password.

    11. Press N, Enter to NOT set up a password.

      A prompt appears to press any key when ready.

    12. Press Enter to boot the appliance in PV mode.

      Note: The appliance should boot successfully in both PV and HVM modes.

      A prompt appears to delete the original boot volume.

    13. Press Y, Enter to perform the cleanup.

    You now have the managed Debian 6 x64 appliance capable of booting in PV and HVM modes.

  7. To enable the text console for PV and HVM modes, follow these steps:
    1. Enter the following command to start the Debian6_x64 application:
      app start Debian6_x64
      
    2. Enter the following command to log into the application:
      app login Debian6_x64
      
    3. Issue the following commands:
      echo 'GRUB_CMDLINE_LINUX="console=ttyS0"' >> /etc/default/grub
      sed -i 's/^#T0/T0/g' /etc/inittab
      update-grub
      
    4. Restart the Debian6_x64 application.

    Now you should be able to observe startup messages and log into the text console.