Fedora Linux Support Community & Resources Center
  #1  
Old 10th May 2012, 09:28 PM
GuyLev Offline
Registered User
 
Join Date: May 2012
Location: Israel
Posts: 4
linuxchrome
Having problems with sharing HD

Hello everybody.
I'm a fedora newbie (moved from Ubuntu) so be patient .
1. I have a HD (FAT) installed on my computer.
I want this HD to automount and to be shared across the ethernet.
everytime that I've tried to do this I've failed for some reason.

thank you for your help.

Last edited by GuyLev; 18th May 2012 at 09:14 AM.
Reply With Quote
  #2  
Old 11th May 2012, 01:22 PM
george_toolan Offline
Registered User
 
Join Date: Dec 2006
Posts: 2,077
linuxfirefox
Re: Having problems with sharing HD

You can mount the partition in /etc/fstab

Code:
fdisk -l
If you want to share the files you have to install or configure nfsd or Samba if you want to share with Windows.
Reply With Quote
  #3  
Old 11th May 2012, 01:45 PM
GuyLev Offline
Registered User
 
Join Date: May 2012
Location: Israel
Posts: 4
linuxchrome
Re: Having problems with sharing HD

Quote:
Originally Posted by george_toolan View Post
You can mount the partition in /etc/fstab

Code:
fdisk -l
If you want to share the files you have to install or configure nfsd or Samba if you want to share with Windows.
thank you for your help
I've ran fdisk and got an error
Code:
last_lba(): I don't know how to handle files with mode 40700
I already installed samba and configured the firewall but with no luck.
Reply With Quote
  #4  
Old 13th May 2012, 10:58 AM
george_toolan Offline
Registered User
 
Join Date: Dec 2006
Posts: 2,077
linuxfirefox
Re: Having problems with sharing HD

Is the filesystem mounted already?

If you have disks with the new GPT instead of old MBR partitions try to install gdisk

Code:
gdisk -l /dev/sda
gdisk -l /dev/sdb
gdisk -l /dev/sdc
until you find the disk that you want to share.
Reply With Quote
  #5  
Old 16th May 2012, 08:52 PM
GuyLev Offline
Registered User
 
Join Date: May 2012
Location: Israel
Posts: 4
linuxchrome
Re: Having problems with sharing HD

Quote:
Originally Posted by george_toolan View Post
Is the filesystem mounted already?

If you have disks with the new GPT instead of old MBR partitions try to install gdisk

Code:
gdisk -l /dev/sda
gdisk -l /dev/sdb
gdisk -l /dev/sdc
until you find the disk that you want to share.
Thank you for your reply (and apologize for my late reply. work takes all my time).
I've ran gdisk and came up with the following
Code:
GPT fdisk (gdisk) version 0.8.4

Partition table scan:
  MBR: MBR only
  BSD: not present
  APM: not present
  GPT: not present


***************************************************************
Found invalid GPT and valid MBR; converting MBR to GPT format.
***************************************************************

Disk /dev/sdb: 1953525168 sectors, 931.5 GiB
Logical sector size: 512 bytes
Disk identifier (GUID): D00474FD-448C-4B94-A883-1334ADC80F4D
Partition table holds up to 128 entries
First usable sector is 34, last usable sector is 1953525134
Partitions will be aligned on 2048-sector boundaries
Total free space is 9581 sectors (4.7 MiB)

Number  Start (sector)    End (sector)  Size       Code  Name
   1            8192      1543292927   735.9 GiB   0700  Microsoft basic data
   2      1543292928      1953523711   195.6 GiB   8300  Linux filesystem
I also ran ls -l /dev/disk/by-uuid here are the results
Code:
total 0
lrwxrwxrwx. 1 root root c1ff1fa-0562-4016-b154-08aeb9235095 -> ../../sdb2
lrwxrwxrwx. 1 root root bbfdb0-e673-4a74-a0a7-0403f1d7fc26 -> ../../dm-1
lrwxrwxrwx. 1 root root dd19908-9cba-47ff-bfea-8bf3d469ca20 -> ../../dm-2
lrwxrwxrwx. 1 root root 10 מאי 16 22:40 83892806-940d-4c5a-bba7-8106791bf474 -> ../../dm-0
lrwxrwxrwx. 1 root root  a7064b0f-6ee6-4a5f-ae9d-27a458470a34 -> ../../sda1
lrwxrwxrwx. 1 root root  EA7B-5E84 -> ../../sdb1
sdb1 is the one that I'm looking to share.
I've tried to automount it with fstab but I get a "fsck error code 8".
so I ran dosfsck /dev/sdb1 and now I get even more errors.

Thank you for your help.
Reply With Quote
  #6  
Old 17th May 2012, 03:14 AM
Gareth Jones Offline
Official Gnome 3 Sales Rep. (and Adminstrator)
 
Join Date: Jul 2011
Location: Leamington Spa, UK
Age: 31
Posts: 2,750
linuxfirefox
Re: Having problems with sharing HD

Quote:
Originally Posted by GuyLev View Post
2. my fonts display are just horrible. I've tried messing around with the fonts but I can't get a proper font display.
It would have been better to put this in a separate post with it's own title. Do you mean the fonts in the graphical desktop? If so try Infinality (http://www.infinality.net/blog/) – it's a modification to the font rendering code and configuration that many of us are using to improve the fonts. There are a couple of threads on the forum about it, and information on the website about how to install it in Fedora.

I don't know about file sharing with Samba I'm afraid, last time I used it was 10 years ago and I can't remember much about it...
Reply With Quote
  #7  
Old 18th May 2012, 09:19 AM
GuyLev Offline
Registered User
 
Join Date: May 2012
Location: Israel
Posts: 4
linuxchrome
Re: Having problems with sharing HD

Quote:
Originally Posted by Gareth Jones View Post
It would have been better to put this in a separate post with it's own title. Do you mean the fonts in the graphical desktop? If so try Infinality (http://www.infinality.net/blog/) – it's a modification to the font rendering code and configuration that many of us are using to improve the fonts. There are a couple of threads on the forum about it, and information on the website about how to install it in Fedora.

I don't know about file sharing with Samba I'm afraid, last time I used it was 10 years ago and I can't remember much about it...
thank you for your comment.
I've edited the first post and removed the fonts problem.
I'm still having problems with sharing my folders
I've edited fstab and found out what I did wrong.
instead of fat as file system I've entered vfat and now its auto mounting.
However I can't write anything to the new hd. I have permissions only to read.
Plus when trying to access the folder via windows machine I am prompt to give username and password and it doesn't accept my username and password.

Thank you again.
Reply With Quote
Reply

Tags
problems, sharing

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Internet Sharing Problems rfleming Servers & Networking 5 12th February 2007 12:29 PM
Download problems with Net sharing mimmo Servers & Networking 1 10th January 2007 11:58 PM
Samba file sharing and printer sharing problems.. fedoranewboydaz Servers & Networking 1 11th October 2006 11:06 AM
Problems sharing internet connection jigarzon Servers & Networking 7 2nd April 2006 12:37 AM
Problems sharing files with XP box brandonb Using Fedora 1 8th July 2005 07:30 PM


Current GMT-time: 06:39 (Tuesday, 29-07-2014)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat