Xen On Funtoo From Scratch

From Xen

STUB - WORK IN PROGRESS

Hardware Configuration

  • VGA: Nvidia GeForce 9800 GT
  • CPU: Intel Core i7 3770
  • Motherboard: DQ77MK

Used Software

  • Dom0 OS: Funtoo GNU/Linux distro (derrived from gentoo).
  • Kernel: 3.4.4
  • Xen: 4.2.0-unstable rev 25099
  • DomU OS: Windows XP SP3


Reference documentation

Make bootable USB

Make partitions

   note user # fdisk -l /dev/sdb  
   
   Disk /dev/sdb: 8422 MB, 8422162432 bytes
   239 heads, 47 sectors/track, 1464 cylinders, total 16449536 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: 0x0008aec7
   
      Device Boot      Start         End      Blocks   Id  System
   /dev/sdb1   *        2048    16449535     8223744    b  W95 FAT32

Install MBR

   note user # dd if=/usr/share/syslinux/mbr.bin of=/dev/sdb
   0+1 records in
   0+1 records out
   440 bytes (440 B) copied, 0.0190098 s, 23.1 kB/s


Make fat32 filesystem

   note user # mkdosfs -F32 /dev/sdb1 
   mkdosfs 3.0.9 (31 Jan 2010)

Download Gentoo LiveCD iso

Go to http://www.gentoo.org/main/en/where.xml ; pick mirror you like and download install-amd64-minimal-[0-9]*.iso, for example - this one: http://distfiles.gentoo.org/releases/amd64/autobuilds/current-iso/install-amd64-minimal-20120621.iso


Install funtoo

Follow this guide: ==

Install kernel 3.4.4

   # emerge -av =sys-kernels/gentoo-sources-3.4.4


  • install xen 4.2-unsable
  • install winxp
  • integreate