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.
- 01-11-2007 #1
- Join Date
- Jan 2007
Recompilation error in FC6
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
title Fedora Core (2.6.18-1.2798.fc6)
kernel /vmlinuz-2.6.18-1.2798.fc6 ro root=LABEL=/ rhgb quiet
title myKernel (184.108.40.206.19-rc2-git4)
kernel (hd0,4)/vmlinuz-220.127.116.11.19-rc2-git4 ro root=LABEL=/ rhgb quiet
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
- 01-11-2007 #2
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...