New Harddrive, copy SuSE installation.
Hi all, I have SuSE9.1Per, using GRUB. I just installed a new hard drive, booted via cd to repair mode, dropped to a shell and partitioned the new drive with swap, a root and data partitions. i flagged the root parition bootable. i then formatted the drive reiserfs and did mkswap on my swap. I mounted the partition and mounted my current SuSE9.1 installation. I did 'cp -a' from my installation drive to the new drive. I know there's something I have to do with GRUB to get it to boot off the new drive. I'm not sure what i need to do, I think what i need to do is install GRUB into the mbr? I'm also concerned that cp -a won't copy everything exactly, so i'm not sure if this is going to work exactly. i wanted to do "dd if=/dev/newdrive of=/dev/olddrive" but the partition sizes are different so I didn't think that would work. i just want to avoid doing a complete reinstall, patch, customization.
On Wednesday 07 July 2004 14:36, mmarseglia wrote:
Hi all, I have SuSE9.1Per, using GRUB. I just installed a new hard drive, booted via cd to repair mode, dropped to a shell and partitioned the new drive with swap, a root and data partitions. i flagged the root parition bootable. i then formatted the drive reiserfs and did mkswap on my swap. I mounted the partition and mounted my current SuSE9.1 installation. I did 'cp -a' from my installation drive to the new drive.
I know there's something I have to do with GRUB to get it to boot off the new drive. I'm not sure what i need to do, I think what i need to do is install GRUB into the mbr?
I'm also concerned that cp -a won't copy everything exactly, so i'm not sure if this is going to work exactly. i wanted to do "dd if=/dev/newdrive of=/dev/olddrive" but the partition sizes are different so I didn't think that would work.
i just want to avoid doing a complete reinstall, patch, customization.
If you want to replace the old drive with the new drive, then:
1) Physically replace the old drive with the new drive
2) reboot into the rescue system
3) chroot
On Wednesday 07 July 2004 15:14, Leendert Meyer wrote:
1) Physically replace the old drive with the new drive 2) reboot into the rescue system
Of course you need to mount the root partition first before 3) ;)
3) chroot
4) grub < /etc/grub.conf 5) exit 6) reboot
Cheers, Leen
On Wed, 7 Jul 2004 15:58:05 +0200, Leendert Meyer
On Wednesday 07 July 2004 15:14, Leendert Meyer wrote:
1) Physically replace the old drive with the new drive 2) reboot into the rescue system
Of course you need to mount the root partition first before 3) ;)
3) chroot
4) grub < /etc/grub.conf 5) exit 6) reboot
Right.. chroot! That's what i was forgetting.. Thanks Leen!
participants (2)
-
Leendert Meyer
-
mmarseglia