Re: combining linux partitions

1996-11-06 Thread Craig Sanders

On Tue, 5 Nov 1996, Igor Grobman wrote:

 I've recently installed Debian distribution.  I really like it, so I'd
 like to get rid of my old slackware install, and make the Slackware
 and Debian partition into one.  Is there a program out there that
 would do it.  

why not just reformat the slackware partition with mke2fs and mount it as
/usr or /home or something?

you don't use braindead drive letters like C: and D: under unix - you
can mount any partition to anywhere in the file system hierarchy you
likeneed more space on /home? easy, just install a new drive, format
it, transfer the old files over, and mount it as /home.

you don't even need to reboot. if you're extremely careful and know
exactly what you're doing and have a good understanding of how your
system works (e.g. what programs are running and what files they have
open) you can even do it without dropping to single-user mode (not
recommended for novices!!)



if you do this, you'll have to transfer the files on /home or /usr to
the newly formatted partition before you actually mount it.

something like, for example:

# WARNING: IF YOU DON'T UNDERSTAND WHAT THIS IS DOING THEN
# RESEARCH IT FIRST.  LACK OF UNDERSTANDING CAN SCREW UP YOUR SYSTEM.
# DO NOT JUST BLINDLY RUN SCRIPTS WHICH SOME COMPLETE STRANGER OFF THE
# NET GIVES YOU.
#
# first mount the partition to a temporary mountpoint
# XXX = the partition's device node, e.g. /dev/hda2
mount /dev/XXX /mnt

# then copy the files to it
cd /usr
tar cf - . | (cd /mnt ; tar xf -)

# unmount it
umount /mnt

# move the old usr subdirectory out of the way for now.
# you can 'rm -rf /usr.old' later when you're sure everything's
# working
cd /
mv usr usr.old

# mount the new partition as /usr
mkdir usr
mount /dev/XXX /usr



Remember to add an entry to /etc/fstab so that the /usr partition is mounted
at boot time.

 I have Partition Magic, but it refuses to touch Linux partitions...

not surprising...it's a dos program.


Craig

--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED]


Re: combining linux partitions

1996-11-06 Thread Vern Hamberg
At 05:30 PM 11/5/96 +, you wrote:
I've recently installed Debian distribution.  I really like it, so 
I'd like to get rid of my old slackware install, and make the 
Slackware and Debian partition into one.  Is there a program out 
there that would do it.  I have Partition Magic, but it refuses to 
touch Linux partitions...

Thanks for the help.
Igor
--

Igor-

You could try md (multiple disk). This makes a virtual partition out of
many. It lets you do a linear combination or a RAID 0 striping. I've just
started using it and like it quite well. The kernel has support for it, if
you compile it in.

Cheers,



Vernon M. Hamberg   Old Republic National Title Insurance Co.
Assistant Systems Specialist400 Second Avenue South
(612) 371- x480 Minneapolis, MN 55401

--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED]


Re: combining linux partitions

1996-11-06 Thread Igor Grobman
Vern Hamberg wrote:
 

 Igor-
 
 You could try md (multiple disk). This makes a virtual partition out of
 many. It lets you do a linear combination or a RAID 0 striping. I've just
 started using it and like it quite well. The kernel has support for it, if
 you compile it in.
 
 Cheers,
 
 Vernon M. Hamberg   Old Republic National Title Insurance Co.
 Assistant Systems Specialist400 Second Avenue South
 (612) 371- x480 Minneapolis, MN 55401

That is exactly what I was looking for!
Thanks.  BTW, it is not available as a debian package, is it?

--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED]


combining linux partitions

1996-11-05 Thread Igor Grobman
I've recently installed Debian distribution.  I really like it, so 
I'd like to get rid of my old slackware install, and make the 
Slackware and Debian partition into one.  Is there a program out 
there that would do it.  I have Partition Magic, but it refuses to 
touch Linux partitions...

Thanks for the help.
Igor
--
Igor Grobman  [EMAIL PROTECTED]
Life!  Can't live with it, can't live without it...

--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED]