掛載硬碟

如果您覺得您的問題不屬於 debian desktop 或是 debian server 版的範圍內,請在這裡發問。

版主: mufa

掛載硬碟

文章訪客 » 週四 5月 12, 2011 9:41 am

請問如何掛載硬碟?
剛剛安裝Debian 系統的時候,有一個分割區無法掛載
系統安裝好以後,也看不到這個分割區
請問如何檢查這個分割區是否存在與如何掛載此區?
訪客
 

Re: 掛載硬碟

文章t47320 » 週四 5月 12, 2011 11:10 am

sudo fdisk /dev/sdx -l #查看硬碟分割區,通常sdx = sda, sdb, sdc, 看你裝了幾個硬碟,可以依序輸入查看看。

Device Boot 欄位就是你能掛載的partition

然後建立一個資料夾
mkdir abc

掛載
sudo mount /dev/sda1 abc

進入abc目錄,即可看到東東了。另外常用的 -t 可以指定掛載的類型,詳請可以問看看男人。
t47320
可愛的小學生
可愛的小學生
 
文章: 8
註冊時間: 週五 3月 23, 2007 3:51 pm
來自: 苗栗

Re: 掛載硬碟

文章sppmg » 週四 5月 12, 2011 11:20 am

無法掛載可能和你的檔案系統有關喔!
系統的威力來自於程式的相互關係, 而非來自程式本身
is the idea that the power of a system comes more from the relationships among programs than from the programs themselves.

(英文語法怪怪的......誰能提供完整的版本?)
sppmg
活潑的高中生
活潑的高中生
 
文章: 317
註冊時間: 週五 8月 04, 2006 3:47 pm
來自: 臺灣

Re: 掛載硬碟

文章訪客 » 週四 5月 12, 2011 6:37 pm

嘗試以後卻給出了這樣的結果
/home/gaga# mount -t vfat /dev/sda6 /media/data
mount: wrong fs type, bad option, bad superblock on /dev/sda6,
missing codepage or helper program, or other error
In some cases useful info is found in syslog - try
dmesg | tail or so
訪客
 

Re: 掛載硬碟

文章sppmg » 週五 5月 13, 2011 9:00 am

可能是檔案系統損壞或是debian 不認得
你確定是vfat嗎?(不是ntfs?)
如果是ntfs就要看一下你系統是否支援。
不然可能是安裝debian時的分割動作破壞到分割表(雖然非人為因素的破壞機率很小,但以我的經驗是有可能)
系統的威力來自於程式的相互關係, 而非來自程式本身
is the idea that the power of a system comes more from the relationships among programs than from the programs themselves.

(英文語法怪怪的......誰能提供完整的版本?)
sppmg
活潑的高中生
活潑的高中生
 
文章: 317
註冊時間: 週五 8月 04, 2006 3:47 pm
來自: 臺灣

Re: 掛載硬碟

文章訪客 » 週五 5月 13, 2011 8:19 pm

to sppmg,
from the preface of the book, The Unix Programming Environment, by Brian W. Kernighan and Rob Pike( ISBN-10: 0139376992 or 013937681X ):

Even though the UNIX system introduces a number of innovative programs and techniques, no single program or idea makes it work well. Instead, what makes it effective is an approach to programming, a philosophy of using the computer. Although that philosophy can't be written down in a single sentence, at its hearts is the idea that the power of a system comes more from the relationships among programs than from the programs themselves. Many UNIX programs do quite trivial tasks in isolation, but, combined with other programs, become general and useful tools.
訪客
 

Re: 掛載硬碟

文章訪客 » 週五 5月 13, 2011 9:41 pm

Thank you for inspiring me to skim another book, The UNIX Philosophy, by Mike Gancarz. This book shows:

*UNIX philosophy in a nutshell:
1. Small is beautiful.
2. Make each program do one thing well.
3. Build a prototype as soon as possible.
4. Choose portability over efficiency.
5. Store numerical data in flat ASCII files.
6. Use software leverage to your advantage.
7. Use shell scripts to increase leverage and portability.
8. Avoid captive user interfaces.
9. Make every program a filter.

*10 lesser tenets and/or ideas tend to be part of the UNIX world's belief system:
1. Allow the user to tailor the environment.
2. Make operating system kernels small and lightweight.
3. Use lower case and keep it short.
4. Save trees. (paperless)
5. Silence is golden.
6. Think parallel.
7. The sum of the parts is greater than the whole.
8. Look for the 90 percent solution.
9. Worse is better.
10. Think hierarchically.
訪客
 


回到 debian misc

誰在線上

正在瀏覽這個版面的使用者:沒有註冊會員 和 1 位訪客