- 论坛徽章:
- 0
|
原帖由 wingguard 于 2006-7-14 12:16 发表
os RHAS4
用fdisk误删了linux的分区。并且w退出了。
退出时系统提示现在的分区忙不能删除。仍然使用老的分区。
启动后将使用新的分区。
请问,有办法在启动后保持原先的分区吗?
重新使用 fdisk 建立回原本的即可。
- # cat /proc/partitions
- major minor #blocks name
- 3 0 117220824 hda
- 3 1 56196 hda1
- 3 2 1 hda2
- 3 5 811251 hda5
- 3 6 4602591 hda6
- 3 7 3678853 hda7
- 3 8 3678853 hda8
- 3 9 1734988 hda9
- 3 10 98285638 hda10
- 3 11 4372200 hda11
复制代码
- # fdisk -l /dev/hda
- Disk /dev/hda: 120.0 GB, 120034123776 bytes
- 255 heads, 63 sectors/track, 14593 cylinders
- Units = cylinders of 16065 * 512 = 8225280 bytes
- Device Boot Start End Blocks Id System
- /dev/hda1 * 1 7 56196 83 Linux
- /dev/hda2 8 14594 117164596+ 5 Extended
- /dev/hda5 8 108 811251 82 Linux swap / Solaris
- /dev/hda6 109 681 4602591 83 Linux
- /dev/hda7 682 1139 3678853+ 83 Linux
- /dev/hda8 1140 1597 3678853+ 83 Linux
- /dev/hda9 1598 1813 1734988+ 83 Linux
- /dev/hda10 1814 14049 98285638+ 83 Linux
- /dev/hda11 14050 14594 4372200 83 Linux
复制代码
这样资讯应该可以比对对照一下。
當然,重新開機後就麻煩了,也許你需要其他工具幫你決定建立分割區的範圍....
http://spfdisk.sf.net/ 有個 dos 版的程式,有分割區掃描功能,你先測看看吧。
==
[ 本帖最后由 kenduest 于 2006-7-15 01:35 编辑 ] |
|