Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Open up my second hard drive on here?
#1

Hi guys, back again :)

 

I've now made the change so I am running fc5 on my desktop as well as laptop. In my desktop I have got 2 harddrives. 1 with all me docs on, the 2nd which is for my OS. In windows, the second harddrive showed up in my computer. On linux, it don't :(

 

Will I be able to see it? I need a second hdd to do all me stuff on o_O:(

Reply
#2

I've had a browse in the /dev/disk/by-label/ folder and i can see it there! But can't open it up from there :(

 

Edit

After doing some more reading up, I tried the cmd fdisk -l

 



Code:
[Mizzy@localhost ~]$ su
Password:
[root@localhost Mizzy]# fdisk -l
bash: fdisk: command not found
[root@localhost Mizzy]#




Reply
#3

Quote:I've had a browse in the /dev/disk/by-label/ folder and i can see it there! But can't open it up from there :(
 

That is the device.

 

Do:



Code:
mkdir /mnt/flashdrive
mount /dev/disk/by-label/NAME /mnt/flashdrive




 

Then it will be mounted and you can see the contents in /mnt/flashdrive.

Reply
#4



Code:
[root@localhost mizzy]# mkdir /mnt/flashdrive
[root@localhost mizzy]# mount /dev/disk/by-label/Mizzy_-_Backup /mnt/flashdrive
mount: unknown filesystem type 'ntfs'
[root@localhost mizzy]#




 

:( That didn't work, don't understand why o_O

Reply
#5

Quote:
Code:
[root@localhost mizzy]# mkdir /mnt/flashdrive
[root@localhost mizzy]# mount /dev/disk/by-label/Mizzy_-_Backup /mnt/flashdrive
mount: unknown filesystem type 'ntfs'
[root@localhost mizzy]#

<div>


 

:( That didn't work, don't understand why o_O

</div>
 

You need the NTFS driver installed - easiest way to do this is to install the Livna yum repository, then download the package with yum. As root:

 



Code:
rpm -Uvh http://rpm.livna.org/livna-release-5.rpm




 

Then run:

 



Code:
yum -y install kmod-ntfs




 

Reboot and you should be able to mount it - but beware Linux can't at the moment reliably write to NTFS.

Reply
#6

Cheers for that :)

 

2 other things tho, since I've done the above, at bootup I now have 2 FC5's o_O

 

Quote:Fedora Core (2.6.17-1.2139_FC5)Fedora Core (2.6.15-1.2054_FC5)

Other
That right ye? I've logged in via the top one and other is windoze. 

The other thing is, when I go to mount that drive, I can get there but this error message comes up....

 

Quote:The folder contents could not be displayed. 

You do not have the permissions necessary to view the contents of "Flash Drive"
 

How do I get around that? :(

 

Quote:but beware Linux can't at the moment reliably write to NTFS.
 

Shame about that as I would really want to write to it :( Does linux just have problems writing to NTFS? Or is it ok if the HDD is Fat32?

Reply
#7

yes. fat32 (and fat16 i think) has full and reasonably safe read/write capability in linux (i use kernel 2.6.17 - - - so i sometimes encounter permission issues, if i try making a file executable fro example. but that's natural because fat32 doesn't support this) <<<< was just to make it clear, why on earlier kernel (can't remember which ones..2.6.12 or earlier i think ) you may change the file permissions on fat32 without errors, then they seem to automatically revert... now you why it happens if you encounter this mystery lol..

 

 

 

 

[further]

 

linux now supports full write access to ntfs, and is a lot more stable now.(it has for quite some-time but was very unstable)

 

[reading]

 

[/url]http://www.jankratochvil.net/project/captive/

[url=http://www.linux-ntfs.org/]http://www.linux-ntfs.org/

Reply
#8

Quote:[/url]http://www.linux-ntfs.org/
 

Faaannnnqqquoooooo :):):)

 

That site taught me how to do it. This link http://wiki.linux-ntfs.org/doku.php?id=ntf..._an_ntfs_volume proved essential reading.

 

For me (as a user, not root) to view my second hard drive, I had to; (for other users to learn)

 

- mkdir /mnt/windows

- rpm -Uvh [url=http://rpm.livna.org/livna-release-5.rpm]http://rpm.livna.org/livna-release-5.rpm

- yum -y install kmod-ntfs

- mount /dev/hdd1 /mnt/windows -t ntfs -r -o uid=Mizzy

 

(To unmount cmd: umount /mnt/windows)

 

 

The only thing that I haven't figured out is how to give me write access to it. I can read it, but not write to it yet :( Keeps on reading :)

Reply
#9

Quote:-r 

Mount the volume, read-only. By default, mount will attempt to mount the volume read-write. Unless forced, the driver will automatically mount the filesystem read-only.
 

Ok, so I changed the mount and removed the "'-r" but it still won't let me write to it o_O:( Any suggestions? I can't figure that one out :([img]<___base_url___>/uploads/emoticons/default_dry.png[/img]:(

 

Quote:6.1 Which distributions support NTFS out of the box? 

Virtually all Linux Distributions support NTFS by default except RedHat/Fedora.
 

Is it possible that it's just Fedora? o_O

Reply
#10

Quote:mount will attempt to mount the volume read-write
 

BUT BUT BUT!! .. I would highly suggest you don't do this, find another method of exchanging the information between the distros. For instance make a small FAT32 partition, Linux and WinXP can happily share that space and write/read from it with no danger of information loss.

 

OK .. warning given .. This article points to the two methods available for writing to NTFS (check out the two links at the bottom of the article for the "howtos"). I know this is debian but hopeful you can find some information relating to RPM's for Fedora.

 

OK! Good luck if you try it ;)

Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)