|
发表于 2005-7-25 15:59:21
|
显示全部楼层
新手一般不建议从硬盘安装!
最好还是刻成光盘,
从光盘启动电脑进行安装!
如果你想从硬盘安装的话,请看下面的转贴:
制作USB启动盘 硬盘安装fc4
--------------------------------------------------------------------------------
1、准备一个U盘,备份里面的数据 (很废话)
2、准备第一张光盘里的 /images/diskboot.img 文件 (我是放到 /root/ 下 (也废话)
3、有一个可以运行的linux系统
4、把U盘插入计算机如果是自动挂载则要卸载。
5、
代码:
# fdisk -l
输出为
代码:
Disk /dev/sda: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sda1 * 1 1321 10610901 7 HPFS/NTFS
/dev/sda2 1322 9729 67537260 f W95 Ext'd (LBA)
/dev/sda5 1322 2040 5775336 7 HPFS/NTFS
/dev/sda6 2041 3570 12289693+ 7 HPFS/NTFS
/dev/sda7 3571 7499 31559661 b W95 FAT32
/dev/sda8 7500 8166 5357646 b W95 FAT32
/dev/sda9 8167 8179 104391 83 Linux
/dev/sda10 8180 9729 12450343+ 8e Linux LVM
Disk /dev/sdb: 125 MB, 125682176 bytes
4 heads, 60 sectors/track, 1022 cylinders
Units = cylinders of 240 * 512 = 122880 bytes
Device Boot Start End Blocks Id System
/dev/sdb1 ? 14341948 624086 501340218+ 5d Unknown
Partition 1 has different physical/logical beginnings (non-Linux?):
phys=(195, 91, 1) logical=(14341947, 2, 5
Partition 1 has different physical/logical endings:
phys=(358, 102, 24) logical=(624085, 3, 1
Partition 1 does not end on cylinder boundary.
/dev/sdb2 ? 7777694 14916873 856701495+ 4 FAT16 <32M
Partition 2 has different physical/logical beginnings (non-Linux?):
phys=(374, 252, 61) logical=(7777693, 1, 1
Partition 2 has different physical/logical endings:
phys=(252, 139, 46) logical=(14916872, 1, 4
Partition 2 does not end on cylinder boundary.
/dev/sdb3 ? 4370 4370 0 64 Novell Netware 286
Partition 3 has different physical/logical beginnings (non-Linux?):
phys=(357, 105, 44) logical=(4369, 0, 17)
Partition 3 has different physical/logical endings:
phys=(0, 13, 10) logical=(4369, 0, 16)
Partition 3 does not end on cylinder boundary.
/dev/sdb4 12289 46968 4161536 0 Empty
Partition 4 has different physical/logical beginnings (non-Linux?):
phys=(0, 0, 0) logical=(12288, 0, 1)
Partition 4 has different physical/logical endings:
phys=(0, 0, 0) logical=(46967, 1, 52)
Partition 4 does not end on cylinder boundary.
Partition table entries are not in disk order
我的硬盘是sata的,所以u盘识别为sdb 见红色部分
大小为 125682176 bytes
6、把镜像写到u盘
代码:
# dd if=/root/diskboot.img of=/dev/sdb bs=125682176
7、重启计算机用u盘启动
8、安装。。。。。。。。。。。。。。。。。。。。 |
|