找回密码
 注册

QQ登录

只需一步,快速开始

搜索
查看: 2660|回复: 2

[linux] 制作coyote linux 硬盘启动的方法(英文)

[复制链接]
发表于 2004-7-10 13:23:48 | 显示全部楼层 |阅读模式

马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。

您需要 登录 才可以下载或查看,没有账号?注册

×
How to Install Coyote Linux on an IDE Hard Disk    Why to 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 do you need?  - An old and little IDE hard disk or a Compact Flash memory card plugged to the IDE interface with the proper adapter.- A Coyote Linux kernel compiled with IDE support enabled ([URL=http://www.rictec.com.br/claudio/coyote/kernel-2.4.25/linux-210-ide]Download it here[/URL])- 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.- A blank, formatted 1.44 disk.  Before You Start:  In Any Computer:- Download the kernel linked above.- Rename the file you just downloaded to linux- Download the syslinux.com- Take the blank floppy and copy these two files to it.  How to:  Installing the Hard Disk (If you didn't it already):- Set (jumper) the drive to be MASTER. Some older drives will designate this jumper setting as "C" (as opposed to "D").- Connect your drive to the PRIMARY IDE Interface- 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.- 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 responsible if you lose anything stored on that hard drive.- Boot your machine using the DOS boot-floppy.- If the HD has any partitions other than a FAT12 or FAT16 DOS partition, delete them with FDISK.- 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.- Boot your machine using the DOS boot-floppy again.- Format the new partition by typing: format c: /u [Enter]- 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.)- Copy the linux file (the kernel you've downloaded) to the HD: copy a:\linux c: [Enter]- 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]md c:\config [Enter]copy a:\config\*.* c:\config[Enter]- Insert your DOS disk again end type edit c:\syslinux.cfg [Enter]- Navigate to the end of fourth line. You will find something like boot=/dev/fd0,vfat. Replace that with boot=/dev/hda1,msdos- Save the file and close the editor. Remove the disk from floppy drive and try to boot from HD.- 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 ias follows:Primary Master = hdaPrimary Slave = hdbSecondary Master = hdcSecondary 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 file systems (not FAT32).- Make sure your cluster size is 16K or less.- Make sure your partition size is shorter then 1GB.- Pray?  Nice Tip:   After the boot the HD can be turned off. This will make your coyote box a little quiet, durable and consuming less power.Install the hdparm.tgz package. It will turn the hd off 1 minute after the boot. (download it here)  Notes about this kernel:   - The kernel can handle FAT12, FAT16 and FAT32, but syslinux doesn't support 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.comSyslinux - H. Peter Anvin - http://syslinux.zytor.com/MS-DOS - Microsoft Corporation - http://www.micROSoft.com    If this page helps you do what you what, let me know, send me an e-mail: Claudio Roberto CussuolAnd don呆 fovget to!click on"thE sponsors`links.
routeros
发表于 2004-7-11 10:26:34 | 显示全部楼层
支持,顶
routeros
回复

使用道具 举报

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

本版积分规则

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

GMT+8, 2024-11-26 15:21 , Processed in 0.044565 second(s), 6 queries , Gzip On, Redis On.

Powered by Discuz! X3.5 Licensed

© 2001-2024 Discuz! Team.

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