Saturday, May 30, 2009

Installing Debian "etch-and-a-half" in Windows XP

In order to install Debian"etch-and-a-half" in Windows XP, we need the following tools:

  1. WMware Player - free tool to run virtual machines on Linux or Windows PCs
    http://www.vmware.com/products/player/

  2. EasyVMX - the free web tool to create virtual machines for VMware Player
    http://www.easyvmx.com/

  3. The Debian "etch-and-a-half" netinst CD image (amd64)
    http://www.debian.org/releases/etch/debian-installer/etchnhalf
Steps:
  1. Install VMware Player in Windows XP.
  2. Create an empty virtual machine:
    - Using EasyVMX, http://www.easyvmx.com/easyvmx.shtml
    - Virtual Machine Name: Debian
    - Select Guest OS: Generic Linux 2.6.x 64-bit
    - Memory Size: 320 MB
    - Ehternet0: Bridged
    - Enable CDROM #2: disk.iso
    - Disk #1: Disk Size 2GB
    - Create and download the virtual machine Debian.zip
  3. Extract the Debian.zip
  4. Download the Debian CD and rename the file to disk.iso
  5. Place the disk.iso into the same directory of the extracted Debian.zip
  6. Play the extracted virtual machine using VMware Player.
  7. You may need to associate the CD to the disk.iso in VMware Player:
    Devices => CD/DVD(IDE) => Connect to Disk Image File (iso)...
  8. Press Ctrl+Alt+Delete to reboot the virtual machine to start Debian installation.

References:
  1. 用vmware player, easyvmx 去安裝ubuntu
    http://teristam.mysinablog.com/index.php?op=ViewArticle&articleId=191647

  2. www.easyvmx.com 玩VMWARE不用Station版喔!
    http://blog.roodo.com/kazamasogetsu/archives/3270827.html

Tuesday, May 26, 2009

Reset Debian Root Password

Boot to bash prompt as root:

  1. Reboot system
  2. Highlight "single-user mode" in GRUB menu and press "e" to edit
  3. Highlight "kernel /boot/vmlinuz-2.6...." and press "e" to edit
  4. Add "init=/bin/bash" and press
  5. Press "b" to reboot
In bash prompt and mount file system as read/write:
  1. mount -o remount,rw /
In bash prompt and change root password:
  1. passwd