avatar
linux系统transfer# Linux - Linux 操作系统
c*o
1
怎么把系统从一个硬盘transfer到另外一个硬盘。
老硬盘不行了,得换一个。
avatar
w*e
2
dd
avatar
f*d
3
tar -cjvpf ....
avatar
f*y
4
'dd' may not work if the two hard disks have different specifications.
'tar' may not work on those '/dev/*' files.
May be 'cpio' is what you want.
Format and mount the new hard disk. And cpio everything there. Remove the
old hard disk. Boot with a linux installation disk and choose rescue. Then
install the grub to the new disk.
avatar
f*d
5

huh. why do you need to backup /dev?
you need to use --exclude to exclude /tmp and /dev

【在 f**y 的大作中提到】
: 'dd' may not work if the two hard disks have different specifications.
: 'tar' may not work on those '/dev/*' files.
: May be 'cpio' is what you want.
: Format and mount the new hard disk. And cpio everything there. Remove the
: old hard disk. Boot with a linux installation disk and choose rescue. Then
: install the grub to the new disk.

avatar
f*y
6

Lots of linux systems don't automatically create device files under /dev/.

【在 f*******d 的大作中提到】
:
: huh. why do you need to backup /dev?
: you need to use --exclude to exclude /tmp and /dev

avatar
f*d
7
are you still using 2.4? this is 2009 now. :)
avatar
c*o
8
到底那个更安全简单一些?

【在 f*******d 的大作中提到】
: are you still using 2.4? this is 2009 now. :)
avatar
c*o
9
so how do i do this?
1. tar -cjvpf
2. move file from old hd to new hd
3. then what?

【在 f*******d 的大作中提到】
: tar -cjvpf ....
avatar
f*d
11
boot your sys up using a livecd: eg. ubuntu livecd or knoppix then follow
the above instruction in "Full System Backup" section.
avatar
z*g
12
we used "dd" to ghost new servers
avatar
y*g
13
dd太无敌了

【在 z*****g 的大作中提到】
: we used "dd" to ghost new servers
avatar
f*y
14
udev appeared not so long ago not to mention it is not installed in every
system.

【在 f*******d 的大作中提到】
: are you still using 2.4? this is 2009 now. :)
相关阅读
logo
联系我们隐私协议©2024 redian.news
Redian新闻
Redian.news刊载任何文章,不代表同意其说法或描述,仅为提供更多信息,也不构成任何建议。文章信息的合法性及真实性由其作者负责,与Redian.news及其运营公司无关。欢迎投稿,如发现稿件侵权,或作者不愿在本网发表文章,请版权拥有者通知本网处理。