Re: How do I clone a drive and resize (downsize) a partition ? fdisk verify warning.

2010-07-04 Thread Bill Davidsen
Linuxguy123 wrote: > I'm moving /, /boot and swap from a conventional hard drive to an SSD. > > Both drives are 160 GB in size. > > I want to resize the /boot and swap partitions from 200 MB and 2 GB to > 500 MB and 8 GB respectively. The first resize is because preupgrade > now fails to run un

Re: How do I clone a drive and resize (downsize) a partition ? fdisk verify warning.

2010-06-24 Thread Linuxguy123
On Thu, 2010-06-24 at 17:10 -0700, JD wrote: > If you dd partition A on drive 1 to partition B from drive 2, and the > size of partition B is > LARGER that partition A, then the size of the FILESYSTEM on partition B > will be identical to size of partition A. In other words, the filesystem > s

Re: How do I clone a drive and resize (downsize) a partition ? fdisk verify warning.

2010-06-24 Thread JD
On 06/24/2010 04:12 PM, Patrick Bartek was caught red-handed while writing:: > --- On Thu, 6/24/10, Linuxguy123 wrote: > > >> I'm moving /, /boot and swap from a >> conventional hard drive to an SSD. >> >> Both drives are 160 GB in size. >> >> I want to resize the /boot and swap partitions

Re: How do I clone a drive and resize (downsize) a partition ? fdisk verify warning.

2010-06-24 Thread Linuxguy123
On Thu, 2010-06-24 at 16:12 -0700, Patrick Bartek wrote: > > In Linux, "everything's a file." ;-) Sure. > No, dd won't "resize" a partition, but you can use it to copy the > filesystem from one partition to another of the same size or larger, > then just resize the filesystem using an appropria

Re: How do I clone a drive and resize (downsize) a partition ? fdisk verify warning.

2010-06-24 Thread Linuxguy123
On Thu, 2010-06-24 at 15:33 -0700, Kam Leo wrote: > On Thu, Jun 24, 2010 at 2:09 PM, Linuxguy123 wrote: > > I found the easiest way to do this was to download a copy of Ubuntu 10.4 > > and use gparted. It has a function to copy a partition from the source > > drive to the destination drive. Th

Re: How do I clone a drive and resize (downsize) a partition ? fdisk verify warning.

2010-06-24 Thread Patrick Bartek
--- On Thu, 6/24/10, Linuxguy123 wrote: > I'm moving /, /boot and swap from a > conventional hard drive to an SSD. > > Both drives are 160 GB in size. > > I want to resize the /boot and swap partitions from 200 MB > and 2 GB to > 500 MB and 8 GB respectively.   The first > resize is because pre

Re: How do I clone a drive and resize (downsize) a partition ? fdisk verify warning.

2010-06-24 Thread Kam Leo
On Thu, Jun 24, 2010 at 2:09 PM, Linuxguy123 wrote: > On Thu, 2010-06-24 at 09:35 +0100, John Austin wrote: >> On Thu, 2010-06-24 at 02:06 -0600, Linuxguy123 wrote: >> > I'm moving /, /boot and swap from a conventional hard drive to an SSD. >> > >> > Both drives are 160 GB in size. >> > >> > >> I

Re: How do I clone a drive and resize (downsize) a partition ? fdisk verify warning.

2010-06-24 Thread Linuxguy123
On Thu, 2010-06-24 at 09:35 +0100, John Austin wrote: > On Thu, 2010-06-24 at 02:06 -0600, Linuxguy123 wrote: > > I'm moving /, /boot and swap from a conventional hard drive to an SSD. > > > > Both drives are 160 GB in size. > > > > > I have tried a couple of methods successfully, here are my "h

Re: How do I clone a drive and resize (downsize) a partition ? fdisk verify warning.

2010-06-24 Thread John Austin
On Thu, 2010-06-24 at 02:06 -0600, Linuxguy123 wrote: > I'm moving /, /boot and swap from a conventional hard drive to an SSD. > > Both drives are 160 GB in size. > > I want to resize the /boot and swap partitions from 200 MB and 2 GB to > 500 MB and 8 GB respectively. The first resize is becau

How do I clone a drive and resize (downsize) a partition ? fdisk verify warning.

2010-06-24 Thread Linuxguy123
I'm moving /, /boot and swap from a conventional hard drive to an SSD. Both drives are 160 GB in size. I want to resize the /boot and swap partitions from 200 MB and 2 GB to 500 MB and 8 GB respectively. The first resize is because preupgrade now fails to run unless /boot is 500 MB or larger an