Changes

From Amahi Wiki
Jump to: navigation, search
{{WorkInProgressNeedsUpdate}}  <b>NOTE:</b> This is for Fedora 14 ONLY and needs updated to reflect Amahi 7 specifics. Ok Netboot works, Now so now what?Let's try adding Parted Magic
__NOTOC__
Let's try adding Parted Magic
----
= Step 1: Create share in amahi Amahi Dashboard: =*login -> Setup -> Shares -> New Share
[[File:1-Createshare.PNG|right|500px|caption|]]
<ins>Name:</ins> Call it ''' "netboot" ''' or ''' "pxe" ''' or ''' "tftp" ''' or whatever you want. I use ''' "pxe" '''.
<ins>Location:</ins> /usr/share/amahi-netboot/tftp
*Note:This is where amahi-netboot installs configuration files
'''NOTE:''' This is where amahi-netboot installs configuration files *If you browse this folder you should see:*<pre>boot.msg*logo.16 *menu.c32 *other.conf*f2*memtest *minirooot.gz *pxelinux.0*vmlinuz *pxelinux.cfg folder</pre>
= Step 2: Add Parted Magic entry to menu: =
* Navigate into pxlinux.cfg folder
* Right click on "default" file and edit with notepad++. You should see:{{Text|Text=<pre>DEFAULT menu.c32
PROMPT 0
TIMEOUT 100 # start the default after 10 seconds
LABEL PBA
MENU LABEL PBA --->
kernel KERNEL vmlinuz
APPEND nfsdir=hda:/var/hda/apps/pba/client/iso lang=us ramdisk_size=100000 nomce dma nosound apm=power-off nopcmcia nofirewire init=/etc/init nomce vga=normal initrd=miniroot.gz 2 BOOT_IMAGE=insert
LABEL memtest86+
MENU LABEL Memtest86+ --->
kernel KERNEL memtest/memtest86+-1.65}}</pre>
*At the bottom paste in the following:{{Text|Text=LABEL pmagic MENU LABEL Parted Magic KERNEL images/pmagic/bzImage INITRD images/pmagic/initrd.img APPEND noapic root=/dev/ram0 init=/linuxrc ramdisk_size=100000D}}
Save the file<pre>LABEL pmagic MENU LABEL Parted Magic KERNEL images/pmagic/bzImage APPEND noapic root=/dev/ram0 init=/linuxrc ramdisk_size=100000 initrd=images/pmagic/initrd.img</pre>
Create folder in your share called ''' "images" '''*Save the file.
*Create another folder in your share called ''' "images" ''' called ''' "pmagic" '''
*Create another folder in ''' "images" ''' called ''' "pmagic" ''' *Should have the following structure
<pre>
= Step 3: Download Parted Magic : =
Get *Download Parted Magic (scroll down a bit to get to the PXE zip file ZIP files and choose the correct one for your architecture): [http://partedmagic.com/doku.php?id=downloads herehttp://partedmagic.com/doku.php?id=downloads]
right *Right click=> 7zip->open or extract archive
*Locate the files '''''"bzimage"''''' and '''''"initrd.img"'''''
copy *Copy them to the newly created folder: '''''your share/images/pmagic'''''
*Open virtual box.
[[File:starttest.png|none|500px|]]<br>
*Start''''' "test" '''''virtual machine and should display menu:[[File:menupmagic.png|none|500px|]]<br>
*Select "Parted Magic" from menu and should display menu:[[File:menupmagicloadpmagic.png|none|500px|]]<br>
Select "Parted Magic" from menu*It may take a couple of minutes to load into memory and boot depending on your network connection and activity
Should display:[[File:loadpmagicpmagic.png|none|500px|]]<br>
It may take a couple of minutes to load into memory and boot depending on your network connection and activity
[[File:pmagic.png|none|500px|]]  All that and not one bash commandline command line entry!
= Works =
* <ins>If you select Parted Magic and the screen just blinks</ins>
**Double check the KERNEL path in your menu entry:
<pre> KERNEL images/pmagic/bzImage</pre>
* <ins>If it starts and doesn't boot completely</ins>
**double Double check the INITRD menu entry <pre> INITRD images/pmagic/initrd.img</pre>
* <ins>Permissions problems: login as root in console or putty</ins>
{{Code|<pre>cd /usr/share/amahi-netboot/
chown -Rc admin:admin tftp
chmod -Rc 755 tftp}}</pre>
* <ins>Still nothing, </ins>
**I problably messed up something on this page. post Post on forum link***[http://forums.amahi.org/viewtopic.php?f=26&t=3596here].  Go back to [[Amahi_Netboot_for_noobs|Amahi Netboot for noobs]] Also see [[Netboot]]
12,424

edits