找回密码
 注册

QQ登录

只需一步,快速开始

搜索
查看: 7416|回复: 18

[linux] coyote linux 的论坛上关于使用硬盘的讨论!

[复制链接]
发表于 2003-7-26 18:23:27 | 显示全部楼层
I? trying to put CL in a HD.

I got a copy of LRP to Hard Disk How To from lrp.steinkuehler.net
I also got the 2.2.19 ide kernel from there as well.
I make my 20 mb partition in a clean hd
Got the latest syslinux and used -s option.
copyed all the coyote files exept syslinux and linux to the hard drive.
copyed the new ide kernel to the hard drive.
I used dos edit to change syslinux.cfg to /dev/hda1,msdos
when it boots from the hard drive it finds hda-hda1.
It boots all the way up to the point were it loads etc,log,local,modules,config the system has a error to do with the floppy drive.
all the etc,log,local,modules,config have (nf!) after them. (not found ?)

Did i make something wrong ?
Is there a file else were that I have to edit ?
What can i do ?

thanks
routeros
回复

使用道具 举报

发表于 2003-7-26 18:23:47 | 显示全部楼层
If i get it i promess to help all those guys that come to forum asking this every day...
routeros
回复

使用道具 举报

发表于 2003-7-26 18:23:57 | 显示全部楼层
Well, try forum search. This question has been asked dozens of times over the years and is answered in the forum and in Eric J.'s FAQ.
routeros
回复

使用道具 举报

发表于 2003-7-26 18:24:11 | 显示全部楼层
of course i?e used the search.

But in this case i have a specific problem and i couldn? find the solution.

Where can i get the Eric? FAQ?
Is it the same from Dalantec ?
routeros
回复

使用道具 举报

发表于 2003-7-26 18:24:24 | 显示全部楼层
I have the FAQ in a temporary location (untill I clean it up):

http://files.pakratus.com/coyote/coyote faq/coyote faq.txt

This is what I have in the FAQ... I don't know if it makes any sense.

Q: Can I run Coyote off of a Hard Drive?
A: No, Coyote Linux does not include the IDE nor SCSI drivers necessary for such
a thing. Coyote Linux was designed for floppy use.

An alternative though is to get a copy of the LRP Hard Disk HOWTO from any of
the LRP sites. Most of what is in the document is applicable to Coyote Linux.
Following are some guidelines/steps in doing the conversion:

Coyote Linux Disks should be saved in 1440 K format. DOS does not recognize the
1680K and 1740 size.
Boot from a MsDos 6.22 disk. I tried using a boot disk from Windows 95/98 but
syslinux.com gives me an error.
Make sure the HD is clean, if you have one of those utilities that really zero's
the HD, then use it. We have an HD tester in house and that is what we used to
zero the HD.
Make sure that you Fdisk to set an active partition.
In the LRP document it says to transfer the .lrp files - for coyote transfer the
.tgz, .cfg and .dpy files. Don't touch the .sys file!
You will need to get a 2.2.19 linux kernel with IDE enabled. If you go to the
lrp.steinkuhler file, it is in one of the download pages. Get the file normal-
IDE.zImage.upx. Simply disregard the .upx suffix (Shift click to download on
a browswer or else you get a screen of characters). Manage to transfer this to
your HD and rename it as linux.
Do not forget to update the syslinux.cfg file. I used edit on the Ms.dos 6.22
disk as the editor. Increase ramdisk to 8192 (if you have 8 mb or more) and
change boot parameter to /dev/hda1 instead of /dev/fd0xxxx.
routeros
回复

使用道具 举报

发表于 2003-7-26 18:24:39 | 显示全部楼层
Thank you Erick

Actually, i?e already read this very good faq. And i?e folowed it to try to put CL in HD (I Hate Floppies). Everything was made as was like you said.

I?e partitioned the HD.
The partition is Active, (is Fat16 ok?)
I downloaded the kernel from lrp.steinkuhler.net
I edited syslinux.cfg like that.... ( /dev/hda1,msdos )
When it boots the kernel finds hda-hda1.

But after the boot the CL don? find the packages. all the etc,log,local,modules,config have (nf!) after them.

I can? see what is wrong. Any idea ?
routeros
回复

使用道具 举报

发表于 2003-7-26 18:24:52 | 显示全部楼层
More information :

I change my primary boot device in bios to look first at hd.
The boot processo began normaly.
When coyote look at the packages i insert a disk with them in the floppy drive.
Now i? sure. Coyote is still loading pakages from floppy. and WORKING. The kernel is in hd. the root.tgz is in hd but the anoter packages are in floppy.

Coyote doen? looking my changes in syslinux.cfg.

After the boot: /dev/boot is linked to /dev/fd0 instead /dev/hda1

Where the coyote found this boot device information ?
routeros
回复

使用道具 举报

发表于 2003-7-26 18:25:03 | 显示全部楼层
Hi
There a probably a couple of steps you have missed..... I have coyote running from a 16MB M-Systems DOC (Disk on Chip)..same sort of thing as a HDD.

When you syslinuxed the HDD did you do the lock and unlock commands?

A:>lock C:
A:>syslinux C:
A:>unlock C:

Have you modified the linuxrc file, just after the qt mknod /dev/tty1... add

qt mknod /dev/hda1

I also found that I had to use the version before the latest (can't remember the version..been a while since I did it) worked for me on locking/unlocking the HDD.

Cheers
Malcolm
routeros
回复

使用道具 举报

发表于 2003-7-26 18:25:17 | 显示全部楼层
FINALLY IT WORKS ! ! ! ! ! ! ! ! ! ! ! !

Thanks to everybody that helped.
The main problem was edit the linuxrc file and rebuild the root.tgz package.

When somebody ask :
Coyote runs in a HD ????
The answer will be: YES !!!!!!.
Since you change the kernel and edit linuxrc file.
routeros
回复

使用道具 举报

发表于 2003-7-26 18:25:28 | 显示全部楼层
How easy is this?

Maybe this could be a CPS package.

Write up the steps you took, and email them to me.

Thanks
routeros
回复

使用道具 举报

发表于 2003-7-26 18:25:43 | 显示全部楼层
Be sure, i'm writing the how to.
I'm thing it's hard to be am CPS because it involves hard disk partitioning and formating and i made this with a dos boot disk.

I used the kernel from lrp.steinkuhler you suggest. The kernel has almost the same size than Coyote original kernel. So it's easy to replace them still in floppy.

The mains steps are :

In DOS
Create the partition
Format
Syslinux
Copy the kernel to hd
Copy coyote packages to hd
Edit syslinux.cfg: Ramdisk=8192 and Boot=/dev/hda1,msdos

After that you can boot from hd. The kernel will boot and detect hda1 ok.
But the linuxrc doesn't look for the packages in hda1. You have to put coyote floppy in drive to complete the load process.

The linuxrc script doesn't interpre the boot parametrs in linuxconf.cfg file. that's why i had to edit it. I had several problems to rebuild the root.tgz package use windows based compress programs. Then i include the root package in pakages files and let the coyote backup do the work for me.

After the boot /dev/boot is linked to /dev/fd0, change the link to /dev/hda1 and the backup will save the packages to hd. Once the edited linuxrc save to the new root.tgz package: final boot.


By the way: Do you know there is any enforce to update CPS and its packages to new coyote 2.0 ?
routeros
回复

使用道具 举报

发表于 2003-7-26 18:25:57 | 显示全部楼层
i've been able to boot CL from a 30 MB hdd but i get something as

checking filesystems:
hda : hda1

Attempt to access beyond end of device

bla bla bla...

Kernel panic: VFS unable to mount root filesystem on 03:04


what could be the problem? should i substitute the hdd?
routeros
回复

使用道具 举报

发表于 2003-7-26 18:26:10 | 显示全部楼层
no, nothing changes... i think that there are some possibilities:
a) the hdd is too old for this kernel
the manual configuration of the hdd in the bios is wrong (but the disk doesn't report data on it and this is the only config in which it works)
c) ???

DOS works fine on this disk but not linux
routeros
回复

使用道具 举报

发表于 2003-7-26 18:26:20 | 显示全部楼层
ehy ok it worked!! the problem was that i used the syslinux 2.03.. using 1.48 (the default coyote syslinux) everything is fine!!!

now i've the linuxrc problem... c u soon ))
routeros
回复

使用道具 举报

发表于 2003-7-26 18:26:30 | 显示全部楼层
my coyote is working great from the HDD, some masq poblem but it's really fast...

now, has someone tried the new 2.x series on hdd?
routeros
回复

使用道具 举报

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

本版积分规则

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

GMT+8, 2024-9-20 10:36 , Processed in 0.063467 second(s), 4 queries , Gzip On, Redis On.

Powered by Discuz! X3.5 Licensed

© 2001-2024 Discuz! Team.

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