Changeset 26 in MondoRescue for trunk/mindi
- Timestamp:
- Sep 19, 2005, 7:50:34 PM (20 years ago)
- Location:
- trunk/mindi
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/mindi/README.pxe
r1 r26 9 9 mondo 10 10 kernel vmlinuz-mondo 11 initrd initrd-mondo pxe ...11 initrd initrd-mondo pxe [prefix="machine"] ... 12 12 13 13 Thus the PXE ROM will boot mondo's kernel and mondo's initrd in memory and will append all the right configuration options (as you find in syslinux.cfg on the mindi's floppy image) to which you need to add the keyword pxe. 14 14 (You need to have backup your data using the NFS option of mondoarchive) 15 If you used the -p option of mondoarchive, you'll have to specify the real name of mondo images to use during restore. To do that use prefix=machine on the initrd line, after the pxe keyword, to load the ISO images saved with -p machine. 16 Without prefix keyword, images name mondorescue-1.iso, ... will be used. 15 17 16 18 During boot mondorestore will start your NFS configuration and mount mondo's content from the network rather than from a physical media. -
trunk/mindi/rootfs/sbin/init
r1 r26 625 625 HandleTape 626 626 else 627 if [ "`cat /proc/cmdline | grep -i "pxe"`" ] ; then627 if [ "`cat /proc/cmdline | grep -i pxe`" ] ; then 628 628 LogIt "PXE boot found" 629 LogIt "Mounting NFS image 1.iso on /mnt/cdrom in loopback" 630 losetup /dev/loop7 /tmp/isodir/1.iso 629 imgname="mondorescue" 630 if [ "`cat /proc/cmdline | grep -i prefix`" ] ; then 631 for i in "`cat /proc/cmdline`" do 632 if [ "`echo $i | grep -i prefix`" ] ; then 633 imgname=`echo $i | cut -d'=' -f2` 634 fi 635 done 636 fi 637 LogIt "Mounting NFS image $imgname.iso on /mnt/cdrom in loopback" 638 losetup /dev/loop7 /tmp/isodir/$imgname.iso 631 639 mount -t iso9660 /dev/loop7 /mnt/cdrom 632 640 # Simulate a local CD
Note:
See TracChangeset
for help on using the changeset viewer.