Ubuntu Linux 16.04が初期化された後に/ etc / fstabを変更できますか?

Ubuntu Linux 16.04が初期化された後に/ etc / fstabを変更できますか?

Lenovo Thinkstationデスクトップで実行されているUbuntu Linux 16.04システムで/ etc / fstabを初期化した後に修正しました。 Ubuntu Linux 16.04システムがめちゃくちゃになり、無限のパニックリブート状態になりました。

この事故の原因とシンボル名を変更するために/etc/fstabを正しく修正する方法を知りたいです。

どんな助けでも大変感謝します。

[Frankによって2016年5月24日午後2時に編集されました]緊急再起動後、/ etc / fstabが私の下で変更されました。

元のテキストは次のとおりです。

Data1 /media/Data1 vfat defaults 0 1 

# /etc/fstab: static file system information.
#
# Use 'blkid' 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>
# / was on /dev/sdb7 during installation
UUID=71f42e33-6984-4905-9932-17cd4adb7b41 /               ext4    errors=remount-ro 0       1
# swap was on /dev/sdb5 during installation
UUID=0a3b409b-f7bf-4a22-a05f-0dc35e1bb111 none            swap    sw              0       0
/dev/fd0        /media/floppy0  auto    rw,user,noauto,exec,utf8 0       0

ベストアンサー1

はい、Ubuntu Linux 16.04が初期化された後に/ etc / fstabを変更できます。

/etc/fstabをsudo nano /etc/rc.localに修正して問題の原因を絞り込みました。

e.g. Add these lines before the exit line:
     sleep 30
     sudo mount -a
     exit
     exit 0

USBドライブの起動に時間がかかるため、この自動マウントが失敗する可能性があります。

おすすめ記事