LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 11-11-2008, 01:11 PM   #1
bergzan
LQ Newbie
 
Registered: Aug 2008
Location: Ljubljana
Posts: 19

Rep: Reputation: 0
Can anyone help me


Hello all
I am new ubuntu 8.10 user so i'm totally newb on these area (ubuntu OS)
Until today i was using Vista and i wanted a lil change.
So to my problem.

I have 2 discs in my computer + 1 external
1 is 80HB 2 is 500GB and external is 350GB

so i formated the 80GB and installed Ubuntu 8.10 on it (use to have Vista on 80GB)

instaled it alright everithing is working only thing is i cant read/write 500 and 350GB becaose i didnt format them (have alot of importand things on both of them so they re both 80% full and i canot aford to format them becaose i need them for other windows pcs for work and at home.

i already tried what i saw on other sites with ntfs-3g and i didn't have much luck.

so can now some1 guide me step-by-step so i will be able to read/write on these discs. Like i sad i am total new user of ubuntu have it only for few hours.



opotional: and if someone can tell me how to make my ubuntu look like those on youtube i saw but the NTFS problem is more important

(you can also write to me on zanbergmann@gmail.com or on msn once i figure out how to use it)
 
Old 11-11-2008, 01:43 PM   #2
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
welcome to LQ!!

As far as I know, NTFS support should be part of Ubuntu. You might have to manually mount the drives---I'm not sure exactly how Ubuntu does this.

Open a terminal and try this:

sudo mount ##this tells you everything that is already mounted.

sudo fdisk -l ##This tells you the drives that the BIOS could see at startup (may not show the USB external).

Assuming that your 500GB is seen, it will probably be sdb (maybe hdb). See if you can mount it as follows:

sudo mkdir /mnt/drive2
sudo mount /dev/sdb1 /mnt/drive2
##Depending on how the drive is partitioned, you can mount any of the partitions by simply using sdb2, sdb3, etc.
 
Old 11-11-2008, 01:49 PM   #3
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
Please use descriptive thread titles in future (ones that say something about the problem(s)) you're having. You are told to do this when you post a thread..
 
Old 11-11-2008, 01:54 PM   #4
irishbitte
Senior Member
 
Registered: Oct 2007
Location: Brighton, UK
Distribution: Ubuntu Hardy, Ubuntu Jaunty, Eeebuntu, Debian, SME-Server
Posts: 1,213
Blog Entries: 1

Rep: Reputation: 88
If you are in ubuntu, go to the Places menu on top left, and look down the list. If your 500GB HDD is installed in your machine, it should be visible! Just click on it, and ubuntu will mount the disk for you.
 
Old 11-11-2008, 03:08 PM   #5
bergzan
LQ Newbie
 
Registered: Aug 2008
Location: Ljubljana
Posts: 19

Original Poster
Rep: Reputation: 0
Ok now i gived ubuntu in english language (i understand some thing better than in my language and it will be easier to post here)
and now when i go places--and click the 500GB HDD i get these Cannot mount volume. and lower You are not privileged to mount this volume.


and lil later i get error : DBus error org.freedesktop.DBus.Error.NoReply: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.

what do i have to do now ? if anyone know please
 
Old 11-11-2008, 03:39 PM   #6
bergzan
LQ Newbie
 
Registered: Aug 2008
Location: Ljubljana
Posts: 19

Original Poster
Rep: Reputation: 0
Well can least someone give me a cllue how to ogin as root (mabie than i will be able to mount it)
 
Old 11-11-2008, 05:17 PM   #7
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
Did you try my suggestions?

To login as root (thus avoiding sudo), you have to first enable the root account:
in a terminal, enter:
sudo passwd root
 
Old 11-11-2008, 06:52 PM   #8
pinniped
Senior Member
 
Registered: May 2008
Location: planet earth
Distribution: Debian
Posts: 1,732

Rep: Reputation: 50
So what have you done so far to try to mount the devices?

fdisk -l -- this will list all the storage devices currently recognized and print out some information on their partitions.

When you want to use ntfs-3g you have to explicitly specify it; otherwise the kernel will use its old kernel-space ntfs driver:

mount -t ntfs-3g /dev/whatever /mount/point


For normal users to be able to mount partitions, it is most convenient if there is an entry in /etc/fstab with options 'noauto' and 'user'. The partitions should be identified by a unique ID rather than just something like '/dev/sdb1' because 'sdb1' is not a unique name. For example:

/dev/disk/by-uuid/002e450c-fd52-43fb-a390-a69892025ae3 /mnt/MyPhotos ntfs-3g noauto,user,noatime 0 2
 
Old 11-11-2008, 07:09 PM   #9
zakonnik
LQ Newbie
 
Registered: Nov 2008
Location: Elbląg, Poland
Distribution: Slackware64-current
Posts: 22

Rep: Reputation: 16
Eye-candy that you can find on youtube videos are powered by compiz-fusion.

Read more about ntfs-3g driver, and configure /etc/fstab file, that will solve your problems.
 
Old 11-11-2008, 08:17 PM   #10
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
Make sure you have the ntfs-3g and the fuse packages installed. The ntfs-3g driver is a userland driver. It needs the "fuse" kernel driver loaded before you can mount with the "ntfs-3g" file system type. Look at the output of "lsmod | grep fuse". If you don't see the fuse module, the try to load it with "sudo /sbin/modprobe fuse".

Next, look at the information on your partitions and filesystems.
# to list the partitions
sudo /sbin/fdisk -l

# to check the filesystem on a partition (sdb1 in this example)
sudo file -s /dev/sdb1

# this will give you more information on a filesystem (sdc1 in this example)
udevinfo -q env -n /dev/sdc1


Another quick thing to check is that your don't have "noacpi" as a boot option in grub. You can look at your grub entries from the menu.lst file:
sudo less /boot/grub/menu.lst

Look at the "kernel (hd0,0)..." line. At the end of this line are boot options. The udevd and hald and dbusd daemons all depend on acpi.

For the external drive, consider using an /etc/fstab entry that uses the UUID number or the LABEL instead of the device node. This is where the "udevinfo -q env -n /dev/sdc1" command can come in handy. The filesystem UUID number is one of the items reported.
Code:
example fstab entry:
UUID=1223458-ab221345 /mnt/external ntfs-3g rw,uid=bergzan,gid=bergzan,fmask=0117,dmask=0007 0 0

example mount command:
sudo mount /dev/disk/by-uuid/1223458-ab221345 /mnt/external -t ntfs-3g -o rw,uid=bergzan,gid=bergzan,fmask=0117,dmask=0007

Last edited by jschiwal; 11-15-2008 at 01:54 AM.
 
Old 11-12-2008, 02:33 AM   #11
bergzan
LQ Newbie
 
Registered: Aug 2008
Location: Ljubljana
Posts: 19

Original Poster
Rep: Reputation: 0
I tried everithing u guys sad
i even found a way to log .on as root and i tried all these things as root(administrator)
and in root when i trie to mount it sas to me :

log file indicates unclean shutdown
failed to mount '/dev/sdb': operation not supported
mount is denied becaose NTFS is marked to be in use.
chose one action:

choise1: if u have wondows then disconect the external devices by clicking on 'safely remove hardvare' icon in the windows
taskbar then shutdonw windows cleanly
(tried to do these and it didnt work)

choise2: if u don't have windows then u can use the 'force'option for yoour own responsibility. for example type on command line:

mount -t ntfs-3g /dev/sdb /media/disk - force

or add the option to the relevant row in the /etc/fstab file:

/dev/sdb /media/disk ntfs-3g force 0 0
(tried these too and didnt work either)


and in the end i get error

DBus error org.freedesktop.DBus.Error.NoReply: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.

danm im to stupid to get this working

/btw if i write /etc/fstab in terminal (while im in root) it say back

bash: /etc/fstab: Permission denied
 
Old 11-12-2008, 02:38 AM   #12
bergzan
LQ Newbie
 
Registered: Aug 2008
Location: Ljubljana
Posts: 19

Original Poster
Rep: Reputation: 0
choise1: if u have wondows then disconect the external devices by clicking on 'safely remove hardvare' icon in the windows
taskbar then shutdonw windows cleanly
(tried to do these and it didnt work)


ups i tired this again on USB 130MB and it works
sry for missleding u guys

now the real problem is how to do these in internal drive ? well the thing is that i can't do with internal or external disk like i did with USB flash drive
(it don't give me the option in vista)

Last edited by bergzan; 11-12-2008 at 02:50 AM.
 
Old 11-12-2008, 04:48 AM   #13
bergzan
LQ Newbie
 
Registered: Aug 2008
Location: Ljubljana
Posts: 19

Original Poster
Rep: Reputation: 0
mabie it will help if i reinstall ubuntu (will tell u than if it work
 
Old 11-12-2008, 05:48 AM   #14
pinniped
Senior Member
 
Registered: May 2008
Location: planet earth
Distribution: Debian
Posts: 1,732

Rep: Reputation: 50
I forgot about that "NTFS in use" thing - in situations where you are sure the filesystem is not in use, just add 'force' to the option list in fstab. I've encountered so many situations (manufacturer bug, etc) that would mark the filesystem "in use" that I have sometimes wondered if a random number generator is somehow involved in deciding whether the filesystem is in use or not.
 
Old 11-12-2008, 06:48 AM   #15
bergzan
LQ Newbie
 
Registered: Aug 2008
Location: Ljubljana
Posts: 19

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by pinniped View Post
I forgot about that "NTFS in use" thing - in situations where you are sure the filesystem is not in use, just add 'force' to the option list in fstab. I've encountered so many situations (manufacturer bug, etc) that would mark the filesystem "in use" that I have sometimes wondered if a random number generator is somehow involved in deciding whether the filesystem is in use or not.
Ok so what do i need to write in terminal now? i rly dont know im using linux for 2 days now
on vista it was all easier (well i say this now becaose i newer used linux and used windows for all my life)
 
  


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



LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

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