[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: Adding drive space
- From: "Kevin D. Colby" <kevin marcal com>
- To: redhat-install-list redhat com
- Subject: Re: Adding drive space
- Date: Fri, 7 Nov 1997 09:07:02 -0600
>This is my current setup:
>
>Filesystem 1024-blocks Used Available
>Capacity Mounted on
>/dev/hda2 124927 92071 26405 78% /
>/dev/hda1 1433120 668160 764960 47% /dos
>/dev/hda4 452805 206906 222514 48% /usr
>/dev/hdb 644324 644324 0 100% /mnt/cdrom
>
>I would like to take 200 MB from the dos partition and use if for Linux.
>If someone could please let me know the best way to do this. I was going
>to set aside the 200 MB from /dos using Partition Magic, and then format
>it using the Linux fdisk. After that, I'm not sure what are the next
>steps.
Partition Magic will do, I think even FIPS is enough to steal 200M from
the primary DOS partition. Then (in linux fdisk) change the partition's
type to 'Linux native' (#83 I think) by doing a 't' in fdisk. You'll see.
After that, quit fdisk, and do a 'mke2fs /dev/hda?' (whatever yours is).
Then mount it on /mnt or something for the moment. Now pick a mount
point for this guy. I'd say part of /usr would be good, maybe /usr/local
or /usr/X11R6--you pick. Do the following:
mount /dev/hda? /mnt
cd /usr/local
cp -rpa * /mnt
rm -rf *
umount /mnt
vi /etc/fstab
Now edit /etc/fstab to include a line for /usr/local (or whatever you
pick--get something big, do a 'du -s *' from /usr) and the new /dev/hda?.
Try a 'mount -a'. Check out /usr/local. Reboot for good measure.
Serves 8. Enjoy.
- Kevin Colby
kevin marcal com
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]