Page 1 of 2 12 LastLast
Results 1 to 10 of 18

Thread: Can't Boot with new Kernel

  1. #1

    Default Can't Boot with new Kernel

    Hello,

    i need a Realtime Linux. I patched a new kernel (Kernel 2.6.20 from kernel org) with RTAI (rtai-3.5-cv) and built it. I used "make oldconfig" for the kernel configuration.

    With mkinitrd -k /boot/vmlinuz-2.6.20-rtai -i /boot/initrd-2.6.20-rtai i Create a RAM disk image.

    After that I tried to load the new Ramdisk image. The computer boot and then I get the message:

    creating device nodes ...
    waiting for block device node: /dev/sda2
    .........................
    mount -o ro /dec/sda2
    mount: special device /dev/sda2 does not exist
    unable to mount root filesystem on /dev/sda2
    Kernel Panic - not synching: Attempted to kill init!
    <0>Rebooting in 42 seconds..

    Actually I use kernel 2.6.10 with rtai 3.2

    Thanks
    tom

  2. #2
    Join Date
    Oct 2008
    Location
    Slovakia
    Posts
    25

    Default Re: Can't Boot with new Kernel

    Try to repair your system with installation CD... maybe it helps

  3. #3

    Default Re: Can't Boot with new Kernel

    I don't have the cd.

    Can I repair the system without it?

  4. #4
    Join Date
    Oct 2008
    Location
    Slovakia
    Posts
    25

    Default Re: Can't Boot with new Kernel

    have you changed ahci settings in bios? this could cause the problem.
    or the problem could be that sda2 is not root partition
    boot some other system (e.g. from live cd) and post
    fdisk -l (as root)
    and the /etc/fstab content

  5. #5

    Default Re: Can't Boot with new Kernel

    fdisk -l:

    Code:
    /dev/sda1   1   129   1036161   82 Linux swap/Solaris
    /dev/sda2  130 9729  77112000   83 Linux

  6. #6

    Default Re: Can't Boot with new Kernel

    cat /etc/fstab:

    Code:
    /dev/sda2   /             reiserfs acl,user_xattr  1 1
    /dev/sda1   swap          swap     pri 42  0 0
    devpts      /dev/pts      devpts   mode=0620,gid=5  0 0
    proc        /proc         proc     defaults  0 0 
    usbfs       /proc/bus/usb usbfs    noauto  0 0
    sysfs       /sys          sysfs    noauto  0 0
    /dev/dvdram /media/dvdram subfs    fs=cdfss,ro,procuid,nosuid,nodev,exec,iocharset=utf8  0 0
    /dev/fd0    /media/floppy subfs    fs=floppyfss,procuid,nodev,nosuid,sync  0 0

  7. #7

    Default Re: Can't Boot with new Kernel

    I can boot the original kernel and a 2.6.10 kernel with rtai 3.2 patch (ramdiskimage). I didn't create the 2.6.10 kernel with rtai 3.2. A other person did that.
    Now I need rtai 3.5.

  8. #8
    Join Date
    Oct 2008
    Location
    Slovakia
    Posts
    25

    Default Re: Can't Boot with new Kernel

    ok there seems to be problem with sda2 partition. it isn't set like active or bootable.

    boot hirens boot cd and go to partition tool > acronis... there you can set the option active/boot for sda2 partition.

  9. #9

    Default Re: Can't Boot with new Kernel

    I think i understand you, it seems wrong.

    But the original Linux and the other ram disk work.
    They are on sda2 too and i can boot them.

    Why work these two Systems?

  10. #10
    Join Date
    Oct 2008
    Location
    Slovakia
    Posts
    25

Page 1 of 2 12 LastLast

Posting Permissions

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