系统安装、升级讨论
版面规则
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
-
自由建客
- 帖子: 13468
- 注册时间: 2008-07-30 23:21
- 系统: Debian stable AMD64
#1
帖子
由 自由建客 » 2009-07-09 21:08
4G RAM ,因不打算使用休眠,故未设交换空间。
网络安装,先安装好了基本系统,重启进入新系统后手动安装 xorg 显卡驱动成功后。安装 KDE (xfce 亦然)时,出现下面提示
代码: 全选
Configuring uswsusp
The swap file or partition that was found in uswsusp's configuration file is not active.
In most cases this means userspace software suspend will not work as expected. You should choose another swap space.
However, in some rare cases, this configuration may be intentional.
Continue without a valid swap space?
[Yes] [No]
随便选了 [Yes] 后,出现
代码: 全选
Configuring uswsusp
No suitable swap space for software suspend
To be able to suspend the system, uswsusp needs a swap partition or file to write a system snapshot to. No such space seems to be available for this.
You should create a swap partition or file, preferably twice the size of the system's physical RAM.
Then, run 'dpkg-reconfigure uswsusp' or edit the configuration file manually.
[OK]
前面那应该作何选择?
上次由
自由建客 在 2009-07-09 21:17,总共编辑 1 次。
-
delectate
- 帖子: 18311
- 注册时间: 2008-01-09 22:41
#2
帖子
由 delectate » 2009-07-09 21:13
自由建客 写了:
Configuring uswsusp
No suitable swap space for software suspend
To be able to suspend the system, uswsusp needs a swap partition or file to write a system snapshot to. No such space seems to be available for this.
You should create a swap partition or file, preferably twice the size of the system's physical RAM.
Then, run 'dpkg-reconfigure uswsusp' or edit the configuration file manually.
[OK]
前面那应该作何选择?
看来只能交换分区了
-
ChenFengyuan
- 帖子: 770
- 注册时间: 2008-03-23 0:39
#3
帖子
由 ChenFengyuan » 2009-07-10 12:36
dd if=/dev/zero of=~/swap.file bs=1G count=5G
swapon ~/swap.file
-
cnkilior
- 论坛版主
- 帖子: 4984
- 注册时间: 2007-08-05 17:40
#4
帖子
由 cnkilior » 2009-07-10 12:37
代码: 全选
dd if=/dev/zero of=~/swap.file bs=1G count=5G
mkswap ~/swap.file
swapon ~/swap.file
-
adagio
- 论坛版主
- 帖子: 22110
- 注册时间: 2008-02-17 23:47
- 来自: 美丽富饶的那啥星球
#5
帖子
由 adagio » 2009-07-10 12:40
我没有swap也可以装啊
-
自由建客
- 帖子: 13468
- 注册时间: 2008-07-30 23:21
- 系统: Debian stable AMD64
#6
帖子
由 自由建客 » 2009-07-10 13:53
我知道怎么建交换文件,但我并不想设,不然我早就设交换分区了。
只是“ Continue without a valid swap space? ”理解不透。我的理解,翻译就是:是否继续保留无交换分区的现状?
但无论选择 [Yes] 或 [No] ,下一步都只提示说没有合适的交换空间,你应该设一个,然后运行一个命令或手动改某文件配置。一个按钮 [OK] ,很费解。
-
billbear
- 帖子: 3681
- 注册时间: 2008-05-03 23:42
#7
帖子
由 billbear » 2009-07-10 14:31
我菜鸟,胡说两句。
那么就在无 swap 的状况下 dpkg-reconfigure uswsusp 一下看看,
“or edit the configuration file manually”, see if there's something configurable about swap.
-
billbear
- 帖子: 3681
- 注册时间: 2008-05-03 23:42
#8
帖子
由 billbear » 2009-07-10 14:36
ChenFengyuan 写了:dd if=/dev/zero of=~/swap.file bs=1G count=5G
这啥意思。 5G 是啥。
-
untitled
- 帖子: 611
- 注册时间: 2008-12-18 11:47
#9
帖子
由 untitled » 2009-07-10 15:10
我两G内存,无SWAP,安装时候没见到这个问题,怪了。
-
自由建客
- 帖子: 13468
- 注册时间: 2008-07-30 23:21
- 系统: Debian stable AMD64
#10
帖子
由 自由建客 » 2009-07-11 17:58
运行 dpkg-reconfigure uswsusp 命令就是上面那个场景,没有任何变化。man uswsusp 找不到手册。
光盘安装是碰不到的,只有安装的基本系统,然后手动安装 pm-utils 确切点就是 uswsusp 时才会碰到。
-
tclxdn
- 帖子: 17
- 注册时间: 2009-08-28 12:18
#11
帖子
由 tclxdn » 2009-11-06 17:29
还是分个交换分区吧,这点空间不算什么的。
万一出现惊喜那就不得了