Changes between Version 10 and Version 11 of FAQ


Ignore:
Timestamp:
Jan 22, 2007, 2:44:01 PM (18 years ago)
Author:
Bruno Cornec
Comment:

patch for mindi on OpenSuSE 10.2

Legend:

Unmodified
Added
Removed
Modified
  • FAQ

    v10 v11  
    334334
    335335== Q22/ Why doesn't mondorestore work correctly on OpenSuSE 10.2 ? ==
    336   It seems that OpenSUSE 10.2 packaged mondo and mindi but did not include the now required mindi-busybox. Get it from ftp://ftp.mondorescue.org/suse/10.2
     336  First, It seems that OpenSUSE 10.2 packaged mondo and mindi but did not include the now required mindi-busybox. Get it from ftp://ftp.mondorescue.org/suse/10.2
     337  Second, ext2 capability isn't included in the OpenSuSE 10.2 kernel. Up to version 1.2.1 of mindi you may want to apply the following patch to /usr/sbin/mindi:
     338{{{
     339
     340  --- /usr/sbin/mindi     2007-01-20 17:05:51.000000000 +0100
     341+++ mindi       2007-01-20 17:04:52.000000000 +0100
     342@@ -2485,10 +2485,16 @@
     343        echo -en "..."
     344        dd if=/dev/zero of=$tempfile bs=1k count=$ramdisk_size &> /dev/null || Die "Not enough room for temporary ramdisk
     345(TurnTgzIntoRdz)"
     346        echo -en "..."
     347-       mke2fs -b 1024 -m 1 -i 2048 -F $tempfile >> $LOGFILE 2>> $LOGFILE
     348+#
     349+#      Changed 2 lines to make mindi work on OpenSuse 10.2, which has no ext2 support buildin
     350+#      so we use minix for the initrd. Jacob Wiersma (jw) 20.01.2007
     351+#
     352+#      mke2fs -b 1024 -m 1 -i 2048 -F $tempfile >> $LOGFILE 2>> $LOGFILE
     353+       mkfs.minix  $tempfile >> $LOGFILE 2>> $LOGFILE
     354        echo -en "..."
     355        mkdir -p $mountpoint
     356-       mount -t ext2 -o loop $tempfile $mountpoint || Die "Cannot loopmount $tempfile to $mountpoint! The reason may be
     357missing support for loopfs or ext2 (or both) in the running kernel."
     358+#      mount -t ext2 -o loop $tempfile $mountpoint || Die "Cannot loopmount $tempfile to $mountpoint! The reason may be
     359missing support for loopfs or ext2 (or both) in the running kernel."
     360+       mount -t minix -o loop $tempfile $mountpoint || Die "Cannot loopmount $tempfile to $mountpoint! The reason may be
     361missing support for loopfs or ext2 (or both) in the running kernel."
     362        echo -en "..."
     363        old_pwd=`pwd`
     364        cd $mountpoint
     365}}}
     366
     367  ''Solution reported by Jacob Wiersma''
    337368
    338369== Q23/ My mondorestore disk doesn't boot how can I debug and get the log file ? ==