Replace disk that contains Grub boot in dualboot system

I have two 1 TB disks. One contains my 12.1 production system and the other a test version of 12.2.
The disk with 12.2 have the main grub menu.lst and chains to the 12.1 system. This disk is about to fail and Seagate is shipping me a new one which should arrive tonight.

Question. Can I just remove that disk, install the empty new one and then boot from CD and have YaST boot loader create a menu.ls? I cannot afford to lose the production setup even though home and boot are backed up. If this is not correct what is the best way to do this. There is nothing on the test disk that I need to keep. I can reinstall 12.2.

Any responses will be appreciated.
:dont-know:

Hi

That a menu.lst would be created in /boot/grub would at least require that there is a / , i.e. that a Linux partition on the new disk is already created.

The simplest way to do it would probably be to plug the new disk, and to use a CD or DVD to install 12.2 on it again,
which would re-install GRUB as well in a way similar to your previous system.

Using YaST would rather mean to try to get GRUB running again from/for your 12.1 disk.

Good luck
Mike

On 2012-06-02 00:26, upscope wrote:
> This disk is about to fail and Seagate is shipping me a new one
> which should arrive tonight.

If they are same size, dd them. If new is bigger, dd, then resize last
partition, finally expand that filesystem.


Cheers / Saludos,

Carlos E. R.
(from 11.4 x86_64 “Celadon” at Telcontar)

Hi Carlos !

Yes and no.

upscope wrote

and as far as I understood upscope, the failing disk is the one with 12.2 on it.
So a clean re-install would be easier and more reasonable.

@ upscope: did I get you right? Is it the oS 12.2 disk that is failing ?

Good luck
Mike

On 2012-06-02 01:26, ratzi wrote:
>
> Hi Carlos !
>
> robin_listas;2466764 Wrote:
>> If they are same size, dd them.
>
> Yes and no.

Can you clarify that?


Cheers / Saludos,

Carlos E. R.
(from 11.4 x86_64 “Celadon” at Telcontar)

Yes. 12.2 was installed last so the grub menu on it is chained to my 12.1 disk and then I set it as the default. I think the new install is the right way but so far I have not had much luck with the LiveCd or the new 12.2 Beta dvd installing correctly. I will try again as it could have been caused by the old partition setup had a seperate /usr and I have read that may be broken. Will post result after new disk gets here. Looks like it will be Monday as there is no ups delevery here on Saturday.

Thanks for your quick replies.

I still thought of the current state with one of the disks having a defect.
You probably were thinking about the next steps already, i.e. the state with the new disk plugged.

Mike

On 2012-06-02 13:16, ratzi wrote:

>> Can you clarify that?
>>
> I still thought of the current state with one of the disks having a
> defect.
> You probably were thinking about the next steps already, i.e. the state
> with the new disk plugged.

Well, yes, you need both disk plugged in order to make the copy; I assume
the old disk still works. If it has error, we can use dd_rescue instead.


Cheers / Saludos,

Carlos E. R.
(from 11.4 x86_64 “Celadon” at Telcontar)