Welcome to Linux Forums!

With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.

Linux Forum ArticlesLinux ForumsLinux Forum DownloadsLinux Hosts
Home|Register|FAQ|Member List|Calendar|Unanswered Posts|Forum Rules|Today's Posts|Advanced Search|
SEARCH FOR IN
Go Back   Linux Forums > Your Distro > Redhat / Fedora Linux Help
Reload this Page mount ntfs partitions automaticaly during booting
Linux Forums
Linux Forums
Welcome To The Linux Forums!
Welcome to Linux Forums. We pride ourselves in being one of the largest Linux communities on the web, we encourage you to REGISTER on our forums and participate in the community. There are over 150,000 members ready to answer your questions. JOINING US today will allow you to make new posts, get support, send messages to other members and submit downloads to our downloads directory and many other great features!

Redhat / Fedora Linux Help Help and discussion related to Redhat and Fedora Linux.

Reply
 
Thread Tools Display Modes
Old 05-13-2008   #1 (permalink)
sumeshkk
Just Joined!
 
Join Date: Dec 2007
Posts: 24
mount ntfs partitions automaticaly during booting

i installed fedora7 and i mounted all partitions sucfuly and edited /etc/fstab.But when i restart the system the fedora does not mount the system automaticaly,i want to use mount -a all the time the system starting how can i solve this problem?.
sumeshkk is offline   Reply With Quote
Old 05-13-2008   #2 (permalink)
digvijay.gahlot
Just Joined!
 
Join Date: Mar 2008
Location: Hyderabad
Posts: 88
/dev/hda1 /mnt/Xp/c msdos defaults 0 0
/dev/hda3 /mnt/Xp/d ntfs-3g defaults 0 0

Did you write ntfs-3g for your NTFS entries.
Check your format of fstab too. If you were able to successfully mount all partitions eariler correct fstab entries will mount all of them for you.
If you still get errors show your fstab entries.
digvijay.gahlot is offline   Reply With Quote
Old 05-13-2008   #3 (permalink)
sumeshkk
Just Joined!
 
Join Date: Dec 2007
Posts: 24
thank u for ur replay
it not working
my fstab is

LABEL=/ / ext3 defaults 1 1
tmpfs /dev/shm tmpfs defaults 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
sysfs /sys sysfs defaults 0 0
proc /proc proc defaults 0 0
LABEL=SWAP-sda8 swap swap defaults 0 0
/dev/sda1 /home/sumesh/xp ntfs-3g defaults 0 0
/dev/sda5 /home/sumesh/ent ntfs-3g rw,auto,user,sync 0 0
/dev/sda6 /home/sumesh/soft ntfs-3g defaults 0 0
sumeshkk is offline   Reply With Quote
Old 05-13-2008   #4 (permalink)
devils casper
Ghost
 
devils casper's Avatar
 
Join Date: Jun 2006
Location: Chandigarh, INDIA
Posts: 17,341
Send a message via Yahoo to devils casper
Quote:
/dev/sda1 /home/sumesh/xp ntfs-3g defaults 0 0
/dev/sda5 /home/sumesh/ent ntfs-3g rw,auto,user,sync 0 0
/dev/sda6 /home/sumesh/soft ntfs-3g defaults 0 0
Try this
Code:
/dev/sda1 /home/sumesh/xp ntfs-3g defaults,umask=0 0 0
/dev/sda5 /home/sumesh/ent ntfs-3g defaults,umask=0 0 0
/dev/sda6 /home/sumesh/soft ntfs-3g defaults,umask=0 0 0
In case it doesn't work, post the output of this
Code:
su -
/sbin/fdisk -l
df -h
__________________
New Users: Read This First
If you woke up breathing, Congratulations! You get another chance.

devils casper is offline   Reply With Quote
Old 05-13-2008   #5 (permalink)
sumeshkk
Just Joined!
 
Join Date: Dec 2007
Posts: 24
its not working
on start up echo
mounting local file systems [failed]
every time shows like that
the /sbin/fdisk -1 is not working
the o/p of the above command is

[root@localhost ~]# su -
[root@localhost ~]# /sbin/fdisk -1
/sbin/fdisk: invalid option -- 1

Usage: fdisk [-b SSZ] [-u] DISK Change partition table
fdisk -l [-b SSZ] [-u] DISK List partition table(s)
fdisk -s PARTITION Give partition size(s) in blocks
fdisk -v Give fdisk version
Here DISK is something like /dev/hdb or /dev/sda
and PARTITION is something like /dev/hda7
-u: give Start and End in sector (instead of cylinder) units
-b 2048: (for certain MO disks) use 2048-byte sectors
[root@localhost ~]# /sbin/fdisk -l

Disk /dev/sda: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/sda1 * 1 1913 15366141 7 HPFS/NTFS
/dev/sda2 1914 9728 62773987+ f W95 Ext'd (LBA)
/dev/sda5 1914 5228 26627706 7 HPFS/NTFS
/dev/sda6 5229 8543 26627706 7 HPFS/NTFS
/dev/sda7 8544 9588 8393931 83 Linux
/dev/sda8 9589 9728 1124518+ 82 Linux swap / Solaris
[root@localhost ~]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sda7 7.8G 3.5G 4.0G 47% /
tmpfs 501M 0 501M 0% /dev/shm
[root@localhost ~]#
sumeshkk is offline   Reply With Quote
Old 05-13-2008   #6 (permalink)
devils casper
Ghost
 
devils casper's Avatar
 
Join Date: Jun 2006
Location: Chandigarh, INDIA
Posts: 17,341
Send a message via Yahoo to devils casper
I think you have enable SeLinux and its preventing automount partitions.
Log in as root user and open /etc/selinux/config file.
Replace
Code:
SELINUX=restrictive
with
Code:
SELINUX=permissive
Save file and reboot machine.
__________________
New Users: Read This First
If you woke up breathing, Congratulations! You get another chance.

devils casper is offline   Reply With Quote
Old 05-13-2008   #7 (permalink)
sumeshkk
Just Joined!
 
Join Date: Dec 2007
Posts: 24
YOU ARE GREAT MAN GREAT, YOU DONE IT!
my problem is solved thank you my dear pal
sumeshkk is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


All times are GMT. The time now is 06:24 AM.

Powered by vBulletin 3.6.8 ©2000 - 2007, content relevant URLs by vBSEO, Property of Core Root.

Content Relevant URLs by vBSEO 3.0.0