[svlug] How to move the Linux OS ionstalled on two small HDDs to single large HDD

Prasad Paranjape prasad_ishan at yahoo.com
Thu Feb 15 12:48:21 PST 2007


Hi Sargun,

Kindly explain what you mean by Step 3. Is it that I
install the Slackware 8 on the new hard drive and then
copy the partitions from my old HDDs to new HDD.

Also in step 7 you have mentioned Rinse .Pl. explain
what you mean by Rinse.

Regards,

Prasad
--- Sargun Dhillon <xbmodder at gmail.com> wrote:

> You have an alternate option if you don't feel like
> rebooting so much:
> 1. Plug in the second drive
> 2. Setup the second drive with LVM/RAID/Filesystems
> 3. Setup your boot loader and kernel
> 4. mount your drive RO like this: "mount -f
> -ro,remount /"
> 5. mount your new drive on a temporary mount point
> 6. copy it to your backup drive like this: "rsync
> --exclude=/proc
> --exclude=/mnt/new -av / /mnt/new/"
> 7. Rinse and repeat steps 4-6 for each partition you
> have.
> 8. Reboot
> 
> On 2/14/07, Rick Moen <rick at linuxmafia.com> wrote:
> >
> > I wrote:
> >
> > > 1.  Boot a maintenance CD/DVD (Knoppix or
> whatever).
> > > 2.  Make target filesystems on the new large
> hard drive.
> > > 3.  Mount filesystems from your old two HDs.
> >
> > 3.5.  Also mount your filesystems on the _new_
> hard drive (in case it
> >       was not obvious).
> >
> > > 4.  Use your choice of techniques in "Copying
> Directory Trees" on
> > >     http://linuxmafia.com/kb/Admin/ , to copy
> filesystme contents.
> > >     Personally, I like rsync.
> > > 5.  Re-do your bootloader on the new large hard
> drive.
> > > 6.  Profit!
> >
> > One of the reasons I suggest doing this from a
> live CD/DVD is to avoid
> > accidentally copying things you shouldn't.   E.g.,
> copying /proc/kcore
> > could ruin your whole day.
> >
> > --
> > Cheers,             "Don't use Outlook.  Outlook
> is really just a security
> > Rick Moen            hole with a small e-mail
> client attached to it."
> > rick at linuxmafia.com                        --
> Brian Trosko in r.a.sf.w.r-j
> >
> > _______________________________________________
> > svlug mailing list
> > svlug at lists.svlug.org
> > http://lists.svlug.org/lists/listinfo/svlug
> >
> 
> 
> 
> -- 
> Sargun Dhillon
> President
> Atarack Communications, Inc.
> (925)-202-9485
> > _______________________________________________
> svlug mailing list
> svlug at lists.svlug.org
> http://lists.svlug.org/lists/listinfo/svlug
> 



 
____________________________________________________________________________________
Finding fabulous fares is fun.  
Let Yahoo! FareChase search your favorite travel sites to find flight and hotel bargains.
http://farechase.yahoo.com/promo-generic-14795097




More information about the Svlug mailing list