[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [debian-knoppix] Booting KNOPPIX from NFS-exported ISO-Images



Christoph Heine wrote:
I've written some scripts that generate a miniroot similar to the images
created by knoppix-terminalserver, but with main diffrence that the
ISO-Image does not need to be loopback mounted on the NFS Server.

uhm, i boot knoppix from a regular debian server for some time.
you dont need to keep the loop mounts...

you mount the CD _once_, copy the entire cd to a directory and after that you unmount the iso (you can delete it if you need the space).

assume that /knoppix is the exported directory. it contains folders with the contents of knoppix cds. you can keep multiple versions/remasters that way

 mount -o loop KNOPPIX_V3.3-2003-11-19-CH.iso /cdrom
 cp -r /cdrom/ /knoppix/2003-11-19
 umount /cdrom

you can use the boot images from the "terminal-server" script with adapted "nfsdir" bootoption, or a network enabled grub (i do the later http://homepage.hispeed.ch/py430/knoppix/ for more info on a variant, i also use etherboot + nbgrub + pxegrub where i have a a DCHP under control).
the grub config looks like that (4 lines, sry for the line breaks):
(i keep a symbolic link of the current version to a "current" directory)

title Knoppix Regular
kernel (nd)/tftpboot/current-vmlinuz
 nfsdir=192.168.1.14:/knoppix/current nodhcp lang=ch apm=power-off nomce
 hda=scsi hdb=scsi hdc=scsi hdd=scsi hde=scsi hdf=scsi hdg=scsi hdh=scsi
 BOOT_IMAGE=knoppix
module (nd)/tftpboot/current-miniroot.gz

The easiest way to get to vmlinuz and miniroot.gz is to run Knoppix from
the CD and start the terminal-server. These files can be found in
/tftpboot after it's started. Don't forget to select all appropriate
network drivers for your hardware (but not all, as they don't fit in the
miniroot). You can run it on any machine and copy the file. no need to reboot the server for that ;-)

chris

_______________________________________________
debian-knoppix mailing list
debian-knoppix@linuxtag.org
http://mailman.linuxtag.org/mailman/listinfo/debian-knoppix


Reply to: