LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 05-27-2010, 01:04 AM   #16
fcvc10
LQ Newbie
 
Registered: May 2010
Posts: 9

Original Poster
Rep: Reputation: 0

frank@frank-desktop:~$ sudo /bin/ls -l /dev/sdb
[sudo] password for frank:
brw-rw---- 1 root disk 8, 16 2010-05-27 11:38 /dev/sdb
frank@frank-desktop:~$ sudo fdisk -l /dev/sdb

Disk /dev/sdb: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00032f01

Device Boot Start End Blocks Id System
/dev/sdb1 1 19457 156288321 83 Linux
frank@frank-desktop:~$ cat /etc/fstab
# /etc/fstab: static file system information.
#
# Use 'blkid -o value -s UUID' to print the universally unique identifier
# for a device; this may be used with UUID= as a more robust way to name
# devices that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
# / was on /dev/sda1 during installation
UUID=4ba59f3b-7bb8-445e-ac95-e9374ca6fdec / ext4 errors=remount-ro 0 1
# swap was on /dev/sda5 during installation
UUID=bd7f5d85-b932-49a2-b1f4-f118f9df1209 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
frank@frank-desktop:~$ sudo mount dev/sdb1 /mnt/
mount: special device dev/sdb1 does not exist
frank@frank-desktop:~$ mount
/dev/sda1 on / type ext4 (rw,errors=remount-ro)
proc on /proc type proc (rw)
none on /sys type sysfs (rw,noexec,nosuid,nodev)
none on /sys/fs/fuse/connections type fusectl (rw)
none on /sys/kernel/debug type debugfs (rw)
none on /sys/kernel/security type securityfs (rw)
udev on /dev type tmpfs (rw,mode=0755)
none on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=0620)
none on /dev/shm type tmpfs (rw,nosuid,nodev)
none on /var/run type tmpfs (rw,nosuid,mode=0755)
none on /var/lock type tmpfs (rw,noexec,nosuid,nodev)
none on /lib/init/rw type tmpfs (rw,nosuid,mode=0755)
binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,noexec,nosuid,nodev)
gvfs-fuse-daemon on /home/frank/.gvfs type fuse.gvfs-fuse-daemon (rw,nosuid,nodev,user=frank)
/dev/sdb1 on /media/_dev_sdb1_ type ext2 (rw,nosuid,nodev,uhelper=devkit)
frank@frank-desktop:~$ sudo df -hT
Filesystem Type Size Used Avail Use% Mounted on
/dev/sda1 ext4 71G 3.5G 64G 6% /
udev tmpfs 470M 252K 470M 1% /dev
none tmpfs 470M 136K 470M 1% /dev/shm
none tmpfs 470M 288K 470M 1% /var/run
none tmpfs 470M 0 470M 0% /var/lock
none tmpfs 470M 0 470M 0% /lib/init/rw
/dev/sdb1 ext2 147G 61M 140G 1% /media/_dev_sdb1_
frank@frank-desktop:~$ /bin/ls -al /mnt
total 12
drwxr-xr-x 3 root root 4096 2010-05-26 17:04 .
drwxr-xr-x 24 root root 4096 2010-05-19 16:41 ..
-rw-r--r-- 1 root root 0 2010-05-26 17:04 testfile
drwxr-xr-x 2 root root 4096 2010-05-19 18:06 usbdrive
frank@frank-desktop:~$ touch /mnt/testfile
touch: cannot touch `/mnt/testfile': Permission denied
frank@frank-desktop:~$ sudo touch /mnt/testfile
frank@frank-desktop:~$ id
uid=1000(frank) gid=1000(frank) groups=4(adm),20(dialout),24(cdrom),46(plugdev),104(lpadmin),115(admin),120(sambashare),1000(frank)
frank@frank-desktop:~$ sudo id
uid=0(root) gid=0(root) groups=0(root)
frank@frank-desktop:~$

Still no luck thanks for trying
Frank.
 
Old 05-27-2010, 02:14 AM   #17
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,724

Rep: Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705
Quote:
frank@frank-desktop:~$ sudo mount dev/sdb1 /mnt/
mount: special device dev/sdb1 does not exist
You made another typo. Perhaps you could cut and paste the commands.
Code:
sudo mount /dev/sdb1 /mnt
Also, before running commands you should understand what they are. This will help you understand if you have made a mistake, and also help protect your system when running potentially dangerous commands. Ie have a look at the man page for each command that anyone asks you to run.

Evo2.
 
Old 05-28-2010, 12:26 AM   #18
fcvc10
LQ Newbie
 
Registered: May 2010
Posts: 9

Original Poster
Rep: Reputation: 0
frank@frank-desktop:~$ sudo mount /dev/sdb1 /mnt
[sudo] password for frank:
mount: /dev/sdb1 already mounted or /mnt busy
mount: according to mtab, /dev/sdb1 is already mounted on /mnt
frank@frank-desktop:~$
When I try to save document
This is what I get
Error Saving Document Untitled1:
/media/sdb1 untitled1.odt does not exist.

Looks like it will never work,I might as well give up now.
Thank for trying to help anyway
Frank.
 
  


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
Copying files and sub-directories of a directory except the directories named ".abc" sri1025 Linux - General 2 08-24-2010 08:53 AM
Sort files in directories based on the files date... CharlieMike73 Programming 5 09-09-2009 10:04 PM
Creating a script to move or copy files into multiple directories below the files matthes138 Linux - Newbie 5 08-25-2009 04:57 PM
Batch files to execute and transfer files via sftp cm67 Linux - General 5 08-13-2009 09:59 AM
CHMOD directories.sub-directories.files zerojosh Linux - Software 2 11-19-2005 03:22 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

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