Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Ubuntu This forum is for the discussion of Ubuntu Linux.


  Search this Thread
Old 07-30-2007, 04:46 PM   #1
LQ Newbie
Registered: Jun 2007
Location: Toronto
Distribution: Fedora 6 Kernel
Posts: 9

Rep: Reputation: 0
Exclamation ALERT! /dev/sda7 does not exist. Dropping to shell!


I have a Ubuntu machine and I am trying to install a new kernel ( and it recompiles and does everything nicely as per which is an excellent website, btw. I tried booting to the new kernel but it after a long pause it always comes back with the error:

ALERT! /dev/sda7 does not exist. Dropping to a shell!

But my other kernels are able to recognize this drive and boot no problem so why is this new one giving such a message? Does anyone know? Is there something I am doing wrong concerning the make menuconfig options? I have already compiled 3 other kernels and they all give similar errors. Actually there is one prior message, displayed before the long pause that says:

PCI: Cannot allocate resource region 0 of device 0000:05:06.0.

I am not sure if that is related to the ALERT! error message but I thought I would let you guys know.

Prompt and descriptive help is always appreciated

Thanks in advance.

Old 07-30-2007, 05:12 PM   #2
LQ Veteran
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738
That looks like the message you might get if the "root=_____" string passed to the kernel was pointing to a non-existent partition.

Check the entries in /boot/grub/menu.lst to be sure that the entry for your new kernel is pointing to the correct partition for mounting the filesystem.
Old 07-31-2007, 10:42 AM   #3
LQ Newbie
Registered: Jun 2007
Location: Toronto
Distribution: Fedora 6 Kernel
Posts: 9

Original Poster
Rep: Reputation: 0
I did check the root line in /boot/grub/menu.lst and just to make sure I copied and pasted that line from my working kernels to the new one. Still it was hanging when trying to find the root file system.

Even when I started in recovery mode, it just stalls on the msg "trying to gain access to root file system..." and it just drops down to the that basic shell. Why is not able to read that drive when other kernels have no problem doing it? Could it be a problem with the command 'dpkg' because that is what I used to compile the kernel and make the linux images and initrd disks, althought I am sure if they are the problem.

Does anyone have any suggestions?



Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Shell script for password expiry alert bhandu Linux - General 1 06-13-2007 04:19 AM
Dropping to shell during install koolhandlinc Linux - Newbie 1 05-23-2007 07:02 PM
ALERT! /dev/sda1 does not exist. - Installing on external HD nrbelex Linux - Software 5 11-17-2005 06:49 AM
root=/dev/sda7 winxshadi76 Linux - Hardware 0 12-10-2004 03:25 AM
shutting down Xserver and dropping to the shell funkymunky Linux - General 2 02-22-2004 03:03 AM > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 06:14 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration