Re: How to move/copy linux installation ...

From: Alan Connor (zzzzzz_at_xxx.yyy)
Date: 10/31/03


Date: Fri, 31 Oct 2003 04:29:38 GMT

On Thu, 30 Oct 2003 22:06:02 -0500, Useko Netsumi <_no-spam_usenets@nyc.rr.com> wrote:
>
>
> from one disk(a smaller one) to a new one(bigger)? And how to make the new
> disk bootable?
>
> Thanks
>
>

partition and format the new disk, flagging the bootable partition

mount the disk and use cp -a to copy everything over, and I'd do
it one paritition/top_directory at a time, though there is technically
no reason not to do it all at once.

I did it like this:

mount -t ext2 /dev/hdb1 mnt

mkdir /mnt/boot

/boot# cp -a * /mnt/boot

Then edit /etc/fstab on the new box and run lilo

-- 
Alan C    this post ends with    w
                                 q


Relevant Pages

  • Re: Panasonic HD Recorders - What disk format?
    ... The earlier part of this is more about what may be Linux partitioning, ... might be possible to present the recorder with a larger disk already ... Most DOS/Windows utilities such as FDisk, Ghost, and Partition Magic Pro ... prompts to format it. ...
    (alt.os.linux)
  • Re: Cant find Hard disk
    ... Computer> Manage> Computer Management> Disk Management. ... Now you must partition and format your new drive. ...
    (microsoft.public.windowsxp.hardware)
  • Re: Formatting C
    ... would format my C drive after saving most of my data. ... If you want to erase the disk, you can use some other stand-alone tools ... But if the thing you're attempting to format, is the partition ... Also, just for fun, you can use an offline scanning tool, to avoid ...
    (microsoft.public.windowsxp.general)
  • Re: setting up a new hard drive as drive D
    ... I want to add a second hard disk as IDE drive D but I cannot see any ... You will partition & format your second HD using XP's Disk Management ... move the problem HD to another IDE connector. ...
    (microsoft.public.windowsxp.hardware)
  • Re: How do I label a disk?
    ... now I am going to definitely install solaris but I have this ... > to a dead disk. ... I tried to label it with the format command: ... format> partition ...
    (comp.unix.solaris)