Fedora 20 Installer

From PrgmrWiki

These instructions assume you chose to do a text install. Only the options that need specific settings are called out. If you choose to do a VNC install, the same general requirements hold.

2) Installation source

Select 3) Network at:

Installation source

Choose an installation source type.
 1)  CD/DVD
 2)  local ISO file
 3)  Network

Select any other than nfs at:

Installation source

 1)  Closest mirror
 2)  http://
 3)  https://
 4)  ftp://
 5)  nfs
  Please make your choice from above ['q' to quit | 'c' to continue |
  'r' to refresh]: 3


4) Installation Destination

Select 'c' at installation destination:

Probing storage...
Installation Destination

[x] 1) Xen Virtual Block Device: 3.07 GB (xvda)

1 disk selected; 3.07 GB capacity; 2.96 MB free ...

  Please make your choice from above ['q' to quit | 'c' to continue |
  'r' to refresh]: 

Choose 'c' to keep the default of 2) Use All Space:

Autopartitioning Options

[ ] 1) Replace Existing Linux system(s)

[x] 2) Use All Space

[ ] 3) Use Free Space

Installation requires partitioning of your hard drive. Select what space to use 
for the install target.

  Please make your choice from above ['q' to quit | 'c' to continue |
  'r' to refresh]: c

Enter '1' to use a standard partition, then 'c' for continue:

Partition Scheme Options

[ ] 1) Standard Partition

[x] 2) LVM

[ ] 3) BTRFS

Select a partition scheme configuration.

  Please make your choice from above ['q' to quit | 'c' to continue |
  'r' to refresh]: 1

Other partitioning schemes may be used from the VNC install, however the first partition needs to be /boot and it needs to be ext2, ext3, or ext4.

End of Install

After finishing the install, the system may hang instead of rebooting. Enter 'ctrl-]' to leave the guest's console, then at the prgmr console menu use 'destroy' then 'create/start'.

At the first grub menu, boot into the live rescue instead of into your new install. Log in as root and run the following:

fdisk -l /dev/xvda

Sample output:

Disk /dev/xvda: 3221 MB, 3221225472 bytes
255 heads, 63 sectors/track, 391 cylinders, total 6291456 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00009c1e

    Device Boot      Start         End      Blocks   Id  System
/dev/xvda1   *        2048     1026047      512000   83  Linux
/dev/xvda2         1026048     1654783      314368   82  Linux swap / Solaris
/dev/xvda3         1654784     6291455     2318336   83  Linux

In this example xvda1 is boot and xvda3 is root. Here we mount root on /mnt:

mount /dev/xvda3 /mnt

Then run the following:

mount /dev/xvda1 /mnt/boot
mount --bind /proc /mnt/proc
mount --bind /sys /mnt/sys
mount --bind /dev /mnt/dev
tar xvzf /distros/fedora20-64.tar.gz -C /mnt ./usr/local/sbin
chroot /mnt
grub2-mkconfig -o /boot/grub2/grub.cfg
ln -s /boot/grub/menu.lst /etc/grub.conf
touch .autorelabel
ln -s . /boot/boot
exit
reboot