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 08-12-2008, 11:45 PM   #1
MooseMagnet
Member
 
Registered: Oct 2007
Location: U.S.
Distribution: Ubuntu 14.04
Posts: 183
Blog Entries: 1

Rep: Reputation: 15
/dev/sda1 Warning: Unable to find mountpoint


/dev/sda1 in GParted says "Warning: Unable to find mountpoint?
and
/dev/sda1 does NOT appear in System Monitor > File Systems

I recently had a failure, and rebuilt from the Feisty 7.04 CD, then used rsync to restore everything.

Have I done something wrong? It doesn't seem right.

When the system failed, it said "not enough disk space," and it would not boot. So, I started from scratch. It seems to be working okay. But this info about /dev/sda1 does not look correct.

Do I still have a problem?

Thank you
 
Old 08-12-2008, 11:55 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,066
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
Knowing your current /etc/fstab would help
 
Old 08-12-2008, 11:55 PM   #3
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 670Reputation: 670Reputation: 670Reputation: 670Reputation: 670Reputation: 670
Look at the output of "sudo /sbin/fdisk -l" to list all of the drives and partitions.

Read the contents of the /etc/fstab file. It will contain the devices and mount points where they are mounted.
Keep in mind that the device entries may be of the form UUID=00d2b1c4-edb4-4018-944d-db6bd9e7081e. If so, look in /dev/disk/by-uuid/. ( e.g. ls -l /dev/disk/by-uuid ). These entries are created by udev and are symbolic links to a real device node such as /dev/sda1.
example:
Code:
ls /dev/disk/by-uuid/ -l
total 0
lrwxrwxrwx 1 root root 10 2008-08-11 22:22 00d2b1c4-edb4-4018-944d-db6bd9e7081e -> ../../sda5
lrwxrwxrwx 1 root root 10 2008-08-11 22:22 145266D35266B95E -> ../../sda2
lrwxrwxrwx 1 root root 10 2008-08-11 22:22 14D23645D2362AFE -> ../../sda1
...
You can also boot up with a live distro or rescue mode and run fsck to check the filesystems.

If fdisk says something about the partition table being out of order, I wouldn't try to fix it. The /etc/fstab entries and grub's /boot/grub/menu.lst file use the current configuration and changing the partition table may require fixing /etc/fstab and reinstalling grub before being able to boot again. ( Yes, I did it once, and the devices in /etc/fstab where lvm2 devices. )

Last edited by jschiwal; 08-13-2008 at 12:00 AM.
 
Old 08-13-2008, 12:11 AM   #4
MooseMagnet
Member
 
Registered: Oct 2007
Location: U.S.
Distribution: Ubuntu 14.04
Posts: 183
Blog Entries: 1

Original Poster
Rep: Reputation: 15
rich@rich-laptop:~$ cat /etc/fstab
# /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
# /dev/hda1
UUID=536f21dd-c960-4e4c-bbb0-620549294d6e / ext3 defaults,errors=remount-ro 0 1
# /dev/hda5
UUID=97a7e51f-c176-4176-947d-6749b2b1bbc9 none swap sw 0 0
/dev/cdrom /media/cdrom0 udf,iso9660 user,noauto 0 0rich@rich-laptop:~$

------------------------------------

rich@rich-laptop:~$ sudo fdisk -l
Password:

Disk /dev/sda: 60.0 GB, 60011642880 bytes
255 heads, 63 sectors/track, 7296 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/sda1 * 1 7111 57119076 83 Linux
/dev/sda2 7112 7296 1486012+ 5 Extended
/dev/sda5 7112 7296 1485981 82 Linux swap / Solaris

Disk /dev/sdb: 320.0 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/sdb1 1 38913 312568641 83 Linux
rich@rich-laptop:~$

-------------------------------------------

rich@rich-laptop:~$ sudo umount /dev/sda1
umount: /dev/sda1: not mounted
rich@rich-laptop:~$
 
Old 08-13-2008, 12:17 AM   #5
MooseMagnet
Member
 
Registered: Oct 2007
Location: U.S.
Distribution: Ubuntu 14.04
Posts: 183
Blog Entries: 1

Original Poster
Rep: Reputation: 15
rich@rich-laptop:~$ ls /dev/disk/by-uuid/ -l
total 0
lrwxrwxrwx 1 root root 10 2008-08-12 15:22 4b965817-e3ad-4e72-8905-81f851c5662d -> ../../sda1
lrwxrwxrwx 1 root root 10 2008-08-12 15:22 97a7e51f-c176-4176-947d-6749b2b1bbc9 -> ../../sda5
lrwxrwxrwx 1 root root 10 2008-08-12 21:54 f84273db-f3fe-4c63-98f2-669f7e13bcb4 -> ../../sdb1
rich@rich-laptop:~$
 
Old 08-13-2008, 12:21 AM   #6
MooseMagnet
Member
 
Registered: Oct 2007
Location: U.S.
Distribution: Ubuntu 14.04
Posts: 183
Blog Entries: 1

Original Poster
Rep: Reputation: 15
the name doesn't look right to me. I don't think it was like this before the crash and rebuild.

rich@rich-laptop:~$
 
Old 08-13-2008, 12:55 AM   #7
MooseMagnet
Member
 
Registered: Oct 2007
Location: U.S.
Distribution: Ubuntu 14.04
Posts: 183
Blog Entries: 1

Original Poster
Rep: Reputation: 15
I ran this:
gksudo gedit /etc/fstab

and replaced the UUID with this:
4b965817-e3ad-4e72-8905-81f851c5662d

Seems better now. I have no idea what happened, or what I did to fix it. This suggestion came from the Ubuntu group of helpers.
Somehow the UUID got changed, or something, I don't know. It seems better now. I'll check more to make sure.
 
  


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
USB drive... /dev/sda1 doesn't show unless I try mounting /dev/sda as vfat finite Linux - Hardware 8 03-10-2009 01:52 AM
SATA not recognised after kernel upgrade VFS: Can't find ext3 filesystem on dev sda1. mariofreak Linux - Hardware 8 05-10-2008 07:17 PM
Try to mount USB drive: Computer can't find /dev/sda1 gameboypckt Linux - Newbie 5 02-07-2007 10:05 AM
Grub Dual Boot /dev/sda1 /dev/hda1 jono268 Debian 4 01-14-2005 05:54 AM
USB Compact flash card reader hotplug creates /dev/sda but no /dev/sda1 -Mandrake 9.1 bibinono Linux - Hardware 2 08-11-2003 10:37 AM


All times are GMT -5. The time now is 11:54 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