>I let a local PC dealer setup a dual boot linux /win98 machine for me and it
>cost a ton.
>And they really goofed up with druid.
>They let a 6 gig area of the disk go uninitialized as they thought it would
>"grow". It turns out that is only at
>install time, not during normal run conditions.
>I found out the hard way. Loading Staroffice
>So..I zapped the win D drive and made it into a linux partition and mounted
>it first as /home
>because /home is easier and I can do that.
>(I use gnome to rename directories and cannot do that at linux text level)
>I got a suggestion to mount instead /usr but /usr has all the xwindows stuff
>and gnome and
>then I cannot change the names of /nusr (the new usr dir) and /usr.
>How does one change directory names aside from inside Gnome / properties?
>Thanks
>This it taking way too long.
The short answer is 'mv', ('man mv' if you have questions), but here's an
answer to what I think you really want to do. Hope this helps.
Okay, so if I got you right, you have some smallish partition for / right
now, let's call it /dev/hda1 (you'll need to substitute in your real
names), and then some other /dev/hda3 that is biggish that has until now
been a win98 partition, right? Assuming you already ran mkfs (or mke2fs
or whatever), and you want to make the /dev/hda3 (new) partition into
/usr, you do something like the following (as root):
(things after # are comments, you don't need to type them)
init 1 # single-user mode, you probably don't want to copy /usr
# while daemons are running, this stops all of them
# at this point it probably asks for the root password
mkdir /mnt # /mnt probably already exists
mount -t ext2 /dev/hda3 /mnt # mount the new partition
cp -av /usr/* /mnt/ # copy w/ verbose and archive [permissions,etc.]
mv /usr /old-usr # rename the old one so you still have access to it
pico /etc/fstab
in fstab add a line like:
/dev/hda3 /usr ext2 defaults 0 2
the 2 doesn't matter much, you may want to use adifferent number, it just
selects which order it checks thedisks in if you boot up funny.
single-user mode, try running 'reboot').
If it doesn't work on bootup.
At first utilities like GNOME etc. seem simpler, and if you don't use the
machine much, they might really be...but the shell is actually a simpler
program to work with, and once you learn how to use it, it's a lot faster.
If you know DOS command line okay, then
http://www.sietch.dhs.org/~galexand/DOS2Linux.txt provides a decent
introduction (the hardest part is finding out command names when you're
first starting, there is some validity to the "they named thing sstupidly"
complaint about Unix). I didn't write the text, and I haven't looked at
it in a while, so I hope there's nothing dated about it. :)