歡迎來到Linux教程網
Linux教程網
Linux教程網
Linux教程網
Linux教程網 >> Linux基礎 >> Linux教程 >> ghost linux系統詳細步驟

ghost linux系統詳細步驟

日期:2017/2/28 17:45:51   编辑:Linux教程
工具:ghost.exe image file ( 最小而完整的系統所作出來的image文件 ).
Ghost linux主要幾個步驟:
1、 boot from cd
2、 restore RedHat image into hard disk
3、 define major hard disk space as reiserfs partition
4、 update /etc/lilo.conf and execute lilo –v update the /etc/fstab
5、 cp all / files into /reiser ( the mount partition reiserfs partition )
6、 reboot ,,ok!!!

每步的詳細操作:
一、 boot from cd
二、 restore with ghost
select destination drive and make sure the new and old sizes are the same.
(we want to use the free space for reiserfs later )
ghost過程應該很快,然後reboot,別忘了取出光盤。
按提示config系統查找到的硬件。
三、 define new partition with fdisk
# fdisk /dev/had
command ( m for help) : p 查看分區情況。
Command ( m for help ) : n define a new partition .
1 , 2 分區都已經用了,我們選 3 ,
first cylinder and last cylinder 都按 default , 也就是用了其它的剩余空間。
確認他的ID 是83 ,,83對應的是liunx,ID 等於的5對應為extend , 82對應為linux swap 。
在按p查看一下分區表的情況。這時應該添加了/dev/hda3 了。
之後 # sync;sync;sync;reboot

然後 # mkreiserfs / dev / hda3
系統會提示attention : all data will be lost on ‘ / dev/ hda3 ‘ !(y /n ) 選 y 繼續
initializing journa 10% ..20 % ………100%
syncing …….
Copyright © Linux教程網 All Rights Reserved