--------- Received message begins Here --------- What about all of the plain files in / ???
Jim. > > On Fri, 1 Nov 1996, Martin Stromberg wrote: > > > > > > > Hi all, > > > > > > What do I need to consider when copying "/" to another partition? Reason > > > I ask is I would like to put it in partition which had dos. Here is what > > > I would like to do: > > > > > > Old setup: > > > > > > hda1 -- dos > > > hdb1 -- swap > > > hdb2 -- / > > > hdb3 -- /home > > > > > > New setup: > > > > > > hda1 -- / {/etc, /boot, /bin, /lib, /sbin, /proc, /var, /tmp, /cdrom, > > > /mnt, > > > /floppy} > > > hdb1 -- swap > > > hdb2 -- /usr > > > hdb3 -- /home > > > > > > Thanks in advance, > > > David > > > > > > > Well, this is how I would do it, supposing you don't have anything on that > > FAT > > partition you want to keep. > > > > umount /dev/hda1 > > mke2fs /dev/hda1 > > mount /dev/hda1 /mnt > > cp -a /etc /boot /bin /lib /sbin /var /tmp /cdrom /floppy /mnt > > mkdir /mnt/proc > > Edit /mnt/etc/lilo.conf so it's using hda1 instead of hdb2 and run lilo. > > Edit /mnt/etc/fstab to reflect the changes. > > Reboot. Now the system ought to boot having the hda1 partition as / and the > > previous / on /usr. > > cd /usr > > rm -fr etc boot bin lib sbin proc var tmp cdrom mnt > > mv usr/* usr/.??* . > > rm -fr usr > > > > > > Anybody seeing something I've missed? Please say so! > > > > > > > > Hack, > > > > MartinS > > > > -- > > TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to > > [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] > > > > > > What about /dev ? > --------------------------------------------------------------- > Little Billy goes to the zoo: > " Looks mom! an elephant like those on the Internet! " > =============================================================== > Fabien Ninoles aka Baggus Mage || Not knowing where you go > [EMAIL PROTECTED] || always lead you to a > http://www-edu.gel.usherb.ca/ninf01 || Baggus End... > --------------------------------------------------------------- > > -- > TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to > [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] > ------------------------------------------------------------------------ Jim Lynch, System Engineer, SGI/Cray Research, Inc. / ARS: K4GVO Federal Business Systems, Phone: (770) 631-2254, Email: [EMAIL PROTECTED] Suite 270, 200 Westpark Drive, Peachtree City, GA 30269 -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED]