[問題] fstab 修改
小弟日前安裝 debian testing的時候
本來打算硬碟割兩區 /, /home
但誰知道在跑安裝程式的時候
我眼殘了
把 /home 那區選錯變 /boot
這幾天在用
突然出現 硬碟空間不足
才發現這件事
稍微找了一下 fstab 的用法
但是改了之後確無法登入了
只好上來求救…
以下是我的 /etc/fstab 檔內容:
# /etc/fstab: static file system information.
#
# Use 'vol_id --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 defaults 0 0
# / was on /dev/sda2 during installation
UUID=8cc1cf8d-93fe-4b76-97ab-21921a6d6aaa / ext4
errors=remount-ro 0 1
# /boot was on /dev/sda3 during installation
UUID=f93a1cc7-a745-4b32-baa3-764db520c5a8 /boot ext4 defaults
0 2
# swap was on /dev/sda5 during installation
UUID=eed1bd3a-4328-42fe-b1ad-f536ee0217df none swap sw
0 0
/dev/hda /media/cdrom0 udf,iso9660 user,noauto 0 0
請問有辦法直接修改就搞定嗎?
還有,現在 /home 裡的東西
需不需要先備份…
先謝謝大家看完我的問題
希望有人可以救救我…
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 118.169.161.61
討論串 (同標題文章)
以下文章回應了本文 (最舊先):
完整討論串 (本文為第 1 之 3 篇):