Changes

From Amahi Wiki
Jump to: navigation, search
<!-- This page is crated automaticaly by a script.This part is commented and shall not show--><!--At the top of the page can be vissible one of the following tags..--> {{WorkInProgress}}<!--{{NeedsUpdate}}--><!--{{NeedsMerge | [[Main Page]]}}--><!--{{NeedsExpantion}}--><!--{{NeedsDelete |[[Main Page]]}}--><!--Please remove or place comment accordingly--><!--Your text bellow this line-->Ok Netboot works, Now what?Now lets add parted magic to the menu and try booting it.
Step 1 Create share in amahi Dashboard:
login ->Setup->Shares->New Share
Name:Call it tfpt/pxe or whatever you want
Location<b>NOTE:</usr/share/amahi-netboot/tftp*b> This is where netboot installs configuration filesfor Fedora 14 ONLY and needs updated to reflect Amahi 7 specifics.
If you browse this folder you should seeOk Netboot works, so now what? Let's try adding Parted Magic__NOTOC__----= Step 1:Create share in Amahi Dashboard: =boot.msg, logo.16, menu.c32, other.conf, f2, memtest minirooot.gz, pxelinux.0, vmlinuz, and folder called pxelinux.cfg*login -> Setup -> Shares -> New Share
[[File:1-Createshare.PNG|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 *If you browse this folder you should see:<pre>boot.msglogo.16 menu.c32 other.conff2memtest minirooot.gz pxelinux.0vmlinuz 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++Should . You should see:<pre>DEFAULT menu.c32
PROMPT 0
TIMEOUT 100 # start the default after 10 seconds
MENU TITLE --== Amahi Netboot Main Menu ==--
<nowiki># </nowiki> Exit the PXE stack and boot the local system
LABEL bootlocal
MENU DEFAULT
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:
At the bottom paste the following:<pre>LABEL pmagic MENU LABEL Parted Magic KERNEL images/pmagic/bzImage APPEND noapic INITRD images/pmagic/initrd.img root=/dev/ram0 init=/linuxrc ramdisk_size=100000D100000 initrd=images/pmagic/initrd.img</pre>
Note *Save the paths after KERNEL & INITRD images/pmagic/Save and close file.
Go to the *Create folder in your share Create New folder called ''' "images and inside " ''' *Create another new folder in ''' "images" ''' called ''' "pmagic so it has " ''' *Should have the following structure <pre>
your share/pxelinux.cfg/
your share/images/pmagic/
</pre>
 
= Step 3: Download Parted Magic : =
*Download Parted Magic (scroll down a bit to get to the PXE ZIP files and choose the correct one for your architecture): [http://partedmagic.com/doku.php?id=downloads http://partedmagic.com/doku.php?id=downloads]
 
*Right click=> 7zip->open or extract archive
 
*Locate the files '''''"bzimage"''''' and '''''"initrd.img"'''''
*Copy them to the newly created folder: '''''your share/images/pmagic'''''
*Open virtual box.
[[File:starttest.png|none|500px|]]<br>
Step 3 Download Parted Magic pxe zip file of your choice found here *Start''''' "test" '''''virtual machine and should display menu:http[[File://partedmagicmenupmagic.com/doku.php?id=downloadspng|none|500px|]]<br>
right click=*Select "Parted Magic" from menu and should display:[[File:loadpmagic.png|none|500px|]]<br> 7zip->open or extract archive
locate the files bzimage *It may take a couple of minutes to load into memory and initrd.img boot depending on your network connection and activity
copy them to the newly created folder your share/images/[[File:pmagic.png|none|500px|]]<br>
All done
Open virtual box and boot into amahi netboot on your test virtual machine and you should see a new entry:
Parted Magic
Choose it All that and it should immediately display:Loading images/pmagic/bzimage.....Loading images/pmagic/initrd.img.........................It may take a couple of minutes to load into memory and boot depending on your network connection and activitynot one bash command line entry!
All that = Works =Go to [[Netboot_for_Noobs_Tutorial_3|Tutorial #3]]----== Troubleshooting if it doesn't work: ==* <ins>If you select Parted Magic and not one bash commandline 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 check the INITRD menu entry
<pre>INITRD images/pmagic/initrd.img</pre>
If it works go * <ins>Permissions problems: login as root in console or putty</ins><pre>cd /usr/share/amahi-netboot/chown -Rc admin:admin tftpchmod -Rc 755 tftp</pre>* <ins>Still nothing, </ins>**Post on to Tutorial 3forum link [http://forums.amahi.org/viewtopic.php?f=26&t=3596 here].
Troubleshooting if it doesn't work:
* If you select Parted Magic and the screen just blinks
double check the path in your menu entry KERNEL images/pmagic/bzImage
* If it starts and doesn't boot completely,
double check the images/pmagic/initrd.img menu entry INITRD /pmagic/initrd.img
* Still nothing, I problably messed up something on this page. post on forum link
http://forums.amahi.org/viewtopic.php?f=26&t=3596
<!--Your text above this line--><!--This page must bellong Go back to one of the following categories please remove comment--><!--[[category:AppsAmahi_Netboot_for_noobs|Amahi Netboot for noobs]]--><!--[[Category:Fedora]]--><!--[[Category:Platform]]--><!--[[Category:Pro Version]]--><!--[[Category:Services]]--><!--[[Category:VPN]]-->
<noinclude>Also see [[Category:WikiModToolsNetboot]]</noinclude>
12,424

edits