Instructions for CFE
///Install onto USB Drive
The below instructions describe how to install Fienix onto a USB drive. You will need a computer running Linux to prepare the USB drive.
Downloading and Extracting
Downloads:
Kernel:
vmlinux-4.20-AmigaOne_X1000_X5000.tar.gz
Fienix image:
Fienix-Beta120418.img.tar.gz (3.5G)
Download the kernel and extract - you should have "
zImage-4.20" and the kernel modules directory "
4.20.0_A-EON_AmigaOne_X1000_Nemo"
Download the Fienix image and extract, make note of the path to the Fienix image, such as "
/home/user/Fienix.img"
Preparing the USB Drive
Insert your USB drive and open gparted
Use the menu on the right side of the toolbar to select the USB drive you inserted
Make note of the device path, such as “
/dev/sdb” -this will be referred to as "
/dev/usbdrive" from this point forward, use your correct path
Click the Device menu, then click Create Partition Table
Select new partition table type:
msdos
Click Apply
Choose the Partition menu, then New
Enter the following options: Free space preceding: 1; New size: 128; File system: fat32; Label: NEMOBOOT
Click Add button
Choose Partition, then New
Enter the following options: File System: ext4; Label: FIENIX
Click Add button
In the toolbar, click the check mark for “Apply All Operations”
Click the Apply button
After all operations have completed, click the Close button
Copying the kernel and Fienix
Copy the kernel (zImage-4.20) onto the new NEMOBOOT partition you just made on your USB drive
Open a Terminal window
As sudo (Ubuntu) or su (Debian), enter:
dd if=/path/to/Fienix.img of=/dev/usbdrive
-where "/dev/usbdrive" is the path to the FIENIX partition you created, such as "/dev/sdb2"
Allow dd to copy the Fienix image to your USB drive
Correcting Partition Size
Open gparted
Select the FIENIX partition
Click the Partition menu, then click Check
Click the checkmark icon on the toolbar to Apply All Operations, then click Apply when asked if you're sure
Copying the kernel modules
Copy the kernel modules directory "
4.20.0_A-EON_AmigaOne_X1000_Nemo" to "
/lib/modules" onto the new FIENIX partition.
Booting into Fienix
CFE firmware does not recognise USB devices on power-up unless they are connected to the first USB port which is reserved for the keyboard. Unless you have a USB hub connected to the first port which allows you to connect both the keyboard and USB disk, you will need to insert the USB disk AFTER you have entered CFE. These instructions will assume that when using a USB stick you will insert it in the top left USB port on the front of the AmigaOne X1000 case AFTER you have entered CFE. It is not possible to boot Fienix off an Amiga FFS partition.
Restart your X1000 and Press F to enter CFE Command Line
Enter commands as follows (enter after each line):
Code: Select all
setenv bootargs "root=/dev/usbdrive rootdelay=5"
Code: Select all
boot -elf -noints -z -fatfs usbdisk0:zImage-4.20
///Installing onto Hard Drive
The below instructions describe how to install Fienix onto a hard drive from Fienix on a USB drive. The instructions presume no other OS is present on the hard drive, dual-booting is outside the scope of these instructions.
Preparing the Hard Drive
Modifying your hard drive partitions can lead to loss of data. Backup any important information or data BEFORE you begin!
Open gparted
Use the menu on the right side of the toolbar to select the hard drive you wish to install Fienix onto
Make note of the device path, such as “
/dev/sda” -this will be referred to as "
/dev/harddrive" from this point forward, use your correct path
Click the Device menu, then click Create Partition Table
Select new partition table type:
msdos
Click Apply
Choose the Partition menu, then New
Enter the following options: File System: ext4; Label: FIENIX
Click Add button
In the toolbar, click the check mark for “Apply All Operations”
Click the Apply button
After all operations have completed, click the Close button
Copying the kernel and Fienix
Copy the kernel (zImage-4.20) onto the onboard CF card.
Open a Terminal window
Login to Terminal as superuser by typing "su" and entering the superuser password
If you are currently running Fienix from a USB drive, and want to copy your existing installation onto your hard drive, enter:
dd if=/dev/usbdrive of=/dev/harddrive
-where "/dev/usbdrive" is the usb drive which Fienix is installed on, such as /dev/sdb2, and "/dev/harddrive" is the path to the FIENIX partition you created, such as "/dev/sda2"
If you want to copy a fresh install of Fienix onto your hard drive you can copy the Fienix image, enter:
dd if=/path/to/Fienix.img of=/dev/harddrive
-where "
/dev/harddrive" is the path to the FIENIX partition you created, such as "
/dev/sda2"
Allow dd to copy the Fienix image to your hard drive
Copy the kernel modules directory "
4.20.0_A-EON_AmigaOne_X1000_Nemo" to "
/lib/modules" onto the new FIENIX partition on your hard drive.
Confirming Fienix Installation / Booting into Fienix
Restart your X1000 and Press F to enter CFE Command Line
Enter commands as follows (enter after each line):
Code: Select all
setenv bootargs "root=/dev/harddrive"
Code: Select all
boot -elf -noints -z -fatfs cf0:zImage-4.20
Setting up the Multi-boot menu
These instructions will allow you to boot into Fienix using the Multi-boot menu instead of typing in the boot commands each time.
Restart your X1000 and Press F to enter CFE Command Line
Enter the following:
Code: Select all
setenv -p MENU_2_COMMAND 'set pmu -astate=A4 ; setenv bootargs "root=/dev/harddrive" ; boot -elf -noints -z -fatfs cf0:zImage-4.20'
-where "
/dev/harddrive" is the path to the FIENIX partition you created, such as "
/dev/sda2"