Netboot Ultimate Boot CD

From Amahi Wiki
Jump to: navigation, search
Msgbox-WOPr.png Work In Progress
This article is currently undergoing major expansion or restructuring. You are welcome to assist by editing it as well. If this article has not been edited in several days, please remove this template.


Warning.png WARNING
This is recommended for advanced users only, please proceed with caution.



What is the Ultimate Boot CD?

Ultimate Boot CD (or UBCD) is a bootable recovery CD (live CD) that contains software used for repairing, restoring, and diagnosing many computer problems.

Prerequisites:

Step 1: Install amahi-netboot

From your HDA's console, execute the following as root:

bash code
​ yum -y install amahi-netboot​

If you've already installed this package, simply continue to step 2.

Step 2: Download the Ultimate Boot CD

Next, download the Ultimate Boot CD package here.

From here, you have two options:

  • You can transfer the entire ZIP to the HDA and unzip it on the HDA
  • You can unzip the downloaded ZIP on your computer and upload the resulting files to your HDA

For simplicity's sake, let's go with option two. Unzip the ZIP file you downloaded, then open your favorite SFTP client, such as FileZilla, and connect to your HDA like so (this assumes that you are able to access your HDA using http://hda/ in your browser; if you can't, replace "hda" with your HDA's IP address):

 

Once you're connected, navigate to /usr/share/amahi-netboot/tftp/ in the "Remote Site" tree, create the folder "images" within "tftp", then create the folder "ubcd" within "images" as shown below:

Click here to view

Once you're in the directory, upload the contents of the ZIP you downloaded. Once you're done, it should look like this:

 

Step 3: Edit the PXELinux Configuration

Back in your console window, execute the following (feel free to replace nano with your console text editor of choice):

bash code
cd /usr/share/amahi-netboot/tftp/pxelinux.cfg/ nano default ​


At the bottom of the file, paste in the following:

bash code
​ LABEL ubcd MENU LABEL Ultimate Boot CD KERNEL menu.c32 APPEND images/ubcd/menus/main.cfg ​


Make sure there aren't any "." or other characters at the beginning or end of that block once you've pasted it; occasionally text copied from this wiki suffers from this. If you've done it correctly, the file should look something like this:

 

Press CTRL+O and ENTER to save the file, then CTRL+X to exit nano.

Step 4: Test!

If you've done everything correctly, you should now be able to boot up your computer using the network boot option and select "Ultimate Boot CD" from the menu: