|
最近想在slackware 10上安装oracle 10g看看。
首先在看Oracle® Database Quick Installation Guide 的时候,里面的4 Check the Hardware Requirements 提到要Swap space 1 GB (1048576 KB) or twice the size of RAM
因为内存最少是512M,所以Swap space最小也要1GB。
还给出了查看命令
grep SwapTotal /proc/meminfo
我用此命令查看后发现我的slackware 10g的swap space居然是0k
- root@slackware:~# grep SwapTotal /proc/meminfo
- SwapTotal: 0 kB
复制代码
我又用fdisk /dev/hda* -l查看
- root@slackware:~# fdisk /dev/hda* -l
- Disk /dev/hda: 8455 MB, 8455200768 bytes
- 255 heads, 63 sectors/track, 1027 cylinders
- Units = cylinders of 16065 * 512 = 8225280 bytes
- Device Boot Start End Blocks Id System
- /dev/hda1 * 1 936 7518388+ 83 Linux
- /dev/hda2 937 1027 730957+ 82 Linux swap
- Disk /dev/hda1: 7698 MB, 7698829824 bytes
- 255 heads, 63 sectors/track, 935 cylinders
- Units = cylinders of 16065 * 512 = 8225280 bytes
- Device Boot Start End Blocks Id System
- Disk /dev/hda2: 748 MB, 748500480 bytes
- 255 heads, 63 sectors/track, 91 cylinders
- Units = cylinders of 16065 * 512 = 8225280 bytes
- Disk /dev/hda2 doesn't contain a valid partition table
复制代码
请问Disk /dev/hda2 doesn't contain a valid partition table是什么意思?
我的/dev/hda2应该就是swap的,怎么提示没有包含一个有效的分区表呢?
请问我该如何修复这个问题呀?
还望各位兄弟多多帮忙 |
|