Menu

#1 cramfs: wrong magic

open
nobody
None
5
2002-06-10
2002-06-10
No

I've downloaded and extracted Netstation 0.8.2 and
built it:

wget http://.../netstation-0.8.2-build-tree.tar.bz2
sudo tar jxvf netstation-0.8.2-build-tree.tar.bz2
sudo vi packages.conf
sudo vi modules.conf
sudo ./build

I then copied the files to my FAT partition:

sudo cp initrd /mnt/nsboot/
sudo cp boot-images/syslinux/* /mnt/nsboot/
sudo cp kernel/vmlinuz /mnt/nsboot/

Unmounted the partition and ran syslinux:

sudo umount /mnt/nsboot
sudo syslinux /dev/hda4

Then I restarted, selected netstation from my GRUB
menu, but was given this error:

cramfs: wrong magic
Kernel panic: unable to mount fs 01:00

What has happened?

Checksum from at the end of the build process matches
the checksum when running 'file' on initrd.

FYI, My GRUB menu contains this for booting Netstation:

title Netstation Linux
root (hd0,3)
makeactive
chainloader +1

Discussion

  • Roland

    Roland - 2002-06-15

    Logged In: YES
    user_id=137175

    Hello Stephen,

    please check the size of your bootimage and make shure
    that it doesn't exceed 8MB in size. If it does, you have to
    increase >ramdisk_size=8192"< parameter in netstation
    build-script.(mknbi....) This issue will be fixed in the next
    netstation release - the ramdisk size will be calculated from
    the cramfs-size.
    please report, if this helps !
    regards
    Roland

     
  • Nobody/Anonymous

    Logged In: NO

    Hi Stephen,
    Maybe not related, but may help...
    I've get the same error ( kernel panic ), but without the cramfs
    error ( i don't use GRUB, i boot directly on the DOS
    partition ).. In the syslinux.cfg file, in the line
    append=initrd=initrd..., you must delete the first '=', to get a
    line like this : append initrd=inintrd... This had remove my
    kernel panic error message.
    HTH
    Fred.

     
  • Stephen Cope

    Stephen Cope - 2002-07-01

    Logged In: YES
    user_id=34428

    Hi kaylog,

    I tried adjusting the ramdisk size parameter (initrd is
    about 4.5MB) and running syslinux again. Still have the same
    problem.

    I'll try the other suggestion when I get to work.

     

Log in to post a comment.

MongoDB Logo MongoDB