Gå til innhold

[Løst] Bad line /etc/fstab


Fauskin

Anbefalte innlegg

Jeg har litt problem i /etc/fstab. Jeg får feilmelding når jeg forsøker å mount enheter i fstab. Men jeg kan mounte disken manuelt.

 sudo mount -a
[mntent]: line 14 in /etc/fstab is bad

 

Innholdet i /etc/fstab

# /etc/fstab: static file system information.
#
# Use 'blkid -o value -s UUID' to print the universally unique identifier
# for a device; this may be used with UUID= as a more robust way to name
# devices that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
proc            /proc           proc    nodev,noexec,nosuid 0       0
# / was on /dev/sda1 during installation
UUID=ca815591-b12d-4d84-bcd2-7dfdb271e877 /               ext4    errors=remount-ro 0       1
# swap was on /dev/sda5 during installation
UUID=0c4dfc8a-2d77-4a4f-8f00-d8e6c8e0e769 none            swap    sw              0       0
/dev/fd0        /media/floppy0  auto    rw,user,noauto,exec,utf8 0       0
/dev/sdd1       /samba/Media    auto    default         ext3    0       1

 

Følgende monterer disken helt fint.

sudo mount /dev/sdd1 /samba/Media/

 

dmesg | tail
[499783.928065] VFS: Can't find ext3 filesystem on dev sdb.
[613817.784824] kjournald starting.  Commit interval 5 seconds
[613817.785242] EXT3 FS on sdd1, internal journal
[613817.785246] EXT3-fs: mounted filesystem with ordered data mode.
[617626.100344] kjournald starting.  Commit interval 5 seconds
[617626.100681] EXT3 FS on sdd1, internal journal
[617626.100687] EXT3-fs: mounted filesystem with ordered data mode.
[661187.400310] kjournald starting.  Commit interval 5 seconds
[661187.400661] EXT3 FS on sdd1, internal journal
[661187.400667] EXT3-fs: mounted filesystem with ordered data mode.

 

Hvis noen kan peke ut feilen til meg så hadde det vært kjempefint!

Lenke til kommentar
Videoannonse
Annonse

Du har default i stedet for defaults

 

Oops.. Det er rettet nå, men jeg får fortsatt feil..

# /etc/fstab: static file system information.
#
# Use 'blkid -o value -s UUID' to print the universally unique identifier
# for a device; this may be used with UUID= as a more robust way to name
# devices that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
proc            /proc           proc    nodev,noexec,nosuid 0       0
# / was on /dev/sda1 during installation
UUID=ca815591-b12d-4d84-bcd2-7dfdb271e877 /               ext4    errors=remount-ro 0       1
# swap was on /dev/sda5 during installation
UUID=0c4dfc8a-2d77-4a4f-8f00-d8e6c8e0e769 none            swap    sw              0       0
/dev/fd0        /media/floppy0  auto    rw,user,noauto,exec,utf8 0       0
/dev/sdd1       /samba/Media    auto    defaults                ext3    0       1

Lenke til kommentar

Opprett en konto eller logg inn for å kommentere

Du må være et medlem for å kunne skrive en kommentar

Opprett konto

Det er enkelt å melde seg inn for å starte en ny konto!

Start en konto

Logg inn

Har du allerede en konto? Logg inn her.

Logg inn nå
  • Hvem er aktive   0 medlemmer

    • Ingen innloggede medlemmer aktive
×
×
  • Opprett ny...