Changeset 219 in MondoRescue for trunk/mindi


Ignore:
Timestamp:
Dec 15, 2005, 2:54:19 AM (18 years ago)
Author:
bcornec
Message:

merge -r176:218 $SVN_M/branches/2.05

Location:
trunk/mindi
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/mindi/README.pxe

    r149 r219  
    99mondo
    1010        kernel vmlinuz-mondo
    11         initrd initrd-mondo pxe [prefix="machine"] ...
     11        initrd initrd-mondo load_ramdisk=1 prompt_ramdisk=0 ramdisk_size=36864 rw root=/dev/ram iso_mode acpi=off apm=off devfs=nomount exec-shield=0 pxe [prefix="machine"] ...
    1212
    1313The initrd and kernel file come rom the first bootable media
    14 created by mondoarchive.
    15 If you mount it you should find what you need under /images
    16 with a name like mindi-bootroot.8192.img
    17 initrd is mindi.rdz and kernel is vmlinuz
     14created by mondoarchive. To get them, please issue:
    1815
    19 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.
     16# mount /path/to/mondorescue-1.iso /mnt/cdrom -o loop
     17# cp -a /mnt/cdrom/vmlinuz /var/tftpboot/vmlinuz-mondo
     18# cp -a /mnt/cdrom/initrd.img /var/tftpboot/initrd-mondo
     19# umount /mnt/cdrom
     20
     21Thus 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 isolinux.cfg on the first bootable media) to which you need to add the keyword pxe.
    2022(You need to have backup your data using the NFS option of mondoarchive)
    2123
     
    2628
    2729Please report any problem around that tool to bcornec@users.berlios.de
     30
     312005-12-14 detailed explanations on where to find initrd and kernel
  • trunk/mindi/install.sh

    r197 r219  
    7171
    7272if [ "$ARCH" = "i386" ] ; then
    73     (cd $local/sbin && ln -s fdisk parted2fdisk)
     73    # FHS requires fdisk under /sbin
     74    (cd $local/sbin && ln -s /sbin/fdisk parted2fdisk)
    7475    if [ -f $local/lib/mindi/rootfs/bin/busybox-$ARCH.net ]; then
    7576        echo "Installing busybox.net ..."
  • trunk/mindi/mindi

    • Property svn:keywords changed from Id to Rev Id
    r197 r219  
    2626    # run this command.
    2727
    28 MINDI_VERSION=1.04_berlios
     28MINDI_REV=`echo '$Rev$' | awk '{print $2}'`
     29
     30MINDI_VERSION=1.05-r$MINDI_REV
    2931MINDI_PREFIX=XXX
    3032MINDI_CONF=YYY
     
    6365USB_MODS="usb-storage usb-ohci usb-uhci usbcore usb_storage hid uhci_hcd ehci_hcd uhci-hcd ehci-hcd usbkbd"
    6466CDROM_MODS="$TAPE_MODS $FLOPPY_MODS $IDE_MODS af_packet cdrom isocd isofs inflate_fs nls_iso8859-1 nls_cp437 sg sr_mod zlib_inflate $USB_MODS $PCMCIA_MODS"
    65 NET_MODS="sunrpc nfs nfsacl lockd loop e100 bcm5700 e1000 eepro100 tg3"
     67NET_MODS="sunrpc nfs nfsacl lockd loop mii e100 bcm5700 e1000 eepro100 tg3 pcnet32"
    6668EXTRA_MODS="$CDROM_MODS vfat fat loop linear raid0 raid1 raid5 lvm-mod dm-mod jfs xfs xfs_support pagebuf reiserfs ext2 ext3 minix nfs nfsd lockd sunrpc jbd"
    6769LOGFILE=/var/log/mindi.log
  • trunk/mindi/mindi.spec

    r197 r219  
    7575
    7676%post
     77%{__chmod} 755 %{_libdir}/mindi/aux-tools/sbin/* %{_libdir}/mindi/rootfs/bin/* %{_libdir}/mindi/rootfs/sbin/*
    7778if [ -f /usr/local/sbin/mindi ]; then
    7879    echo "WARNING: /usr/local/sbin/mindi exists. You should probably remove your manual mindi installation !"
     
    8384%config(noreplace) %{_sysconfdir}/mindi/deplist.txt
    8485%doc CHANGES INSTALL COPYING README TODO README.ia64 README.pxe README.busybox
     86%{_mandir}
     87%{_libdir}/mindi
     88#%attr(755,root,root) %{_libdir}/mindi/aux-tools/sbin/*
     89#%attr(755,root,root) %{_libdir}/mindi/rootfs/bin/*
     90#%attr(755,root,root) %{_libdir}/mindi/rootfs/sbin/*
    8591%attr(755,root,root) %{_sbindir}/*
    86 %{_libdir}/mindi
    87 %{_mandir}
    8892
    8993%changelog
  • trunk/mindi/rootfs/sbin/init

    r197 r219  
    638638            done
    639639        fi
    640         LogIt "Mounting NFS image $imgname.iso on /mnt/cdrom in loopback"
    641         losetup /dev/loop7 /tmp/isodir/$imgname.iso
     640        LogIt "Mounting NFS image $imgname-1.iso on /mnt/cdrom in loopback"
     641        losetup /dev/loop7 /tmp/isodir/$imgname-1.iso
    642642        mount -t iso9660 /dev/loop7 /mnt/cdrom
    643643        # Simulate a local CD
Note: See TracChangeset for help on using the changeset viewer.