Find the answer to your Linux question:
Results 1 to 2 of 2
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    Unhappy Kernel 2.6 compilation problem with initrd plz help

    i'm compiling my kernel on SuSE 10.1

    while creating initrd im getting error as

    /sbin/mkinitrd : line 2812 : /boot/initrd- : No such file or directory
    No '/' mountpoint specified in /boot/initrd-

    on givin command mkinitrd /boot/initrd-

    and i tried command

    mkinitrd -k /boot/vmlinuz-
    -i /boot/initrd-
    -M /boot/

    initrd is created but wen booted, system halts and prints Kernel Panic, not syncing Attempt to kill init!!!

    SO please can anyone tell me wat could be the problem???

    by the way, i've modified read_write.c with some "Kernel Sockets" calls thats "work fine" in modules.

  2. #2
    Linux Newbie dilbert's Avatar
    Join Date
    Sep 2006
    Lima, Peru
    Maybe in your initrd file is an erroneous mount command.

    In the fstab file are the complete mount commands that you can refer to with a shortcut mount command (e.g. "mount /flash").

    Below, a few entries from my fstab. It's FreeBSD, as at home, I don't have Linux, but you'll get the point:
    /dev/acd0c /cdrom cd9660 ro,noauto 0 0
    /dev/acd1c /cdrom1 cd9660 ro,noauto 0 0
    /dev/da0s1c /flash msdos rw,noauto 0 0
    /dev/da0 /mp3 msdos rw,noauto 0 0
    /dev/fd0 /floppy msdos rw,noauto 0 0
    /dev/fd0 /floppy_ufs ufs rw,noauto 0 0

    With this fstab entry, I can use the shortcut ("mount /flash"). Without it, I would need the full mount command every time.

    Maybe there is some mismatch between inird and fstab with a mount command that mounts a disk or another indispensible thing.
    Bus Error: Passengers dumped. Hech gap yo'q.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts