Re: Moving /home to its own partition.

2003-08-14 Thread Paul Johnson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Mon, Aug 04, 2003 at 06:50:41AM -0400, [EMAIL PROTECTED] wrote: Question: What is the 'sync' for? I haven't done this before and am wondering what I've been missing. Forces a disk flush on all mounted filesystems. Any user may run sync. - --

Re: Moving /home to its own partition.

2003-08-14 Thread Paul Johnson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Mon, Aug 04, 2003 at 04:35:48PM +0100, Pigeon wrote: rm -rf /home (gets rid of old stuff) mkdir /home (you still need a /home as a mount point) Note that: rm -rf /home/* won't get rid of those pesky dot files rm -rf /home/.* gets rid

Re: Moving /home to its own partition.

2003-08-14 Thread Paul Johnson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Mon, Aug 04, 2003 at 03:33:17AM -0400, Kevin Mark wrote: mkfs.ext2 /dev/hdb1 mkfs.ext3 is a better option at this point. move data to new partition with mv /home/* /mnt/home2 cp -ax /home/ /mnt/home Make sure everything looks good twice,

Re: Moving /home to its own partition.

2003-08-14 Thread Steve Lamb
On Fri, 8 Aug 2003 10:02:08 +0100 Colin Watson [EMAIL PROTECTED] wrote: Well, indeed, although I have been known to have a /home/.system directory in the past that contained stuff I'd moved from other filesystems due to a lack of disk space in the right places. Ah, hokay. --

Re: Moving /home to its own partition.

2003-08-14 Thread leroyljr
On Mon, Aug 04, 2003 at 06:50:41AM -0400, [EMAIL PROTECTED] wrote: Question: What is the 'sync' for? I haven't done this before and am wondering what I've been missing. sync forces the kernel to finish writing to disk. The man page says, Force changed blocks to disk, update the super block.

Re: Moving /home to its own partition.

2003-08-14 Thread Steve Lamb
On Fri, 8 Aug 2003 09:04:18 +0100 Colin Watson [EMAIL PROTECTED] wrote: On Thu, Aug 07, 2003 at 07:53:23PM -0700, Paul Johnson wrote: On Mon, Aug 04, 2003 at 04:35:48PM +0100, Pigeon wrote: Note that: rm -rf /home/* won't get rid of those pesky dot files rm -rf /home/.* gets rid of

Re: Moving /home to its own partition.

2003-08-09 Thread Colin Watson
On Thu, Aug 07, 2003 at 07:53:23PM -0700, Paul Johnson wrote: On Mon, Aug 04, 2003 at 04:35:48PM +0100, Pigeon wrote: Note that: rm -rf /home/* won't get rid of those pesky dot files rm -rf /home/.* gets rid of a little bit too much... Doh! Yeah, you're right. Forgot that many

Re: Moving /home to its own partition.

2003-08-09 Thread Paul Johnson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Sun, Aug 03, 2003 at 05:31:49PM -0400, alex wrote: How would you create new swap and /home partitions om hdb so Debian would use these instead of the original /home and swap? Take a look at the Hard Disk Upgrade HOWTO and the parted manual,

Re: Moving /home to its own partition.

2003-08-08 Thread Colin Watson
On Fri, Aug 08, 2003 at 01:33:55AM -0700, Steve Lamb wrote: On Fri, 8 Aug 2003 09:04:18 +0100 Colin Watson [EMAIL PROTECTED] wrote: On Thu, Aug 07, 2003 at 07:53:23PM -0700, Paul Johnson wrote: On Mon, Aug 04, 2003 at 04:35:48PM +0100, Pigeon wrote: Note that: rm -rf /home/* won't

Re: Moving /home to its own partition.

2003-08-08 Thread Pigeon
On Fri, Aug 08, 2003 at 10:02:08AM +0100, Colin Watson wrote: On Fri, Aug 08, 2003 at 01:33:55AM -0700, Steve Lamb wrote: On Fri, 8 Aug 2003 09:04:18 +0100 Colin Watson [EMAIL PROTECTED] wrote: On Thu, Aug 07, 2003 at 07:53:23PM -0700, Paul Johnson wrote: On Mon, Aug 04, 2003 at

Re: Moving /home to its own partition.

2003-08-04 Thread Kevin Mark
On Sun, 2003-08-03 at 17:31, alex wrote: Suppose Debian was installed on hda with only two partitions, swap and / and you have accumulated much data in /home. Later, you add another hard drive, hdb, and decided to place swap and a separate /home partition on this new drive while keeping /

Re: Moving /home to its own partition.

2003-08-04 Thread ajlewis2
mkdir /b2 mount -t ext2 /dev/hdb2 /b2 # Drop to single user; kills any pesky daemons writing stuff in background. telinit 1 # Anything here we don't understand? If not, proceed. cd /homels -la # Copy everything whose name does not start with a dot. cp -a * /b2sync I

Re: Moving /home to its own partition.

2003-08-04 Thread ajlewis2
In linux.debian.user, you wrote: mv /home/* /mnt/home2 get rid of old home directory with rmdir /home I would not remove /home, because you will need it for a mount point. You have moved everything out of it; so it should be empty. Anita -- To UNSUBSCRIBE, email to [EMAIL PROTECTED]

Re: Moving /home to its own partition.

2003-08-04 Thread alex
Thanks all a lot of good info. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]

Re: Moving /home to its own partition.

2003-08-04 Thread Pigeon
On Mon, Aug 04, 2003 at 03:33:17AM -0400, Kevin Mark wrote: On Sun, 2003-08-03 at 17:31, alex wrote: Suppose Debian was installed on hda with only two partitions, swap and / and you have accumulated much data in /home. Later, you add another hard drive, hdb, and decided to place swap

Moving /home to its own partition.

2003-08-03 Thread alex
Suppose Debian was installed on hda with only two partitions, swap and / and you have accumulated much data in /home. Later, you add another hard drive, hdb, and decided to place swap and a separate /home partition on this new drive while keeping / on the original hda. How would you create

Re: Moving /home to its own partition.

2003-08-03 Thread Andreas Janssen
Hello alex ([EMAIL PROTECTED]) wrote: Suppose Debian was installed on hda with only two partitions, swap and / and you have accumulated much data in /home. Later, you add another hard drive, hdb, and decided to place swap and a separate /home partition on this new drive while keeping / on

Re: Moving /home to its own partition.

2003-08-03 Thread Mark C
On Sun, 2003-08-03 at 22:31, alex wrote: How would you create new swap and /home partitions om hdb so Debian would use these instead of the original /home and swap? First create the new partitions using cfdisk or fdisk (cfdisk is easier to use) and then remove the old swop partition, edit

Re: Moving /home to its own partition.

2003-08-03 Thread cls-du
Suppose Debian was installed on hda with only two partitions, swap and / and you have accumulated much data in /home. Later, you add another hard drive, hdb, and decided to place swap and a separate /home partition on this new drive while keeping / on the original hda. # Get a root shell.