Find the answer to your Linux question:
Results 1 to 2 of 2
hi, Currently I installed fC6 in my System with kernel version 2.6.18-1.2798.fc6.I want to make the kernel version free for other application.That's why I want to compile my current KERNEL ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jan 2007
    Posts
    20

    Recompilation error in FC6


    hi,

    Currently I installed fC6 in my System with kernel version 2.6.18-1.2798.fc6.I want to make the kernel version free for other application.That's why I want to compile my current KERNEL ie, 2.6.18-1.2798.fc6 with linux-2.6.19-1

    So i download kernel 2.6.19 from internet. and i recompile it.

    i reboot system and select "my newly created kernel" .Then
    i got following errors

    "Trying to access resume device (LABEL=SWAP-sda
    Creating root device
    Mounting root filesystem
    mount: could not find filesystem '/dev/root/'
    Setting up other filesystems.
    Setting up new root fs
    setuproot: moving to /dev failed: No such file or directory
    no fstab.sys , mounting internal defaults
    setuproot: error mounting /proc : no such file or directory
    setuproot: error mounting /sys : no such file or directory
    Switching to new root and running init
    unmounting old /dev
    unmounting old /proc
    unmounting old /sys
    switchroot: mount failed: no such file or directory
    kernel panic - not sysncing : Attempted to kill init!"


    THIS IS MY grub.conf FILE


    # grub.conf generated by anaconda
    #
    # Note that you do not have to rerun grub after making changes to this file
    # NOTICE: You have a /boot partition. This means that
    # all kernel and initrd paths are relative to /boot/, eg.
    # root (hd0,4)
    # kernel /vmlinuz-version ro root=/dev/sda6
    # initrd /initrd-version.img
    #boot=/dev/sda
    default=1
    timeout=10
    splashimage=(hd0,4)/grub/splash.xpm.gz
    hiddenmenu
    title Fedora Core (2.6.18-1.2798.fc6)
    root (hd0,4)
    kernel /vmlinuz-2.6.18-1.2798.fc6 ro root=LABEL=/ rhgb quiet
    initrd /initrd-2.6.18-1.2798.fc6.img
    title WinXP
    rootnoverify (hd0,0)
    chainloader +1
    title myKernel (2.6.192.6.19-rc2-git4)
    root (hd0,4)
    kernel (hd0,4)/vmlinuz-2.6.192.6.19-rc2-git4 ro root=LABEL=/ rhgb quiet
    initrd (hd0,4)/initrd-2.6.192.6.19-rc2-git4.img



    THIS IS MY HARD DISK PARTITION:
    FOLLOWING ARE DETAILS WHEN I GIVE "df" COMMAND

    Filesystem 1K-blocks Used Available Use% Mounted on
    /dev/sda6 13888660 13262264 0 100% /
    /dev/sda5 3968092 91896 3671372 3% /boot
    tmpfs 479176 0 479176 0% /dev/shm


    WE ARE USING AMD x86_64 WITH SATA HARD DISK.
    Please give me the step-by-step procedure for the compilation......and to get a error free kernel

    PLEASE SPEND YOUR VALUABLE TIME.

    WAITING FOR YOUR REPLAY

    REGARDS
    ANANDO SINGH

  2. #2
    Trusted Penguin Dapper Dan's Avatar
    Join Date
    Oct 2004
    Location
    The Sovereign State of South Carolina
    Posts
    4,630
    Hi anando.1980 and welcome to the forum. Sorry to hear of your trouble. I honestly don't know what the problem is but I am sucessfully running 2.6.19-1 on CentOS. This is how I did it. Maybe there'll be something there that might help you key in to what the problem is. Sorry I couldn't help more...
    Linux Mint + IceWM Registered: #371367 New Members: click here

Posting Permissions

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