c*******o 发帖数: 1722 | 1 怎么把系统从一个硬盘transfer到另外一个硬盘。
老硬盘不行了,得换一个。 |
w********e 发帖数: 557 | |
f*******d 发帖数: 71 | |
f**y 发帖数: 138 | 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. |
f*******d 发帖数: 71 | 5
huh. why do you need to backup /dev?
you need to use --exclude to exclude /tmp and /dev
【在 f**y 的大作中提到】![](/moin_static193/solenoid/img/up.png) : '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.
|
f**y 发帖数: 138 | 6
Lots of linux systems don't automatically create device files under /dev/.
【在 f*******d 的大作中提到】![](/moin_static193/solenoid/img/up.png) : : huh. why do you need to backup /dev? : you need to use --exclude to exclude /tmp and /dev
|
f*******d 发帖数: 71 | 7 are you still using 2.4? this is 2009 now. :) |
c*******o 发帖数: 1722 | 8 到底那个更安全简单一些?
【在 f*******d 的大作中提到】![](/moin_static193/solenoid/img/up.png) : are you still using 2.4? this is 2009 now. :)
|
c*******o 发帖数: 1722 | 9 so how do i do this?
1. tar -cjvpf
2. move file from old hd to new hd
3. then what?
【在 f*******d 的大作中提到】![](/moin_static193/solenoid/img/up.png) : tar -cjvpf ....
|
f*******d 发帖数: 71 | |
f*******d 发帖数: 71 | 11 boot your sys up using a livecd: eg. ubuntu livecd or knoppix then follow
the above instruction in "Full System Backup" section. |
z*****g 发帖数: 810 | 12 we used "dd" to ghost new servers |
y*******g 发帖数: 6599 | 13 dd太无敌了
【在 z*****g 的大作中提到】![](/moin_static193/solenoid/img/up.png) : we used "dd" to ghost new servers
|
f**y 发帖数: 138 | 14 udev appeared not so long ago not to mention it is not installed in every
system.
【在 f*******d 的大作中提到】![](/moin_static193/solenoid/img/up.png) : are you still using 2.4? this is 2009 now. :)
|