Opened 16 years ago

Closed 16 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 16 years ago.
mondoarchive.log.gz (23.4 KB ) - added by JeffS 16 years ago.
mindi1846.log.gz (7.6 KB ) - added by JeffS 16 years ago.
1846 mindi log
mondo1846.log.gz (23.5 KB ) - added by JeffS 16 years ago.
1846 mondo log
mondoarchive-test.log (292.2 KB ) - added by JeffS 16 years ago.
2.2.5 test Feb/16/08
mondorestore-no-reboot.log (187.6 KB ) - added by JeffS 16 years ago.
2.2.5 test Feb/16/08

Download all attachments as: .zip

Change History (22)

by JeffS, 16 years ago

Attachment: mindi.log.gz added

by JeffS, 16 years ago

Attachment: mondoarchive.log.gz added

comment:1 by JeffS, 16 years ago

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 by JeffS, 16 years ago

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 by Bruno Cornec, 16 years ago

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 by JeffS, 16 years ago

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

logs attached

by JeffS, 16 years ago

Attachment: mindi1846.log.gz added

1846 mindi log

by JeffS, 16 years ago

Attachment: mondo1846.log.gz added

1846 mondo log

comment:5 by JeffS, 16 years ago

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

comment:6 by JeffS, 16 years ago

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 by JeffS, 16 years ago

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

by JeffS, 16 years ago

Attachment: mondoarchive-test.log added

2.2.5 test Feb/16/08

by JeffS, 16 years ago

Attachment: mondorestore-no-reboot.log added

2.2.5 test Feb/16/08

comment:8 by JeffS, 16 years ago

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 by Bruno Cornec, 16 years ago

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 by JeffS, 16 years ago

I ran it as you suggested. No Change

comment:11 by Bruno Cornec, 16 years ago

Milestone: 2.2.52.2.6

comment:12 by Bruno Cornec, 16 years ago

Version: 2.2.5

comment:13 by JeffS, 16 years ago

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 by Bruno Cornec, 16 years ago

Milestone: 2.2.62.2.7

comment:15 by JeffS, 16 years ago

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 by Bruno Cornec, 16 years ago

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.