LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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
 
LinkBack Search this Thread
Old 09-27-2012, 10:11 AM   #1
bacon_cabbage
LQ Newbie
 
Registered: Sep 2012
Location: Donegal, Ireland
Distribution: Debian, Pinguy Ubuntu, Linux Mint
Posts: 14

Rep: Reputation: Disabled
Wink cant open external hardrive


I recently installed Debian 6. I have a Seagate 1TB external hard drive (free agent go-flex).
I can see it listed when I open my home folder. The problem is when I go to open I get the following message:

Unable to mount FreeAgent GoFlex Drive

Error mounting: mount exited with exit code 1: helper failed with:
Error opening '/dev/sdb1': Permission denied
Failed to mount '/dev/sdb1': Permission denied
Please check '/dev/sdb1' and the ntfs-3g binary permissions,
and the mounting user ID. More explanation is provided at
http://ntfs-3g.org/support.html#unprivileged

I am able to open my usb memory sticks no problem at all. I have installed ntfs-3g but do not know where to go from here. PLZ PLZ PLZ help.

thanks everyone
 
Old 09-27-2012, 10:26 AM   #2
JaseP
Senior Member
 
Registered: Jun 2002
Location: Eastern PA, USA
Distribution: K/Ubuntu 10.04/12.04, Scientific Linux 6.3, Android-x86, Maemo
Posts: 1,658

Rep: Reputation: 138Reputation: 138
The drive has (the error messages told you) NTFS partitioning... Is there anything on the drive (in other words, are you willing to repartition the drive)? You'd be better off with EXT3 or EXT4 partitioning, if the machine is going to be controlled by a Linux server or desktop. You can give Windows users access to the drive over the network through SAMBA (unless it's a dual-boot system, and you need local access for both).

Also, I only used Debian for a short while, but seem to remember that you had to manually set auto-mounting for users, and that NTFS might not be supported in the default install...

So,... go into Synaptic and hunt around for NTFS (support) and (separately) auto-mount, figure out what packages you need, and install them.

Last edited by JaseP; 09-27-2012 at 10:30 AM.
 
Old 09-27-2012, 10:34 AM   #3
konsolebox
Senior Member
 
Registered: Oct 2005
Distribution: Gentoo, Slackware, LFS
Posts: 2,242
Blog Entries: 15

Rep: Reputation: 233Reputation: 233Reputation: 233
Check the last parts of dmesg and try to mount it as a super user (if not mounting by mount).
Code:
dmesg | tail -n 500 | less -S
 
Old 09-27-2012, 10:38 AM   #4
bacon_cabbage
LQ Newbie
 
Registered: Sep 2012
Location: Donegal, Ireland
Distribution: Debian, Pinguy Ubuntu, Linux Mint
Posts: 14

Original Poster
Rep: Reputation: Disabled
its a dual boot system, windows 7 ultimate 64 bit and debian 64 bit. I installed everything that had ntfs related in synaptic and did the same with auto-mount and still getting the same message. But thanks for the reply. I would like to be able to use the external hard-drive if I'm using windows or debian. While i had ubuntu installed i was able to access it from either. I ran this command in terminal hope this helps: sudo fdisk -l

This is the output from it:

Device Boot Start End Blocks Id System
/dev/sda1 1 13 102400 7 HPFS/NTFS
Partition 1 does not end on cylinder boundary.
/dev/sda2 13 25907 207993856 7 HPFS/NTFS
Partition 2 does not end on cylinder boundary.
/dev/sda3 25908 53153 218846209 f W95 Ext'd (LBA)
Partition 3 does not end on cylinder boundary.
/dev/sda4 53153 60802 61440000 7 HPFS/NTFS
Partition 4 does not end on cylinder boundary.
/dev/sda5 25908 39054 105596928 7 HPFS/NTFS
/dev/sda6 * 39054 53153 113248256 83 Linux

Disk /dev/sdb: 1000.2 GB, 1000204885504 bytes
255 heads, 62 sectors/track, 123562 cylinders
Units = cylinders of 15810 * 512 = 8094720 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xa4b57300

Device Boot Start End Blocks Id System
/dev/sdb1 1 123563 976760000+ 7 HPFS/NTFS

This is the next command I ran: dmesg | tail -n 500 | less -S
[ 0.010726] ACPI: Core revision 20090903
[ 0.016060] Setting APIC routing to flat
[ 0.016365] ..TIMER: vector=0x30 apic1=0 pin1=2 apic2=-1 pin2=-1
[ 0.058861] CPU0: Intel Pentium(R) Dual-Core CPU E5300 @ 2.60GHz stepping 0a
[ 0.060001] Booting processor 1 APIC 0x1 ip 0x6000
[ 0.008000] Initializing CPU#1
[ 0.008000] CPU: L1 I cache: 32K, L1 D cache: 32K
[ 0.008000] CPU: L2 cache: 2048K
[ 0.008000] CPU 1/0x1 -> Node 0
[ 0.008000] CPU: Physical Processor ID: 0
[ 0.008000] CPU: Processor Core ID: 1
[ 0.008000] CPU1: Thermal monitoring enabled (TM2)
[ 0.144091] CPU1: Intel Pentium(R) Dual-Core CPU E5300 @ 2.60GHz stepping 0a
[ 0.144097] checking TSC synchronization [CPU#0 -> CPU#1]: passed.
[ 0.148020] Brought up 2 CPUs
[ 0.148022] Total of 2 processors activated (10398.99 BogoMIPS).
[ 0.148814] CPU0 attaching sched-domain:
[ 0.148817] domain 0: span 0-1 level MC
[ 0.148819] groups: group ffff88000180fbf0 cpus 0 group ffff88000188fbf0 cpus 1
[ 0.148825] CPU1 attaching sched-domain:
[ 0.148826] domain 0: span 0-1 level MC
[ 0.148828] groups: group ffff88000188fbf0 cpus 1 group ffff88000180fbf0 cpus 0
[ 0.148877] devtmpfs: initialized
[ 0.152017] regulator: core version 0.5
[ 0.152040] NET: Registered protocol family 16
[ 0.152106] ACPI: bus type pci registered
[ 0.152160] PCI: MCFG configuration 0: base e0000000 segment 0 buses 0 - 255
[ 0.152162] PCI: MCFG area at e0000000 reserved in E820
[ 0.157520] PCI: Using MMCONFIG at e0000000 - efffffff
[ 0.157521] PCI: Using configuration type 1 for base access
[ 0.157785] bio: create slab <bio-0> at 0
[ 0.157785] ACPI: EC: Look up EC in DSDT
[ 0.163192] ACPI: Interpreter enabled
[ 0.163194] ACPI: (supports S0 S3 S4 S5)
[ 0.163212] ACPI: Using IOAPIC for interrupt routing
[ 0.167733] ACPI: No dock devices found.
[ 0.167823] ACPI: PCI Root Bridge [PCI0] (0000:00)
[ 0.167918] pci 0000:00:01.0: PME# supported from D0 D3hot D3cold
[ 0.167921] pci 0000:00:01.0: PME# disabled
[ 0.167971] pci 0000:00:1b.0: reg 10 64bit mmio: [0xfdff8000-0xfdffbfff]
[ 0.168029] pci 0000:00:1b.0: PME# supported from D0 D3hot D3cold
[ 0.168032] pci 0000:00:1b.0: PME# disabled
[ 0.168096] pci 0000:00:1c.0: PME# supported from D0 D3hot D3cold
[ 0.168099] pci 0000:00:1c.0: PME# disabled
[ 0.168166] pci 0000:00:1c.1: PME# supported from D0 D3hot D3cold
[ 0.168169] pci 0000:00:1c.1: PME# disabled
[ 0.168210] pci 0000:00:1d.0: reg 20 io port: [0xff00-0xff1f]
[ 0.168252] pci 0000:00:1d.1: reg 20 io port: [0xfe00-0xfe1f]
[ 0.168294] pci 0000:00:1d.2: reg 20 io port: [0xfd00-0xfd1f]
[ 0.168337] pci 0000:00:1d.3: reg 20 io port: [0xfc00-0xfc1f]
[ 0.168383] pci 0000:00:1d.7: reg 10 32bit mmio: [0xfdfff000-0xfdfff3ff]
[ 0.168437] pci 0000:00:1d.7: PME# supported from D0 D3hot D3cold
[ 0.168440] pci 0000:00:1d.7: PME# disabled
[ 0.168553] pci 0000:00:1f.0: ICH7 LPC Generic IO decode 1 PIO at 0800 (mask 003f)
[ 0.168556] pci 0000:00:1f.0: ICH7 LPC Generic IO decode 2 PIO at 0290 (mask 003f)
[ 0.168602] pci 0000:00:1f.1: reg 10 io port: [0x00-0x07]
[ 0.168607] pci 0000:00:1f.1: reg 14 io port: [0x00-0x03]
[ 0.168612] pci 0000:00:1f.1: reg 18 io port: [0x00-0x07]
[ 0.168618] pci 0000:00:1f.1: reg 1c io port: [0x00-0x03]
:

Last edited by bacon_cabbage; 09-27-2012 at 11:53 AM.
 
Old 09-27-2012, 12:22 PM   #5
JaseP
Senior Member
 
Registered: Jun 2002
Location: Eastern PA, USA
Distribution: K/Ubuntu 10.04/12.04, Scientific Linux 6.3, Android-x86, Maemo
Posts: 1,658

Rep: Reputation: 138Reputation: 138
I'm guessing that installing "everything" ntfs related might not be the best course of action. Debian apparently uses ntfs-3g/fuse for mounting ntfs partitions.

This is a user/file system access setup based issue regarding Debian 6 & the ntfs-3g driver...
http://www.tuxera.com/community/ntfs...q/#plugandplay

It's highly disribution specific... So someone who is more familiar with Debian/Windows dual-boot situations will have to answer.

I don't dual boot, I'm Linux only, save one old/small WinXp machine for doing things like using firmware flash utilities, and a couple of virtual machines... All of them are formatted with FAT partitions,... just because of things like this...
 
Old 09-27-2012, 01:00 PM   #6
bacon_cabbage
LQ Newbie
 
Registered: Sep 2012
Location: Donegal, Ireland
Distribution: Debian, Pinguy Ubuntu, Linux Mint
Posts: 14

Original Poster
Rep: Reputation: Disabled
Smile external hard sorted

Yeah cant beat Linux mine is booting straight into Debian after 3 seconds I really don't use windows that much any more its more or less as a fall back in case i really get stuck. But I do know that Debian can read NTFS, OK got it sorted thanks everyone who helped me out I also hope the following tutorials will help.


http://www.ehow.com/how_7223499_moun...ian-linux.html

http://www.ehow.com/how_2180742_manu...ive-linux.html

http://thelinuxexperiment.com/tag/cannot-mount-volume/

I then created a launcher on my desktop:
Type = Location
Name = External harddrive
Command = mount ntfs -3g/dev/sdb/EXHD/EXT_HD
Comment = Anything you want

then just picked a icon for it, next I right clicked the icon on desktop, choose properties, then permissions and changed them to allow read and write.

Thanks to everyone who helped me out and I hope the above information will also help all those who has the same problem

Thanks JaseP & konsolebox

Last edited by bacon_cabbage; 09-27-2012 at 01:06 PM.
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
External Hardrive Issues. I JUST DONT GET IT =*( slybrew Linux - Newbie 34 09-13-2009 07:21 PM
External USB hardrive permission lindylex Fedora 5 04-05-2007 04:43 AM
problem with new external hardrive bird603568 Slackware 9 07-10-2006 03:37 AM
mounting an external hardrive got_nix Linux - Newbie 2 10-18-2004 01:37 AM
external hardrive on redhat 7.3 vicky4u_hyd Linux - Hardware 0 07-11-2004 01:10 PM


All times are GMT -5. The time now is 04:02 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration