Results 1 to 3 of 3
When I plug in (Root) the USB external hard drive, I get the following error in Dolphin:
"...the system responded: (mntent): line 12 in /etc/fstab is bad
(mntent): warning: no ...
- 09-13-2009 #1Just Joined!
- Join Date
- Dec 2008
- Posts
- 44
[SOLVED] external hard drive error
When I plug in (Root) the USB external hard drive, I get the following error in Dolphin:
"...the system responded: (mntent): line 12 in /etc/fstab is bad
(mntent): warning: no final newline at the end of /etc/fstab
(mntent): line 13 in /etc/fstab is bad
mount: can't find /dev/sdd1 in /etc/fstab or /etc/mtab"
Please advise on how to get to the external hard drive.
For your reference, the fdisk -l output...
Disk /dev/sda: 6448 MB, 6448619520 bytes
255 heads, 63 sectors/track, 784 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xba89b1f8
Device Boot Start End Blocks Id System
/dev/sda1 1 783 6289416 7 HPFS/NTFS
Disk /dev/sdb: 40.0 GB, 40020664320 bytes
255 heads, 63 sectors/track, 4865 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x2bfb2bfb
Device Boot Start End Blocks Id System
/dev/sdb1 * 1 2433 19543041 c W95 FAT32 (LBA)
/dev/sdb2 2434 4865 19535040 f W95 Ext'd (LBA)
/dev/sdb5 2434 4865 19535008+ b W95 FAT32
Disk /dev/sdc: 41.1 GB, 41110142976 bytes
255 heads, 63 sectors/track, 4998 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x46d346d2
Device Boot Start End Blocks Id System
/dev/sdc1 * 2 2611 20964825 83 Linux
Disk /dev/sdd: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xdcc13d25
Device Boot Start End Blocks Id System
/dev/sdd1 1 5099 40957686 7 HPFS/NTFS
/dev/sdd2 5100 9729 37190475 f W95 Ext'd (LBA)
/dev/sdd5 5100 9729 37190443+ 7 HPFS/NTFS
- 09-13-2009 #2Linux Guru
- Join Date
- Jan 2009
- Location
- Dover, NH
- Posts
- 1,633
I'll assume you're running Gnome.
Linux complains when the fstab (and a few other configuration files) doesn't end with a blank line... the last entry may not be recognized.
[Alt + F2] to bring up the run dialog. Type in gksu gedit /etc/fstab
The next dialog will ask your root password
When the editor loads, go to the bottom of the file, end of the last line, and simply press ENTER. Save the file.
---
Alternate commands for other environments:
KDE: kdesu kate /etc/fstab
Command Line: (as root) pico /etc/fstab
- 09-13-2009 #3Just Joined!
- Join Date
- Dec 2008
- Posts
- 44
had to change the force value too
works, thanks!


