i mounted hard drive, did not know it mounts on boot up, no access now.....help

Asked by Steveo

i mounted my only internal hard drive, did not know it mounts on boot up, no access now, is their a way i can unmount it and not get the error and be about to get access again and let the system mount for me like it is suppose to do

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
Steveo
Solved:
Last query:
Last reply:
Revision history for this message
Steveo (strykersrealm) said :
#1

mount_point cannot contain the following characters: newline, G_DIR_ SEPARATOR (usually /) <---- error message details

Revision history for this message
Tom (tom6) said :
#2

Yes, you can unmount it by clicking on the
Places menu on the top taskbar - Computer
and now right-click on the drive and choose unmount.

It sounds more likely that you accidentally somehow unmounted it instead of mounting it that second time. I'm not sure how to remount through this type of gui so i would have to logout and login again.

Sorry i didnt help much there
Regards and good luck from
Tom

Revision history for this message
Steveo (strykersrealm) said :
#3

 Tom said 6 minutes ago:
Yes, you can unmount it by clicking on the
Places menu on the top taskbar - Computer
and now right-click on the drive and choose unmount.

It sounds more likely that you accidentally somehow unmounted it instead of mounting it that second time. I'm not sure how to remount through this type of gui so i would have to logout and login again.

Sorry i didnt help much there
Regards and good luck from
Tom

Thanks Tom, But it says unmounted and I can't mount it because the Ubuntu 8.04 thinks it is mounted i think. When I try to mount it I get the error. When I try to mount it, unable to mount the volume 'WD120'. <-- name of hard drive, then details said the error i posted, sorry not enough info, but thank you very very much. I did try that again to see if it worked.

When I click on Properties it says:

Type: unknown type
Size: unknown
Location: computer:///
Volume: unknown
MIME type: application/octet-stream

Modified: unknown
Accessed: unknown

Revision history for this message
Tom (tom6) said :
#4

lol, so its saying it doesn't know lol

I reckon that logging out and logging back in again will fix the problem, or restarting the whole computer almost certainly will.

Within Ubuntu it might be worth using Synaptic to install Gparted and inside that gui you can see all the drives and right-click allows you to mount drive. It's a bit clumsy as Gparted is quite dangerous in that it's made for resizing and deleting Partitions - not for file browsing. Its certainly not for regular use but might help you see what's going on in a nice gui way :)

Good luck and take care
Tom

Revision history for this message
Steveo (strykersrealm) said :
#5

Well, I'm still at it, trying to figure out what the heck is going on. Still can't mount the hard drive because the system thinks it's mounted and it's waiting to be mounted. I did a hard mount on bootup, so now i can't unmount or mount the hard drive. I will keep searching. But thanks for all your imput and still seeking and looking.

Thanks again and take care,
Steve

Revision history for this message
Wyatt Smith (wyatt-smith) said :
#6

Sound like something wrong with the mount point.

Remember that the mount point must already exist, otherwise the entry will not mount on the filesystem. To create a new mount point, use root privileges to create the mount point. Here is the generalization and an example:

sudo mkdir /path/to/mountpoint
sudo mkdir /media/disk2

To find out what is wrong you will have to investigate. Here are tips.......
ls /media

To view the contents of /etc/fstab, run the following terminal command:
cat /etc/fstab

To get a list of all the UUIDs, use one of the following two commands:
sudo blkid

To list the drives and relevant partitions that are attached to your system, run:
sudo fdisk -l

To list what file systems are mounted, run:
sudo mount

To mount all file systems in /etc/fstab, run:
sudo mount -a

Always helpful are Community Documents....
https://help.ubuntu.com/community/AutomaticallyMountPartitions
https://help.ubuntu.com/community/Fstab
https://help.ubuntu.com/community/Mount

Revision history for this message
Steveo (strykersrealm) said :
#7

Thank you Wyatt, that helped, but i'm new and still don't know how to fix it, but here are a copy of the commands and the output:

steve@P24:~$ cat /etc/fstab
# /etc/fstab: static file system information.
#
# -- This file has been automaticly generated by ntfs-config --
#
# <file system> <mount point> <type> <options> <dump> <pass>

proc /proc proc defaults 0 0
# Entry for /dev/sda5 :
UUID=ac88c444-c9a4-4828-9bd1-08cc06a67a4a / ext3 relatime,errors=remount-ro 0 1
# Entry for /dev/sda6 :
UUID=a0d74967-06e7-42d7-b5d1-c6a4e21586f1 none swap sw 0 0
/dev/scd0 /media/cdrom0 udf,iso9660 user,noauto,exec,utf8 0 0
/dev/fd0 /media/floppy0 auto rw,user,noauto,exec,utf8 0 0

steve@P24:~$ sudo blkid
[sudo] password for steve:
/dev/sda1: LABEL="WD120" UUID="305A-110B" TYPE="vfat"
/dev/sda6: TYPE="swap" UUID="a0d74967-06e7-42d7-b5d1-c6a4e21586f1"
/dev/sda5: UUID="ac88c444-c9a4-4828-9bd1-08cc06a67a4a" TYPE="ext3"

steve@P24:~$ sudo mount -a

steve@P24:~$ sudo mount
/dev/sda5 on / type ext3 (rw,relatime,errors=remount-ro)
proc on /proc type proc (rw,noexec,nosuid,nodev)
/sys on /sys type sysfs (rw,noexec,nosuid,nodev)
varrun on /var/run type tmpfs (rw,noexec,nosuid,nodev,mode=0755)
varlock on /var/lock type tmpfs (rw,noexec,nosuid,nodev,mode=1777)
udev on /dev type tmpfs (rw,mode=0755)
devshm on /dev/shm type tmpfs (rw)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
lrm on /lib/modules/2.6.24-23-generic/volatile type tmpfs (rw)
securityfs on /sys/kernel/security type securityfs (rw)
binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,noexec,nosuid,nodev)
gvfs-fuse-daemon on /home/steve/.gvfs type fuse.gvfs-fuse-daemon (rw,nosuid,nodev,user=steve)

steve@P24:~$ ls /media
cdrom cdrom0 floppy floppy0

steve@P24:~$ 1s /media
bash: 1s: command not found
steve@P24:~$ sudo fdisk -l

Disk /dev/sda: 120.0 GB, 120034123776 bytes
255 heads, 63 sectors/track, 14593 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xa1eea1ee

   Device Boot Start End Blocks Id System
/dev/sda1 * 1 13018 104567053+ c W95 FAT32 (LBA)
/dev/sda2 13019 14593 12651187+ 5 Extended
/dev/sda5 13019 14520 12064783+ 83 Linux
/dev/sda6 14521 14593 586341 82 Linux swap / Solaris
steve@P24:~$

Maybe you might be able to direct me on where to go from here. Thank you very much for your help. I have these answers, but not sure what they are telling me to do.

Thanks you so very much,
Steve

Revision history for this message
peter b (b1pete) said :
#8

Steveo, just to be clear, are you trying to get the first PARTITION of the HDD mounted ? the one identified as

/dev/sda1 * 1 13018 104567053+ c W95 FAT32 (LBA)

above ? that partition contains a FAT32 fs as you could see and is bootable. now there is a v easy way to do that but first pls tell me what ubuntu ver/distro you're using - is it hardy 804 or intrepid 810 or other ? just do in a terminal

lsb_release -a

and post the output here.

if it is 810 there is a package called disk-manager in the repos that can be installed via synaptic v easily and , via its GUI, make your life easier in mounting partitions. if it is 804 I'll direct you where to go to get it installed after I hear from you.

regards,
peter b

Revision history for this message
Steveo (strykersrealm) said :
#9

Peter,

steve@P24:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 8.04.1
Release: 8.04
Codename: hardy

I'm just trying to access the hard drive, I have FAT 32 and Ubuntu partitions. I can not read the hard drive what so ever. Can not see any files or any contents of the hard drive. It boots up and I can access the Z drive which is the Ubuntu partition I'M sure. Also I do not have permission to access the lost and found?

Thank you very much for your help,
Steve

Revision history for this message
peter b (b1pete) said :
#10

ok Steveo, I just found in one of your posts above ....' because the Ubuntu 8.04 thinks' ..... that there is a 804 hardy release installed on your PC.

pls go to

http://flomertens.free.fr/disk-manager/download.html

and download the .deb file identified as

Debian package for ubuntu feisty

and install it (just double click on the downloaded file - it'll install), after install complete there'll be a new entry under System-Admin called Disk Manager, just double click on it and a window will open which is pretty much selfexplanatory.

Revision history for this message
Steveo (strykersrealm) said :
#11

Peter,

Thank you so much, I'm now able to access the fat32 side of my drive and see all of my files. That was what i needed, i looked for it on the system and didn't find it. I guess i most likely need other updates. I g=do the updates that come up on my computer. But might need other updates to go with this OS. Or some how upgrade to the newer OS. Thanks so very much, was a lot of files and software that i use and files i wanted to keep. Even if i didn't have Disk Manager and was looking for it, You saved my day. If you know of any other releases I might need Please let me know

Thanks you VERY much,
Steve

Revision history for this message
peter b (b1pete) said :
#12

you're welcome - glad that I could help you.

hint = just stay with 804 release, it is a Long term Support or LTS and v solid distro as opposed to 810 which is only 18 mo supported. as far as disk-manager is concerned, just stay with what you've got v1 that you downloaded and installed -it is the same ver as the one in 810 intrepid so there is nothing to upgrade/update there.

enjoy 804 hardy support for 36 mo starting apr 2008.

cheerios,
peter b

ps. if you're happy then pls close this ticket. tu.

Revision history for this message
Tom (tom6) said :
#13

Question 57781 loks similar and is still in trouble