1832997 Members
2269 Online
110048 Solutions
New Discussion

Re: Mondo Restore

 
Nobody's Hero
Valued Contributor

Mondo Restore

I have an Intel LC2000 running RH9. I back it up to DVD-RW using Mondo Rescue. Everything works fine. What I am trying to do is, take the CD's from system 'a' and restore it to system 'b'. (both systems are identical hardware and model)

1) I insert the CD's and reboot
2) I nuke the system just fine and it tells me to reboot.
3) when I reboot, I get 'GRUB read error'.

so one thing I tried was,

1)boot off of floppy that was created on system 'a'.
2) run grub-install --root-directory=/boot '(hd0)'
3) I reboot, still get grub read error. Any help appreciated.


The reason I am doing this is to create a critical spare server in case 'a' dies, I can bring up 'b'.

Any help appreciated. Has anyone tried this before??????
UNIX IS GOOD
7 REPLIES 7
Alexander Chuzhoy
Honored Contributor

Re: Mondo Restore

after booting from floppy try to issue this command:

grub-install /dev/hda


I guess you have an IDE hard drive..
Nobody's Hero
Valued Contributor

Re: Mondo Restore

/dev/hda is the DVD-RW drive.
I have SCSI disk drives.
UNIX IS GOOD
Alexander Chuzhoy
Honored Contributor

Re: Mondo Restore

Then I would use the "mount" command to see the mount points and then use the grub-install respectively.
Generally SCSI disks are /dev/sda(b) not always though..
Hope it would help.
Best regards.
Huc_1
Honored Contributor

Re: Mondo Restore

Sorry , If I dont get/understand this correctly


1 ) You have installed linux on A, had a full backup to DVD using mondo.

2 ) Restore this to B (hw identical of A)

But you have grub error on boot of B using mondo DVD.

I think You need to first boot B from install linux floppy or cd in rescue mode to partition your disk to the same setup/partitioning as on A

(scsi dev is probably /dev/sda* check this on A )
once this is done try you restore/mondo senario on B

Hope this help?

J-P



Smile I will feel the difference
Nobody's Hero
Valued Contributor

Re: Mondo Restore

Thanks Huc,

Actually I am getting the 'GRUB read error' after the install of the mondo cd on 'b'. Mondo restores all my data and partitions the drives just fine. All my data is on system 'b' now, I just can not boot. I get the grub read error.



B.
UNIX IS GOOD
Huc_1
Honored Contributor

Re: Mondo Restore

Ok, sorry I there now ( at least I think so )

on A
# df (to see id /dev/hda* or /dev/sda*)
then
check what dev has the boot flag
like
# fdisk -l /dev/hda (or sda this displays the partions tables)

the one with a * under boot is the boot-flag

then as parameter to grub on B

grub-install /dev/sda1
or
grub-install /dev/hda1

depending on what boot flag tell you should do it ?

Hope this time around It will help !

J-P
Smile I will feel the difference
Huc_1
Honored Contributor

Re: Mondo Restore

I found this in an LG article, this clear, well less foggy i have cut and past part of the article the here under.


<<<<<<<<<<<<<<<<< extract >>>>>>>>>>>>>>>>>>>
Before installing GRUB, you need to know how GRUB understands your hard drive and partition information. First of all, counting starts from 0, not from 1. In Linux, your first hard drive attached to the primary master controller is called "hda". In GRUB it becomes "hd0". Likewise, your first floppy drive in GRUB is "fd0". So the first, second and third partitions on the first hard disk (hda1, hda2 and hda3), become "hd0,0", "hd0,1" and "hd0,2" in GRUB. NOTE: the comma is an integral part of GRUB partition nomenclature.

To integrate the two fields (disk drive number and partition number) around the comma into one, use parentheses. For example: (hd0,0) (hd0,1) (hd0,2) and so on. (hd0,0) is first partition on first hard disk. Similarly, (hd1,5) is the sixth partition on second hard disk and (hd2,0) is first partition on third hard disk.

<<<<<<<<<<<<<<<< end of extract >>>>>>>>>>>>>>

the full article is at

http://www.linuxgazette.com/issue64/kohli.html


J-P
Smile I will feel the difference