Debian Wheezy 7.0 Installer

From PrgmrWiki
(Redirected from Debian Installer)

Install

Partition disks

The following is known to work:

   │    partition #1 of Virtual disk 1 (xvda) as ext4                     │
   │    partition #5 of Virtual disk 1 (xvda) as swap                     │

A separate boot partition can be used, but it should be formatted ext2, ext3, or ext4.

Install the GRUB boot loader on a hard disk

Select yes for simplicity, though we will instead install the package "pv-grub-menu" in a later step.

   ┌──────────┤ [!] Install the GRUB boot loader on a hard disk ├──────────┐
   │                                                                       │
   │ The following other operating systems have been detected on this      │
   │ computer: Debian GNU/Linux (7.6)                                      │
  ┌│                                                                       │
  ││ If all of your operating systems are listed above, then it should be  │
  ││ safe to install the boot loader to the master boot record of your     │
  ││ first hard drive. When your computer boots, you will be able to       │
  ││ choose to load one of these operating systems or your new system.     │
  ││                                                                       │
  └│ Install the GRUB boot loader to the master boot record?               │
   │                                                                       │
   │     <Go Back>                                       <Yes>    <No>     │
   │                                                                       │
   └───────────────────────────────────────────────────────────────────────┘

Finish the installation

Select "<Yes> for clock set to UTC:

   ┌────────────────────┤ [!] Finish the installation ├────────────────────┐
   │                                                                       │
  ┌│ System clocks are generally set to Coordinated Universal Time (UTC).  │
  ││ The operating system uses your time zone to convert system time into  │
  ││ local time. This is recommended unless you also use another operating │
  ││ system that expects the clock to be set to local time.                │
  ││                                                                       │
  ││ Is the system clock set to UTC?                                       │
  └│                                                                       │
   │     <Go Back>                                       <Yes>    <No>     │
   │                                                                       │
   └───────────────────────────────────────────────────────────────────────┘

Select "<Go Back> at the end of the installation:

   ┌───────────────────┤ [!!] Finish the installation ├────────────────────┐
   │                                                                       │
  ┌│                         Installation complete                         │
  ││ Installation is complete, so it is time to boot into your new system. │
  ││ Make sure to remove the installation media (CD-ROM, floppies), so     │
  ││ that you boot into the new system rather than restarting the          │
  ││ installation.                                                         │
  ││                                                                       │
  └│     <Go Back>                                          <Continue>     │
   │                                                                       │
   └───────────────────────────────────────────────────────────────────────┘

Select "execute a shell":

             ┌─────────┤ [!] Debian installer main menu ├─────────┐
             │                                                    │
             │ Choose the next step in the install process:       │
             │                                                    │
             │   Set up users and passwords                       │
             │   Configure the clock                          ▒   │
             │   Detect disks                                 ▒   │
             │   Partition disks                              ▒   │
             │   Install the base system                      ▒   │
             │   Configure the package manager                ▒   │
             │   Select and install software                  ▒   │
             │   Install the GRUB boot loader on a hard disk  ▒   │
             │   Install the LILO boot loader on a hard disk  ▒   │
             │   Continue without boot loader                 ▒   │
             │   Finish the installation                      ▒   │
             │   Change debconf priority                      ▒   │
             │   Save debug logs                                  │
             │   Execute a shell                              ▒   │
             │   Abort the installation                           │
             │                                                    │
             └────────────────────────────────────────────────────┘

Perform the following at the shell prompt:

chroot /target
echo 'co:2345:respawn:/sbin/getty hvc0 9600 linux' >> /etc/inittab
echo 'deb http://ftp.us.debian.org/debian/ wheezy-backports main' >> /etc/apt/sources.list
apt-get update
apt-get install -y pv-grub-menu

If you made a separate boot partition in the "Partition disks section", for example:

  │       Virtual disk 1 (xvda) - 3.2 GB Xen Virtual Block Device  ▒        │
  │       >     #1  primary  126.9 MB    f  ext4    /boot                   │
  │       >     #3  primary    2.9 GB    f  ext4    /              ▒        │
  │       >     #5  logical  184.5 MB    F  swap    swap           ▒        │

Then perform the following step before leaving the chroot:

cd /boot
ln -s . boot

Finally type 'exit' until you leave the shell and then select "Finish the installation" , this time selecting " <Continue>" at:

   ┌───────────────────┤ [!!] Finish the installation ├────────────────────┐
   │                                                                       │
  ┌│                         Installation complete                         │
  ││ Installation is complete, so it is time to boot into your new system. │
  ││ Make sure to remove the installation media (CD-ROM, floppies), so     │
  ││ that you boot into the new system rather than restarting the          │
  ││ installation.                                                         │
  ││                                                                       │
  └│     <Go Back>                                          <Continue>     │
   │                                                                       │
   └───────────────────────────────────────────────────────────────────────┘