QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 2202|回复: 3

FC3+SATA+ATA安装引导一例

[复制链接]
发表于 2005-7-6 00:55:51 | 显示全部楼层 |阅读模式
FC3+SATA+ATA安装引导一例(和大家分享)

原来FC3内置了智能拼音啊!哈哈!不错!用法和紫光差不多,主要是按键习惯!不过好像还是不太方便!
本人机器配置如下:
[code:1]
CPU:塞羊 2.4G
MB:微星 6788 848P
HD:80G SATA (暂时disabled了ATA,共存ATA+SATA我费了很大劲去设置BIOS里PATA+SATA的部分)
[/code:1]

其实,主要是引导很重要,我没有把Grub,装MBR上,Because,我习惯了NT Loader嘛!呵呵!!经过一晚上的研究,我发现关于sata+ata的设置也很重要的!

1.下载GRUB for DOS ,修改Boot.ini,增加从dos引导grub!
2.重启进入grub
3.grub>kernel (hd0,3)/boot/vmlinuz-2.6.9-1.667 root=/dev/sda4 [回车]
   我的FC3在sda4上,这个一定要搞清楚!但是grub和linux对分区的识别好像不同!大家有兴趣的可以搜一下grub,看看资料关于这方面的内容!
4.grub>initrd (hd0,3)/boot/initrd-2.6.9-1.667.img [回车]
5.grub>boot[回车]
6.后面的不用说了吧?用dd命令提取引导记录的帖子已经不少了!

注意:如果在grub内不能确定linux,的位置,可以使用root(hd0,x),x从1到你最后一个分区的数字编号!

总而言之,如果对于一个系统共存ATA+SATA好像很麻烦!我3个晚上都是2点睡的觉啊!晕.........不过,总的来说linux本身和Grub对sata的支持好像没有xp那么完美...

另找到一篇不错的文章,和大家共享![code:1]
制作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, 58)

Partition 1 has different physical/logical endings:

     phys=(358, 102, 24) logical=(624085, 3, 18)

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, 18)

Partition 2 has different physical/logical endings:

     phys=(252, 139, 46) logical=(14916872, 1, 48)

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、安装。。。。。。。。。。。。。。。。。。。。
[/code:1]
 楼主| 发表于 2005-7-6 01:40:41 | 显示全部楼层
编辑了4、5次!
回复

使用道具 举报

 楼主| 发表于 2005-7-6 01:50:19 | 显示全部楼层
呼呼去!
回复

使用道具 举报

发表于 2005-7-6 15:20:26 | 显示全部楼层
  
回复

使用道具 举报

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

本版积分规则

GMT+8, 2024-6-7 05:20 , Processed in 0.095854 second(s), 16 queries .

© 2021 Powered by Discuz! X3.5.

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