On Monday 24 December 2007 15:06:36 Dale wrote:
> Dale wrote:
> > cp- a should work fine.  I have used that several times and no problems
> > yet.  You can add the -v if you like to see the files scrolling by.
> >
> > If you have the same partitions on the new drive as the old drive, your
> > grub.conf and fstab should be fine.
> >
> > You will need to install grub on the new drive tho.  I usually do that
> > from the Gentoo CD myself.
> >
> > Hope it all goes well.
> >
> > Dale
> >
> > :-)  :-)
>
> Me and my sucky typing.  Make that cp -a instead.  That may work better.
>
> Dale
>
> :-)  :-)

Right, so when I've finished copying the partitions to the new disk, I swap 
the disks and boot with the Gentoo live CD and follow the instructions from 
the install handbook:

Default: Setting up GRUB using grub-install
 To install GRUB you will need to issue the grub-install command. However, 
grub-install won't work off-the-shelf since we are inside a chrooted 
environment. We need to create /etc/mtab which lists all mounted filesystems. 
Fortunately, there is an easy way to accomplish this - just copy 
over /proc/mounts to /etc/mtab, excluding the rootfs line if you haven't 
created a separate boot partition. The following command will work in both 
cases: 
Code Listing 5: Creating /etc/mtab
  # grep -v rootfs /proc/mounts > /etc/mtab

   Now we can install GRUB using grub-install: 
Code Listing 6: Running grub-install
  # grub-install --no-floppy /dev/hda

   If you have more questions regarding GRUB, please consult the GRUB FAQ or 
the GRUB Manual. 
 Continue with Rebooting the System. 

Cheers!

-- 
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Dr. Matthew R. Lee
CASEB & ECIM
Departamento de Ecologia,
P. Universidad Catolica de Chile,
Alameda 340, Santiago.
CP 6513677
CHILE

[EMAIL PROTECTED]
[EMAIL PROTECTED]

URL: meiochile.matthewlee.org
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-- 
[EMAIL PROTECTED] mailing list

Reply via email to