LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 26098|回复: 17

制作USB启动盘 硬盘安装fc4

[复制链接]
发表于 2005-6-14 13:17:42 | 显示全部楼层 |阅读模式
1、准备一个U盘,备份里面的数据  (很废话)
2、准备第一张光盘里的 /images/diskboot.img 文件 (我是放到 /root/ 下 (也废话)
3、有一个可以运行的linux系统
4、把U盘插入计算机如果是自动挂载则要卸载。
5、
  1. # fdisk -l
复制代码

输出为
  1. Disk /dev/sda: 80.0 GB, 80026361856 bytes
  2. 255 heads, 63 sectors/track, 9729 cylinders
  3. Units = cylinders of 16065 * 512 = 8225280 bytes

  4.    Device Boot      Start         End      Blocks   Id  System
  5. /dev/sda1   *           1        1321    10610901    7  HPFS/NTFS
  6. /dev/sda2            1322        9729    67537260    f  W95 Ext'd (LBA)
  7. /dev/sda5            1322        2040     5775336    7  HPFS/NTFS
  8. /dev/sda6            2041        3570    12289693+   7  HPFS/NTFS
  9. /dev/sda7            3571        7499    31559661    b  W95 FAT32
  10. /dev/sda8            7500        8166     5357646    b  W95 FAT32
  11. /dev/sda9            8167        8179      104391   83  Linux
  12. /dev/sda10           8180        9729    12450343+  8e  Linux LVM
  13. [color=Red]
  14. Disk /dev/sdb: 125 MB, 125682176 bytes
  15. 4 heads, 60 sectors/track, 1022 cylinders
  16. Units = cylinders of 240 * 512 = 122880 bytes[/color]

  17.    Device Boot      Start         End      Blocks   Id  System
  18. /dev/sdb1   ?    14341948      624086   501340218+  5d  Unknown
  19. Partition 1 has different physical/logical beginnings (non-Linux?):
  20.      phys=(195, 91, 1) logical=(14341947, 2, 58)
  21. Partition 1 has different physical/logical endings:
  22.      phys=(358, 102, 24) logical=(624085, 3, 18)
  23. Partition 1 does not end on cylinder boundary.
  24. /dev/sdb2   ?     7777694    14916873   856701495+   4  FAT16 <32M
  25. Partition 2 has different physical/logical beginnings (non-Linux?):
  26.      phys=(374, 252, 61) logical=(7777693, 1, 18)
  27. Partition 2 has different physical/logical endings:
  28.      phys=(252, 139, 46) logical=(14916872, 1, 48)
  29. Partition 2 does not end on cylinder boundary.
  30. /dev/sdb3   ?        4370        4370           0   64  Novell Netware 286
  31. Partition 3 has different physical/logical beginnings (non-Linux?):
  32.      phys=(357, 105, 44) logical=(4369, 0, 17)
  33. Partition 3 has different physical/logical endings:
  34.      phys=(0, 13, 10) logical=(4369, 0, 16)
  35. Partition 3 does not end on cylinder boundary.
  36. /dev/sdb4           12289       46968     4161536    0  Empty
  37. Partition 4 has different physical/logical beginnings (non-Linux?):
  38.      phys=(0, 0, 0) logical=(12288, 0, 1)
  39. Partition 4 has different physical/logical endings:
  40.      phys=(0, 0, 0) logical=(46967, 1, 52)
  41. Partition 4 does not end on cylinder boundary.

  42. Partition table entries are not in disk order
复制代码


我的硬盘是sata的,所以u盘识别为sdb  见红色部分
大小为 125682176 bytes

6、把镜像写到u盘
  1. # dd if=/root/diskboot.img of=/dev/sdb bs=125682176
复制代码


7、重启计算机用u盘启动
8、安装。。。。。。。。。。。。。。。。。。。。
发表于 2005-6-14 15:11:12 | 显示全部楼层
可惜不是所有的主板都支持USB启动
回复 支持 反对

使用道具 举报

发表于 2005-6-14 15:45:30 | 显示全部楼层
可惜不是所有的闪存都支持启动
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-6-14 16:42:43 | 显示全部楼层
不用可惜的
有需要就用啦,没需要就不用,本来就这样
回复 支持 反对

使用道具 举报

发表于 2005-6-14 21:00:14 | 显示全部楼层
谢谢兄弟

辛苦了。。。
回复 支持 反对

使用道具 举报

发表于 2005-8-4 09:32:36 | 显示全部楼层
支持一下吧
回复 支持 反对

使用道具 举报

发表于 2005-8-4 10:44:56 | 显示全部楼层
谢谢楼主的分享阿
回复 支持 反对

使用道具 举报

发表于 2005-8-4 10:46:19 | 显示全部楼层
我觉得有点晕,既然有linux那就直接用启动管理器(grub\lilo)启动光盘拷出来的kernel啊,还用usb干么?
回复 支持 反对

使用道具 举报

发表于 2005-10-22 09:02:15 | 显示全部楼层

衷心感谢

感谢,我找很久了,今天终于成功,谢谢搂猪
回复 支持 反对

使用道具 举报

发表于 2005-10-24 13:56:10 | 显示全部楼层
既然有linux那就直接用启动管理器(grub\lilo)启动光盘拷出来的kernel啊,还用usb干么?

启动器坏了,就可以USB。而且USB比光盘更灵活
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表