怎样把安装好的一套UBUNTU转移到另一个硬盘里

系统安装、升级讨论
版面规则
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
回复
vinx_zhu
帖子: 5
注册时间: 2007-07-23 18:32

怎样把安装好的一套UBUNTU转移到另一个硬盘里

#1

帖子 vinx_zhu » 2007-08-01 10:27

我原来装的一台ubunt 6.06 LTS的server想换个硬盘,不想重新安装,因为装了很多服务和配置,有没有什么好办法可以做到,

我能想到的办法是把所有数据COPY到另一个硬盘,然后修改GRUB和fstab,不知道这样行不行,
头像
cnshzj007
帖子: 685
注册时间: 2006-05-24 21:38
来自: 上海
联系:

#2

帖子 cnshzj007 » 2007-08-01 10:39

我也想要这样。
我只是一个ARCH的FANS,来自RH和UBUNTU的滋润!
vinx_zhu
帖子: 5
注册时间: 2007-07-23 18:32

#3

帖子 vinx_zhu » 2007-08-01 13:25

没有人知道吗?
头像
skyx
论坛版主
帖子: 9202
注册时间: 2006-12-23 13:46
来自: Azores Islands
联系:

#4

帖子 skyx » 2007-08-01 13:31

It is said that your idea is reasonable and ok on condition that you use "cp -a" command

But grub should be reinstalled and fstab re-edited .
no security measure is worth anything if an attacker has physical access to the machine
头像
aitilang
帖子: 1026
注册时间: 2007-04-28 21:38

#5

帖子 aitilang » 2007-08-01 14:01

cp 注意参数,注意保持文件的权限。。。
/proc目录就不要cp了吧
头像
skyx
论坛版主
帖子: 9202
注册时间: 2006-12-23 13:46
来自: Azores Islands
联系:

#6

帖子 skyx » 2007-08-01 14:04

aitilang 写了:cp 注意参数,注意保持文件的权限。。。
/proc目录就不要cp了吧
You can do it with your "ubuntu live cd" ,maybe , I think.
no security measure is worth anything if an attacker has physical access to the machine
vinx_zhu
帖子: 5
注册时间: 2007-07-23 18:32

#7

帖子 vinx_zhu » 2007-08-01 14:06

That's a good idea ,live cd, wow
头像
skyx
论坛版主
帖子: 9202
注册时间: 2006-12-23 13:46
来自: Azores Islands
联系:

#8

帖子 skyx » 2007-08-01 14:09

vinx_zhu 写了:That's a good idea ,live cd, wow
"Ubuntu live cd" is a great idea
no security measure is worth anything if an attacker has physical access to the machine
头像
hiker
帖子: 25
注册时间: 2006-12-24 16:57

#9

帖子 hiker » 2007-08-01 15:16

好像不能移吧,应该只有重装
头像
bones7456
帖子: 8495
注册时间: 2006-04-12 20:05
来自: 杭州
联系:

#10

帖子 bones7456 » 2007-08-01 15:54

hiker 写了:好像不能移吧,应该只有重装
完全可以的啊~
关注我的blog: ε==3
头像
skyx
论坛版主
帖子: 9202
注册时间: 2006-12-23 13:46
来自: Azores Islands
联系:

#11

帖子 skyx » 2007-08-01 15:56

bones7456 写了:
hiker 写了:好像不能移吧,应该只有重装
完全可以的啊~
看来已解决
no security measure is worth anything if an attacker has physical access to the machine
头像
bones7456
帖子: 8495
注册时间: 2006-04-12 20:05
来自: 杭州
联系:

#12

帖子 bones7456 » 2007-08-01 16:28

skyx 写了:
bones7456 写了:
hiker 写了:好像不能移吧,应该只有重装
完全可以的啊~
看来已解决
:?: :?: 我又不是楼主。不过我知道是可以的。
关注我的blog: ε==3
头像
skyx
论坛版主
帖子: 9202
注册时间: 2006-12-23 13:46
来自: Azores Islands
联系:

#13

帖子 skyx » 2007-08-01 16:31

楼上的语气很肯定,又是知名人士,当然是已解决 :lol:
no security measure is worth anything if an attacker has physical access to the machine
回复