找回密码
 注册

QQ登录

只需一步,快速开始

搜索
查看: 11199|回复: 20

[linux] [教学]coyotelinux怎么做到硬盘上的 :D

[复制链接]
发表于 2003-10-31 14:19:21 | 显示全部楼层
coyotelinux怎么做到硬盘上的
routeros
回复

使用道具 举报

发表于 2003-10-31 16:58:18 | 显示全部楼层
是啊,我看了她的英文说明,可是看得不太懂啊
routeros
回复

使用道具 举报

发表于 2003-11-1 15:21:19 | 显示全部楼层
coyotelinux好像不能做到硬盘上吧!!!
routeros
回复

使用道具 举报

发表于 2003-11-1 18:07:32 | 显示全部楼层
应该可以吧,我看到过说明啊.
How to Install Coyote Linux on an IDE Hard Disk
Why do That ?
- Because I hate floppies.
- Because they are slow.
- Because they are fragile.
- Because they are unreliable.
- Because I need to add things to Coyote which won't fit on a floppy.
- Because floppy drives are becoming expensive.
- Because I have a hard drive and I have nothing better to do with it.
- Because I want to... and that's reason enough...
What will you need ?
- An old and little IDE hard disk. Believe me, a 200MB drive is HUGE compared to a floppy.
- A Coyote Linux kernel compiled with IDE suport enabled (Download it here)
- Syslinux 1.48 (Download it here)
- A DOS boot floppy. I can't give it to you because MS-DOS is copyrighted by Micro$oft, but this page might help.
Before You Start:
In Any Computer:
1 - Download the kernel linked above.
2 - Rename the file you just downloaded to linux
3 - Download the syslinux.com
4 - Take a blank, formatted 1.44 disk and copy these two files to it.
How to:
1 - Make sure your hard drive is empty, don't try to put more than one operating system on the same hard drive unless you know what are you doing. I'm not responsable if you lose anything stored on that hard drive.
2 - If you didn't install the drive already:
2.1 - Set (jumper) the drive to be MASTER. Some older drives will designate this jumper setting as "C" (as opposed to "D").
2.2 - Connect your drive to the PRIMARY IDE Interface
2.3 - Turn the machine on and enter the BIOS SETUP (by pressing Delete, F1, F10, or whatever your BIOS uses). Detect your drive (or set the parameters manually), save the setting, and exit.
3 - Boot your machine using the DOS boot-floppy.
4 - If the HD has any partitions other than a FAT12 or FAT16 DOS partition, delete them with FDISK. (See this page if you need help with FDISK.) Otherwise, skip to step 7.
5 - Create a primary FAT12 or FAT16 partition (it must be smaller than 1GB) at the starting sector of the HD and make sure to make it active.
6 - Boot your machine using the DOS boot-floppy again.
7 - Format the new partition by typing: format c: /u [Enter]
8 - Insert the floppy with syslinux.com and install the Linux boot sector by typing: syslinux -s c:
(If you're using a Windows9x (MS-DOS 7) boot disk, you may see a message telling you that Windows disabled write to protect the hard drive.... In this case you have to type lock c: [Enter] before the syslinux command, and unlock c: [Enter] after it.)
9 - Copy the linux file (the kernel you've downloaded) to the HD: copy a:linux c: [Enter]
10 - Insert your working coyote floppy and copy all files except ldlinux.sys (it was just created on the HD by syslinux) and linux (the kernel you just copied). The following commands will get all the files of a standard Coyote installation:
copy a:*.tgz c:[Enter]
copy a:syslinux.* c: [Enter]
copy a:coyote.cfg c: [Enter]
copy a:packages c: [Enter]
11 - Insert your DOS disk again end type edit c:syslinux.cfg [Enter]
12 - Navigate to the end of fourth line. You will find something like boot=/dev/fd0,vfat. Replace that with boot=/dev/hda1,msdos
13 - Save the file and close the editor. Remove the disk from floppy drive and try to boot from HD.
14 - If you did everything right, your Coyote Linux box will boot fine and work.
Things that can go wrong....
- The DOS boot disk can't handle 1680K floppies. If your Coyote disk is a 1680K floppy you may need to copy its files to a 1440K before you can transfer them to the HD. Any Windows machine will do that easily, and since you don't need to copy the file linux, one 1440K floppy will be enough.
- If your HD is not installed as MASTER on the PRIMARY IDE INTERFACE, you must change /dev/hda1 in step 12 as follows:
Primary Master = hda
Primary Slave = hdb
Secondary Master = hdc
Secondary Slave = hdd
- If your partition is not the first partition on the HD then /dev/hda1 may have to be changed to /dev/hda2 or something else.
- Make sure the Master Boot Record of your HD doesn't have a boot loader installed. The command fdisk /mbr [Enter] should remove any of them.
- Make sure your partition was made ACTIVE by fdisk.
- Make sure your partition was formatted with the FAT12 or FAT16 filesystems (not FAT32).
- Make sure your cluster size is 16K or less.
- Make sure your partition size is shorter then 1GB.
- Pray?
Notes about this kernel
I've compiled this kernel on a RedHat 9 machine using Joshua Jackson's Linux-portable Coyote development kit (here).
The kernel can handle FAT12, FAT16 and FAT32, but syslinux doesnt suport FAT32.
The kernel supports only PIO MODE or DMA MODE (33).
The kernel doesn't support Ultra DMA (66/100/133). Believe me: you don't need this.
The kernel doesn't support CD-ROM, but I can do that if someone asks for it...
Credits, Licenses, Sources and Documentation
Coyote Linux - Vortech Consulting - http://www.coyotelinux.com
Syslinux - H. Peter Anvin - http://syslinux.zytor.com/
RedHat Linux - http://www.redhat.com
MS-DOS - Microsoft Corporation - http://www.microsoft.com
If this page helps you to get what you want, let me know, send me an e-mail:
Claudio Roberto Cussuol
routeros
回复

使用道具 举报

发表于 2003-11-3 11:23:06 | 显示全部楼层
根据http://www.rictec.com.br/claudio/coyote/中有关如何将coyote安装硬盘上的提示,我已经成功将coyote安装到硬盘上,启动速度很快,coyote linux运行正常。现在将我的安装过程贴出来,与大家交流一下。
    1、要先下载两个文件: syslinux.com和支持ide硬盘的linux内核,并拷贝到软盘上。
    2、准备好一个小的硬盘,最好小于2G,并将其安装在第一IDE口,设为主硬盘。用dos6.22或者win95 dos引导机器,分出一个小于1G的区(我的硬盘是1.6G,分出分区大小是200M),然后重启,用dos引导,用format /u格式化C盘。如此能够保证分区格式为fat16,簇大小为16k。
    3、运行刚才下载的syslinux.com。键入命令:syslinux -s c:
          如果无提示,一般表示更改C盘引导记录成功。
    4、拷贝支持IDE硬盘的linux到C盘。注意下载文件名为:coyote-kernel-2.4-ide,拷贝到C盘上,一定要改名为linux。
    5、将已运行正常(客户端能正常上网)的coyote linux的软盘上的部分内容拷入C盘上。注意特别不能将该软盘上的linux拷入。一般下面的几行命令可以完成。
    copy a:*.tgz c:
      copy a:syslinux.* c:
      copy a:coyote.cfg c:
      copy a:packages c:
其中packages这个文件在软盘上的字节数为零,无法拷贝到C盘上。不过没有拷贝到C盘上,好像不影响使用。
    6、使用文件编辑器修改C盘上的syslinux.cfg。(如此在DOS找不到EDIT之类的编辑器,可用别的机器在windows的记事簿notepad修改)
    该文件好像总共才三行,在最后一行类似boot=/dev/fd0,vfat将共修改为
    boot=/dev/hda1,msdos。
    7、至此,重启机器,保证机器可以从硬盘上引导,就可正常启动coyote linux。
说实在,我还是更愿意用软盘,你知道老硬盘的发热、噪音、耗电可不小。用软盘也只是启动速度慢点,可能容易坏,但启动的次数竟然很少。你总不至于一天要重启好几回吧。如果有CD引导,倒是可以考虑一下,你说是不。
不妥之处,望指正。
routeros
回复

使用道具 举报

发表于 2003-11-4 00:13:31 | 显示全部楼层
支持支持支持支持支持支持支持支持支持支持支持?????????支持支持
支持支持支持支持支持支持支持支持支持???????????????支持
支持支持支持支持支持支持支持无??????????????????支持
支持支持支持支持支持无????????????????支持支持支持支持
支持支持支持支持???????无???支持?????支持支持支持支持支
支持无????????????支持支持支持????支持支持支持支持支持
无??????????????支持支持支持????支持支持支持支持支持
无????????????支持支持支持无???????????支持支持
无????????????支持支持支持??????????????支持
支持??????????支持支持无??????支持无???????支持
支持支持支持支持????支持支持无????支持支持支持?????支持支
支持支持支持支持????支持支持????支持??支持无?????支持支
支持支持支持支持????支持支持????支持????无?????支持支
支持支持支持支持????支持支持????支持????无?????支持支
支持支持支持支持????支持支持????支持???支持?????支持支
支持支持支持支持????支持支持????支持???支持?????支持支
支持支持支持支持????支持支持????无????支持?????支持支
支持支持支持支持????支持支持????无????支持?????支持支
支持支持支持支持????支持支持????无????支持?????支持支
支持支持支持支持????支持支持????无????支持?????支持支
支持支持支持支持????支持支持???支持????支持?????支持支
支持??支持无?????支持支持???支持???支持无?????支持支
支持??????????支持支持无??支持??支持支持?????支持支
支持无?????????支持支持支持支持???支持支持无????支持支
支持支持无???????支持支持支持支持???无????支持支持支持支
支持支持支持??????支持支持支持无????支持?????支持支持支
支持支持支持支持无???支持支持支持?????支持无???????支持
支持支持支持支持支持支持支持支持??????支持支持无??????支持
支持支持支持支持支持支持支持无??????支持支持支持???????支
支持支持支持支持支持支持支持?????支持支持支持支持无??????支
支持支持支持支持支持支持无?????支持支持支持支持支持无????支持
支持支持支持支持支持支持???支持支持支持支持支持支持支持无???
routeros
回复

使用道具 举报

发表于 2003-11-4 10:41:03 | 显示全部楼层
ding
routeros
回复

使用道具 举报

发表于 2003-11-4 18:04:06 | 显示全部楼层
支持ide硬盘的linux内核 在哪里下载?
routeros
回复

使用道具 举报

发表于 2003-11-4 21:22:38 | 显示全部楼层
http://www.rictec.com.br/claudio/coyote/
routeros
回复

使用道具 举报

发表于 2003-11-4 22:26:10 | 显示全部楼层
我下载后,在安装时运行syslinux.com时,它提示filesystem什么不有存在?
是什么原因?我是用1.7g的老硬盘,格式化为fat32,800m。
我把我现在用的硬盘挂在上面运行这个程序后(因为我的电脑没有软驱),把我的分区表都破坏了,费了好多力才恢复回来,简直吓死我了。
routeros
回复

使用道具 举报

发表于 2003-11-5 08:28:03 | 显示全部楼层
兄弟,syslinux.com是不支持fat32的,只支持fat16,fat12! 如果没有dos6.22或win95 dos用pqmagic来格式化硬盘吧
routeros
回复

使用道具 举报

发表于 2003-11-5 12:39:05 | 显示全部楼层
我用的硬盘210M,作不成功。郁闷ing
routeros
回复

使用道具 举报

发表于 2003-11-5 13:03:02 | 显示全部楼层
再试试,我的问题可难了,我那个老硬盘好象有问题,用fdisk、pqmagic都不能分区,只能用diskgen来分区,但这个软件好象只能格式化为fat32的类型。郁闷。。。。
routeros
回复

使用道具 举报

发表于 2003-11-5 16:28:54 | 显示全部楼层
我成功了,呵呵 ,我还说一点,运行syslinux.com前,要先运行lock这个命令,然后选 y,不然直接运行syslinux的话,会死机的。呵
routeros
回复

使用道具 举报

发表于 2004-1-20 08:31:13 | 显示全部楼层
支持ide硬盘的linux内核,这个东西下载地址是什么呀
我找了半天都没找到,英文太差了???
wsgtrsys和nichie告诉我吧
routeros
回复

使用道具 举报

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

本版积分规则

QQ|Archiver|手机版|小黑屋|软路由 ( 渝ICP备15001194号-1|渝公网安备 50011602500124号 )

GMT+8, 2024-5-21 03:50 , Processed in 0.065150 second(s), 6 queries , Gzip On, Redis On.

Powered by Discuz! X3.5 Licensed

© 2001-2023 Discuz! Team.

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