Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Kernel Questions

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Thread Tools Display Modes
Old 28th November 2008, 08:13
p2pover p2pover is offline
Junior Member
Join Date: Nov 2008
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default compiling the kernel on debian--the os is stuck on the"waiting for root file

hi dears: here is my problem
the section of the kernel compile
1 cd /usr/src tar the kernel- package
2 cd linux-
3 make clean && make mrproper
4 cp /boot/config- ./.config
5 make menuconfig (during the step I tried the old .config with no changes, also tried SATA drivers .....)
(PS: when I loaded the old kernel's .config,it displays "config:3157 warning:symbol value 'm'invalid for RTC-INTF-..")
6 make-kpkg clean
7 fakeroot make-kpkg --initrd --append-to-version=-new kernel_image kernel_headers
8 cd /usr/src
9 dpkg -i ***kernel-image-**deb
dpkg -i ***kernel-headers-**.deb
10 reboot

And then the os was stucked on "waiting for root file system " after about 10 minutes,on the display it shows:
Warning bootdevice maybe renamed TRY root=/dev/had11
Gave up waiting for root device. Common problems:
-boot args(cat /proc/cmdline)
-check rootdelay=(did the system wait long enough)
- check root=(did the system wait for the right device)
-Missing modules (cat /proc/modules;ls /dev)

Alert /dev/sda11 doesn't exist Dropping to a shell
/bin/sh :can't access tty, job control turned off

at the end here is my menu.lst:
title Debian Gun/linux kernel ##the compiled new kernel
root (hd0.8)
kernel /vmlinuz- root=/dev/sda11 ro
intrd /intrd/img-
save defalut

title Debian Gun/Linux kernel 2.6.18-6-686 ##the old kernel
root (hd0,8)
kernel /vimlinuz-2.6.18-6-686 root=/dev/sda11 ro
initrd /initrd.img-2.6.18-6-686
save default

filesystem mount point type options dump pass
proc /proc proc default 0 0
/dev/sda11 / ext3 default,errors=remount-ro 0 0
/dev/sda9 /boot ext3 default 0 2
/dev/sda10 none swap sw 0 0

I've tried many times and several days ,the same problem appeared , I really
don't know where the problem come from , Please help me , thank you all very much !!
Reply With Quote
Sponsored Links
Old 29th November 2008, 19:07
falko falko is offline
Super Moderator
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,751 Times in 2,581 Posts

You can try to create a new initrd:
mkinitrd -v -f /boot/intrd/img-
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
Old 1st May 2009, 05:20
ibf756 ibf756 is offline
Junior Member
Join Date: May 2009
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts

Do you have any sort of rescue disk you can boot the machine with to mount your file systems and fix the problem?
It looks as though you are trying to boot from a seperate partition than your root partition. What partition is the new kernel image stored on? You will probably need to boot the machine somehow, mount your file system and edit menu.lst so that the bootloader is no longer confused when you try to boot.
Reply With Quote


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Ispconfig IE7 Xen aurelius Installation/Configuration 8 19th October 2008 11:46
Failover with VMWare Server - /var/vm isn't the right size.. Bart van Kleef HOWTO-Related Questions 24 30th August 2008 12:00
Installation Error, Debian 3.1 yogi183 Installation/Configuration 6 23rd February 2007 17:11
ISP install problems Debian sarge 3.1 lerra Installation/Configuration 1 5th January 2006 17:37

All times are GMT +2. The time now is 13:45.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.