Mailinglist Archive: opensuse (3605 mails)

< Previous Next >
RE: [SLE] moving my current installation
  • From: "Marlier, Ian" <ian.marlier@xxxxxxxxxxxxxxxxxxx>
  • Date: Thu, 29 Jun 2006 12:31:24 -0400
  • Message-id: <D2575519D6CA2840B6D3E26087EA71B6C835@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
> -----Original Message-----
> From: Phil Burness [mailto:pburness@xxxxxxxxxxxxxxx]
> Sent: Thursday, June 29, 2006 11:42 AM
> To: suse-linux-e@xxxxxxxx
> Subject: [SLE] moving my current installation
>
> I have a fully up to date v9.3 system on a 40Gb harddrive. I want to
> transfer
> this installation to a new 160Gb harddrive. I want to remove the old
40Gb
> and
> trash it. (It's several years old an I want to change it before it
fails).
> Question is how do I transfer the system over including grub etc.
>
> Phil

`man dd`

Most likely, you'll end up doing something like this:
- Install the new drive into the box.
- Boot off of the SuSE CD, into rescue mode
- do `dd if=/dev/hdX of=/dev/hdY` (where /dev/hdX is the current hard
drive, and /dev/hdY is the new drive)
- Use fdisk to extend the partition on the new drive
- Use resize2fs to extend the filesystem to fill the partition

Remove the old drive, and off you go.

YMMV, but this has worked for me many times in the past...

--
Check the headers for your unsubscription address
For additional commands send e-mail to suse-linux-e-help@xxxxxxxx
Also check the archives at http://lists.suse.com
Please read the FAQs: suse-linux-e-faq@xxxxxxxx


< Previous Next >