Originally posted by jtshaw
You sure can, keep a close eye on your cp options. There are some important ones you don't want to miss.
-p = preserves the original files owner, group, permissions, time stamp, ect. ect. ect.
-R = recursive copy and do the right thing with special objects
-P = copy symlinks as symlinks and don't follow them
-d = another nice symlink option....
-a = short hand for the 4 above options
I decided to show you all the options I'd go with, but since -a calls them all all you really need to do is cp -a / /mnt/newdrive/. or something like this. Of course, making sure the system boots off the new drive before doing anything to the old one is a stellar idea.
Thanks, John. I forgot to ask last post, but how would I get fstab to recognize the freshly reformatted drive? My current drive is formatted as reiserfs, so I'll be formatting the 20GB drive the same. Right now my fstab looks like this:
/dev/hdb2 swap swap defaults 0 0
/dev/hdb1 / reiserfs defaults 1 1
/dev/hda1 /fat-c vfat user,umask=1000,rw,auto 1 0
/dev/dvd-rom /mnt/dvd-rom iso9660 noauto,owner,ro 0 0
/dev/cd-rw /mnt/cd-rw iso9660 noauto,owner,ro 0 0
/dev/fd0 /mnt/floppy auto noauto,owner 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
proc /proc proc defaults 0 0
I'm still fairly new to this so I don't want to mess anything up. Do I just switch hdax
I know Windows doesn't like to run on a slave drive, so I have to switch my jumpers and make my 4GB drive the master while I install Windows98, then jump it back to slave and add the following to lilo.conf:
I'll do this after I'm sure Linux boots from it's new location, effectively making my Linux drive the master, and the Windows the slave. My question is, is hda always the primary master drive, and hdb the primary slave? Or will this change after I make the switch?