Opened 13 years ago

Closed 12 years ago

#224 closed defect (invalid)

mondorestore doesn't mknod any hdaX drive nodes. So the boot fails

Reported by: JeffS Owned by: Bruno Cornec
Priority: normal Milestone: 2.2.7
Component: mondo Version: 2.2.5
Severity: major Keywords:
Cc:

Description

mondo-2.2.5-1.suse10.2 mindi-2.0.0-1.suse10.0

Backup and restore runs normal. Reboot if restored machine fails inot maintenance mode. I noticed no /dev/hdaX were made. I tried mknode and the nodes were made but did not talke affect.

Attachments (6)

mindi.log.gz (7.6 KB) - added by JeffS 13 years ago.
mondoarchive.log.gz (23.4 KB) - added by JeffS 13 years ago.
mindi1846.log.gz (7.6 KB) - added by JeffS 13 years ago.
1846 mindi log
mondo1846.log.gz (23.5 KB) - added by JeffS 13 years ago.
1846 mondo log
mondoarchive-test.log (292.2 KB) - added by JeffS 13 years ago.
2.2.5 test Feb/16/08
mondorestore-no-reboot.log (187.6 KB) - added by JeffS 13 years ago.
2.2.5 test Feb/16/08

Download all attachments as: .zip

Change History (22)

Changed 13 years ago by JeffS

Attachment: mindi.log.gz added

Changed 13 years ago by JeffS

Attachment: mondoarchive.log.gz added

comment:1 Changed 13 years ago by JeffS

Version: 2.2.4

I redid with the latest beta mindi-2.0.0-1.suse10.3 mondo-2.2.5-1.suse10.3

Same outcome I then manually restored the /dev directory. And still it boots into maint mode and the /dev/hdaX's is not the /dev

comment:2 Changed 13 years ago by JeffS

I can boot up this machine with knoppix and mount /dev/hda1 and /dev/hda2. The devices that are unavailable booting the restored OS that mondo created.

comment:3 Changed 13 years ago by Bruno Cornec

Status: newassigned

The devices are not there because they are created on the fly by udev for your distro I guess.

So I'll copy the devices from the restore env to the chroot before calling the bootloader installation in order to have them ready for it to work.

comment:4 Changed 13 years ago by JeffS

1846 failed on reboot of restored machine. waiting for /dev/root.

logs attached

Changed 13 years ago by JeffS

Attachment: mindi1846.log.gz added

1846 mindi log

Changed 13 years ago by JeffS

Attachment: mondo1846.log.gz added

1846 mondo log

comment:5 Changed 13 years ago by JeffS

1846 fails the same way. waiting for /dev/root. no hda nodes in /dev

comment:6 Changed 13 years ago by JeffS

I noticed suse 10.2 machines don't have MAKEDEV because there was a warning in the log about /sbin/MAKEDEV does not exist. I installed MAKEDEV and it made no difference. But it did fix a message 'waiting for external binary to start'

Thought I found the problem but not so.

comment:7 Changed 13 years ago by JeffS

I tested the test versions I dl'd today and no change. can't boot restored machine.

It fails to boot with a message waiting for /dev/root to appear. The line above is /dev/hda1 not found. But my / is hda2. I try appending that to the boot command but boot still fails the same way.

Boot drops into a maint shell and there are no /dev/hda? nodes available to mount manually.

Also usb keyboard is inop but this machine has a ps2 plug available and that is active.

Attached are the two logs.

mondoarchive is the making of the bakcup set mondorestore is the restore log

I can't get boot.msg of the failed boot. I'll continue to try.

Hope this helps. I'd love to get mondo bootable working again.

Thanks, JeffS

Changed 13 years ago by JeffS

Attachment: mondoarchive-test.log added

2.2.5 test Feb/16/08

Changed 13 years ago by JeffS

Attachment: mondorestore-no-reboot.log added

2.2.5 test Feb/16/08

comment:8 Changed 13 years ago by JeffS

I noticed lsmod reports the module ide-disk.ko as ide_disk. Is this a problem for mondo? Other modules with - in the file name are reported like this also.

comment:9 Changed 13 years ago by Bruno Cornec

Can you try the following:

Edit the files /etc/mindi/udev.files and add /dev/root to it at the end.

Then re-run your backup and report again.

comment:10 Changed 13 years ago by JeffS

I ran it as you suggested. No Change

comment:11 Changed 13 years ago by Bruno Cornec

Milestone: 2.2.52.2.6

comment:12 Changed 13 years ago by Bruno Cornec

Version: 2.2.5

comment:13 Changed 13 years ago by JeffS

message on screen during boot of rescue disk: udevd lookup group for disk unknown

there are many other like this during the boot.

comment:14 Changed 12 years ago by Bruno Cornec

Milestone: 2.2.62.2.7

comment:15 Changed 12 years ago by JeffS

Priority: highnormal

I built up a test suse 10.2 box and ran mondo. Mondorestore is successful restoring on same machine but not on different machine.

comment:16 Changed 12 years ago by Bruno Cornec

Resolution: invalid
Status: assignedclosed

If the source and target systems are different, some caveats have to be taken. Look at http://www.mondorescue.org/docs/hwmigration-2.3.pdf for some hints.

Note: See TracTickets for help on using tickets.