gentoo doesn't use rpm, and mondo-rescue should not rely on it. tried to run "mondoarchive" (mondo-rescue 1.65) on gentoo 2004.2, get the following fatal error message early on in the process of running "mondoarchive": sh: line 1: rpm: command not found emerge rpm, try again, get the following: - rpm -q newt newt-devel slang slang-devel ncurses ncurses-devel glibc - package newt is not installed package newt-devel is not installed ... Reproducible: Always Steps to Reproduce: 1. emerge mondo-rescue 2. mondoarchive -Oi -s650m -E "/tmp /usr/portage/distfiles" -F -o -k FAILSAFE 3. Actual Results: Initializing... See /var/log/mondo-archive.log for details of backup run. root is mounted at /dev/hda I believe I am running on a live filesystem. root is mounted at /dev/hda I believe I am running on a live filesystem. Checking sanity of your Linux distribution Done.# cat /var/log/mondo-archive.log -------------------- mount | grep cdrom | grep super -------------------- --------------------------------end of output------------------------------ ...ran with errors. ------------------- mount | grep floppy | grep super ------------------- --------------------------------end of output------------------------------ ...ran with errors. /boot is at /dev/hda1 according to /etc/fstab ---------------------- mount | grep -w "/dev/hda1" ---------------------- /dev/hda1 on /boot type ext3 (rw) --------------------------------end of output------------------------------ ...ran just fine. :-) Unmounting old ramdisks if necessary -------- umount `mount | grep shm | grep mondo | cut -d' ' -f3` -------- --------------------------------end of output------------------------------ ...ran just fine. :-) Mondo Archive v --- http://www.mondorescue.com root is mounted at /dev/hda I believe I am running on a live filesystem. root is mounted at /dev/hda I believe I am running on a live filesystem. Checking sanity of your Linux distribution Free space on given partition = 15153 MB -------- umount `mount | grep cdr | cut -d' ' -f3 | tr ' ' ' '` -------- Usage: umount [-hV] umount -a [-f] [-r] [-n] [-v] [-t vfstypes] [-O opts] umount [-f] [-r] [-n] [-v] special | node... --------------------------------end of output------------------------------ ...ran with errors. ---------------------------- cat /etc/fstab ---------------------------- /dev/hda1 /boot ext3 noatime 1 1 /dev/hda3 / ext3 noatime 0 0 /dev/hda2 none swap sw 0 0 /dev/cdroms/cdrom0 /cdrom iso9660 noauto,ro 0 0 none /proc proc defaults 0 0 none /dev/shm tmpfs defaults 0 0 --------------------------------end of output------------------------------ ...ran just fine. :-) --------------------------- cat /etc/raidtab --------------------------- cat: /etc/raidtab: No such file or directory --------------------------------end of output------------------------------ ...ran with errors. ------------- mindi --makemountlist /tmp/mountlist.txt.test ------------- Your mountlist will look like this:- Hang on... /dev/hda1 /boot ext3 39 /dev/hda3 / ext3 19539 /dev/hda2 swap swap 980 --------------------------------end of output------------------------------ ...ran just fine. :-) Done. bkpinfo->tmpdir is being set to //tmp.mondo.15710 bkpinfo->scratchdir is being set to //mondo.scratch.1061 Please specify the backup device/directory. --------------------------- cat /proc/cpuinfo --------------------------- processor : 0 vendor_id : AuthenticAMD cpu family : 6 model : 8 model name : AMD Athlon(tm) XP 1800+ stepping : 1cache size : 256 KB fdiv_bug : no hlt_bug : no f00f_bug : no coma_bug : no fpu : yes fpu_exception : yes cpuid level : 1 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 sep mtrr pge mca cmov pat pse36 mmx fxsr sse syscall mmxext 3dnowext 3dnow bogomips : 3022.84 --------------------------------end of output------------------------------ ...ran just fine. :-) ------------------------------- uname -a ------------------------------- Linux mainframe 2.6.7-gentoo-r12 #1 Sat Aug 7 07:49:37 PDT 2004 i686 AMD Athlon(tm) XP 1800+ AuthenticAMD GNU/Linux --------------------------------end of output------------------------------ ...ran just fine. :-) --------------------------- cat /etc/*issue* --------------------------- This is \n.\O (\s \m \r) \t --------------------------------end of output------------------------------ ...ran just fine. :-) - rpm -q newt newt-devel slang slang-devel ncurses ncurses-devel glibc - sh: line 1: rpm: command not found --------------------------------end of output------------------------------ ...ran with errors. mount /dev/shm -t tmpfs /root/tmp/tmp.mondo.13333/tmp.mondo.3304/tmpfs -o size=120m --------------------------------end of output------------------------------ ...ran just fine. :-) Tmpfs mounted OK doing ISO customization isodir = /root/images/mondo command = mount | grep -w /root/images/mondo | head -n1 | cut -d' ' -f1 res of it = Finished processing incoming params Unregistering PID --------------------------- umount /mnt/cdrom --------------------------- umount: /mnt/cdrom: not mounted --------------------------------end of output------------------------------ ...ran with errors. ~ cpu MHz : 1527.111 cache size : 256 KB Bad parameters. Type 'man mondoarchive' to see manual. Mondo will now exit. Type 'less /var/log/mondo-archive.log' to see the output log Expected Results: never having run it before on gentoo, i don't know exactly what it would have said, probably something along the line of "finished successfully" when it finished building the ISO image. Portage 2.0.50-r9 (default-x86-2004.2, gcc-3.3.3, glibc-2.3.3.20040420-r0, 2.6.7-gentoo-r12) ================================================================= System uname: 2.6.7-gentoo-r12 i686 AMD Athlon(tm) XP 1800+ Gentoo Base System version 1.4.16 Autoconf: sys-devel/autoconf-2.59-r4 Automake: sys-devel/automake-1.8.3 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O2 -march=i686 -fomit-frame-pointer -pipe" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=i686 -fomit-frame-pointer -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="ftp:///ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://ftp6.uni-erlangen.de/pub/mirrors/gentoo http://gentoo.osuosl.org/ http://cudlug.cudenver.edu/gentoo/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X alsa apm arts avi berkdb cdr crypt cups encode esd foomaticdb gdbm gif gnome gpm gtk gtk2 imlib jpeg kde libg++ libwww mad mikmod motif mozilla mpeg ncurses nls oggvorbis opengl oss pam pdflib perl png python qt quicktime readline sdl slang spell ssl svga tcltk tcpd truetype x86 xml2 xmms xv zlib"
can you try this against mondo-rescue 2.03?
i tried 2.02 from the tgz last night, it has all kinds of issues with missing pieces in mindi, bad arguments to umount, etc. i will try 2.03 to see it's any better.
mondo 2.03 fails, the error message in MA.log.gz is mkisofs: Uh oh, I cant find the boot image 'image/mindi-bootroot.2880.img'!
are you still running it as: mondoarchive -Oi -s650m -E "/tmp /usr/portage/distfiles" -F -o -k FAILSAFE Thanks, Jay
Basically yes. I'm using "-s4000m" in this case because I'm trying to make a bootable DVD. I put up an entry under "Installation/Setup Issues" on forum.mondorescue.org a few days ago, haven't gotten any responses yet.
mondo-rescue is masked and pending removal from the portage tree.