The kernel image itself is not corrupt.  Filesizez match, as well as
diffs between kernels. I placed the IDE kernel onto the LRP floppy that
I have, and it booted fine, including seeing the IDE device:
        hda: Hitachi CVM1.1.1, 30MB w/1kB Cache, CHS=736/5/17
     <snip>
        Partition check:
        hda: hda1

I can mount the device w/msdos filesystem without a problem.  I copied
everything from the floppy over to /dev/hda1.  When I reboot after
copying the files over, it starts loading root.lrp, then craps out and
reboots:
        Loading root.lrp...
When it comes up next time, it complains about an Invalid of corrupt
kernel.  From then on, it will give the same error upon reboot.

The strange thing is that it only starts loading root.lrp after I copy
the files back over to the CF disk.  AND, when it does start loading
root.lrp, it always stops at 3 dots.

Just to rule out a possible problem with syslinux, I used GRUB, and
when trying to boot off Partition 0, it exhibits the same problem
(therefore, not a problem with syslinux).

In my syslinux.cfg file, I have set both boot and PKGPATH to /dev/hda1.

I mentioned before that I have to specify the drive type in my BIOS by
sectors, heads, cylinders, etc.  Since a CF disk doesn't have any such
parts, what is the best setting to use?  I know by specifying different
values, it changes whether or not the BIOS can see the boot sector of
the CF.

This is a strange one...any help would be appreciated.

Thanks,
Billy


--- Roland Bevan <[EMAIL PROTECTED]> wrote:
> Billy: Here's what I would try.
> 
> 1) Check if the kernel image really is corrupt.  Does the size on
> your CF disk match the size of the downloaded image?  Does an "fc /b
> image1 image2" (for dos) or a "diff image1 image2" (for linux)
> succeed?  Also try copying the kernel image on your CF disk to a
> previously working LRP floppy and verify you can boot from that.  If
> you get the same message from your floppy boot test then the image
> really is corrupt.  For a vice/versa test, copy the kernel image from
> your working LRP floppy to the CF disk and try booting that.
> 
> 2) Stupid tricks to try - is your kernel image named "linux"?  When
> copying to the CF disk, did you use "copy /b" or "xcopy"?  When you
> boot from floppy, can you mount the CF disk and access it from linux
> without errors?
> 
> Hopefully this will give you some idea as to what's wrong.  Good
> luck!
> 
>     -Roland
> 
> Quoting Billy Jacobs <[EMAIL PROTECTED]>:
> 
> > 
> > I am actually trying to do the same thing, taking an Eiger disk and
> > make it bootable off a 32MB CF disk.  I have followed the
> directions
> > from Charles's IDE HD HOWTO, however, I am getting "Invalid or
> corrupt
> > kernel image", immediately after it displays syslinux.dpy.
> > 
> > Under DOS, I fdisk'ed, formatted, copied the LRP files, then
> syslinuxed
> > the C: drive.  I am using syslinux 1.42 on my dos diskette (which
> is
> > the same version as on my lrp diskette).  I am have tried using
> > syslinux with and without the -s switch.  I have downloaded his
> > 2.2.16-1-LRP-386-noFPU-IDE-zImage kernel multiple times and
> transferred
> > it to the CF disk, all to no avail.  When booting from my dos
> diskette
> > (win98, ugh), i can view the C: drive and it looks correct (made
> > changes to syslinux.cfg to point boot and PKGPATH to /dev/hda1).  I
> > have the CF set as the primary master.  
> > 
> > The only thing that I can think of, which I dont think is the
> cause, is
> > the fact that its a really old BIOS, where there is no "auto" sense
> of
> > the IDE drive.  You need to either choose from a preset HD
> > configuration (heads, cylinders, etC), or manually set your own
> values.
> >  I experimented with all the ballpark 32MB IDE settings, and found
> one,
> > which at least reads the boot sector of the CF and displays the
> > syslinux.dpy...could it be that I am using an incorrect IDE
> settings? 
> > Like I said, in DOS I can still do a dir on c:
> > 
> > Any ideas?  Help would be appreciated...feel like I am so
> > close...thanks.
> > 
> > Billy
> > 
> > --- Chris Carbaugh <[EMAIL PROTECTED]> wrote:
> > > 
> > > Linux has all the tools needed (not sure about marking the
> partition
> > > bootable though).
> > > 
> > > My personal preference on this sort of thing is a DOS boot disk
> > > (created from Win9x).  
> > > 
> > > Chris
> > > 
> > > 
> > > On Mon, 9 Jul 2001, Ricardo Kleemann wrote:
> > > > Date: Mon, 9 Jul 2001 13:20:29 -0700 (PDT)
> > > > To: Chris Carbaugh <[EMAIL PROTECTED]>
> > > > From: Ricardo Kleemann <[EMAIL PROTECTED]>
> > > > Subject: Re: [LRP] How to make CF disk bootable
> > > > 
> > > > Thanks!
> > > > 
> > > > Can this be done from linux (rather than windows?)
> > > > 
> > > > 
> > > > 
> > > > On Mon, 9 Jul 2001, Chris Carbaugh wrote:
> > > > 
> > > > > 
> > > > > First you need to partition/format the CF just like any other
> > > > drive. 
> > > > > You didn't say what size CF you're using, but I have had
> problems
> > > > with
> > > > > Syslinux booting from a partition larger than 32MB.
> > > > > 
> > > > > Once you have your FAT partition created (and set bootable),
> just
> > > > copy
> > > > > the contents of your floppy to the CF card (should be c:
> under
> > > > DOS). 
> > > > > Next "syslinux c:".  (In my experience, setting up syslinux
> works
> > > > best
> > > > > from DOS.)
> > > > > 
> > > > > Good luck,
> > > > > Chris
> > > > > 
> > > > > On Mon, 9 Jul 2001, Ricardo Kleemann wrote:
> > > > > > Date: Mon, 9 Jul 2001 12:04:49 -0700 (PDT)
> > > > > > To: [EMAIL PROTECTED]
> > > > > > From: Ricardo Kleemann <[EMAIL PROTECTED]>
> > > > > > Subject: [LRP] How to make CF disk bootable
> > > > > > 
> > > > > > Hi everyone,
> > > > > > 
> > > > > > I'm using the PC Engines CF - IDE adapter. The CF disk is
> > > > properly
> > > > > > recognized as a small IDE disk.
> > > > > > 
> > > > > > I'm trying to figure out how to make it bootable. I thought
> > > maybe
> > > > > > just
> > > > > > doing a dd from a working LRP floppy would work, but I was
> > > > mistaken.
> > > > > > 
> > > > > > So I have a working LRP floppy with my configured system,
> and I
> > > > want
> > > > > > to
> > > > > > transfer that into the CF disk and make that bootable.
> > > > > > 
> > > > > > I tried to find something in the hard disk howto but didnt
> see
> > > > > > anything
> > > > > > relevant. I don't think I need any special drivers, the CF
> disk
> > > > is
> > > > > > seen as
> > > > > > a regular hard disk.
> > > > > > 
> > > > > > I'm currently using Eigerstein2Beta off a floppy only. What
> do
> > > I
> > > > need
> > > > > > to
> > > > > > do now?
> > > > > > 
> > > > > > Thanks
> > > > > > Ricardo
> > > > > > 
> > > > > > 
> > > > > > 
> > > > > > _______________________________________________
> > > > > > linux-router maillist  -  [EMAIL PROTECTED]
> > > > > > http://www.linuxrouter.org/mailman/listinfo/linux-router
> > > > > > 
> > > > > 
> > > > 
> > > 
> > > _______________________________________________
> > > linux-router maillist  -  [EMAIL PROTECTED]
> > > http://www.linuxrouter.org/mailman/listinfo/linux-router
> > 
> > 
> > __________________________________________________
> > Do You Yahoo!?
> > Get personalized email addresses from Yahoo! Mail
> > http://personal.mail.yahoo.com/
> > 
> > _______________________________________________
> > Leaf-user mailing list
> > [EMAIL PROTECTED]
> > http://lists.sourceforge.net/lists/listinfo/leaf-user
> > 
> 
> _______________________________________________
> Leaf-user mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/leaf-user


__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/

_______________________________________________
Leaf-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/leaf-user

Reply via email to