[问题]用ghost备份及还原ubuntu
发表于 : 2008-04-15 22:39
如果用ghost备份及还原ubuntu,以下方法可行吗?
前提:Drive G: Ubuntu,Drive H:空的,皆以ext3為format;Drive C:Windows Server 2003,NTFS的format
1。用maxdos进开机进dos。
2。用ghost备份Drive G到Drive H
如果有一天Ubuntu因為某原因坏了,要用ghost把原來备份的复盖回去。
再如果不能正常开机了,用以下方法windows引導ubuntu來开机:
将以下的boot.ini copy到c:\
事先做的能开windows及ubuntu的boot.ini如下:(hard disk是IDE的)
1。进Ubuntu,dd if=/dev/hda of=/media/linux.lnx bs=512 count=1
2。sudo cp linux.lnx /media/hda1
3。在c:\boot.ini里加
c:\linux.lnx="Linux Ubuntu"
4。Restart PC,用maxdos或其他方法到dos,制行:
fdisk /mbr
或用windows xp original CD進到recovery console,制行:fixmbr
5。Restart PC
用ghost的原因:比tar快。
以上会有什么問題吗?
我还沒做,只是有這樣的理論。
谢谢。
前提:Drive G: Ubuntu,Drive H:空的,皆以ext3為format;Drive C:Windows Server 2003,NTFS的format
1。用maxdos进开机进dos。
2。用ghost备份Drive G到Drive H
如果有一天Ubuntu因為某原因坏了,要用ghost把原來备份的复盖回去。
再如果不能正常开机了,用以下方法windows引導ubuntu來开机:
将以下的boot.ini copy到c:\
事先做的能开windows及ubuntu的boot.ini如下:(hard disk是IDE的)
1。进Ubuntu,dd if=/dev/hda of=/media/linux.lnx bs=512 count=1
2。sudo cp linux.lnx /media/hda1
3。在c:\boot.ini里加
c:\linux.lnx="Linux Ubuntu"
4。Restart PC,用maxdos或其他方法到dos,制行:
fdisk /mbr
或用windows xp original CD進到recovery console,制行:fixmbr
5。Restart PC
用ghost的原因:比tar快。
以上会有什么問題吗?
我还沒做,只是有這樣的理論。
谢谢。