Programs I found of Interest

Installation issues, feature requests, help, etc.

Moderators: Curtis8, A_Null

User avatar
A_Null
Posts: 162
Joined: Fri Jan 12, 2007 4:35 pm
Location: Central Florida

Re: Programs I found of Interest

Postby A_Null » Thu Sep 24, 2009 1:24 am

Well, I did run across a posting about setting up PXE to push out multiple distributions of Linux...
http://www.howtoforge.com/ubuntu_pxe_install_server

Hope it helps.
Image

User avatar
Curtis8
Site Janitor
Posts: 985
Joined: Thu Mar 01, 2007 3:22 pm
Location: Canada
Contact:

Re: Programs I found of Interest

Postby Curtis8 » Thu Sep 24, 2009 6:42 am

ternarybit wrote:May be offtopic, but here's my situation.

Small office (<20 nodes) manager, I use these programs very regularly: PING, gparted/parted magic, clonezilla, trinity rescue kit (TRK), memtest 86+, Ultimate Boot CD (UBCD) & occasionally KNOPPIX. I have a TFTP server set up to host PING, which works quite nicely.

All of the above except PING must be loaded from optical media which gets tedious especially with new versions. Is there any program out there that can act as a "boot menu" for TFTP? I would like to boot to LAN, then get a prompt similar to UBCD's where it just lets me select which app I want to suck through the network from my fileserver and run it. I thought netboot.me would do that but it seems to only work with remotely hosted stuff (which seems ludicrous, but whatever).

Does anyone know a way I can somewhat easily load multiple initrds over PXE with some sort of simple menu? I have both XP and linux platforms so whichever works is OK. Thank you!


You only need to edit your default file. I load many neat tools like memtest, Seatools, PING, WINNER, Win98 Boot disk...

Code: Select all

DISPLAY InfoScreen.txt
PROMPT 1

DEFAULT ping/kernel
  APPEND vga=normal devfs=nomount pxe ramdisk_size=45000 load_ramdisk=1 init=/linuxrc prompt_ramdisk=0 initrd=ping/initrd.gz root=/dev/ram0 rw noacpi noapm pci=noacpi lba acpi=off apm=off

LABEL ping
  KERNEL ping/kernel
  APPEND vga=normal devfs=nomount pxe ramdisk_size=45000 load_ramdisk=1 init=/linuxrc prompt_ramdisk=0 initrd=ping/initrd.gz root=/dev/ram0 rw noacpi noapm pci=noacpi lba acpi=off apm=off

LABEL memtest2
  KERNEL misc/memtest
  APPEND -

label unattended
  KERNEL unattended/bzImage
  APPEND initrd=unattended/initrd

LABEL memtest
    KERNEL misc/memdisk
    APPEND initrd=misc/MEMTEST.IMG

LABEL dban
  KERNEL misc/DBAN.BZI
  APPEND nuke="dwipe" floppy=0,16,cmos

LABEL memtestp
  KERNEL misc/memtestp
  APPEND -

LABEL ipcop
  KERNEL ipcop/vmlinuz
  APPEND ide=nodma initrd=ipcop/instroot.gz root=/dev/ram0 rw

LABEL winner
  KERNEL winner/kernel
  APPEND vga=normal devfs=nomount pxe ramdisk_size=70000 load_ramdisk=1 init=/linuxrc prompt_ramdisk=0 initrd=winner/initrd.gz root=/dev/ram0 rw noacpi noapm pci=noacpi lba acpi=off apm=off

LABEL wddiag
    KERNEL misc/memdisk
    APPEND initrd=misc/WD_Diag.img

LABEL samsung
    KERNEL misc/memdisk
    APPEND initrd=misc/Samsung.img

LABEL fujitsu
    KERNEL misc/memdisk
    APPEND initrd=misc/Fujitsu.img

LABEL estool
    KERNEL misc/memdisk
    APPEND initrd=misc/EStool.img

LABEL bios
    KERNEL misc/memdisk
    APPEND initrd=misc/BIOS.img

LABEL pm
    KERNEL misc/memdisk
    APPEND initrd=misc/pm7.img

LABEL ata
    KERNEL misc/memdisk
    APPEND initrd=misc/atasec11.ima

LABEL pm8
    KERNEL misc/memdisk
    APPEND initrd=misc/pm8.img

LABEL 98
    KERNEL misc/memdisk
    APPEND initrd=misc/Win98.img

LABEL ntfs
    KERNEL misc/memdisk
    APPEND initrd=misc/NTFSPro.img

LABEL gag
    KERNEL misc/memdisk
    APPEND initrd=misc/gag.img

LABEL aida
    KERNEL misc/memdisk
    APPEND initrd=misc/aida.img

LABEL dban
    KERNEL misc/memdisk
    APPEND initrd=misc/dban.img

LABEL freedos
    KERNEL misc/memdisk
    APPEND initrd=misc/freedos.img

LABEL ntpass
    KERNEL misc/memdisk
    APPEND initrd=misc/ntpass.img

LABEL ntpass2
    KERNEL ntpass/vmlinuz
    APPEND rw vga=1 init=/linuxrc initrd=ntpass/initrd.cgz,ntpass/scsi.cgz

LABEL ranish
    KERNEL misc/memdisk
    APPEND initrd=misc/ranish.img

LABEL seatools
    KERNEL misc/memdisk
    APPEND initrd=misc/SeaTools.img

LABEL seaold
    KERNEL misc/memdisk
    APPEND initrd=misc/SeaOld.img

LABEL SpinRite
    KERNEL misc/memdisk
    APPEND initrd=misc/SpinRite.img

Anything that is floppy bootable is also network bootable. Not sure about UBCD but you could grab the initrd.gz files from it and load them into the menu.
Curtis

If you can read this, help me by going to the following link (can only go once per day)
http://s13.bitefight.org/c.php?uid=32058

Thank you

User avatar
Natan
Site Admin
Posts: 1722
Joined: Sun Nov 20, 2005 12:29 am

Re: Programs I found of Interest

Postby Natan » Thu Sep 24, 2009 7:25 am

Hi Ternarybit,
I believe all these distros can boot from PXE, just the way PING does. Syslinux is your friend !
BTW, if you need some tools to be added to the PING initrd, please let me know, as it might be relevant for many.
Regards
Natan

User avatar
ternarybit
Posts: 62
Joined: Sat Oct 18, 2008 10:04 pm

Re: Programs I found of Interest

Postby ternarybit » Thu Sep 24, 2009 4:53 pm

Curtis8 wrote:
ternarybit wrote:May be offtopic, but here's my situation.

Small office (<20 nodes) manager, I use these programs very regularly: PING, gparted/parted magic, clonezilla, trinity rescue kit (TRK), memtest 86+, Ultimate Boot CD (UBCD) & occasionally KNOPPIX. I have a TFTP server set up to host PING, which works quite nicely.

All of the above except PING must be loaded from optical media which gets tedious especially with new versions. Is there any program out there that can act as a "boot menu" for TFTP? I would like to boot to LAN, then get a prompt similar to UBCD's where it just lets me select which app I want to suck through the network from my fileserver and run it. I thought netboot.me would do that but it seems to only work with remotely hosted stuff (which seems ludicrous, but whatever).

Does anyone know a way I can somewhat easily load multiple initrds over PXE with some sort of simple menu? I have both XP and linux platforms so whichever works is OK. Thank you!


You only need to edit your default file. I load many neat tools like memtest, Seatools, PING, WINNER, Win98 Boot disk...

Code: Select all

DISPLAY InfoScreen.txt
PROMPT 1

DEFAULT ping/kernel
  APPEND vga=normal devfs=nomount pxe ramdisk_size=45000 load_ramdisk=1 init=/linuxrc prompt_ramdisk=0 initrd=ping/initrd.gz root=/dev/ram0 rw noacpi noapm pci=noacpi lba acpi=off apm=off

LABEL ping
  KERNEL ping/kernel
  APPEND vga=normal devfs=nomount pxe ramdisk_size=45000 load_ramdisk=1 init=/linuxrc prompt_ramdisk=0 initrd=ping/initrd.gz root=/dev/ram0 rw noacpi noapm pci=noacpi lba acpi=off apm=off

LABEL memtest2
  KERNEL misc/memtest
  APPEND -

label unattended
  KERNEL unattended/bzImage
  APPEND initrd=unattended/initrd

LABEL memtest
    KERNEL misc/memdisk
    APPEND initrd=misc/MEMTEST.IMG

LABEL dban
  KERNEL misc/DBAN.BZI
  APPEND nuke="dwipe" floppy=0,16,cmos

LABEL memtestp
  KERNEL misc/memtestp
  APPEND -

LABEL ipcop
  KERNEL ipcop/vmlinuz
  APPEND ide=nodma initrd=ipcop/instroot.gz root=/dev/ram0 rw

LABEL winner
  KERNEL winner/kernel
  APPEND vga=normal devfs=nomount pxe ramdisk_size=70000 load_ramdisk=1 init=/linuxrc prompt_ramdisk=0 initrd=winner/initrd.gz root=/dev/ram0 rw noacpi noapm pci=noacpi lba acpi=off apm=off

LABEL wddiag
    KERNEL misc/memdisk
    APPEND initrd=misc/WD_Diag.img

LABEL samsung
    KERNEL misc/memdisk
    APPEND initrd=misc/Samsung.img

LABEL fujitsu
    KERNEL misc/memdisk
    APPEND initrd=misc/Fujitsu.img

LABEL estool
    KERNEL misc/memdisk
    APPEND initrd=misc/EStool.img

LABEL bios
    KERNEL misc/memdisk
    APPEND initrd=misc/BIOS.img

LABEL pm
    KERNEL misc/memdisk
    APPEND initrd=misc/pm7.img

LABEL ata
    KERNEL misc/memdisk
    APPEND initrd=misc/atasec11.ima

LABEL pm8
    KERNEL misc/memdisk
    APPEND initrd=misc/pm8.img

LABEL 98
    KERNEL misc/memdisk
    APPEND initrd=misc/Win98.img

LABEL ntfs
    KERNEL misc/memdisk
    APPEND initrd=misc/NTFSPro.img

LABEL gag
    KERNEL misc/memdisk
    APPEND initrd=misc/gag.img

LABEL aida
    KERNEL misc/memdisk
    APPEND initrd=misc/aida.img

LABEL dban
    KERNEL misc/memdisk
    APPEND initrd=misc/dban.img

LABEL freedos
    KERNEL misc/memdisk
    APPEND initrd=misc/freedos.img

LABEL ntpass
    KERNEL misc/memdisk
    APPEND initrd=misc/ntpass.img

LABEL ntpass2
    KERNEL ntpass/vmlinuz
    APPEND rw vga=1 init=/linuxrc initrd=ntpass/initrd.cgz,ntpass/scsi.cgz

LABEL ranish
    KERNEL misc/memdisk
    APPEND initrd=misc/ranish.img

LABEL seatools
    KERNEL misc/memdisk
    APPEND initrd=misc/SeaTools.img

LABEL seaold
    KERNEL misc/memdisk
    APPEND initrd=misc/SeaOld.img

LABEL SpinRite
    KERNEL misc/memdisk
    APPEND initrd=misc/SpinRite.img

Anything that is floppy bootable is also network bootable. Not sure about UBCD but you could grab the initrd.gz files from it and load them into the menu.


Your default references InfoScreen.txt. Any chance I could take a look at that too? This sounds like exactly what I want!

User avatar
Curtis8
Site Janitor
Posts: 985
Joined: Thu Mar 01, 2007 3:22 pm
Location: Canada
Contact:

Re: Programs I found of Interest

Postby Curtis8 » Fri Sep 25, 2009 7:53 am

ternarybit wrote:Your default references InfoScreen.txt. Any chance I could take a look at that too? This sounds like exactly what I want!

It is a simple text file and is displayed at the boot screen. Mine actually shows a picture, which is hard for me to update. I will likely re-write the text file someday and make use of the F1-F12 keys for the different menus. You can have more than one text file and make several menus that way.
Syslinux Wiki wrote:F[1-12] filename
F1 filename
F2 filename
...etc...
F9 filename
F10 filename
F11 filename
F12 filename
Displays the indicated file on the screen when a function key is pressed at the boot: prompt. This can be used to implement pre-boot online help (presumably for the kernel command line options).
Curtis

If you can read this, help me by going to the following link (can only go once per day)
http://s13.bitefight.org/c.php?uid=32058

Thank you

User avatar
ternarybit
Posts: 62
Joined: Sat Oct 18, 2008 10:04 pm

Re: Programs I found of Interest

Postby ternarybit » Fri Sep 25, 2009 11:23 pm

Well I made it a personal vendetta to get my pocket knife of bootable tools running via network and I have made a lot of progress. I started with UBCD which contains most of my favorite apps, which can be loaded very easily over PXE! The only apps that don't work are DOS ones that rely on a mountable volume containing the .exes. I haven't figured out how to solve that problem (NFS?) I just extracted the .iso into my PXE templates dir and modified default to point to the main menu.cfg. Very easy!

But anywho, using the menu system of UBCD I added Parted Magic, Clonezilla, PING, and TRK which all work well (actually TRK relies on NFS which I have yet to set up). I am quite pleased so far!! Basic utils like memtest work great. Since parts of UBCD, Clonezilla & TRK require NFS, I may move my PXE to the ubuntu server, but that's a huge project that I don't have time for. Thanks for the pointers which got me started in the right direction!

User avatar
Curtis8
Site Janitor
Posts: 985
Joined: Thu Mar 01, 2007 3:22 pm
Location: Canada
Contact:

Re: Programs I found of Interest

Postby Curtis8 » Sat Sep 26, 2009 6:59 am

I run IPCop as my firewall. On it I added the PXW booting and a samba server. Does everything including protect my network. Very powerful and very easy to use. I would consider using it :)
If you have any floppy disks (what is a floppy again?) that boot tools that you want to use on PXE, use rawwrite to make an image of the floppy and then use memdisk as the kernel and the img file you made as the initrd :)
Curtis

If you can read this, help me by going to the following link (can only go once per day)
http://s13.bitefight.org/c.php?uid=32058

Thank you

User avatar
ternarybit
Posts: 62
Joined: Sat Oct 18, 2008 10:04 pm

Re: Programs I found of Interest

Postby ternarybit » Mon Sep 28, 2009 7:54 pm

Hmm I tried that, got a floppy and formatted it as an XP boot disk. Then I added my hdd diag program and added it to autoexec.bat so it would start automatically. works fine when booting from floppy, but booting the image over PXE doesn't work. I used memdisk as kernel and dlgdiag5.img created from rawrite as initrd, but it hangs after saying Starting... and the HDD indicator light is solid lit. Strange..

User avatar
Curtis8
Site Janitor
Posts: 985
Joined: Thu Mar 01, 2007 3:22 pm
Location: Canada
Contact:

Re: Programs I found of Interest

Postby Curtis8 » Tue Sep 29, 2009 5:05 am

ternarybit wrote:formatted it as an XP boot disk
Uh-yeah. Do not do an XP boot disk do a Win98 one (or even WinME for that matter). XP disk will not work, I am sure of that. Even a good old DOS boot disk will work.
Curtis

If you can read this, help me by going to the following link (can only go once per day)
http://s13.bitefight.org/c.php?uid=32058

Thank you

User avatar
ternarybit
Posts: 62
Joined: Sat Oct 18, 2008 10:04 pm

Re: Programs I found of Interest

Postby ternarybit » Wed Sep 30, 2009 4:36 pm

Curtis8 wrote:
ternarybit wrote:formatted it as an XP boot disk
Uh-yeah. Do not do an XP boot disk do a Win98 one (or even WinME for that matter). XP disk will not work, I am sure of that. Even a good old DOS boot disk will work.


Well to take this forum topic even more offtopic, I downloaded the win98 bootdisk only to find that my diag .exe is too big for it. I had the idea of imaging the boot disk, expanding it and then adding my .exe, but my attempts failed. I basically imaged it with dd in linux, then concatenated some KBs of zero to that file, then mounted the padded image on loopback and tried to copy files into it but it said the device was full. any idea how to expand an image to add more stuff to it? Only a few KB is necessary to fit the diag app. Thanks!

User avatar
Natan
Site Admin
Posts: 1722
Joined: Sun Nov 20, 2005 12:29 am

Re: Programs I found of Interest

Postby Natan » Wed Sep 30, 2009 5:30 pm

Euh, Ternarybit, why not try to diag your hdd with linux tools ? They may be even better than DOS's !
What kind of diagnostic did you want to do ?

User avatar
ternarybit
Posts: 62
Joined: Sat Oct 18, 2008 10:04 pm

Re: Programs I found of Interest

Postby ternarybit » Wed Sep 30, 2009 5:32 pm

Natan wrote:Euh, Ternarybit, why not try to diag your hdd with linux tools ? They may be even better than DOS's !
What kind of diagnostic did you want to do ?


I am totally open to linux tools, but it's helpful to run a HDD manufacturer's own diag app, especially for Western Digital because the dos app gives an error code I can submit to WD's RMA department. Makes RMA easier. What linux app would you suggest in its stead?

User avatar
Natan
Site Admin
Posts: 1722
Joined: Sun Nov 20, 2005 12:29 am

Re: Programs I found of Interest

Postby Natan » Wed Sep 30, 2009 5:45 pm

badblocks is generally used. But it would be interesting to see if WD has disk utilities for linux. We're in 2009, man :D

User avatar
ternarybit
Posts: 62
Joined: Sat Oct 18, 2008 10:04 pm

Re: Programs I found of Interest

Postby ternarybit » Thu Oct 01, 2009 12:03 am

Natan wrote:badblocks is generally used. But it would be interesting to see if WD has disk utilities for linux. We're in 2009, man :D


You'd think, but I just checked WD's site and they only have DLGDIAG for Windows/DOS :evil: Thanks for the info tho!

User avatar
Natan
Site Admin
Posts: 1722
Joined: Sun Nov 20, 2005 12:29 am

Re: Programs I found of Interest

Postby Natan » Thu Oct 01, 2009 12:22 am

What the hell are you doing with a 5-MB-capacity HDD, anyway :lol:


Return to “PING / General Discussions”

Who is online

Users browsing this forum: No registered users and 1 guest