Difference between revisions of "Netboot Ultimate Boot CD"

From Amahi Wiki
Jump to: navigation, search
 
Line 40: Line 40:
 
Back in your console window, execute the following (feel free to replace nano with your console text editor of choice):
 
Back in your console window, execute the following (feel free to replace nano with your console text editor of choice):
  
{{Code|
+
cd /usr/share/amahi-netboot/tftp/pxelinux.cfg/
cd /usr/share/amahi-netboot/tftp/pxelinux.cfg/
+
nano default
nano default
 
}}
 
  
 
At the bottom of the file, paste in the following:
 
At the bottom of the file, paste in the following:
  
{{Code|
+
<pre>LABEL ubcd
LABEL ubcd
 
 
         MENU LABEL Ultimate Boot CD
 
         MENU LABEL Ultimate Boot CD
 
         KERNEL menu.c32
 
         KERNEL menu.c32
         APPEND images/ubcd/menus/main.cfg
+
         APPEND images/ubcd/menus/main.cfg</pre>
}}
 
  
 
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:
 
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:

Latest revision as of 01:33, 1 February 2019

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



Ultimate Boot CD.png

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:

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):

Filezilla connect.png

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:

Filezilla upload complete.png

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):

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

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

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:

Putty edit config.png

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:

Virtualbox netboot menu.png