Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
mondo and ramdisk support
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
lkratz
n00b
n00b


Joined: 07 Jul 2002
Posts: 6
Location: Europe/Luxembourg/Esch

PostPosted: Tue Nov 19, 2002 2:11 pm    Post subject: mondo and ramdisk support Reply with quote

Hi all,

I'd like to do a bootable backup of my "gentoo" laptop. It seems that mondo + mindi are a perfect match for this task. I experienced it with success on an RH7.3 server. But on my laptop, I have some problems. Here is the log :
Code:

hansolo root # mondoarchive -Oi -d /backup -E "/backup /tmp"
Initializing...
Mondo Archive v1.47 --- http://www.mondorescue.com
----------------------------- ls -l /backup -----------------------------
total 0
--------------------------------end of output------------------------------
------------------------------ insmod dos ------------------------------
insmod: dos: no module by that name found
--------------------------------end of output------------------------------
...ran with errors.
------------------------------ insmod fat ------------------------------
insmod: fat: no module by that name found
--------------------------------end of output------------------------------
...ran with errors.
------------------------------ insmod vfat ------------------------------
insmod: vfat: no module by that name found
--------------------------------end of output------------------------------
...ran with errors.
---------------------- grep vfat /proc/filesystems ----------------------
--------------------------------end of output------------------------------
...ran with errors.
-------FATAL ERROR---------
Either call mondoarchive with '-o', or recompile your kernel to include VFAT support.
Author can and will render assistance only to users who include a gzipped copy
of /var/log/mondo-archive.log and /var/log/mindi.log in their bug report.
(Or /tmp/mondo-restore.log if it is a restore-time problem)
Please read the FAQ and the logs before you e-mail the mailing list.
FYI, I have gzipped the log and saved it to /tmp/MA.log.gzMondo has aborted.


I recompiled my kernel to enable ramdisk support, seems to be ok:
Code:

hansolo root # df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/hda4             8.1G  4.0G  4.2G  49% /
tmpfs                 2.0M  156K  1.9M   8% /mnt/.init.d
tmpfs                  62M     0   62M   0% /dev/shm


but still, mondo + mindi do not work, seems still to search something like ramdisk in /proc/devices.

Does some soft link is missing ? any idea ?

Thanks for your help.
Laurent
Back to top
View user's profile Send private message
Gav
n00b
n00b


Joined: 10 Oct 2002
Posts: 65
Location: Surrey, UK

PostPosted: Mon Dec 16, 2002 8:01 pm    Post subject: Reply with quote

I'm not sure, but the following link maybe useful: http://koto.mynetix.de/gentoo/

I'm having some problems getting Mondo up and running as well, but I may have something useful... I had problems getting the RAM-disk to work, but that was because I have a strange setup where I thought I'd moved my /boot when adding some IDE drives on a PCI controller when I have a SCSI boot - in fact I kept copying the new kernels to the wrong place. I got it working, but one thing that may be of use is that I initially left the RAM disk with the default size, but later increased it, and when I got it working it was something like 64MB (easy when all my PC's currently have 512MB). That may be something to try, or other settings in the kernel. BTW I built it in rather than as a module.
Back to top
View user's profile Send private message
lkratz
n00b
n00b


Joined: 07 Jul 2002
Posts: 6
Location: Europe/Luxembourg/Esch

PostPosted: Tue Dec 17, 2002 8:53 am    Post subject: Reply with quote

Ooops, I must confess I didn't post a follow-up of my problem in this forum since there were not so much interest in this thread. You remind me that it could help others.

Here's the experience. I took my problems to the mondo-devel mailing list (very active, very supporting, bravo) and found all the mandatory kernel features. In the past, and for the fun of it, I managed to build a very "slim" kernel, but to have mondo working I had to add these options :
- ram disk support
- initrd ramdisk support
- vfat
- fs loopback

et voilà ! mondo/mindi works fine. It seems that mondo devel team also tooked some gentoo specific behavior for their next release. for instance, the fact that gentoo unmount /boot when getting to init level 6 will no more prevent mindi/mondo to properly burn your kernel.

at this stage you still have to manually mount your /boot partition and specify the path to your kernel to have mondo working. something like mondoarchive -Oi -d /dev/xxx -k /boot/bzImage ...

hope this helps.
Back to top
View user's profile Send private message
Gav
n00b
n00b


Joined: 10 Oct 2002
Posts: 65
Location: Surrey, UK

PostPosted: Tue Dec 17, 2002 12:08 pm    Post subject: Reply with quote

It's good to hear you have it all working. :D

The current problem I have is with Mindi finding the size of my software RAID array. I've been looking in a few places and not found a lot (other than for the restore process which I doubt is relevant). I expect that once I'm back at my Gentoo box I will join the mailing list to see how it can be fixed!

It seems like a good idea to build a special kernel just for mindi/mondo - I think I'll try that sometime!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum