Partition misaligned - Linux
By Jack
at 2010-04-26T21:17
at 2010-04-26T21:17
Table of Contents
我成功了,調整過程如下:
用 LiveCD or LiveUSB 開機,備份 /home 下的東東
( 我的 /home 是獨立的 partition )
sudo cp -Rp /mnt/home/* /mnt2/backup/
然後用 fdisk 調整 partition table
除了 /dev/sda1 不動,刪掉其他的partition,
在重設 partition 時以 sector 為單位,小心的將 partition 分在正確的地方,
設定好了以後,再重新格式化新的分區。並 resize /dev/sda1 把多出來的空間
分割進去。最後把剛剛備份的放回去。
sudo cp -Rp /mnt2/backup/* /mnt/home/
現在的分割:
Disk /dev/sda: 320.1 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders, total 625142448 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0x423e2fd4
Device Boot Start End Blocks Id System
/dev/sda1 * 2048 97675199 48836576 83 Linux
/dev/sda2 97675200 625142447 263733624 5 Extended
/dev/sda5 97675264 614656624 258490680+ 83 Linux
/dev/sda6 614656688 625142447 5242880 82 Linux swap / Solaris
現在就沒問題了,沒有 misalignment 的警告了。
謝謝大家的幫忙! bow
--
用 LiveCD or LiveUSB 開機,備份 /home 下的東東
( 我的 /home 是獨立的 partition )
sudo cp -Rp /mnt/home/* /mnt2/backup/
然後用 fdisk 調整 partition table
除了 /dev/sda1 不動,刪掉其他的partition,
在重設 partition 時以 sector 為單位,小心的將 partition 分在正確的地方,
設定好了以後,再重新格式化新的分區。並 resize /dev/sda1 把多出來的空間
分割進去。最後把剛剛備份的放回去。
sudo cp -Rp /mnt2/backup/* /mnt/home/
現在的分割:
Disk /dev/sda: 320.1 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders, total 625142448 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0x423e2fd4
Device Boot Start End Blocks Id System
/dev/sda1 * 2048 97675199 48836576 83 Linux
/dev/sda2 97675200 625142447 263733624 5 Extended
/dev/sda5 97675264 614656624 258490680+ 83 Linux
/dev/sda6 614656688 625142447 5242880 82 Linux swap / Solaris
現在就沒問題了,沒有 misalignment 的警告了。
謝謝大家的幫忙! bow
--
Tags:
Linux
All Comments
By Lauren
at 2010-04-29T02:28
at 2010-04-29T02:28
By Lily
at 2010-04-30T21:42
at 2010-04-30T21:42
By Mary
at 2010-05-04T00:22
at 2010-05-04T00:22
By Genevieve
at 2010-05-05T19:26
at 2010-05-05T19:26
Related Posts
請問xp與linux
By Anonymous
at 2010-04-26T21:04
at 2010-04-26T21:04
如何使用另外一個硬碟上的 Linux System
By Hamiltion
at 2010-04-26T14:30
at 2010-04-26T14:30
vsftp開機自動執行
By Carolina Franco
at 2010-04-26T13:39
at 2010-04-26T13:39
列印pdf檔投影片
By Linda
at 2010-04-26T03:03
at 2010-04-26T03:03
裝顯卡後原來主機板的D-sub接頭變沒用了?
By Bethany
at 2010-04-25T23:54
at 2010-04-25T23:54