Koozali.org: home of the SME Server
Obsolete Releases => SME 7.x Contribs => Topic started by: wires on April 06, 2009, 12:59:06 AM
-
after reading thru the forums i found out that the PXE boot to BARTPE tutorial in contribs.org is outdated, doesnt seem to have valid information on the guide.. i am trying to follow the guide and trying to bypass some info that isnt relevent anymore for the sme server but i still cant get this to work in linux, tftpd32 on windows works though. please correct any steps, i just typed what i did from the tutorial. http://wiki.contribs.org/PXE_booting_to_BARTPE
Assumptions
You are a network/server administrator and know what TFTP, BARTPE and PXE -a network boot- means. Your SME SERVER is your DHCP server.
my comment
somehow i have problems with DHCP server with the sme server and my computers, seems to me that only the computers are capable of the DHCP server. (i tried this tutorial on my windows pc with tftpd32 and the connections work perfect)
all the commands from the tutorial:
1. install tftp server ---> http://wiki.contribs.org/Tftp_server
2. download BARTPE on your local pc: http://www.nu2.nu/pebuilder
3. create a BARTPE disk using WINDOWS SERVER 2003 source OR use WINDOWS XP SP2 source replacing the following file with the newer version from the WINDOWS SERVER 2003 SP1
C:\pebuilder3110a\BartPE\I386\SYSTEM32\DRIVERS\ramdisk.sys download the WINDOW 2003 SERVER SP1: http://www.microsoft.com/downloads/details.aspx?FamilyId=22CFC239-337C-4D81-8354-72593B1C1F43&displaylang=en
4. you now have a BARTPE.ISO
5. extract only the following files from the WINDOWS SERVER 2003 SP1 (using winrar) and expend them using dos prompt. You only need the ramdisk.sys file if you don't have a WINDOWS 2003 SERVER source to build your BARTPE from. See above section
ntdetect.com
ramdisk.sy_
setupldr.ex_
startrom.n1_
expand ramdisk.sy_
expand setupldr.ex_
expand startrom.n1_
6. copy the following files to the SME SERVER in the "/tftpdboot" directory
ntdetect.com
setupldr.exe
startrom.n12
bartpe.iso
7. login to sme server with root access and rename the following files (the files are case-sensitive and need to be named exactly as follows)
ntdetect.com (lower-case)
NTLDR (rename the setupldr.exe to NTLDR, all caps)
startrom.0 (rename the startrom.n12 to startrom.0) (This is a ZERO)
BARTPE.ISO (all caps)
8. still in "/tftpdboot" directory create a winnt.sif file
nano -w winnt.sif
add the following to winnt.sif
[SetupData]
BootDevice = "ramdisk(0)"
BootPath = "\i386\System32\"
OsLoadOptions = "/noguiboot /fastdetect /minint /rdexportascd /rdpath=bartpe.iso"
9. create a directory and name it pxelinux.cfg
mkdir pxelinux.cfg
10. move inside directory pxelinux.cfg and create a file named default
cd pxelinux.cfg
nano -w default
add the following to default
prompt 1
implicit 0
timeout 600
default foo
LABEL bartpe
kernel startrom.0
11. Summary of contents of TFTPBOOT dir
[root@server tftpboot]# ls -la
total 941492
drwxr-xr-x 3 root root 4096 Dec 3 15:43 .
drwxr-xr-x 27 root root 4096 Nov 30 13:31 ..
-rw-r--r-- 1 root root 159930368 Dec 3 14:18 BARTPE.ISO
-rw-r--r-- 1 root root 47772 Mar 24 2005 ntdetect.com
-rw-r--r-- 1 root root 278016 Mar 24 2005 NTLDR
-rw-r--r-- 1 root root 13204 Sep 4 2006 pxelinux.0
drwxr-xr-x 2 root root 4096 Apr 18 2007 pxelinux.cfg
-rw-r--r-- 1 root root 24466 Mar 24 2005 startrom.0
-rw-r--r-- 1 root root 1473787 Apr 5 2006 vmlinuz
-rw-r--r-- 1 root root 169 Dec 3 15:44 winnt.sif
NOW, only thing that you need to do is make sure you rebooted your sme7 system with "signal-event post-upgrade; signal-event reboot"
Boot client PC where you want to network isntall operating systems like windows xp. Client pc should detect sme7 server tftpd and show you a menu in monitor.
-
first my /tftpboot directory has the following:
total 100
-rw-r--r-- 1 root admin 155 Apr 3 00:49 aastra.cfg
drwxr-xr-x 2 root root 4096 Mar 29 16:24 F1000
-rw-r--r-- 1 root admin 12 Apr 3 00:49 OS79XX.TXT
-rw-r--r-- 1 root admin 1188 Apr 3 00:49 polycom-locals.cfg
-rw-r--r-- 1 root admin 110 Apr 3 00:49 RINGLIST.DAT
-rw-r--r-- 1 root root 23 Apr 3 00:46 seldir
-rw-r--r-- 1 root admin 188 Apr 3 00:49 SIPDefault.cnf
-rw-r--r-- 1 root admin 690 Apr 3 00:49 snom300.htm
-rw-r--r-- 1 root admin 729 Apr 3 00:49 snom320.htm
-rw-r--r-- 1 root admin 729 Apr 3 00:49 snom360.htm
-rw-r--r-- 1 root admin 729 Apr 3 00:49 snom370.htm
-rw-r--r-- 1 root admin 162 Apr 3 00:49 spa1000.cfg
-rw-r--r-- 1 root admin 162 Apr 3 00:49 spa2000.cfg
-rw-r--r-- 1 root admin 162 Apr 3 00:49 spa2002.cfg
-rw-r--r-- 1 root admin 162 Apr 3 00:49 spa2102.cfg
-rw-r--r-- 1 root admin 162 Apr 3 00:49 spa3102.cfg
-rw-r--r-- 1 root admin 162 Apr 3 00:49 spa841.cfg
-rw-r--r-- 1 root admin 162 Apr 3 00:49 spa901.cfg
-rw-r--r-- 1 root admin 162 Apr 3 00:49 spa921.cfg
-rw-r--r-- 1 root admin 162 Apr 3 00:49 spa922.cfg
-rw-r--r-- 1 root admin 162 Apr 3 00:49 spa941.cfg
-rw-r--r-- 1 root admin 162 Apr 3 00:49 spa942.cfg
-rw-r--r-- 1 root admin 162 Apr 3 00:49 spa962.cfg
-rw-r--r-- 1 root admin 161 Apr 3 00:49 spaPAP2T.cfg
-rw-r--r-- 1 root admin 1064 Apr 3 00:49 XMLDefault.cnf.xml
i need to add the following files
ntdetect.com
NTLDR
startrom.0
BARTPE.ISO
create the following directory/files
winnt.sif
pxelinux.cfg
default
I am missing these files and i dont know where the author of the tutorial got them from.
vmlinuz
pxelinux.0
the problem might be that i dont have enough system memory to install windows xp from network using BARTPE.ISO
i later find out that i needed Thinclient installed in the server ---> http://wiki.contribs.org/Thinclient
-
with this configuration PXE Boot timeout all the time and cannot load any image...
anyone have this working and wants to share steps to make it work ?
thanks
edit: i recently installed smeserver-thinclient-ts-2.2-1.noarch.rpm which is giving i guess more possibilites to make this work!
-
Do you have tftp_remap.conf ?
I use Thinclient for Remote Installation Service RIS.
here my tftp_remap.conf
rg \\ / # Convert backslashes to slashes
#r ^/winxp2/ /home/e-smith/files/ibays/ris/files/winxp/i386 # Convert relative paths to their absolute position
#r ^/winxp/ /home/e-smith/files/ibays/ris/files/winxp/ # Convert relative paths to their absolute position
rg A a # lower case
rg B b # lower case
rg C c # lower case
rg D d # lower case
rg E e # lower case
rg F f # lower case
rg G g # lower case
rg H h # lower case
rg I i # lower case
rg J j # lower case
rg K k # lower case
rg L l # lower case
rg M m # lower case
rg N n # lower case
rg O o # lower case
rg P p # lower case
rg Q q # lower case
rg R r # lower case
rg S s # lower case
rg T t # lower case
rg U u # lower case
rg V v # lower case
rg W w # lower case
rg X x # lower case
rg Y y # lower case
rg Z z # lower case
sorry for my english .. i am German :)
Marcel
-
i dont, but thanks i will try it when i get back home.
thanks
-
mm where should i put the file though ?
with my current setup, the machine says:
CLIENT MAC ADDR: XX XX XX XX XX XX GUID: XXXXX XXXX XXXX XXXX XXXXXXXXXX
CLIENT IP: XXX.XXX.XXX.XXX MASK: XXX.XXX.XXX.XXX DHCP IP: XXX.XXX.XXX.XXX
GATEWAY IP: XXX.XXX.XXX.XXX
PXE-E11: ARP timeout
PXE-E11: ARP timeout
PXE-E38: TFTP cannot open connection
PXE-M0F: Exiting Intel Boot Agent.
Missing operating system
-
[root@open-exchange ~]# config show tftpd
tftpd=service
UDPPort=69
access=private
directory=/tftpboot
log=normal
privilege=r
remap=/tftpboot/tftp_remap.conf
status=enabled
timeout=normal
user=root
[root@open-exchange ~]# config show thinclient
thinclient=service
defaultbase=Winxp
status=enabled
tftpserver=Self
-
thanks i will try it when i get back home. :)
-
a how-to is seriously needed, nothing is working here... i just want to mention that my sme server is running in serveronly mode, not sure if that might be the issue or not and my ASDL router is running DHCP. It's hard to understand why sme server has to release DHCP address to service the local network also.
-
i found the problem, i had to redirect connections to the sme server using my ADSL firewall settings. Now it's almost working !! lol...
this is my default file
prompt 10
default bartpe
LABEL bartpe
kernel memtest
append initrd=bartpe.iso
i get this error...
PXELINUX 3.36 2007-02-10 Copyright .........
.....
Trying to load: pxelinux.cfg/default
boot:
Could not find kernel image:memtest
boot:
this is frustrating ... do i have to build my own images using the computer ?
-
got it working with DSL (dam small linux)
http://cdprojekte.mattiasschlenker.de/Public/DSL-frominitrd/1.5-0.0/
but i still need to find out a grub like boot and how to install windows xp using a linux box... this is so much harder than i thought it would be :(
-
i found the problem, i had to redirect connections to the sme server using my ADSL firewall settings. Now it's almost working !! lol...
this is my default file
Here is mine... lot of images working.
You do not have to create your images, use those provided by CD/DVDs .
[root@tigre ~]# cat /tftpboot/pxelinux.cfg/default
default memtest
prompt 10
timeout 120
display opcoes.msg
label thinstation
kernel thinstation/vmlinuz
append ramdisk_blocksize=4096 initrd=thinstation/initrd root=/dev/ram0 ramdisk_size=524288 console=ttyS3 vga=791
label memtest
kernel memtest
label ubuntu
kernel ubuntu/linux
append vga=normal initrd=ubuntu/initrd.gz --
label sme8
kernel sme8/vmlinuz
append initrd=sme8/initrd.img headless text selinux=0
label sme8.linux
kernel sme8/vmlinuz
append initrd=sme8/initrd.img
label sme8.text
kernel sme8/vmlinuz
append initrd=sme8/initrd.img text
label sme8.ks
kernel sme8/vmlinuz
append ks initrd=sme8/initrd.img
label freespire.install
menu label ^Install Freespire
kernel freespire/vmlinuz
append boot=casper initrd=freespire/initrd.img live=install quiet splash --
label freespire.desktop
menu label ^Run Freespire from CD
kernel freespire/vmlinuz
append boot=casper initrd=freespire/initrd.img live=desktop quiet splash --
label freespire.xforcevesa
menu label Start Freespire in safe ^graphics mode
kernel freespire/vmlinuz
append boot=casper initrd=freespire/initrd.img live=desktop quiet splash xforcevesa --
label pmagic
kernel pmagic30/grldr
append initrd=pmagic30/pmagic/initrd root=/dev/ram0 init=/linuxrc ramdisk_size=200000
label nas.lite
kernel memdisk
append initrd=naslite-smb.img
label pmag7
kernel memdisk
append initrd=pmag7d2.img
label dos.rede
kernel memdisk
append initrd=new.corpnet.img
label dos.ndis
kernel memdisk
append keeppxe initrd=new.corpnet.img
label dos71
kernel memdisk
append keeppxe initrd=MSDOS710.IMG
label dos71B
kernel memdisk
append keeppxe initrd=MSDOS71B.IMG
label sme7
kernel sme7/vmlinuz
append initrd=sme7/initrd.img headless text selinux=0
label sme7.linux
kernel sme7/vmlinuz
append initrd=sme7/initrd.img
label sme7.text
kernel sme7/vmlinuz
append initrd=sme7/initrd.img text
label sme7.ks
kernel sme7/vmlinuz
append ks initrd=sme7/initrd.img
label drvimg-1
kernel drvimg-1.img
label drvimg-2
kernel drvimg-2.img
label easyrec51
kernel easyrec51.img
label easyrec6
kernel easyrec51.img
label g2k3
kernel g2k3.img
label MSCLIENT
kernel MSCLIENT.img
label RH71
kernel RH71.img
label FreeNAS
kernel freenas.img
All files without a path on this file are on /tftpboot (e.g. some .img files)
Good luck... PXE rules!
Jáder
-
ok, so u mean i have to download, for exemple freenas (FreeNAS-i386-LiveCD-0.69.4276.iso) then i have to create an image from it and upload it to sme server tftpboot/freenas and link to it from default file ?
ps.. i broke pxe hahaha, fresh sme7 install and trying to redo everything about pxe but i get TFTP open timeout , again!!. i think it has something to do with thinstation.conf.network, that file i huge.
enabled
self
default
-
ok, so u mean i have to download, for exemple freenas (FreeNAS-i386-LiveCD-0.69.4276.iso) then i have to create an image from it and upload it to sme server tftpboot/freenas and link to it from default file ?
No!
Means you need to download .iso of FREENAS, mount it a mnt directory of your SME server, copy files from it to /tftpboot diretory and change some lines on default file to include it (and as info put it also on file show a list to you).
Let me try to redo my steps for SME7:
1) mount SME7 iso
mount /home/e-smith/files/ibays/iso/files/smeserver7.iso /mnt/pendrive/ -o loop
2) copy files below from /mnt/pendrive/isolinux to /tftpboot/sme7 dir of tftpboot
[root@tigre tftpboot]# ls -la sme7/
total 11376
drwxr-xr-x 3 root root 4096 Aug 2 2008 .
drwxr-xr-x 12 root root 4096 Apr 4 14:58 ..
-r--r--r-- 1 root root 4251337 Nov 20 13:55 initi586.img
-r--r--r-- 1 root root 4263559 Nov 20 13:54 initrd.img
drwxr-xr-x 2 root root 4096 Aug 2 2008 pxelinux.cfg
-r--r--r-- 1 root root 1545983 Nov 20 13:54 vmlinuz
-r--r--r-- 1 root root 1538625 Nov 20 13:55 vmlzi586
note that /mnt/pendrive/isolinux/isolinux.cfg is the source of info to your new entry on file called default .
3) Try it.
4) if you get on a page of SME7 server asking from where install... you're almost there. Just copy (or link) sme7 content to your web server and inform that path during install.
-
very helpfull thank you.
I found out about this website http://unattended.sourceforge.net/ which offers so many with doing a network windows installations. i am amazed and this works so perfectly that i wish a sme contrib existed for it.
-
jader hope you can help
this is very confusing as i'm not sure if i have to use the tftpdboot or tftpboot folder
all i'm trying to do is get the following iso's as a menu option available to use in pxe: sme7iso, bartpeiso, puppyiso
how do you get this done?
any help greatly appreciated
-
Hi Bud
Edit the /tftpboot/pxelinux.cfg/default and add this:
LABEL sme7
kernel sme7/vmlinuz
append initrd=sme7/initrd.img headless text selinux=0
now mount SME7.ISO on somewhere (let´s use /tmp/iso on this example)
mount sme7.iso /tmp/iso -o loop
and copy these sme7 files to /tftpboot/sme7 :
[root@lobo tftpboot]# ls -la /tftpboot/sme7/
total 11376
drwxr-xr-x 3 root root 4096 Aug 2 2008 .
drwxr-xr-x 12 root root 4096 Aug 16 09:47 ..
-r--r--r-- 1 root root 4263559 Nov 20 2008 initrd.img
-r--r--r-- 1 root root 1545983 Nov 20 2008 vmlinuz
After this, try "sme7" on PXE boot prompt!
If anything do not work, please post LOTS of information... debug PXE is already hard seen it :D
Jáder
-
jader thanks for the info
Just so that i have it right:
Installed " tftp " server contrib
Installed " thinclient " contrib
In my tftpboot directory i have the following files ( Which I Copied from and is located in /usr/lib/syslinux/pxelinux.0 )
initrd.img
init586.img
vmlinuz
vmlz586
I then create a directory called pxelinux.cfg inside the tftpboot directory and created a file called default with the following contents:
prompt 0
implicit 0
timeout 0
default install
label install
kernel vmlinuz
append initrd=initrd.img ramdisk_size=8192
Now my tptpboot Directory has the following contents
initrd.img = File
init586.img = File
vmlinuz = File
vmlz586 = File
pxelinux.cfg = Directory with a File Called default inside
I then created an ibay called iso and copied the sme7 iso to /home/e-smith/files/ibays/iso/files/smeserver7.iso
I then created a directory in /mnt/ called sme7iso - ( /mnt/sme7iso )
I then issued a shell command " mount /home/e-smith/files/ibays/iso/files/smeserver7.iso /mnt/sme7iso/ -o loop "
I then created a folder in tptpboot called " sme7 " - ( /tptpboot/sme7 )
Here are my questions:
1. Must I only copy the two fiiles from the mounted smeserver7.iso ( being at /mnt/sme7iso ) you mentioned being: initrd.img and vmlinuz and copy them to the /tptpboot/sm7/ directory or are there more files I need to copy ?
2. Must I create another directory inside /tptpboot/sme7/ called pxelinux.cfg and also create a default file inside it. If so what contents do I place inside the default file?
3. If say my smeserver Reboots then the smeserver7.iso will NOT be mounted. Do I need to Remount the smeserver.iso File everytime the SME Server has rebooted or do I not need it to be mounted again in order for me to use PXE ?
4. I now want to also include puppy as an option in my PXE Menu. How do I go about doing that?
Any help greatly appreciated
-
Installed " thinclient " contrib
not sure if you need thinclient contrib... anyways... let it there for now.
In my tftpboot directory i have the following files ( Which I Copied from and is located in /usr/lib/syslinux/pxelinux.0 )
initrd.img
init586.img
vmlinuz
vmlz586
Do you have this for what ?
It´s for thinclient ?
I then create a directory called pxelinux.cfg inside the tftpboot directory and created a file called default with the following contents:
prompt 0
implicit 0
timeout 0
default install
label install
kernel vmlinuz
append initrd=initrd.img ramdisk_size=8192
That´s correct... from now on... you´ll create a new label entry for each option on PXE boot.
(...)
I then created an ibay called iso and copied the sme7 iso to /home/e-smith/files/ibays/iso/files/smeserver7.iso
I then created a directory in /mnt/ called sme7iso - ( /mnt/sme7iso )
I then issued a shell command " mount /home/e-smith/files/ibays/iso/files/smeserver7.iso /mnt/sme7iso/ -o loop "
I then created a folder in tptpboot called " sme7 " - ( /tptpboot/sme7 )
Here are my questions:
1. Must I only copy the two fiiles from the mounted smeserver7.iso ( being at /mnt/sme7iso ) you mentioned being: initrd.img and vmlinuz and copy them to the /tptpboot/sm7/ directory or are there more files I need to copy ?
Everything above is correct... I prefer create a new directory for each option on PXE menu.
You could create an option to boot memtest+ ... search for image on web and create an entry like this:
LABEL memtest
kernel tools/memtest
Please note I created a new directory "tools" inside /tftpboot to hold several tools I can use on PXE.
2. Must I create another directory inside /tptpboot/sme7/ called pxelinux.cfg and also create a default file inside it. If so what contents do I place inside the default file?
NO! default inside pxelinux.cfg is unique for all your PXE environment.
3. If say my smeserver Reboots then the smeserver7.iso will NOT be mounted. Do I need to Remount the smeserver.iso File everytime the SME Server has rebooted or do I not need it to be mounted again in order for me to use PXE ?
YES, if you wanna to avoid to copy all content to another directory you must keep .iso file mounted on somewhere you can access using HTTP protocol. That´s because during install you´ll choose to use HTTP and must point to your own server so SME can continue install.
So you´ll choose HTTP method, and use your SME server name or IP address and point to directory shared by ibay. I prefer that way... create an ibay named "iso" with web access and create a a new directory for each ISO. inside HTML to mount .ISO inside.
So you would end with something like:
/home/e-smith/files/ibays/iso
containing:
files
cgi-bin
html
inside "html" you should to have these directories:
sme7
sme8
puppy
mount .iso in this directories using:
mount /home/e-smith/files/ibays/iso/files/smeserver7.iso /home/e-smith/files/ibays/iso/html/sme7/ -o loop
and when your PXE works, you start SME install and choose HTTP install, and point to your server at first field and to /iso/sme7 as path.
4. I now want to also include puppy as an option in my PXE Menu. How do I go about doing that?
You do the exact same thing as for SME.
I hope you can it working... it´s wonderful to use PXE.
I now have PXE working with graphical background and menus... even nicer! :)
But this is advanced PXE :) Get basic working for now.
-
jader thanks for your help but now i am really confused
Lets try that again
I Uninstalled " thinclient " contrib
The " smeserver-tftp-server " contrib is installed as per http://wiki.contribs.org/Tftp_server
In my " tftpboot Directory " i have the following files and directories
NO Files inside tptpboot Directory
pxelinux.cfg = Directory ( /tftpboot/pxelinux.cfg/ )
tools = Directory (/tftpboot/tools/ ) I have Two Files " BOOT.CAT and MEMTEST.IMG "
Inside the " /tftpboot/pxelinux.cfg/ " directory I have a file called default with the following contents:
prompt 0
implicit 0
timeout 600
default puppy
LABEL install
kernel vmlinuz
append initrd=initr,img ramdisk_size=8192
LABEL memtest
kernel tools/memtest
I have the following ISO Files in /home/e-smith/files/ibays/iso/files/
smeserver7.iso = File
puppy.iso = File
I then created directories in /home/e-smith/files/ibays/iso/html/
sme7 = Directory = /home/e-smith/files/ibays/iso/html/sme7/
puppy = Directory = /home/e-smith/files/ibays/iso/html/puppy/
I then issued a shell command " mount /home/e-smith/files/ibays/iso/files/puppy.iso /home/e-smith/files/ibays/iso/html/puppy/ -o loop "
Question: When I try to use my PC PXE Lan Controller Option my Lan Controller does not see my SME DHCP Sever and will not Boot PXE. Please HELP :sad:
-
Let ´s try again:
(...)
NO Files inside tptpboot Directory
(...)
that´s too bad... you should to have at least
-rw-r--r-- 1 root root 16794 May 16 09:39 pxelinux.0
because this is the file you DHCP file will tell PXE code on NIC to load at boot.
find it somewhere and put it back. (maybe you need to force reinstall of tftpboot to get it back, AFIR it --replacefiles as rpm parameter)
and verify your DHCP and TFTP daemon are running, these are mine:
[root@lobo ~]# service tftpboot status
'tftpboot' is not a valid service name
[root@lobo ~]# service tftpd status
run: /service/tftpd: (pid 4582) 1949199s; run: log: (pid 3111) 1949286s
[root@lobo ~]# service dhcpd status
run: /service/dhcpd: (pid 5088) 1949185s, normally down; run: log: (pid 3067) 1949293s
I then issued a shell command " mount /home/e-smith/files/ibays/iso/files/puppy.iso /home/e-smith/files/ibays/iso/html/puppy/ -o loop "
not really necessary right now, but verify that command ( AND an equivalent for sme7 iso ) it´s ok: "mount" should mount both of them.
Later verify you can read the files inside that folder using any computer on LAN to access that directory using a internet browser.
Question: When I try to use my PC PXE Lan Controller Option my Lan Controller does not see my SME DHCP Sever and will not Boot PXE. Please HELP :sad:
What do you see on your screen... do you see the PXE banner from NIC and an error message or nothing at all ?
-
jader thanks for all your help, much appreciated
PXE Server is working Great with Full Graphical background and Great Menus :smile:
long live sme
thanks again
-
You´re welcome
I´d like to ask you to write an howto about this... to publish on SME site.
This is a complicate subject... with lot of gray areas and everyone could benefit of a howto write by someone just configurated it a few hours ago and had all problems fresh in memory.
I´ll help you if you submit the post to wiki... or put info on wiki if you like.
Regards
Jáder
-
jader no problem
i am busy compiling what i want to place on wiki :smile:
long live sme
-
jader i need help on puppy and bartpe
In my " tftpboot Directory " i have created the following directories
puppy = Directory ( /tftpboot/puppy/ )
bartpe = Directory (/tftpboot/bartpe/ )
I have the following ISO Files in " /home/e-smith/files/ibays/iso/files/ "
puppy.iso = File
bartpe.iso = File
I then created directories in " /home/e-smith/files/ibays/iso/html/ "
puppy = Directory = /home/e-smith/files/ibays/iso/html/puppy/
bartpe = Directory = /home/e-smith/files/ibays/iso/html/bartpe/
I then issued shell commands for both Puppy and BartPE
" mount /home/e-smith/files/ibays/iso/files/puppy.iso /home/e-smith/files/ibays/iso/html/puppy/ -o loop "
" mount /home/e-smith/files/ibays/iso/files/bartpe.iso /home/e-smith/files/ibays/iso/html/bartpe/ -o loop "
Questions:
1. What Files must I copy from both:
" /home/e-smith/files/ibays/iso/html/puppy/ " to " /tftpboot/puppy/ "
" /home/e-smith/files/ibays/iso/html/bartpe/ " to " /tftpboot/bartpe/ "
2. What entries must I put in my " pxelinux.cfg/default " file to get both Puppy and BartPE to Boot using the PXE Menu Option
Please Help :smile:
-
Bud
I´m not sure I can help you... I see no wiki information yet...
.
.
.
.
.
.
.
.
.
.
.
.
.
(just kidding... a little at least)
You must find the information in puppy CD used to boot... it´s a vmlinux and a initrd file (most of time).
search on puppy cd/mount point for a isolinux.cfg file... inside will exist a structure very similar to pxe you can use as "inspiration".
look up , watch and learn about how to move from iso to pxe using it.
.... and please create a wiki about this. :) thanks
-
jader please help
i need to know how do i go about the following for pxe booting
i am trying to get clonezilla working but i am having a problem with the " filesystem.squashfs " file
this is my menu example for clonezilla
label clonezilla
menu label Clonezilla
kernel images/clonezilla/vmlinuz
append boot=live union=aufs noswap vga=788 fetch=tftp://192.168.1.1/images/clonezilla/filesystem.squashfs
initrd images/clonezilla/initrd.img
for some reason it does not " find " the " filesystem.squashfs " file
this is my menu example for system rescue
label systemrescue
menu label System Rescue
kernel images/systemrescue/rescuecd
append setkmap=us netboot=tftp://192.168.1.1:/usr/tftpboot/images/systemrescue/sysrcd.dat
initrd images/systemrescue/initram.igz
for some reason it does not " find " the " sysrcd.dat " file
am i using the tftp command correctly in both examples?
i am also havng problems in getting to use pxe to install windows xp
what netboot disk can i use and what files do i need etc. on sme for windows xp
please help
-
I have it running with the following pxelinux.cfg setup
I use http as my box don't support tftp. "Images" is an i-bay. Files contains iso's and html contains mount of iso's. Just like your setup.
I have a copy of vmlinuz, rescuecd etc. in the /tftpboot/xx folder.
Remember that paths inside pxelinux.cfg are relative to /tftpboot/ and not you i-bay.
LABEL rescuecd
MENU LABEL System Rescue Cd
kernel tools/rescuecd/rescuecd
INITRD tools/rescuecd/initram.igz
append setkmap=us netboot=http://server_IP/images/systemrescuecd/sysrcd.dat
label clonezilla
menu label Clonezilla
kernel tools/clonezilla/vmlinuz
append boot=live union=aufs noswap vga=788 fetch=http://server_IP/images/clonezilla/live/filesystem.squashfs
initrd tools/clonezilla/initrd.img
Have you tried to setup ubuntu?
I cannot figure out how to start sme8 without having to manually set http in the setup. Any clues?
-
Jeppe Fugl
thanks for your help.
dang this pxe is great on sme.
-
Jeppe Fugl please help
i am trying to get Puppy Linux and DSL (Damn Small Linux) to work with SME PXE
this is my setup for Puppy
label puppy
menu label ^Puppy Linux
menu passwd paint
kernel images/puppy/vmlinuz
append setkmap=us netboot=http://192.168.0.10/iso/puppy/lupu-501.sfs
initrd images/puppy/initrd.gz
It does try to boot however i get an error: Lupu-501.sfs Not Found. Not sure what to do as the file is there for it to load however it does not seem to load it?
this is my setup for DSL
label dsl
menu label ^Damn Small Linux
kernel images/dsl/linux24
initrd images/dsl/minirt24.gz
append boot=live union=aufs noswap noprompt vga=791 fetch=http://192.168.0.10/iso/dsl/KNOPPIX
when it starts DSL i get an error: Can't Find KNOPPIX FileSystem.
any ideas what i must do? :smile:
-
Bud
I´ll be glad to help you on your next step, as soon as you document everything as you promised.
The other way... I´ll spend time doing documentation myself instead to help you.
Sorry... this is a two way support forum.
-
jader
i have made a document of everything so far and want to post it however i need to have a link for users to download the document and files so that it will be easier for them to follow.
i need to email you to make sure that what i have documented is relevant to the cause.
how about it buddy :smile:
-
Bud
You can request
admin@contribs.org
to create a user contrib upload folder for yourself, see
ftp://distro.ibiblio.org/pub/linux/distributions/smeserver/contribs/
This will then be mirrored to the various contribs.org mirror servers.
You can request wiki editing access from your Forum account settings.
Then you can create a wiki article and categorise it probably as a Howto.
See existing Howtos for examples or use one of the existing templates to create your wiki page.
For all the steps involved see
http://wiki.contribs.org/Help:Contents
Other people can then edit, improve and add to your document.
-
mary
what can i say. you simply are the best!!
thanks for all your help :smile:
will keep you posted
-
This is the setup for puppy. No need to mount iso, but see description below.
label puppy
menu label ^Puppy Linux
kernel x86/puppy/vmlinuz
initrd x86/puppy/initrd.gz
append boot=live pfix=copy nosmp
Found the description here: http://murga-linux.com/puppy/viewtopic.php?search_id=2090301486&t=56580
1. Create a temporary directory somewhere
2. Copy the initrd.gz and the pup.sfs you want to embed into this temporary directory.
3. Detach this script, gunzip, and chmod +x the script, in the same temporary directory where you have initrd.gz and pup.sfs (http://murga-linux.com/puppy/viewtopic.php?mode=attach&id=29780
)
4. Open terminal, and then run the script
Code:
./embed_sfs.sh your-sfs-filename
5. Your original initrd.gz will be kept as initrd.gz.old, and the new initrd.gz will have pup.sfs in it.
There you go. BTW - the ramdisk parameter is unnecessary.
Best Regards,
Jeppe
-
jader
i have made a document of everything so far and want to post it however i need to have a link for users to download the document and files so that it will be easier for them to follow.
i need to email you to make sure that what i have documented is relevant to the cause.
how about it buddy :smile:
Bud
All is relevant... and the correct way is to create a wiki area... HowTo "Boot PXE" with all information.
If you have access, please start, if not, just send it to me jader DOT marasca AT gmail DOT com and I´ll start a post there.
You also can request an account there to update.
I don´t think you should put files anywhere, just information about what should be in what places and informations about how to have several tools working (puppy, ghost, SME7, SME8, ...)
Regards
Jáder
-
Hi Bud
Do you have ANY doc to sent to me ?
I´d like to update wiki this weekend.
Jáder
-
jader
sorry have had a hectic week.
i have completed 90% (added some more info) and will contact you this weekend
-
jader
i have sent you the doc :smile:
hope it helps
-
jader
i have sent you the doc :smile:
hope it helps
I got nothing! :(
My gmail account is jader DOT marasca
Or you can use e-mail from my profile (NOT SURE if it's visible to everyone).
I found no e-mail on spam neither on "my messages" too.
-
jader
i sent the doc to admin@contribs.org as i did not have your email address
i have also now sent it to your gmail account
hope it helps :-)
-
jader
i sent the doc to admin@contribs.org as i did not have your email address
i have also now sent it to you (YOUR GMAIL ADDRESS)
hope it helps :-)
Please edit your post and remove my e-mail address from there.
I did not put it explicitly just to avoid spam!
-
There you go, done
Anything else sir?
-
There you go, done
Anything else sir?
BUD
Thanks by your doc.
I just saw it and appears to be quite complete! Thank you.
I´ll post it to Wiki as soon as I recover my lost password :$.
Maybe tomorrow or friday (I hope!).
Thank you by remove my e-mail from post... I have enought spam without my e-mail in another list!
Regards
Jáder