LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-25-2004, 02:39 PM   #1
class_struggle
Member
 
Registered: Nov 2003
Location: where rock meets hard place
Distribution: 1- Knoppix 2-Gentoo
Posts: 121

Rep: Reputation: 15
airlifted /usr, now problems


On my knoppix hd install which was all on one partition, I decided to move my usr directory over to a new partition.

I thought all I had to do was modify fstab so it would mount /usr (on its own partition) just after the root fs.

Well, it hasn't really worked. I get into some runlevel=1 environment. How many other things do I need to go about modifying in order to get it all to work as previously? Just a rough idea is what I require ...
 
Old 08-25-2004, 02:48 PM   #2
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,290

Rep: Reputation: 378Reputation: 378Reputation: 378Reputation: 378
Did you copy the data from /usr over onto the new partition? Usually when I need to do something like this, I get my new partition (say hdb1 set), and then assuming I have / (including /usr) on hda2 I go to signle user mode and do:

mkdir /mnt/new_usr
mount /dev/hdb1 /mnt/new_usr
cd /usr
cp -a * /mnt/new_usr
cd /
mv /usr/old_usr
mkdir /usr
<<modify fstab to mount /dev/hdb1 as /usr>>
reboot
 
Old 08-25-2004, 05:00 PM   #3
class_struggle
Member
 
Registered: Nov 2003
Location: where rock meets hard place
Distribution: 1- Knoppix 2-Gentoo
Posts: 121

Original Poster
Rep: Reputation: 15
hi btmiller, thanks for your reply-
*however*
I have of course done all that already.
My doubt was, that more things than just fstab need be modified.
However, it does appear that you have done it ("when I need to")
Maybe I'm just not modifying fstab correctly. Any other pointers?
 
Old 08-25-2004, 05:07 PM   #4
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,290

Rep: Reputation: 378Reputation: 378Reputation: 378Reputation: 378
No, you shouldn't need to do more that modify your fstab -- maybe if you post your config someone can see if it looks correct. Also, the exact errors from the init program would be helpfull.
 
Old 08-25-2004, 06:07 PM   #5
class_struggle
Member
 
Registered: Nov 2003
Location: where rock meets hard place
Distribution: 1- Knoppix 2-Gentoo
Posts: 121

Original Poster
Rep: Reputation: 15
ok thanks.
yes I will post output, if I can't work it out.
at least I know that my focus on refining fstab is well placed.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Relocat /usr/lib and /usr/lib64 to a different path schokshi Fedora 3 08-30-2005 09:14 PM
USR ISA Hardware modem problems? PJota Linux - Hardware 2 11-14-2004 08:20 AM
Installing software, /usr/lib directory and /usr/local millertime Linux - Software 2 07-10-2004 09:21 AM
Suse 9.1 and USR 5610B Problems KlutZ Linux - Hardware 2 06-04-2004 03:29 PM
Problems with /usr/bin/chsh kbolino Slackware 2 06-03-2004 05:27 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:09 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration