LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 01-14-2005, 08:29 PM   #1
holyfeces
LQ Newbie
 
Registered: Jan 2005
Posts: 16

Rep: Reputation: 0
Partition labelling / fstab problem


I'm trying to dedicate the remaining free space on my hard drive to the /usr directory. I used Knoppix and succesfully formatted it with a ext3 fs and labelled it as /usr. However, when logging back into the Fedora Core 3, the remaining free space for the /usr size was still the same, so I figured I have to edit fstab before any changes would occur. I inserted the line "LABEL=/usr /usr ext3 defaults 1 2". The problem comes when I reboot after that said change because while booting fedora, my comp freezes, with several details reporting the red FAILED instead of OKs now. Also most of the text except for the FAILED and OKs is invisible/missing. Any clue on how to get this working? I can delete the partition with Knoppix again, which will fix the booting problem, but I still want to use the remaining free space for something.
 
Old 01-14-2005, 10:01 PM   #2
michaelk
Moderator
 
Registered: Aug 2002
Posts: 14,928

Rep: Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520
To use a label=xxx in the fstab file you need to create a partition volume label using the tune2fs or label2fs commands. BTW you can always use the partition ID instead i.e.
/dev/hdxy /usr etc...
Where x=drive and y=partition
 
Old 01-14-2005, 10:44 PM   #3
holyfeces
LQ Newbie
 
Registered: Jan 2005
Posts: 16

Original Poster
Rep: Reputation: 0
I've done that before too, and it still doesn't let me boot.
 
Old 01-14-2005, 10:50 PM   #4
michaelk
Moderator
 
Registered: Aug 2002
Posts: 14,928

Rep: Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520
How did you copy the files to the new partition?
Can you post any error messages?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
fstab problem: mount: can't find dvd in /etc/fstab or /etc/mtab Nikon01 Slackware 5 11-17-2006 07:15 AM
partition labelling sanmadjack Linux - Software 2 06-04-2005 01:25 AM
Formating a FAT32 partition, putting the partition correctly into FSTAB, and more. squall14716 Linux - General 14 10-27-2003 11:16 PM
FreeBSD partition labelling scheme... Thymox *BSD 5 09-24-2003 03:19 PM
Labelling a swap partition? gbbenson Linux - General 2 06-28-2003 03:33 AM


All times are GMT -5. The time now is 04:16 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration