![](https://seccdn.libravatar.org/avatar/37ec8d88d5ac6a3f5cd17719923f70c8.jpg?s=120&d=mm&r=g)
i have /var in in its own partition if i remove the partition and reboot will var be in / ? or should i untar var into / before rebooting does it mater in what mode i am
![](https://seccdn.libravatar.org/avatar/504ea95a4576e6592281bc9e2e98204f.jpg?s=120&d=mm&r=g)
i have /var in in its own partition
if i remove the partition and reboot will var be in / ?
or should i untar var into / before rebooting
does it mater in what mode i am I've actually done that in both directions. Shut down to single user mode. Make a copy of /var (mounted), eg. tar. unmount it, and change your /etc/fstab untar it back to /var (in root). You are done. No need to reboot. The key is single user mode. The reason to make a copy when you are in single user mode is that when in multi-user mode daemons (and init) are writing into the /var file system. To go to Single user mode, switch to root (su, sux or sudo). /sbin/init 1 #this will put you into single user mode. You will then get a password prompt. ### / may be read only. To change that: mount -o rw / #make root rw. mount /var tar xzf <target> /var umount /var tar czf <target> Since you used the absolute pathname, you don't have to cd all over the
On 07 Jun 2003 14:36:21 -0400
illustre
![](https://seccdn.libravatar.org/avatar/861b5545c111d2257fa12e533e723110.jpg?s=120&d=mm&r=g)
The 03.06.07 at 14:36, illustre wrote:
i have /var in in its own partition
if i remove the partition and reboot will var be in / ?
No! Your system may hang. Read /usr/share/doc/howto/en/mini/Hard-Disk-Upgrade.gz for instructions. -- Cheers, Carlos Robinson
participants (3)
-
Carlos E. R.
-
illustre
-
Jerry Feldman