The procedure you describe will move the filesystems themselves just fine
(well, one qualification - see below), but it won't give you a bootable
drive. After you install with the new drive, you'll need to boot from a
floppy rescue disk, then run lilo to install the boot loader on the new
drive. Assuming there's nothing weird about drive geometry, that should get
you switched over.
/etc/dev is special, but not in a way that matters to this procedure.
The qualification: you'll want to run cp -a -p, the p option acting to
preserve ownership, permissions, etc ("man cp" for details). You may also
have to do something special to get symlinks moved correctly, but if so I
forget what.
At 09:42 AM 3/23/99 -0500, Rod Gotty wrote:
>Hi.
>
>I would like to move my Linux partitions from one hard drive
>to another so that I can throw away the hard drive it
>currently is installed on and use the new hard drive.
>
>Is it as simple as installing the new hard drive as a secondary
>drive (I'm using IDE drives), create the partitions on the 2nd
>drive, make the file system and then do a cp -a for each
>partition, remove the 1st hard drive, and rejumper the 2nd drive
>as the IDE primary?
>
>What about the /etc/dev directory - isn't that special and require
>special processing for moving it to another drive?
------------------------------------"Never tell me the odds!"---
Ray Olszewski -- Han Solo
762 Garland Drive
Palo Alto, CA 94303-3603
650.328.4219 voice [EMAIL PROTECTED]
----------------------------------------------------------------