Skip to main content
added 36 characters in body
Source Link

I am understanding that the Dom0 is my Linux 4.0 systemkernel & system; I have xen-hypervisor-4.5-amd...

I am understanding that the Dom0 is my Linux 4.0 system

I am understanding that the Dom0 is my Linux 4.0 kernel & system; I have xen-hypervisor-4.5-amd...

added 84 characters in body
Source Link

run FreeBSD 10 (as guest) under Xen on Linux

I have my Linux/Debian/Sid amd64 (with i7 3770K, 16Gb RAM, 1 SSD + 2 hard disks) PC with xen (notably I have installed a package xen-linux-system-amd64), so

 sudo xen list
 Name                                        ID   Mem VCPUs State   Time(s)
 Domain-0                                     0 16016     8     r-----    2634.8

I am understanding that the Dom0 is my Linux 4.0 system

I have a disk with two partitions for FreeBSD

sudo fdisk -l /dev/sdd
Disk /dev/sdd: 465.8 GiB, 500106780160 bytes, 976771055 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
Disklabel type: dos
Disk identifier: 0x624aeae3

Device     Boot     Start       End   Sectors  Size Id Type
/dev/sdd1            2048 754976767 754974720  360G 83 Linux
/dev/sdd2       754976768 773851135  18874368    9G 82 Linux swap / Solaris
/dev/sdd3       773851136 792725503  18874368    9G b8 BSDI swap
/dev/sdd4       792725504 976771054 184045551 87.8G b7 BSDI fs

(BTW, this is not my system disk; /dev/sdd1 is for my /xtra Linux ext4 file system, and dev/sdd2 is my second swap partition)

I would like to run FreeBSD, probably only on the command line since I don't need to run X11 server under FreeBSD, (preferably FreeBSD 10.1 for x86-64 architecture) under xen using /dev/sdd4 for its root (and only) filesystem and /dev/sdd3 for its swap area. But I am not sure of how to proceed next.

Should I download FreeBSD-10.1-RELEASE-amd64-bootonly.iso or what? What are the next steps to run it under xen? The http://wiki.xen.org/wiki/How_to_Install_a_FreeBSD_domU_on_a_Linux_Host page is not helpful enough. (& https://www.freebsd.org/doc/handbook/virtualization-guest.html don't mention xen)

FWIW, I am an old Unixer (my first Unix was SunOS3.2 on Sun3/160 in the mid 1980s) and my main motivation for trying FreeBSD is to check that my MELT software (a GPLv3 plugin for recent GCC to easily extend and customize GCC in a Lisp-like language) can be used on FreeBSD.

run FreeBSD 10 under Xen on Linux

I have my Linux/Debian/Sid amd64 (with i7 3770K, 16Gb RAM, 1 SSD + 2 hard disks) PC with xen (notably I have installed a package xen-linux-system-amd64), so

 sudo xen list
 Name                                        ID   Mem VCPUs State   Time(s)
 Domain-0                                     0 16016     8     r-----    2634.8

I am understanding that the Dom0 is my Linux 4.0 system

I have a disk with two partitions for FreeBSD

sudo fdisk -l /dev/sdd
Disk /dev/sdd: 465.8 GiB, 500106780160 bytes, 976771055 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
Disklabel type: dos
Disk identifier: 0x624aeae3

Device     Boot     Start       End   Sectors  Size Id Type
/dev/sdd1            2048 754976767 754974720  360G 83 Linux
/dev/sdd2       754976768 773851135  18874368    9G 82 Linux swap / Solaris
/dev/sdd3       773851136 792725503  18874368    9G b8 BSDI swap
/dev/sdd4       792725504 976771054 184045551 87.8G b7 BSDI fs

(BTW, this is not my system disk; /dev/sdd1 is for my /xtra Linux ext4 file system, and dev/sdd2 is my second swap partition)

I would like to run FreeBSD, probably only on the command line since I don't need to run X11 server under FreeBSD, (preferably FreeBSD 10.1 for x86-64 architecture) under xen using /dev/sdd4 for its root (and only) filesystem and /dev/sdd3 for its swap area. But I am not sure of how to proceed next.

Should I download FreeBSD-10.1-RELEASE-amd64-bootonly.iso or what? What are the next steps to run it under xen? The http://wiki.xen.org/wiki/How_to_Install_a_FreeBSD_domU_on_a_Linux_Host page is not helpful enough.

FWIW, I am an old Unixer (my first Unix was SunOS3.2 on Sun3/160 in the mid 1980s) and my main motivation for trying FreeBSD is to check that my MELT software (a GPLv3 plugin for recent GCC to easily extend and customize GCC in a Lisp-like language) can be used on FreeBSD.

run FreeBSD 10 (as guest) under Xen on Linux

I have my Linux/Debian/Sid amd64 (with i7 3770K, 16Gb RAM, 1 SSD + 2 hard disks) PC with xen (notably I have installed a package xen-linux-system-amd64), so

 sudo xen list
 Name                                        ID   Mem VCPUs State   Time(s)
 Domain-0                                     0 16016     8     r-----    2634.8

I am understanding that the Dom0 is my Linux 4.0 system

I have a disk with two partitions for FreeBSD

sudo fdisk -l /dev/sdd
Disk /dev/sdd: 465.8 GiB, 500106780160 bytes, 976771055 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
Disklabel type: dos
Disk identifier: 0x624aeae3

Device     Boot     Start       End   Sectors  Size Id Type
/dev/sdd1            2048 754976767 754974720  360G 83 Linux
/dev/sdd2       754976768 773851135  18874368    9G 82 Linux swap / Solaris
/dev/sdd3       773851136 792725503  18874368    9G b8 BSDI swap
/dev/sdd4       792725504 976771054 184045551 87.8G b7 BSDI fs

(BTW, this is not my system disk; /dev/sdd1 is for my /xtra Linux ext4 file system, and dev/sdd2 is my second swap partition)

I would like to run FreeBSD, probably only on the command line since I don't need to run X11 server under FreeBSD, (preferably FreeBSD 10.1 for x86-64 architecture) under xen using /dev/sdd4 for its root (and only) filesystem and /dev/sdd3 for its swap area. But I am not sure of how to proceed next.

Should I download FreeBSD-10.1-RELEASE-amd64-bootonly.iso or what? What are the next steps to run it under xen? The http://wiki.xen.org/wiki/How_to_Install_a_FreeBSD_domU_on_a_Linux_Host page is not helpful enough (& https://www.freebsd.org/doc/handbook/virtualization-guest.html don't mention xen)

FWIW, I am an old Unixer (my first Unix was SunOS3.2 on Sun3/160 in the mid 1980s) and my main motivation for trying FreeBSD is to check that my MELT software (a GPLv3 plugin for recent GCC to easily extend and customize GCC in a Lisp-like language) can be used on FreeBSD.

Source Link

run FreeBSD 10 under Xen on Linux

I have my Linux/Debian/Sid amd64 (with i7 3770K, 16Gb RAM, 1 SSD + 2 hard disks) PC with xen (notably I have installed a package xen-linux-system-amd64), so

 sudo xen list
 Name                                        ID   Mem VCPUs State   Time(s)
 Domain-0                                     0 16016     8     r-----    2634.8

I am understanding that the Dom0 is my Linux 4.0 system

I have a disk with two partitions for FreeBSD

sudo fdisk -l /dev/sdd
Disk /dev/sdd: 465.8 GiB, 500106780160 bytes, 976771055 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
Disklabel type: dos
Disk identifier: 0x624aeae3

Device     Boot     Start       End   Sectors  Size Id Type
/dev/sdd1            2048 754976767 754974720  360G 83 Linux
/dev/sdd2       754976768 773851135  18874368    9G 82 Linux swap / Solaris
/dev/sdd3       773851136 792725503  18874368    9G b8 BSDI swap
/dev/sdd4       792725504 976771054 184045551 87.8G b7 BSDI fs

(BTW, this is not my system disk; /dev/sdd1 is for my /xtra Linux ext4 file system, and dev/sdd2 is my second swap partition)

I would like to run FreeBSD, probably only on the command line since I don't need to run X11 server under FreeBSD, (preferably FreeBSD 10.1 for x86-64 architecture) under xen using /dev/sdd4 for its root (and only) filesystem and /dev/sdd3 for its swap area. But I am not sure of how to proceed next.

Should I download FreeBSD-10.1-RELEASE-amd64-bootonly.iso or what? What are the next steps to run it under xen? The http://wiki.xen.org/wiki/How_to_Install_a_FreeBSD_domU_on_a_Linux_Host page is not helpful enough.

FWIW, I am an old Unixer (my first Unix was SunOS3.2 on Sun3/160 in the mid 1980s) and my main motivation for trying FreeBSD is to check that my MELT software (a GPLv3 plugin for recent GCC to easily extend and customize GCC in a Lisp-like language) can be used on FreeBSD.