Open Konsole by going to → → .
要列出已掛載的裝置,輸以下列指令然後按輸入 鍵:
mount
列表就會顯示裝置 (例如硬碟分割區)、掛載點 (用來存取檔案的位置)、檔案系統種類及掛載選項。
本項例子以hda2 硬碟分割區掛載為 '/',檔案系統為 ext3。掛載分割區有兩個選項:可以容許裝置讀取及寫入;另一個選項是出現任何錯誤下裝置將重新掛載為只能讀取。
/dev/hda2 on / type ext3 (rw,errors=remount-ro)
請參考步驟4 有關NTFS 裝置;請參考步驟5有關 FAT32 裝置;NTFS 只容許 讀取 而 FAT32則容許 讀取及 寫入 。
Open Konsole by going to → → .
首先,建立打算掛載分割區的目錄位置。方法是輸入下列的指令然後按輸入鍵(假如問及密碼,就請輸入你的用戶密碼然後按輸入鍵):
sudo mkdir /media/windows
下一步,輸入以下指令來掛載NTFS 視窗分割區並只容許讀取資料,然後按 輸入 鍵 (假如問及密碼,就請輸入你的用戶密碼然後按輸入 鍵):
sudo mount /dev/hdaX /media/windows/ -t ntfs -o ro,umask=0222
假如你的視窗分割區使用FAT32 檔案系統,是能夠安全地容許讀取及寫入資料。方法是輸入下列的指令然後按輸入 鍵(假如問及密碼,就請輸入你的用戶密碼然後按輸入 鍵):
sudo mount /dev/hdaX /media/windows/ -t vfat -o umask=0000
以你的正確分區裝置名稱更改/dev/hdaX。
要卸載分割區,請輸入下列指令然後按輸入 鍵(假如問及密碼,就請輸入你的用戶密碼然後按輸入 鍵):
sudo umount /media/windows/
Open Konsole by going to → → .
首先,建立打算掛載分割區的目錄位置。方法是輸入下列的指令然後按輸入鍵(假如問及密碼,就請輸入你的用戶密碼然後按輸入鍵):
sudo mkdir /media/windows
下一步,把你掛載裝置的設定檔案備份,以管理權限在文字編輯器打開檔案。輸入以下指令然後按 輸入 鍵 (假如問及密碼,就請輸入你的用戶密碼然後按輸入鍵):
sudo cp /etc/fstab /etc/fstab_backup
按下Alt+F2來編輯你的/etc/fstab
,然後在Run Command對話匣輸入kdesu kate /etc/fstab
然後按 鍵。
If your Windows partition uses the NTFS filesystem, append the following line at the end of file:
/dev/hdaX /media/windows ntfs ro,umask=0222 0 0
If your Windows partition uses the FAT32 filesystem, it is safe to allow read-write access to the partition. Append the following line at the end of the file:
/dev/hdaX /media/windows vfat umask=0000 0 0
instead of the one above.
以你的正確分區裝置名稱更改/dev/hdaX。
儲存及關閉所編輯的檔案。
Open Konsole by going to → → .
At the prompt, type the following and then press the Enter key (if asked for a password, enter your user password and press the Enter key):
sudo mount -a
有時你可以在系統開始時加入自訂的指令,從而讓電腦每次啟動時執行。請參閱以下步驟如何設定。
Open Konsole by going to → → .
以管理權限編輯 crontab,在終端機輸入下列指令然後按 輸入 鍵。(假如問及密碼,就請輸入你的用戶密碼然後按輸入鍵):
sudo crontab -e
插入以下行列:
@reboot /home/user/command
以你指令的全部路徑代替/home/user/command
Save the file and exit. If using Nano as the default command line editor, press Ctrl+X followed by Y for Yes and then the Enter key.
Open Konsole by going to → → .
把你的開機設定檔備份。在終端機輸入下列指令然後按 輸入 鍵 (假如問及密碼,就請輸入你的用戶密碼然後按輸入鍵):
sudo cp /boot/grub/menu.lst /boot/grub/menu.lst_backup
Edit the menu.lst
file by pressing
Alt+F2 and then typing
kdesu kwrite /boot/grub/menu.lst
followed by pressing
the button.
找尋該行:
... 預設 0 ...
然後以這行替代:
預設 X_次序
。
儲存及關閉所編輯的檔案。
開機選單是預設為隱藏的,你需要按下 Esc 來查閱開機選單。根據以下步驟,開機選單就會預設為顯示。
Open Konsole by going to → → .
把你的開機設定檔備份。在終端機輸入下列指令然後按 輸入 鍵 (假如問及密碼,就請輸入你的用戶密碼然後按輸入鍵):
sudo cp /boot/grub/menu.lst /boot/grub/menu.lst_backup
Edit the menu.lst
file by pressing
Alt+F2 and then typing
kdesu kwrite /boot/grub/menu.lst
in the Run
Command dialog followed by pressing the
button.
Locate the following line:
# hiddenmenu
and uncomment it by removing the # in front of the line so that it looks like:
hiddenmenu
儲存及關閉所編輯的檔案。
Open Konsole by going to → → .
把你的開機設定檔備份。在終端機輸入下列指令然後按 輸入 鍵 (假如問及密碼,就請輸入你的用戶密碼然後按輸入鍵):
sudo cp /boot/grub/menu.lst /boot/grub/menu.lst_backup
Edit the menu.lst
file by pressing
Alt+F2 and then typing
kdesu kwrite /boot/grub/menu.lst
in the Run
Command dialog followed by pressing the
button.
找尋該行:
... timeout 3 ...
然後以這行替代:
等待時間 X_seconds
。
儲存及關閉所編輯的檔案。