LinuxQuestions.org
Visit Jeremy's Blog.
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 06-29-2006, 01:31 PM   #1
Hamlets
LQ Newbie
 
Registered: May 2006
Distribution: Ubuntu 7.04
Posts: 24

Rep: Reputation: 15
Watching other partitions


On win this partition is called E:/ And there are music, pictures and movie files. I would like to watch them from Linux, is it imposible? If yes, then tell me how, please =)
 
Old 06-29-2006, 02:04 PM   #2
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
The partition will need to be mounted before you can use it. Unfortunately, knowing that it's labelled as "E:\" under Windows doesn't help much. Can you run "fdisk -l" (lowercase L, not a 1) in a terminal and post the output please. Actually, for Ubuntu you'll probably need to use sudo. If "fdisk -l" doesn't work, use "sudo fdisk -l".
 
Old 06-29-2006, 02:14 PM   #3
manishsingh4u
Member
 
Registered: Oct 2005
Location: Bhopal, India
Distribution: RHEL 6
Posts: 422

Rep: Reputation: 30
Check this thread.
http://www.linuxquestions.org/questi...d.php?t=459509
 
Old 06-30-2006, 09:58 AM   #4
Hamlets
LQ Newbie
 
Registered: May 2006
Distribution: Ubuntu 7.04
Posts: 24

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by Nylex
The partition will need to be mounted before you can use it. Unfortunately, knowing that it's labelled as "E:\" under Windows doesn't help much. Can you run "fdisk -l" (lowercase L, not a 1) in a terminal and post the output please. Actually, for Ubuntu you'll probably need to use sudo. If "fdisk -l" doesn't work, use "sudo fdisk -l".

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

Device Boot Start End Blocks Id System
/dev/hda1 * 1 2550 20482843+ 7 HPFS/NTFS
/dev/hda2 2551 13986 91859670 f W95 Ext'd (LBA)
/dev/hda3 13987 14593 4875727+ 83 Linux
/dev/hda5 2551 13955 91610631 7 HPFS/NTFS
/dev/hda6 13956 13986 248976 82 Linux swap / Solaris
 
Old 06-30-2006, 10:17 AM   #5
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
1. Create a directory to mount to:

$ sudo mkdir /media/windows

Note that you don't have to use /media/windows, but it might be a good idea to create a directory in /media since that appears to be where Ubuntu puts stuff like this.

2. Mount the partiton:

$ sudo mount -t ntfs /dev/hda5 /media/windows

If it's /dev/hda1 that you want to mount instead, then obviously change that line above accordingly. The -t option tells mount the type of file system on said partition. See "man mount" for more details about mount.

You should now be able to access the files on that partition using a terminal or whatever graphical file browser you use.
 
Old 06-30-2006, 11:33 AM   #6
Hamlets
LQ Newbie
 
Registered: May 2006
Distribution: Ubuntu 7.04
Posts: 24

Original Poster
Rep: Reputation: 15
""The folder contents could not be displayed""

And I could change permissions
 
Old 06-30-2006, 11:50 AM   #7
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
Does it work from the terminal? Maybe unmount it (with "sudo umount /dev/hda5") and remount it with "sudo mount -t ntfs -o umask=0222 /dev/hda5 /media/windows" (taken from here).
 
Old 06-30-2006, 12:07 PM   #8
Hamlets
LQ Newbie
 
Registered: May 2006
Distribution: Ubuntu 7.04
Posts: 24

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by Nylex
Does it work from the terminal? Maybe unmount it (with "sudo umount /dev/hda5") and remount it with "sudo mount -t ntfs -o umask=0222 /dev/hda5 /media/windows" (taken from here).
Yap, now it works, thanks men=)
 
Old 06-30-2006, 12:54 PM   #9
Hamlets
LQ Newbie
 
Registered: May 2006
Distribution: Ubuntu 7.04
Posts: 24

Original Poster
Rep: Reputation: 15
Huh... i shutdown linux, and then tutn it on again, and there was no this partiton any more
 
Old 06-30-2006, 01:27 PM   #10
randell6564
Member
 
Registered: Nov 2005
Location: California USA
Distribution: Ubuntu,(Feisty Fawn) Windows XP(Home Edition)
Posts: 634

Rep: Reputation: 31
Quote:
Originally Posted by Hamlets
Huh... i shutdown linux, and then tutn it on again, and there was no this partiton any more
You only mounted the partition at the moment. in order for an automatic mount after Re-booting, you need to add that particular partition to your /etc/fstab

This is what mine looks like:

# /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
/dev/hda2 / ext3 defaults,errors=remount-ro 0 1
/dev/hda5 none swap sw 0 0
/dev/hdc /media/cdrom0 udf,iso9660 user,noauto 0 0
/dev/hdd /media/cdrom1 udf,iso9660 user,noauto 0 0
/dev/fd0 /media/floppy0 auto rw,user,noauto 0 0
/dev/hda1 /WinXP ntfs nls=utf8,umask=0222 0 0
/dev/hdb1 /Fat32 vfat iocharset=utf8,umask=000 0 0



You will find the directions for adding partitions here: http://easylinux.info/wiki/Ubuntu_da...s_to_read_only
And here: http://easylinux.info/wiki/Ubuntu_da...o_read.2Fwrite

Last edited by randell6564; 07-01-2006 at 02:08 AM.
 
  


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
watching data on it's way out cs-cam Linux - Networking 1 10-28-2005 11:04 PM
Watching DVDs cuscus1986 Linux - Newbie 16 03-17-2005 10:31 AM
Cd-writing and tv watching movitto Linux - General 33 08-17-2004 10:48 AM
Watching DVDs idris1388 Slackware 11 04-05-2004 01:57 PM
Watching TV on RH Linux 9 b_suny Linux - Software 2 03-22-2004 09:17 PM

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

All times are GMT -5. The time now is 08:35 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
Open Source Consulting | Domain Registration