如何在不遺失資料的情況下修改分割區 - Linux

Edith avatar
By Edith
at 2011-10-20T15:08

Table of Contents

小弟目前使用的是CentOS
想跟各位版上的高手們請教一下,就是...
請問要如何在不遺失資料的情況下修改分割區大小?
因為我原本硬碟大約160GB
因為先前分割時沒有規畫好,想說在重新在不疑失資料的情況下,重新規劃
目前我分割分割區的方式是
/ <=40G
/home <=38G
swap <=2G


現在想要改成 100GB割給 /
57GB割給 /home
剩於所有空間swap

想請問一下版上的各位大大,像這種的要怎麼處理?
還是有什麼特別的工具可以使用呢?

謝謝

--
Tags: Linux

All Comments

Isla avatar
By Isla
at 2011-10-24T13:53
gparted...其實這東西很普通
Olive avatar
By Olive
at 2011-10-26T06:29
160GB實際大約只有149GB左右,沒辦法切成你想要的 XD
Belly avatar
By Belly
at 2011-10-29T04:32
backup your data!
Dinah avatar
By Dinah
at 2011-11-02T04:17
fdisk+resize2fs
Belly avatar
By Belly
at 2011-11-04T17:04
推gparted!這玩意這陣子用很兇,超好用.

在ubuntu灌gnome3...

Agnes avatar
By Agnes
at 2011-10-20T07:57
我用了ubuntu的apt-get install gnome-shell 結果http://imageshack.us/photo/my-images/31/20111020075035.png/ gnome panel很奇怪 系統是ubuntu11.10 64bit 是從ubuntu11.04 重 ...

undefined reference to...

Erin avatar
By Erin
at 2011-10-20T02:55
system: ubuntu 11.10 x86-64 libc6-dev已安裝 ld.conf include的目錄也確定沒錯(有用locate libpthread翻過) 同時也下了-lpthread 可是照樣出現undefined reference to `pthread_createand#39;的 ...

請教shellscript parse [ 1, 2 ] 中數字

Adele avatar
By Adele
at 2011-10-20T02:31
echo and#34;x [ 12, 34 ]and#34;|sed and#39;s/[^0-9]/ /gand#39;|awk and#39;{print$1==$2?and#34;equaland#34;:and#34;not equaland#34;}and#39; 想法: 將非數字全都替換成空白 ...

請問筆電可以切換內外顯嗎?

Christine avatar
By Christine
at 2011-10-19T23:00
想購入筆電,當外面租屋用的桌機。 看到聯想的i7筆電合我需求: http://goods.ruten.com.tw/item/show?21109075228131 是沙橋架構(AVX) 又有NV顯卡 可以玩CUDA 現在問題是,能在l ...

請教shellscript parse [ 1, 2 ] 中數字

Hedwig avatar
By Hedwig
at 2011-10-19T20:53
一行式 你會發現到 xargs 和sed真好用wwww.... echo and#34;asdfwer [ 1234, 3456 ]and#34;|sed and#39;s/[^[]*\[ \([0-9]*\), \([0-9]*\) \][^]]*/\[ \1 -eq \2 \]\andamp;\anda ...