Changeset 2816 in MondoRescue for branches/2.2.10/mindi/mindi
- Timestamp:
- Apr 29, 2011, 3:42:55 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.2.10/mindi/mindi
r2715 r2816 35 35 TMPDIR=/tmp 36 36 37 EXTRA_SPACE= 50000# increase if you run out of ramdisk space38 BOOT_SIZE= 24576# size of the boot disk37 EXTRA_SPACE=80152 # increase if you run out of ramdisk space 38 BOOT_SIZE=32768 # size of the boot disk 39 39 40 40 PROMPT_MAKE_CD_IMAGE="yes" … … 60 60 61 61 # ide-probe-mod 62 IDE_MODS="ide ide-floppy floppy ide-generic ide-detect ide-mod ide-disk ide_disk ide-cd ide_cd ide_cd_mod ide-cd_mod ide-cs ide-core ide_core ide-gd_mod ide_gd_mod edd paride ata_generic ide_pci_generic ata_piix libata dock via82cxxx generic nvidia ahci sata_nv cmd64x pata_amd pata_marvell pata_serverworks pata_sis pata_sil680 pata_jmicron amd74xx sis5513 jmicron sata_promise sata_via serverworks sata_svw blkbk virtio"62 IDE_MODS="ide ide-floppy floppy ide-generic ide-detect ide-mod ide-disk ide_disk ide-cd ide_cd ide_cd_mod ide-cd_mod ide-cs ide-core ide_core ide-gd_mod ide_gd_mod edd paride ata_generic ide_pci_generic ata_piix libata dock via82cxxx generic nvidia ahci libahci sata_nv cmd64x pata_amd pata_marvell pata_serverworks pata_sis pata_sil680 pata_jmicron amd74xx sis5513 jmicron sata_promise sata_via serverworks sata_svw blkbk virtio" 63 63 PCMCIA_MODS="pcmcia_core ds yenta_socket" 64 USB_MODS="usb-storage usb-ohci usb-uhci usbcore usb_storage input hid uhci_hcd ehci_hcd uhci-hcd ehci-hcd ohci-hcd ohci_hcd xhci usbkbd usbhid keybdev mousedev libusual scsi_mod ff-memless ums_cypress ums-cypress cp210x "65 NET_MODS="auth_rpcgss sunrpc nfs nfs_acl lockd fscache loop mii 3c59x e100 bcm5700 bnx2 bnx2x e1000 e1000e igb dca eepro100 ne2k-pci tg3 libphy pcnet32 8139cp 8139too 8390 forcedeth vmxnet vmxnet3 vmnet exportfs fuse libcrc32c crc32c netbk xenblktap r8169"64 USB_MODS="usb-storage usb-ohci usb-uhci usbcore usb_storage input hid uhci_hcd ehci_hcd uhci-hcd ehci-hcd ohci-hcd ohci_hcd xhci usbkbd usbhid keybdev mousedev libusual scsi_mod ff-memless ums_cypress ums-cypress cp210x usbserial" 65 NET_MODS="auth_rpcgss sunrpc nfs nfs_acl lockd fscache loop mii 3c59x e100 bcm5700 bnx2 bnx2x mdio e1000 e1000e igb dca eepro100 ne2k-pci tg3 libphy pcnet32 8139cp 8139too 8390 forcedeth vmxnet vmxnet3 vmnet exportfs fuse libcrc32c crc32c netbk xenblktap r8169" 66 66 CDROM_MODS="$TAPE_MODS $IDE_MODS $USB_MODS $PCMCIA_MODS $SCSI_MODS $NET_MODS af_packet cdrom isocd isofs inflate_fs nls_iso8859-1 nls_base nls_cp437 nls_utf8 sg sr_mod zlib_inflate iso9660" 67 67 # Those modules will only go on the backup media, not the boot media. 68 EXTRA_MODS="$CDROM_MODS vfat fat loop md-mod linear raid0 raid1 xor raid10 raid5 raid456 raid6_pq xor async_tx async_memcpy async_xor lvm-mod dm-mod dm_mod dm-snapshot dm_snapshot dm-zero dm_zero dm-mirror dm_mirror dm-multipath dm-round-robin dm-emc dm-hp-sw dm-rdacmultipath jfs xfs xfs_support pagebuf reiserfs ext2 ext3 minix nfs nfs_acl nfsd lockd sunrpc jbd mbcache ext4 jbd2 crc16 ocfs2 ocfs2_dlm ocfs2_nodemanager configfs"68 EXTRA_MODS="$CDROM_MODS vfat fat loop md-mod linear raid0 raid1 xor raid10 raid5 raid456 raid6_pq async_pq xor async_tx async_memcpy async_xor lvm-mod dm-mod dm_mod dm-snapshot dm_snapshot dm-zero dm_zero dm-mirror dm_mirror dm-multipath dm-round-robin dm-emc dm-hp-sw dm-rdac dm-region-hash dm-snapshot dm-log multipath jfs xfs xfs_support pagebuf reiserfs ext2 ext3 minix nfs nfs_acl nfsd lockd sunrpc jbd mbcache ext4 jbd2 crc16 ocfs2 ocfs2_dlm ocfs2_nodemanager configfs" 69 69 # Replace with that line for HP OCMP e.g. 70 70 #DENY_MODS="MPS_Driver_Mapper mps octtldrv tscttl streams kqemu fdomain" … … 378 378 echo -e "$DONE" 379 379 return 0 380 elif [ -e "/etc/rc.conf" ] ; then 381 echo "ArchLinux config detected." >> $LOGFILE 382 keyfile=/etc/rc.conf 380 383 elif [ -e "/etc/conf.d/keymaps" ] ; then 381 384 LogFile "Gentoo-style config detected." … … 398 401 locale=`grep -F KEYTABLE "$keyfile" | tr -d '"' |cut -d'=' -f2` 399 402 [ ! "$locale" ] && locale=`grep '.map$' "$keyfile" | sed 's/^.* //'` # Slackware 400 [ ! "$locale" ] && locale=`grep -E '^KEYMAP=' "$keyfile" | tr -d '"' |cut -d'=' -f2` # Gentoo 403 [ ! "$locale" ] && locale=`grep -E '^KEYMAP=' "$keyfile" | tr -d '"' |cut -d'=' -f2` # Gentoo & ArchLinux 401 404 LogFile "locale=$locale" 402 405 # … … 1580 1583 if [ -x "/bin/lsb_release" ]; then 1581 1584 DESC=`/bin/lsb_release -d | cut -d: -f2 | sed "s/[ \t]*//"` 1585 elif [ -r /etc/arch-release ]; then # this code must be written before /etc/issue test to avoid errors 1586 DESC="Arch Linux" 1587 if [ -r /var/log/pacman.log ]; then 1588 # there are no releases but we can get the last system upgrade 1589 # Output example: Arch Linux [2011-03-03 01:39] 1590 DESC="$DESC $(tac /var/log/pacman.log | grep -m1 'full system upgrade' | cut -d']' -f1)]" 1591 fi 1592 elif [ -r /etc/issue.net ]; then 1593 DESC=`head -1 /etc/issue.net` 1594 elif [ -r /etc/issue ]; then 1595 DESC=`head -1 /etc/issue` 1582 1596 elif [ -x "/usr/bin/pbdistrocheck" ]; then 1583 1597 # For pb >= 0.9.8 1584 DESC=`/usr/bin/pbdistrocheck - d`1598 DESC=`/usr/bin/pbdistrocheck -s | cut -d, -f1-4` 1585 1599 else 1586 iss="/dev/null" 1587 [ -r /etc/issue.net ] && iss="/etc/issue.net" 1588 [ -r /etc/issue ] && iss="/etc/issue" 1589 DESC=`head -1 $iss` 1600 DESC="Unknown desc" 1590 1601 fi 1591 1602 sed "s/ZZZZZ/$MINDI_VERSION/" $MINDI_DATA/msg-txt | sed "s/KKKKK/Kernel $KERVER/" | sed "s/AAAAA/on a $ARCH architecture/" | sed "s/TTTTT/`LC_TIME=C date`/" | sed "s/MMMMM/`hostname`/" | sed "s/DDDDD/$DESC/" … … 1760 1771 LogAll "Please unload some of your modules and try again." 1761 1772 rm -f $MINDI_TMP/mtpt.$$ 1762 LogAll "Cannot incorporate initrd.img in bootdisk (kernel / modules too big?) "1773 LogAll "Cannot incorporate initrd.img in bootdisk (kernel / modules too big?). Try to increase EXTRA_SPACE and BOOT_SIZE in $MINDI_CONFIG" 1763 1774 retval=$(($retval+1)) 1764 1775 fi … … 2684 2695 export MONDO_SHARE="" 2685 2696 MindiExit $? 2697 elif [ "$1" = "--makemessage" ] ; then 2698 MakeMessageFile 2699 MindiExit 0 2686 2700 elif [ "$1" = "--makemountlist" ] ; then 2687 2701 [ ! "$2" ] && Die "Please specify the output file"
Note:
See TracChangeset
for help on using the changeset viewer.