Results 1 to 3 of 3
OK, so i have downloaded ntfs support kernel in my redhat 9.0. This is great because i can now mount my ntfs disk using the command:
Code:
[root@localhost mnt]# mount ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 12-02-2005 #1Just Joined!
- Join Date
- Nov 2005
- Location
- Bristol UK
- Posts
- 15
ARRRGGGHHH!!!! HELP::: My fstab file
OK, so i have downloaded ntfs support kernel in my redhat 9.0. This is great because i can now mount my ntfs disk using the command:
However, I want to connect to this disk at startup, so i have edited my fstab file, it now looks like:Code:[root@localhost mnt]# mount /dev/hdb1 /mnt/winxp -t ntfs [root@localhost mnt]# ls /mnt/winxp AUDIO BOOKS CD IMAGES ETOMI IO.SYS MATTS MUSIC MSDOS.SYS NTDETECT.COM SNES ROMS WEBSITE AUTOEXEC.BAT CONFIG.SYS GAMES K750i MATTS PICTURES MSOCache ntldr System Volume Information boot.ini EMAILS ICONS MATTS MOVIES MATTS WORK N64 RECYCLER USMT.TMP
To me, this looks fine! However, when i type: mount winxp, I get the following errors:Code:LABEL=/ / ext3 defaults 1 1 LABEL=/boot /boot ext3 defaults 1 2 none /dev/pts devpts gid=5, mode=620 0 0 none /proc proc defaults 0 0 none /dev/shm tmpfs defaults 0 0 /dev/hda5 swap swap defaults 0 0 /dev/fd0 /mnt/floppy auto noauto,owner,kudzu 0 0 /dev/cdrom /mnt/cdrom udf, iso9660 noauto,owner,kudzu,ro 0 0 /dev/cdrom1 /mnt/cdrom1 udf, iso9660 noauto,owner,kudzu,ro 0 0 LABEL=winxp /dev/hdb1 /mnt/winxp ntfs ro 1 0 LABEL=usb /dev/sda1 /mnt/usb vfat -t
The same goes for the case when i try to mount my usb pendrive, i get the output:Code:[root@localhost mnt]# mount winxp [mntent]: line 3 in /etc/fstab is bad [mntent]: line 8 in /etc/fstab is bad [mntent]: line 9 in /etc/fstab is bad [mntent]: line 10 in /etc/fstab is bad [mntent]: warning: no final newline at the end of /etc/fstab [mntent]: line 11 in /etc/fstab is bad; rest of file ignored mount: /dev/hdb1 already mounted or /mnt/winxp busy mount: according to mtab, /dev/hdb1 is already mounted on /mnt/winxp
BUT: there is the directorys usb and winxp in my /mnt directory:Code:[mntent]: line 3 in /etc/fstab is bad [mntent]: line 8 in /etc/fstab is bad [mntent]: line 9 in /etc/fstab is bad [mntent]: line 10 in /etc/fstab is bad [mntent]: warning: no final newline at the end of /etc/fstab [mntent]: line 11 in /etc/fstab is bad; rest of file ignored mount: can't find usb in /etc/fstab or /etc/mtab
Code:[root@localhost mnt]# ls /mnt cdrom cdrom1 documents floppy usbstick winxp
If anyone could help that would be v.much appriciated! ...I am fairly new to linux, so please bear with me!!! ...I just dont want to have to type the full mount commands for my usbstick and winxp disk whenever i want to access data on them!!!!!
[/code]
- 12-02-2005 #2
I'm not sure but the "LABEL=..." comments in those two entries don't look quite right to me. This is my ntfs entry,
Code:/dev/hda1 /mnt/windows/C ntfs ro,users,gid=users,umask=0002,nls=utf8 0 0
Registered Linux user #388328 || Registered LFS user #15880
AMD 64 X2 4600+ :: 2X1GB DDR2 800 :: GeForce 9400 GT 512MB :: ASUS M2N32 Deluxe :: 4X250GB SATAII
Need instant help? Try us on IRC -- #linuxforums on freenode
- 10-06-2008 #3




