LinuxQuestions.org
Review your favorite Linux distribution.
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 03-30-2012, 02:27 AM   #1
amartlk
Member
 
Registered: Sep 2010
Location: Nagpur India
Posts: 347

Rep: Reputation: 1
unable to mount


Hi

I have centos 5.3 installed , i make one partition of free space using fdisk , i create mount point and manually add it is mounted and accessible but when i make entry of this mount point in fstab it is stuck at boot give error "unable fsck.ext3 unable to ressolve 'LABEL=/mountpoint name"
 
Old 03-30-2012, 02:54 AM   #2
catkin
LQ 5k Club
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Debian
Posts: 8,576
Blog Entries: 31

Rep: Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195
Did you format the partition and label it?

What does the fstab line look like?
 
Old 03-30-2012, 03:03 AM   #3
amartlk
Member
 
Registered: Sep 2010
Location: Nagpur India
Posts: 347

Original Poster
Rep: Reputation: 1
Hi

I already format the partition

fstab line look as follows

LABEL=/mountpoint name /mountpoint name ext3 defaults 1 2
 
Old 03-30-2012, 03:17 AM   #4
singhjc
Member
 
Registered: Nov 2010
Location: Moradabad
Distribution: Redhat,Centos
Posts: 31

Rep: Reputation: 1
hi put the entry manually like in fstab.


/dev/sda(labelname) /mountpoint ext3 defaults 1 2




may your system got boot successfully if any error persist then paste the output of fstsb .

Last edited by singhjc; 03-30-2012 at 03:17 AM. Reason: a
 
Old 03-30-2012, 04:38 AM   #5
amartlk
Member
 
Registered: Sep 2010
Location: Nagpur India
Posts: 347

Original Poster
Rep: Reputation: 1
Hi

I tried LABEL=/dev/hda6 /mountpoint ext3 defaults 1 2 but still same error as

"unable fsck.ext3 unable to ressolve 'LABEL=/dev/hda6 "
 
Old 03-30-2012, 05:17 AM   #6
Satyaveer Arya
Senior Member
 
Registered: May 2010
Location: Palm Island
Distribution: RHEL, CentOS, Debian, Oracle Solaris 10
Posts: 1,415

Rep: Reputation: 305Reputation: 305Reputation: 305Reputation: 305
Please post the output of fdisk -l
 
1 members found this post helpful.
Old 03-30-2012, 05:32 AM   #7
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 671Reputation: 671Reputation: 671Reputation: 671Reputation: 671Reputation: 671
Quote:
Originally Posted by amartlk View Post
Hi

I tried LABEL=/dev/hda6 /mountpoint ext3 defaults 1 2 but still same error as

"unable fsck.ext3 unable to ressolve 'LABEL=/dev/hda6 "
A label is the name you gave the filesystem, not the device name. If you know the device node is /dev/hda6, then just use /dev/hda6. However, for modern versions of the kernel, the device node would be /dev/sda6.

You could also use "UUID=<UUID #>" instead, where the UUID # is the UUID of the filesystem. This will allow you to mount the filesystem, even if you changed the partitioning.

You can discover the Label, UUID and filesystem type using "blkid":
sudo /sbin/blkid /dev/sda6
or
sudo /sbin/blkid /dev/sda*
to list info about all partitions on the first hard drive.

Code:
jschiwal@qosmio:~> sudo /sbin/blkid /dev/sda*
/dev/sda1: LABEL="TOSHIBA SYSTEM VOLUME" UUID="14D23645D2362AFE" TYPE="ntfs" 
/dev/sda2: LABEL="SQ004753V05" UUID="145266D35266B95E" TYPE="ntfs" 
/dev/sda4: LABEL="HDDRECOVERY" UUID="7CEC8E10EC8DC4BC" TYPE="ntfs" 
/dev/sda5: UUID="d2b1c4ed-b440-1894-4ddb-6bd9e7081e1e" TYPE="swap" 
/dev/sda6: UUID="6bb36361-d9bd-43a8-bdb8-bc2eb23105d5" TYPE="ext4" 
/dev/sda7: UUID="cc874c16-bfcf-4b71-ba7f-8d6cdb212347" TYPE="ext4"
The device nodes are in the first column. The LABEL is listed only if the filesytem has one.

Last edited by jschiwal; 03-30-2012 at 05:34 AM.
 
1 members found this post helpful.
Old 03-31-2012, 12:16 AM   #8
amartlk
Member
 
Registered: Sep 2010
Location: Nagpur India
Posts: 347

Original Poster
Rep: Reputation: 1
hi


output of fdisl -l is as follows--
Disk /dev/hda: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hda1 * 1 32 257008+ 83 Linux
/dev/hda2 33 3856 30716280 83 Linux
/dev/hda3 3857 6406 20482875 83 Linux
/dev/hda4 6407 9729 26691997+ 5 Extended
/dev/hda5 6407 6661 2048256 82 Linux swap / Solaris
/dev/hda6 6662 9729 24643678+ 83 Linux




the partition i created is /dev/hda6
when i manually mount this new partition it will mount and also it shown under df -h
but when i make mount entry in fstab shows the error as describe in my previous post
 
Old 03-31-2012, 03:28 AM   #9
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 671Reputation: 671Reputation: 671Reputation: 671Reputation: 671Reputation: 671
Your /etc/fstab entry could look similar to this:
Code:
/dev/hda6           /mountpoint   ext3    defaults 1 2
If you use "sudo /sbin/blkid /dev/hda6", you can see what the LABEL, UUID and filetype is.
Then the entry could look like:
Code:
UUID=cc874c16-bfcf-4b71-ba7f-8d6cdb212347 /mountpoint ext3  defaults 1 2
I don't know if this form is supported on your system. Check the man page for mount to be certain. Using "/dev/hda6" will work even in very old systems.

Look at the fstab entry for /home or /usr. Maybe your system recommends other boot option in the 4th column, such as user_xattr, acl, or quota. The /etc/fstab format is explained in it's own manpage: "man 5 fstab".
The manpage for mount will contain more mount options.

Last edited by jschiwal; 03-31-2012 at 03:30 AM.
 
  


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
[SOLVED] Unable to mount using udisks, but mount is working arj1singh Debian 1 03-07-2011 08:07 AM
Truecrypt has lost mount type - unable to mount elusive_night Linux - Software 3 08-18-2010 09:42 PM
Unable to boot RHEL 5.2 and Unable to mount root file system in rescue mode vknemannavar Red Hat 5 01-29-2010 09:05 AM
Booting stops after: Unable to access resume device, mount: could not mount ... lespaul047 Linux - Newbie 2 04-06-2009 05:50 PM
Unable to Build ELDK3.1 for kernel 2.4.25. On Booting Unable to mount root fs.. kannath Debian 0 05-11-2006 09:26 AM

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

All times are GMT -5. The time now is 12:00 AM.

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