[olug] Upgrade HD ? - Off Thread

Brian Roberson roberson at olug.org
Tue Aug 5 04:56:51 UTC 2003


I am sure you where not being literal, but I must comment on 250Mb for a
/boot fs ?? how many kernels do you have on your systems.. ;-)



----- Original Message ----- 
From: "Jay Swackhamer" <Jay at RebootTheUser.com>
To: <jeffh at delasco.com>; "Omaha Linux User Group" <olug at olug.org>
Sent: Monday, August 04, 2003 1:41 PM
Subject: Re: [olug] Upgrade HD ?


> I would
> 1. Boot off one a distro CD
> 2. partition the new drive the way that you would like it
>   i.e.
>    250MB   /boot
>    10Gig   /
>     5gig   /home
>     1gig   swap
>    1000000g  /opt
>
> then mount the new filesystems
> /mnt/new_sys/
> /mnt/new_sys/boot
> /mnt/new_sys/home
>
>
> Then clone the partitions....
>
> for i in / /home /boot /opt
> do
>   LVMOUNT1=$i
>   LVMOUNT2=/mnt/new_sys/$i
>   cd ${LV_MOUNT1}; find . -xdev -depth -print | cpio -pdm ${LV_MOUNT2}
> done
>
>
> or tar each filesystem from the old drive to a 'backup'
> partition on the new drive, then untar each one to it's new
> partition.....
>
> > What is the easiest way to upgrade a hard drive under linux?  I read
> > through the ldp/howto on hard drive upgrades.  I also ran across some
> > email on using parted.
> >
> > Would it work to dd hda->hdb (where hda is old small drive, and hdb is
new
> > larger drive) and then use parted to grow the desired partitions?  Can
> > parted be used for the whole job, i see there is an option to cp via
> > parted.
> >
> > Looking for wisdom,
> >
> >
> > -jeff
> >
> >
> >
> >
> > _______________________________________________
> > OLUG mailing list
> > OLUG at olug.org
> > http://lists.olug.org/mailman/listinfo/olug
> >
>
>
> -- 
> Jay Swackhamer
> Reboot The User
> 15791 West Dodge Road
> Suite 135
> Omaha, NE 68118
> (402) 933-6449
> (402) 933-6456 Fax
> http://www.RebootTheUser.com
> _______________________________________________
> OLUG mailing list
> OLUG at olug.org
> http://lists.olug.org/mailman/listinfo/olug
>



More information about the OLUG mailing list