Kernel 2.6.25 doesn't boot: can't find root device

Hey,
Upgrading from 2.6.24 -> 2.6.25 didn't really work, some strange things happened...
It was some time ago since I upgraded so the following packages were updated:
udev, glibc, kernel-headers, nvidia, kernel26,mkinitcpio,klibc-udev,klibc-extras,klibc
I rebooted and it gave an error like this:
ERROR: Failed to parse block device name for '/dev/hda2'
unknown
ERROR: root fs cannot be detected: Try using ......
Fallback kernel gives the same error.
So it can't find that disk. I booted in knoppix, added the "pata" hook in mkinitcpio since that was not there yet
before it was:
HOOKS="base udev autodetect scsi sata filesystems"
I changed it to
HOOKS="base udev autodetect pata scsi sata filesystems"
Reinstalled the kernel (pacman -S kernel26), rebooted, didn't work. Back to knoppix, searched a bit and found out that pata changes devices into sda. So I changed my grub/menu.lst and fstab and rebooted. Still same error. Fallback kernel the same error.
Changed the pata hook into ide and changed the names back to hda. Rebooted and still the same error. Tried that configuration with sda, still the same error.
So I reverted all the installed packages to the old ones, including klibc-udev etc and I removed the ide hook, so it's HOOKS="base udev autodetect scsi sata filesystems" again.
Rebooted and still the same error!!!! After some testing in the grub bootmenu, I found a config that works: the fallback kernel and the sda naming scheme.
Does anyone have a clue what is going on here?? Why can't I use hda and the normal kernel anymore, even if I reverted all the new programs? Some config file or something? Udev that uses new names?
And any ideas why the new kernel doesn't work?
Thanks a lot!! If you need more information, please ask and I will provide it.
Grtz

to answer both questions:
menu.lst:
root (hd0,1)
kernel /boot/vmlinuz26 root=/dev/sda2 vga=795 ro
initrd /boot/kernel26.img
root (hd0,1)
kernel /boot/vmlinuz26 root=/dev/sda2 vga=795 ro
initrd /boot/kernel26-fallback.img
fstab:
/dev/sda2 / ext3 defaults 0 0
But those should be correct since it booted before.
About mkinitcpio -p kernel26, the output that gives me is the output pacman -S kernel26 gives and I also performed the mkinitcpio command manually as suggested in some other forum threads
When booting today (with 2.6.24 fallback and sda naming scheme), I got a kernel panic, he couldn't find the root device... Rebooting did the trick, then it could boot all of a sudden! Is it somehow possible that my disks are getting named randomly by udev or something?

Similar Messages

  • [SOLVED] ERROR: Can't find root device /dev/disk/by-uuid/...

    Yesterday I upgraded my Lenovo X100e
    # pacman -Syu
    and rebooted.  Upon reboot, I received the error
    ERROR: Cannot find root device '/dev/disk/by-uuid/[...]'
    just after kernel decompression. I got dropped into the recovery shell
    and could not boot.
    The problem persisted despite using different root device names (e.g. /dev/sda3, the actual root device).  After reading the instructions at https://wiki.archlinux.org/index.php/Chroot I used a core installation image (on a usb stick) to boot the machine, then chrooted into my installation.  I ran mkinitcpio and found that the udev hook was missing, i.e. not in /lib/initcpio/hooks.  Nor was there a file called 'udev' in /lib/initcpio/install.
    I copied these files from a friend's installation and then re-ran mkinitcpio:
    # mkinitcpio -p linux
    I was able to reboot successfully after that.
    The weird thing: I don't know how the udev hook script was deleted from /lib/initcpio/hooks.
    If someone else runs into this problem: try to run mkinitcpio (e.g. by using the chroot), and check for this problem.  I think the problem was that the root device could not be found because the udev hook had not run, and therefore /dev was unpopulated.

    Betwen udev-181-2 and udev-181-5, the hooks have moved from /lib/initcpio to /usr/lib/initcpio. But mkinitcpio -L should still list them.
    I have a similar problem since the last update. The kernel doesn't seem to load my raid driver anymore. Upon boot it throws some cryptic udev messages at me and then crashes. Haven't found out what that is about yet.

  • Grub can't find root device after system update today (12/30)

    I did a system update (kernel was updated to 2.6.32) today and turned off my computer. When I tried to boot up, Grub said it couldn't find my root device (/dev/sdb3) which is on my external hard drive. Grub and my kernel is on my external hard drive too (/dev/sdb1) so the hard drive itself seems to be working. If it'll help, here are my hooks:
    HOOKS="base udev autodetect pata scsi sata usb filesystems"

    This is from pacman.log, from when I updated on 12/30.
    [2009-12-30 10:19] synchronizing package lists
    [2009-12-30 10:20] starting full system upgrade
    [2009-12-30 10:29] upgraded consolekit (0.4.1-1 -> 0.4.1-2)
    [2009-12-30 10:29] upgraded hdparm (9.27-1 -> 9.27-2)
    [2009-12-30 10:29] upgraded libdrm (2.4.16-1 -> 2.4.17-2)
    [2009-12-30 10:29] upgraded libgl (7.6-2 -> 7.7-1)
    [2009-12-30 10:29] upgraded intel-dri (7.6-2 -> 7.7-1)
    [2009-12-30 10:29] upgraded kernel26-firmware (2.6.31-1 -> 2.6.32.2-2)
    [2009-12-30 10:29] >>> Updating module dependencies. Please wait ...
    [2009-12-30 10:29] >>> MKINITCPIO SETUP
    [2009-12-30 10:29] >>> ----------------
    [2009-12-30 10:29] >>> If you use LVM2, Encrypted root or software RAID,
    [2009-12-30 10:29] >>> Ensure you enable support in /etc/mkinitcpio.conf .
    [2009-12-30 10:29] >>> More information about mkinitcpio setup can be found here:
    [2009-12-30 10:29] >>> http://wiki.archlinux.org/index.php/Mkinitcpio
    [2009-12-30 10:29]
    [2009-12-30 10:29] >>> Generating initial ramdisk, using mkinitcpio. Please wait...
    [2009-12-30 10:29] ==> Building image "default"
    [2009-12-30 10:29] ==> Running command: /sbin/mkinitcpio -k 2.6.32-ARCH -c /etc/mkinitcpio.conf -g /boot/arch/kernel26.img
    [2009-12-30 10:29] :: Begin build
    [2009-12-30 10:29] :: Parsing hook [base]
    [2009-12-30 10:29] :: Parsing hook [udev]
    [2009-12-30 10:29] :: Parsing hook [autodetect]
    [2009-12-30 10:29] :: Parsing hook [pata]
    [2009-12-30 10:29] :: Parsing hook [scsi]
    [2009-12-30 10:29] :: Parsing hook [sata]
    [2009-12-30 10:29] :: Parsing hook [usb]
    [2009-12-30 10:29] :: Parsing hook [filesystems]
    [2009-12-30 10:29] :: Generating module dependencies
    [2009-12-30 10:29] :: Generating image '/boot/arch/kernel26.img'...SUCCESS
    [2009-12-30 10:29] ==> SUCCESS
    [2009-12-30 10:29] ==> Building image "fallback"
    [2009-12-30 10:29] ==> Running command: /sbin/mkinitcpio -k 2.6.32-ARCH -c /etc/mkinitcpio.conf -g /boot/arch/kernel26-fallback.img -S autodetect
    [2009-12-30 10:29] :: Begin build
    [2009-12-30 10:29] :: Parsing hook [base]
    [2009-12-30 10:29] :: Parsing hook [udev]
    [2009-12-30 10:29] :: Parsing hook [pata]
    [2009-12-30 10:29] :: Parsing hook [scsi]
    [2009-12-30 10:30] :: Parsing hook [sata]
    [2009-12-30 10:30] :: Parsing hook [usb]
    [2009-12-30 10:30] :: Parsing hook [filesystems]
    [2009-12-30 10:30] :: Generating module dependencies
    [2009-12-30 10:30] :: Generating image '/boot/arch/kernel26-fallback.img'...SUCCESS
    [2009-12-30 10:30] ==> SUCCESS
    [2009-12-30 10:30] upgraded kernel26 (2.6.31.6-1 -> 2.6.32.2-2)
    [2009-12-30 10:30] upgraded libgcrypt (1.4.4-2 -> 1.4.5-1)
    [2009-12-30 10:30] installed parted (1.9.0-3)
    [2009-12-30 10:30] installed libatasmart (0.17-1)
    [2009-12-30 10:30] installed devicekit-disks (009-3)
    [2009-12-30 10:30] installed gnome-disk-utility (2.28.1-1)
    [2009-12-30 10:30] installed gvfs (1.4.3-1)
    [2009-12-30 10:30] upgraded libgnome (2.28.0-1 -> 2.28.0-2)
    [2009-12-30 10:30] upgraded libsndfile (1.0.20-3 -> 1.0.21-1)
    [2009-12-30 10:30] upgraded mesa (7.6-2 -> 7.7-1)
    [2009-12-30 10:30] upgraded mono (2.6-1 -> 2.6.1-1)
    [2009-12-30 10:30] upgraded mtasc (20080105-1 -> 20091229-1)
    [2009-12-30 10:30] upgraded nano (2.2.0-1 -> 2.2.1-1)
    [2009-12-30 10:31] upgraded netbeans (6.8-1 -> 6.8-2)
    [2009-12-30 10:31] upgraded pycups (1.9.46-2 -> 1.9.47-1)
    [2009-12-30 10:31] upgraded system-config-printer-common (1.1.13-1 -> 1.1.15-1)
    [2009-12-30 10:31] upgraded system-config-printer-gnome (1.1.13-1 -> 1.1.15-1)
    [2009-12-30 10:31] upgraded totem (2.28.4-1 -> 2.28.5-1)
    [2009-12-30 10:31] upgraded tzdata (2009s-1 -> 2009t-1)
    [2009-12-30 10:31] upgraded xorg-server (1.7.3.901-1 -> 1.7.3.902-1)
    I'll try running mkinitcpio though.
    Edit: from the chroot'd shell:
    [ root@ubuntu ] [ / ]
    [ # ] > mkinitcpio -p kernel26
    ==> Building image "default"
    ==> Running command: /sbin/mkinitcpio -k 2.6.32-ARCH -c /etc/mkinitcpio.conf -g /boot/arch/kernel26.img
    :: Begin build
    :: Parsing hook [base]
    :: Parsing hook [udev]
    :: Parsing hook [autodetect]
    :: Parsing hook [pata]
    :: Parsing hook [scsi]
    :: Parsing hook [sata]
    :: Parsing hook [usb]
    :: Parsing hook [filesystems]
    :: Generating module dependencies
    :: Generating image '/boot/arch/kernel26.img'...SUCCESS
    ==> SUCCESS
    ==> Building image "fallback"
    ==> Running command: /sbin/mkinitcpio -k 2.6.32-ARCH -c /etc/mkinitcpio.conf -g /boot/arch/kernel26-fallback.img -S autodetect
    :: Begin build
    :: Parsing hook [base]
    :: Parsing hook [udev]
    :: Parsing hook [pata]
    :: Parsing hook [scsi]
    :: Parsing hook [sata]
    :: Parsing hook [usb]
    :: Parsing hook [filesystems]
    :: Generating module dependencies
    :: Generating image '/boot/arch/kernel26-fallback.img'...SUCCESS
    ==> SUCCESS
    [ root@ubuntu ] [ / ]
    [ # ] > ls /boot/arch
    kernel26-fallback.img kernel26.img
    I'll try booting with both the disk by UUID and the disk named as /dev/sdb3 in the Grub commands.
    Last edited by megajosh2 (2010-01-02 00:17:45)

  • Booting fails in about 60% of the cases, can't find root device

    Hi guys,
    when I boot Arch Linux, it boots fine in some cases, and then in other cases it doesn't. The kernel messages are always the same (note also the times in seconds):
    Do not use full size images. Use an image hosting site. --- Inxsible
    He doesn't find /dev/sda1, which is my root partition. I use UUIDs in my /etc/fstab, I'm not sure if that plays a role.
    Those 30-second-waiting-periods shown in the image do not occur when he boots fine.
    Does anyone know where I can begin searching for the error? I don't even know if it's a software or hardware issue.
    Last edited by Inxsible (2012-11-08 20:01:29)

    dontbugme wrote:
    Tried to boot latest Arch iso, it can't mount /dev/disk/by-label/ARCH...:
    Waiting 30 seconds for device /dev/disk/by-label/ARCH...
    In /dev I have sda but no sda1, sda2 etc.
    You say this in your other thread. The same happens for me. The iso on a USB stick can't mount itself and the boot procedure just hangs there. Other isos on the same USB stick (I tried Ubuntu) boot fine.

  • [SOLVED] "Can't find root device" after hardware change

    My old computer died so I got a replacement. The only hardware changes were the motherboard/CPU and a lack of GPU (since it died too). GRUB was setting root to /dev/sda2, but in this new computer that wouldn't work. I figured I'd change it to /dev/disk/by-label, but it still won't boot. I have udev loaded in mkinitcpio.conf and have tried what I could find on google (it had to do with pacman mostly, which is not the issue here).
    I'm currently running a gparted parted magic live disc and checked already if the partition is corrupted; it isn't.
    What should I be looking at to get by-label working? What kind of info do I need to provide in order to get some help (fdisk, blkid, etc)?
    Thanks in advance.
    Last edited by knuck (2012-08-19 02:07:01)

    Are you sure that that label/partition still exists? (e.g. your filesystem hasn't gotten corrupted)
    Have you rebuilt the initramfs since you changed hardware (e.g. via chroot)? If not, try booting using the fallback image.
    All you should need to do to get booting by label is change the root= statement in the bootloader's kernel params to
    root=LABEL=arch
    the initram image's code should handle the rest at boot time.

  • TS3694 mi ipod touch will not boot, it goes to the apple logo then shuts off, I tried to restore it but it shuts off while restore is going on then it saids it can not find the device

    Hello,
    I need help before i go to the apple store for help.
    My problem is that I have an Ipod touch which it was working fine but now it will not boot all the way.
    It will not show the red bar when is ready to be turn off or reboot when using both buttons to reset it it will only come to the apple logo then goes blank.
    I tried to restore via Itunes but same result, it will start showing is doing the extract then it will go blank and get a message saying that It can not find the device.
    What do i need to do.
    Thank you for your help.
    regards,
    Mario
    PS. The OS I am not sure do not remember exactly.

    - Reboot the computer
    - Try another USB port
    - Try another cable try another cable
    - Inspect the dock connector for bend or missing contacts, corroded contacts, broken, missing or cracked plastic.
    -  Make an appointment at the Genius Bar of an Apple store.
    Apple Retail Store - Genius Bar

  • Error on boot: "Can not find script file "C:\Progra​mData\Leno​vo-20841.v​bs".

    Recently I'm getting an error dialog box on my T530 when I boot it into my OEM installation of Windows 8.  The window title bar is "Windows Script Host", and the error message is:
    Error on boot: "Can not find script file "C:\ProgramData\Lenovo-20841.vbs".
    I pulled up an old backup, and I do have that file, along with a number of other ones that are missing from that directory.  I'm attaching a screenshot of the files that are missing.  Not sure why they would have been deleted (I know I didn't do it manually).  Should I just restore the file?  What about the other ones?
    Thanks very much.

    I am getting a different VBS script error than the one listed above.
    Does anyone know how I can get this file?  or recreate it?
    I get a similar message saying that it can't find the file c:\programdata\Lenovo-11472.vbs
    Also, my wireless just randomly resets - sometimes very few minutes - after I've been using the system for a while.  It's brand new and I can't figure out what's going on.  Could this be the issue?
    When I restart, it stays stable for a while and then starts acting up again.
    Thanks for your help!

  • [SOLVED] Can't find root partition after upgrade

    After upgrading to Linux 3.6.6, the boot fails with something like "can't find root, UUID=..." and I get a root shell. Choosing to recovery mode in GRUB doesn't make a difference.
    I don't have any sda devices in /dev.
    /proc/partitions is empty.
    I have Macbook Pro 7,1.
    Ubuntu on other partition works.
    Any idea how to fix this?
    Last edited by dontbugme (2012-11-08 17:53:46)

    dontbugme wrote:Now I realize that I did a probably stupid thing. I removed mdadm and lvm2 thinking that I don't need them. So the mdadm kernel module is missing. Could this be the problem? I don't use RAID or LVM.
    I don't use these either ... but this does sound like a very plausible cause of this error.  Are you sure you aren't using either?
    In any case, it's easy enough to add them back and see if that solves this.  Boot into live media, chroot, add back the modules to mkinitcpio.conf and rebuild the initramfs.  If nothing else this would verify that these are not the problem.

  • [SOLVED] - Arch Boot Error: Unable to find Root Device /dev/sdb1

    I had Arch running perfectly using /dev/sdb1 (versus Disk Label or UUID) and decided to do a update.  After the Update I can't boot
    to a running system, and I get this error message:
    ERROR: Unable to find root device /dev/sdb1 
    You are being dropped into a recovery shell.
    Is there an easy way to convert to UUID or Disk Label since the latest Upgrade doesn't allow me to continue to use /dev/sdb1 ??
    I'd prefer not to have to rebuild both USB Flash Drives to get functional systems.
    Any Help is greatly appreciated.
    Suggestions?
    Larry
    Last edited by lkraemer (2012-02-21 15:14:02)

    Check your grub and read https://wiki.archlinux.org/index.php/UUID#By-uuid
    Edit:
    https://bbs.archlinux.org/viewtopic.php … 0#p1059160
    https://bbs.archlinux.org/viewtopic.php?pid=1059338
    https://bbs.archlinux.org/viewtopic.php?id=135288
    Last edited by karol (2012-02-21 01:07:21)

  • [SOLVED] No boot after update unable to find root device|libmount.so.1

    Hi,
    after my most recent update, which was the first for a long time, I am getting the following error when trying to boot my system:
    mount: /lib/libmount.so.1: version 'MOUNT_2.20' not found (required by mount)
    cat: can'topen '/proc/cmdline': No such file or directory
    ERROR: Unable to find root device ' '
    The same for MOUNT_2.21. This error still persists after chroot manual installs of util-linux and glibc. I tried downgrading util-linux still witout success. Following reply #15 of: https://bbs.archlinux.org/viewtopic.php?pid=1130638 did not solve it either.
    I also reinstalled grub just to be on the safe side, but nothing helped.
    Please help.
    Thanks
    Last edited by mark-o-solo (2012-08-02 14:56:36)

    https://wiki.archlinux.org/index.php/Pa … nger_boot.
    If you fucked up the glibc migration (read "The /lib directory becomes a symlink" from the archlinux.org front page), there are countless threads about this, including a big one (350+ replies) in the "Pacman & Package Upgrade Issues" category. I'm sure you will find some answers there.

  • HT1414 Ipod Touch can't find Bluetooth device. (Jam Box)  Upgraded Itunes software did a backup and restore on the Ipod.  My PC sees it fine.  IPod used to work with JamBox.  Reset Jambox, no luck. Followed every instruction from the forums. Still no luck

    Ipod Touch can't find Bluetooth device. (Jam Box) 
    Upgraded Itunes software did a backup and restore on the Ipod.
    My PC sees Jam Box fine.  IPod used to work with JamBox.  Reset Jambox, no luck.
    Followed every instruction from the forums. Still no luck.
    Reset Jam Box to factory settings. 

    Did a network reset on the Ipod after the backup and restore.  No luck

  • TS1538 In iTunes 11 I can't find a device list nor my ipod to the left of music library screen, where is the device list situated?

    After installing update to iTunes 11, I can not find the devices list nor my ipod on the left side of the music library screen.  I also can't find the devices button.  Devices is an option under 'File' but it only allows 'transfer purchases to ipod'.  Where is the device list located in iTunes 11?

    I`m having exactly the same problem!! Updated Friday to the new Itunes 11, which i have to say looks cool but isn`t overly user friendly, and my Iphone 5 is not being recognised. Ran diagnostic tests and i`m getting a red dot next to iphone, ipod etc stating not connected even though it was! I`ve spent all weekend trying to fix the problem and have gone through clearing the temp folder and the device manager, uninstalling and reinstalling itunes but nothing!

  • My iPad won't turn on.  It has a usb cord picture with an up arrow pointing to iTunes logo.  I can't find my device in iTunes.

    I can't get my iPad to turn on.  I have done everything the internet said, other than looking device up in iTunes, because I can't find my device in iTunes.  What can I do?  It is stuck with a usb cord picture with an up arrow pointing to iTunes logo.

    Try:
    - iOS: Not responding or does not turn on
    - Also try DFU mode after try recovery mode
    How to put iPod touch / iPhone into DFU mode « Karthik's scribblings
    - If not successful and you can't fully turn the iOS device fully off, let the battery fully drain. After charging for an least an hour try the above again.
    - Try on another computer
    - If still not successful that usually indicates a hardware problem and an appointment at the Genius Bar of an Apple store is in order.
    Apple Retail Store - Genius Bar       

  • Hello buy a movie on apple tv, and now can not find the device tells me I should go to settings / downloads / check downloads, but that does not exist in the menu of the apple tv, please help

    Hello buy a movie on apple tv, and now can not find the device tells me I should go to settings / downloads / check downloads, but that does not exist in the menu of the apple tv, please help

    Welcome to the Apple community.
    A number of people have reported similar issues recently, many appear to have found a discrepancy of some kind in their account settings and making changes to these settings or simply resetting them has resolved the matter.
    Check your account details are correct, check that you are using the correct details for Location, Region and Time Zone. You may want to change these settings and then change them back to see if that helps.
    You might also try logging out of and then back into your iTunes account (Settings > iTunes Store > Apple ID’s > Sign Out) and restarting your router. (Some have reported that after doing this, they need to check for rentals even though it may report that there aren’t any, after which rentals once again appear in the ‘movies’ feature)
    Rentals should appear under their own heading in the ‘Movies’ feature, you might also check at Settings > iTunes Store > Check For Rentals.

  • IPod: I clicked the eject button on the sidebar in itunes now I can not find the devices button or my iPod anymore in the iTunes side bar.....Help!

    iPod: I clicked the eject button on the sidebar in itunes now I can not find the devices button or my iPod anymore in the iTunes side bar how do i find it again?.....Help!

    You can use iTunes, connect iPod Touch to computer iTunes.
    Select iPod Touch in iTunes under DEVICES (left panel)
    Select Books tab (right panel near the top)
    Deselect those books that you have read
    Click Sync button (bottom right)
    Have a read to get up to speed using iPod Touch
    iPod touch User Guide (For iOS 5.0 Software)

Maybe you are looking for

  • Upload a set of files from presentation server to app server.

    Hello, I need an urgent help. I know how to use GUI_UPLOAD fm for simple file uploading. However, my requirement is that in my report program(on selection screen) I give the source directory(presentation server) and the target directory (application

  • Jagged Text using Cameras and Motion 3

    Hello, Using Motion 3. We have an issue when we use the camera to travel through various text titles in 3D. The camera works fine, but the text itself is very aliasy - even though we are working in an HD environment. I believe my problem is that the

  • If oracle can create trigger after commit???

    In my problem, I want to refresh a materialized view after I update a field in the table. But in the trigger "after update" on this table, the materialized view only refresh the old data. It maybe the problem of uncommit. So I want to know if I can r

  • Clear me about package concept?

    While executing packages at first time the entire package loaded into memory then 2nd time execution it will executed from local memory. if in case any update happened in any schema object then how the execution happened? its from server or local mem

  • I rest set my whole phone and now my number is unknown

    So I decided to like rest my phone all of it I didn't know it meant deleting my iPhone number I'm with verzion when I check on Carrier it still says verzion but when I look at the my number thing it says Uknown I can't make any calls or text how can