cd /tmp/mindi-busybox-1.7.3 make oldconfig make busybox make CONFIG_PREFIX=/usr/local/lib/mindi/rootfs install ---------------------------------------------------------------------------- cd /tmp/mindi-2.0.0 ./install.sh mindi 2.0.0-r1883 will be installed under /usr/local Creating target directories ... Copying files ... # mindi Mindi Linux mini-distro generator v2.0.0-r1883 Latest Mindi is available from http://www.mondorescue.org BusyBox sources are available from http://www.busybox.net ------------------------------------------------------------------------------ Mindi-BusyBox v1.7.3-r1873 (2008-02-26 12:19:11 CET) multi-call binary Do you want to use your own kernel to build the boot disk ([y]/n) ? find: /boot/efi: No such file or directory No kernel matches exactly. Are there any duff kernels? Sorry, no duff kernels either Could not find your kernel. Analyzing dependency requirements Done. Making complete dependency list Done. Analyzing your keyboard's configuration. Searching for rc.config ...Unknown config detected. Default keyboard map will be used. Assembling dependency files.................................... Done. Your mountlist will look like this: 8 directories. lvmdiskscan not found. Won't handle LVM. DEVICE MOUNTPOINT FORMAT SIZE (MB) LABEL/UUID /dev/sdb2 / ext3 66891 /dev/sdb3 swap swap 1953 Tarring and zipping the groups........................... Done. Creating data disk #1...#2...#3...#4...#5...#6...#7...#8... Done. FATAL ERROR. PBDI - cannot find 57344 kernel Please e-mail a copy of /var/log/mindi.log to the mailing list. See http://www.mondorescue.org for more information. WE CANNOT HELP unless you enclose that file. # mkdir -m 755 /boot/efi # mount -t vfat /dev/sdb1 /boot/efi # mindi Mindi Linux mini-distro generator v2.0.0-r1883 Latest Mindi is available from http://www.mondorescue.org BusyBox sources are available from http://www.busybox.net ------------------------------------------------------------------------------ Mindi-BusyBox v1.7.3-r1873 (2008-02-26 12:19:11 CET) multi-call binary Do you want to use your own kernel to build the boot disk ([y]/n) ? Analyzing dependency requirements Done. Making complete dependency list Done. Analyzing your keyboard's configuration. Searching for rc.config ...Unknown config detected. Default keyboard map will be used. Assembling dependency files.....................................Done. Your mountlist will look like this: 8 directories. lvmdiskscan not found. Won't handle LVM. DEVICE MOUNTPOINT FORMAT SIZE (MB) LABEL/UUID /dev/sdb2 / ext3 66891 /dev/sdb3 swap swap 1953 Tarring and zipping the groups........................... Done. Creating data disk #1...#2...#3...#4...#5...#6...#7...#8... Done. Making 16384KB boot disk...............udev device manager found ERROR: No product name found for Hardware support Hardware Information found and saved ... ......22934 blocks ......OK, you don't have a /boot/boot.b file, which is odd because most _good_ Linux distributions come with one, even if it's only a softlink grep: /etc/lilo.conf: No such file or directory Nor can I find it from your /etc/lilo.conf file. This is very odd. I'm going to use '' CBBF -- warning -- cannot find your boot.b file. That's it, I quit... (j/k) cp: `/tmp/mindi.BzNyJ29838/mountpoint.29836/elilo.conf' and `/tmp/mindi.BzNyJ29838/mountpoint.29836/elilo.conf' are the same file In the directory '/var/cache/mindi' you will find the images:- Done. mindi-bootroot.16384.img mindi-data-1.img mindi-data-2.img mindi-data-3.img mindi-data-4.img mindi-data-5.img mind i-data-6.img mindi-data-7.img mindi-data-8.img Would you like to create boot+data floppy disks now (y/[n]) ? Shall I make a bootable USB image ? (y/[n]) Shall I make a bootable CD image? (y/[n]) y Created bootable ISO image at /var/cache/mindi/mindi.iso Finished. Boot and data disk images were created. hpx189:/tmp/mondo-2.2.5# ls -l /var/cache/mindi/mindi.iso -rw-r--r-- 1 root root 54169600 Feb 26 14:05 /var/cache/mindi/mindi.iso ----------------------------------------------------------------------------- # cd mondo-2.2.5 # ./configure # make # make install
On Debian/IA64 # mondoarchive W E L C O M E T O M O N D O R E S C U E Making catalog of files to be backed up Done. Dividing filelist into sets Done. Copying Mondo's core files to the scratch directory Done. Calling MINDI to cr+-----¦ Generating boot+data disks +-----+ ¦ ¦ ¦ Generating boot+data disks ¦ ¦ ¦ ¦ 1% ¦ ¦ ¦ ¦ ¦ ¦ Working.................... / ¦ +----------------------------------------+ DEVICE MOUNTPOINT FORMAT SIZE (MB) LABEL/U /dev/sda2 lvm lvm 0 /dev/sdb2 / ext3 66891 /dev/sdb3 swap swap 1953 Tarring and zipping the groups................................. Generating boot+data disks
Problem on Debian/IA64 via LAN Console => no reaction on keyboard because of newt and dialog
Only problem with mkCDrec v0.9.8 was the parted version. On RedHat Enterprise the layout of parted looks like: Disk geometry for /dev/sdb: 0.000-34732.890 megabytes Disk label type: gpt Minor Start End Filesystem Name Flags 1 0.017 100.002 fat16 boot 2 100.002 32740.452 ext3 32740.452 34732.873 linux-swap And on Debian/IA64 it looks: Disk /dev/sdb: 73.4GB Sector size (logical/physical): 512B/512B Partition Table: gpt Number Start End Size File system Name Flags 1 17.4kB 100MB 100MB fat16 boot 2 100MB 71.4GB 71.3GB ext3 3 71.4GB 73.4GB 2049MB linux-swap Needed to change rd-base.sh script to get a good partitioning file. Next release (v0.9.9) will have the updated code. For the rest no difference with RedHat (for booting and recovering).
# rear -s mkrescue Relax & Recover Version 1.6 / 2007-12-05 Simulation mode activated, ReaR base directory: /usr/share/rear Source prep/default/01_progress_start.sh Source prep/ISO/default/30_check_iso_dir.sh Source prep/ISO/default/32_check_cdrom_size.sh Source prep/ISO/Linux-ia64/33_find_elilo_efi.sh Source prep/ISO/Linux-ia64/34_define_console_ia64.sh Source prep/default/99_progress_stop.sh Source dr/default/01_mk_config_dir_recovery.sh Source dr/GNU/Linux/10_describe_physical_devices.sh Source dr/GNU/Linux/11_describe_mountpoint_device.sh Source dr/GNU/Linux/12_describe_filesystems.sh Source dr/GNU/Linux/13_describe_swap.sh Source dr/GNU/Linux/15_copy_proc_partitions.sh Source dr/GNU/Linux/21_describe_md.sh Source dr/GNU/Linux/23_describe_lvm2.sh Source dr/GNU/Linux/29_find_required_devices.sh Source dr/Linux-ia64/30_mk_partitions_with_parted.sh Source dr/Linux-ia64/31_describe_device_properties.sh Source dr/GNU/Linux/80_copy_fstab_file.sh Source rescue/default/00_set_recovery_config.sh Source rescue/default/01_merge_skeletons.sh Source rescue/default/10_hostname.sh Source rescue/default/20_etc_issue.sh Source rescue/GNU/Linux/30_dns.sh Source rescue/GNU/Linux/31_network_devices.sh Source rescue/GNU/Linux/35_routing.sh Source rescue/GNU/Linux/40_kernel_modules.sh Source rescue/default/43_prepare_timesync.sh Source rescue/GNU/Linux/50_clone_keyboard_mappings.sh Source rescue/default/50_ssh.sh Source build/GNU/Linux/20_copy_as_is.sh Source build/GNU/Linux/39_copy_binaries_libraries.sh Source build/GNU/Linux/40_copy_modules.sh Source build/default/50_patch_sshd_config.sh Source pack/GNU/Linux/00_create_symlinks.sh Source pack/GNU/Linux/90_create_initramfs.sh Source output/ISO/Linux-ia64/20_mount_bootimg.sh Source output/ISO/Linux-ia64/30_create_bootimg.sh Source output/ISO/Linux-ia64/40_create_local_efi_dir.sh Source output/ISO/Linux-ia64/70_umount_bootimg.sh Source output/ISO/Linux-ia64/80_create_isofs.sh Source output/default/95_email_result_files.sh Source cleanup/default/01_progress_start.sh Source cleanup/default/99_progress_stop.sh Finished in 0 seconds. The only problem we had was with agetty which doesn’t exist on Debian (getty), but forgot to change inittab file. Solution is quite simple: /usr/share/rear/skel/Linux-ia64# ls -l sbin total 0 lrwxrwxrwx 1 root root 11 Mar 13 16:09 agetty -> /sbin/getty Looking through the /tmp/rear.log file we can see the following: 2008-03-13 16:15:06 Including rescue/default/01_merge_skeletons.sh 2008-03-13 16:15:06 Adding 'default' 2008-03-13 16:15:06 Adding 'Linux-ia64' 2008-03-13 16:15:06 Adding 'GNU/Linux' 2008-03-13 16:15:06 No 'Debian/default' or 'Debian/default.tar.gz' found 2008-03-13 16:15:06 No ' Debian/ia64 ' or 'Debian/ia64.tar.gz' found 2008-03-13 16:15:06 No 'Debian/4.0' or 'Debian/4.0.tar.gz' found 2008-03-13 16:15:06 No 'REQUESTRESTORE' or 'REQUESTRESTORE.tar.gz' found