 |
 |
 |
 |
| Installation and Live Media Help with Installation & Live Media (Live CD, USB, DVD) problems. |

10th August 2005, 03:16 PM
|
|
Registered User
|
|
Join Date: Jun 2005
Location: Texas
Age: 41
Posts: 676

|
|
|
Fstab driving me crazy
Ok, so I had WindowsXP 64 and it was buggy, so I reinstalled 32 bit Pro again.
This time I fomatted a 20G partition for it, and reformatted the rest, approximately 55G as a FAT32, so I could share files between FC4 and Windows. So I go try to use "rescue linux" and install disc to try to reinstall grub, but to no avail, as I was looking in the wrong place (but that is another story), so I reinstalled. FC4 on MBR everything works fine.
I installed the NTFS support, everything went peachy, now I can see windows, and my external. BUT when I reboot, my Windows entry AND the entry for /dev/hda5 (the FAT32 partition) dissappear from /etc/fstab.
When I use I get...
Code:
Device Boot Start End Blocks Id System
/dev/hda1 * 1 2549 20474811 7 HPFS/NTFS
/dev/hda2 2550 9733 57705480 f W95 Ext'd (LBA)
/dev/hda5 2550 9733 57705448+ b W95 FAT32
This is my /etc/fstab....
Code:
# This file is edited by fstab-sync - see 'man fstab-sync' for details
/dev/VolGroup00/LogVol00 / ext3 defaults 1 1
LABEL=/boot /boot ext3 defaults 1 2
/dev/devpts /dev/pts devpts gid=5,mode=620 0 0
/dev/shm /dev/shm tmpfs defaults 0 0
/dev/proc /proc proc defaults 0 0
/dev/sys /sys sysfs defaults 0 0
/dev/VolGroup00/LogVol01 swap swap defaults 0 0
/dev/sdb1 /media/Johns_HDD ntfs pamconsole,exec,noauto,managed 0 0
/dev/sda1 /media/MINIHDD vfat pamconsole,exec,noauto,managed 0 0
/dev/fd0 /media/floppy auto pamconsole,exec,noauto,managed 0 0
/dev/hdd /media/cdrecorder auto pamconsole,exec,noauto,managed 0 0
/dev/hdc /media/cdrecorder1 auto pamconsole,exec,noauto,managed 0 0
I am trying to modify it by adding....
Code:
/dev/hda5 /media/data FAT32 pamconsole,exec,noauto,managed 0 0
/dev/hda1 /media/windows NTFS pamconsole,exec,noauto,managed 0 0
Which gives access....till I reboot.
What do I need to add to the /etc/fstab to get them to mount? I would think they would with the same commands, but I guess not.
Anyway, thanks for reading my long post, and thanks in advance for any suggestions.
__________________
Windows 7 x64 | Ubuntu | i7 920 | EVGA x58 E758 | HIS HD 6870 | 12GB RAM | 6TB Storage
Last edited by 92b16vx; 10th August 2005 at 03:20 PM.
|

10th August 2005, 03:20 PM
|
 |
Registered User
|
|
Join Date: Jun 2005
Location: Italy
Posts: 1,108

|
|
Note this line in fstab:
This file is edited by fstab-sync - see 'man fstab-sync' for details
... and do as it sais
Try creating your mountpoints in the /mnt directory or wherever you want, but NOT in the /media directory.
__________________
- Captain...
- Yes, Spock?
- I can't believe my ears...
|

10th August 2005, 03:27 PM
|
|
Registered User
|
|
Join Date: Jun 2005
Location: Texas
Age: 41
Posts: 676

|
|
|
The manual does have anything that helps. I was doing them to media, snce hte external seemed to work with it, but yea, I am going to try again with auto mounting them to /mnt/folders instead.
__________________
Windows 7 x64 | Ubuntu | i7 920 | EVGA x58 E758 | HIS HD 6870 | 12GB RAM | 6TB Storage
|

10th August 2005, 03:32 PM
|
|
Registered User
|
|
Join Date: Jun 2005
Location: Texas
Age: 41
Posts: 676

|
|
I am pretty sure that
Code:
/dev/hda1 /mnt/windows auto gid=500,umask=002,noexec,nosuid 0 0
But I am not sure about the FAT32 partition, since it isn't NTFS, and I have never had to mount one before.
__________________
Windows 7 x64 | Ubuntu | i7 920 | EVGA x58 E758 | HIS HD 6870 | 12GB RAM | 6TB Storage
|

10th August 2005, 03:35 PM
|
 |
Registered User
|
|
Join Date: Jun 2005
Location: Italy
Posts: 1,108

|
|
|
I hate all the automount stuff, and I rather manage my device manually. I notice that the mountpoints in /media are dynamically created and deleted by who-knows-what, so if you put a line in fstab which has a mount point in that directory and which refers to a device that FC doesn't automatically mount by defaults (like windows partitions are), it will be wiped away next boot.
__________________
- Captain...
- Yes, Spock?
- I can't believe my ears...
|

10th August 2005, 03:42 PM
|
 |
Registered User
|
|
Join Date: Jun 2005
Location: Italy
Posts: 1,108

|
|
|
It's awhile I don't use these kind of partition, but I think that these should do the job.
/dev/hda1 /mnt/win-so ntfs defaults,umask=133,ro 0 0
/dev/hda5 /mnt/win-data vfat defaults,umask=133,rw 0 0
If they work and you won't find them next boot, you can consider
chattr +i fstab
but in that case you have to manually add the lines for your removable media (and to recreate the mountpoints in /mnt)
__________________
- Captain...
- Yes, Spock?
- I can't believe my ears...
|

10th August 2005, 03:54 PM
|
|
Registered User
|
|
Join Date: Jan 2004
Posts: 9

|
|
|
FYI
During the boot sequence when kudzu runs it will modify /etc/fstab to add the hardware that it found.
I believe this is where most of the entries get created for /media.
|

10th August 2005, 07:11 PM
|
|
Registered User
|
|
Join Date: Jun 2005
Location: Texas
Age: 41
Posts: 676

|
|
Quote:
|
Originally Posted by daneel971
It's awhile I don't use these kind of partition, but I think that these should do the job.
/dev/hda1 /mnt/win-so ntfs defaults,umask=133,ro 0 0
/dev/hda5 /mnt/win-data vfat defaults,umask=133,rw 0 0
If they work and you won't find them next boot, you can consider
chattr +i fstab
but in that case you have to manually add the lines for your removable media (and to recreate the mountpoints in /mnt)
|
Thanks, I'll try that
__________________
Windows 7 x64 | Ubuntu | i7 920 | EVGA x58 E758 | HIS HD 6870 | 12GB RAM | 6TB Storage
|
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
Current GMT-time: 11:32 (Thursday, 20-06-2013)
|
|
 |
 |
 |
 |
|
|