re: partitions


Subject: re: partitions
From: david wright (dwright5@nyc.rr.com)
Date: Wed Feb 06 2002 - 14:53:22 MST


Brian wrote::

"My HFS partition is hda6, and it is 700 MB in size. What command
should I
use to remove the Mac OS partition and replace it with a Linux partition
that is the same size?"

i'm sorry no one more knowledgeable then i has answered your question
maybe my fumbling through it will help illicit a better response.
you should look at these link's and the corresponding threads:

http://lists.yellowdoglinux.com/yellowdog-general/January02/0253.html
and this
http://lists.yellowdoglinux.com/yellowdog-general/January02/0381.html

you should use 'pdisk' or 'parted' (man parted) to see exactly what is
there. If you are positive that hda6 (dev/hda6) is the partition and it
is 700MB in size. It is easy to actually make a ext2 filesystem from
within linux:
   /sbin/mke2fs /dev/hda6

obviously this will destroy any data on that hfs partition. (but it
shouldn't hurt the partitions around it, of course back everything
up ;-) )
you also have to edit /etc/fstab to have it mount everytime you boot up
(see the second link and threads)

"I'd like to move my /home/
directory to the new partition. How can I move it over there and update
my
system settings so that home/ on the second partition is recognized as
the
home folder?"

-i think this is the /etc/passwd ? a little help here,... basically
you have to set the $HOME variable to point to your new mount point
(/home) - i don't remember where it is on YDL and i'm not at home to
check,...

  "Also, disk quotas would be nice, if anyone can point me to
some documentation on how to set them up on my new partition... "

-sorry,...



This archive was generated by hypermail 2a24 : Wed Feb 06 2002 - 13:08:00 MST