方式如下:
1. 使用ghost Disk to Disk将原本的/dev/hda ghost到 /dev/hdb
2. 将原来的/dev/hda取下(不是bios disable就好哦..),并将hdb设成master(也就是hda)
3. 使用Linux install开机片开机,选择rescue
4. 如果是ext2格式..以下面方式..
EXT2
When the file system is EXT2, use the following steps to recover the partition. These steps have resolved this problem in at least one instance:
1. Start the computer from the linux installation CD.
2. Type:
linux recover
3. Respond to the prompts for language and location.
4. Type:
lilo -r /mnt/sysimage -C /etc/lilo.conf -v
exit
5. Remove the CD and restart the computer.
The computer starts into the linux partition.
如果是ext3依下面方式..
Symantec Ghost 7.5, EXT3
When the file system is EXT3, use the following steps to recover the partition.
NOTE: Only Symantec Ghost 7.5 supports the EXT3 file system. If you use a Ghost version other than Symantec Ghost 7.5 with EXT3, the following information is provided as a convenience only, and Symantec does not provide technical support for using Ghost in this manner.
1. Start the computer from the linux installation CD.
2. Use the option linux Rescue.
3. Type the following at the Rescue Command Prompt:
e2fsck /dev/hda1
In this command line, hda represents the first IDE hard drive in the computer and the “1” represents the first partition to repair.
4. If you see the message “Superblock has a bad ext3 journal (inode8). Clear ?” press Y. You will see the message: “* * * ext3 journal has been deleted – file system is now ext2 only * * * . ”
5. Type:
tune2fs -j /dev/hda1
You will see the message “Creating journal inode: done . This file system will be checked every . . . days”.
6. Repeat steps 3 for each EXT3 partition on the computer.
7. Type: exit
8. Remove the CD and restart the computer.
The computer starts into the linux partition.
5. 一切ok后, mount /dev/hda 到/mnt
6. chroot /mnt
7. 重建lilo
/etc/lilo -v -v -v
如果是使用grub的请执行/sbi/grub-install即可。
一切ok。
将linux硬盘ghost到另一颗抽取式硬盘
转载请注明出处:服务器评测 » 将linux硬盘ghost到另一颗抽取式硬盘
相关推荐
- *降价!!每月仅需 65 美元!英特尔至强 E3-1230 v6 – 欧盟和美国 – 1 Gbps
- LinkSecured – E3-1231v3 仅需 49 美元/月(多个地点)
- *229 美元/月 E-2276G + 128GB RAM + 2x1TB NVMe + 10TB 备份 + 1Gbps 20TB BW 限时优惠!
- *BigBox 专用服务器优惠 – 8 核,配备 /24 IPv4 可用 – 起价仅为 35 美元/月
- TetraHost:带有特殊 IP 的专用服务器,价格低至 110 美元
- *降价!!每月仅需 65 美元!英特尔至强 E3-1230 v6 – 欧盟和美国 – 1 Gbps
- velia.net 2025 年黑色星期五特卖:新加坡、法兰克福、迈阿密、圣路易斯和斯特拉斯堡
- *IOFLOOD.com █ 黑色星期五 █ 双 E5-2695v4 + 升级 30% 折扣