What should I do to make an existing CentOS (5.4) disc boot up on a new computer?
I just made on CentOS 5.3 installation on that machine, so I know the hardware is compatible.
Would it be enough to boot with a DVD in rescue mode, or boot with another hd, and install grub?
- Jussi
Hi,
What should I do to make an existing CentOS (5.4) disc boot up on a new computer?
I just made on CentOS 5.3 installation on that machine, so I know the hardware is compatible.
Would it be enough to boot with a DVD in rescue mode, or boot with another hd, and install grub?
You might try to boot with the old hd right away. I did almost the same last weekend. Installed a new system for a friend on a virtual machine (using qemu) using a new disk and put the disk in his (old) machine (the machine wasn't available to me at the time of install) after installation.
If it doesn't boot (normally because the disk numbering is different) you can use a rescue DVD and grub to fix things (probably grub-install and maybe /etc/fstab for the /boot filesystem). Is the old hd using LVM and/or labels for filesystems ?
Regards,
Michel
2009/12/16 Michel van Deventer michel@van.deventer.cx
Hi,
What should I do to make an existing CentOS (5.4) disc boot up on a new computer?
you may be required to rebuild initrd
On 16.12.2009 10:18, Michel van Deventer wrote:
If it doesn't boot (normally because the disk numbering is different) you can use a rescue DVD and grub to fix things (probably grub-install and maybe /etc/fstab for the /boot filesystem). Is the old hd using LVM and/or labels for filesystems ?
No. The old hd has two ext3 partitions (/boot and /), both part of a md device (raid1). (Plus there is a swap partition.)
I will try grub-install shortly. Thanks for the tips so far.
- Jussi
I ran into trouble and decided to go another way.
The rescue CD did not find CentOS installations, most probably because the ext3 partitions were hidden behind a md layer.
I could have stopped the raid devices first, then I would probably have been able to use the rescue CD and rebuild initrd & install grub.
However, as I already have one disc up (with a fresh CentOS installation), I decided to rescue my data from the "old disc" (the non-booting one) to this "new disc". That way I will get a working system.
- Jussi
Quoting Jussi Hirvi listmember@greenspot.fi:
I ran into trouble and decided to go another way.
The rescue CD did not find CentOS installations, most probably because the ext3 partitions were hidden behind a md layer.
Well, You can use rescue image from www.sysresccd.org
-- Eero
-----Original Message----- From: centos-bounces@centos.org [mailto:centos-bounces@centos.org] On
Behalf
Of Jussi Hirvi Sent: Wednesday, December 16, 2009 9:07 AM To: CentOS mailing list Subject: [CentOS] Old hd, new machine
What should I do to make an existing CentOS (5.4) disc boot up on a new computer? [...] Would it be enough to boot with a DVD in rescue mode, or boot with another hd, and install grub?
For me it has worked to just install the old hd in the new machine and boot it up. Kudzo takes care of the rest.
HTH.