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

Notices


Reply
  Search this Thread
Old 07-30-2016, 08:20 PM   #1
readmore
LQ Newbie
 
Registered: Feb 2013
Location: on the park bench.
Distribution: Debian
Posts: 15

Rep: Reputation: Disabled
Booting to initramfs, gave up waiting, /dev/disk/by-uuid/xxxx does not exist


This is resolved now. Found a solution on askubuntu, but I dont need anymore online accounts. So documenting here on LQ.

Problem: Computer started booting to initramfs and gave messages: ... gave up waiting ... /dev/disk/by-uuid/xxxx does not exist

How I broke it: This happened after running "update-initramfs -u" and rebooting. (Was troubleshooting a different problem). Just prior to running update-initramfs, I had run "depmod `uname -r` /lib/modules/3.16.0-4-amd64/kernel/drivers/net/ethernet/realtek/r8169.ko.

Then system came back up to initramfs, with the ash (?) shell. There were also some errors about various modules. Missing I think. Some webpages/forums said just type exit at ash shell and system will come up. That didnt work in this case.

Cause? I'm guessing the dependency list was built incomplete into the kernel because I specifically named a file(?), and/or I didn't do grub stuff at the time. man depmod: "-a, --all Probe all modules. This option is enabled by default if no file names are given in the command-line." The solution below I had first tried w/out the depmod command but it failed. Then running it without specifying any file (i.e. relying on the default of -a); then the problem cleared.

Anyway, the resolution for me was; Based on: http://askubuntu.com/a/516471

(Change /dev/sda1 to wherever your install is.)

- Booted off debian install-cd, chose rescue mode, dropped to busybox shell, and:

# mount /dev/sda1 /mnt
# mount --bind /dev /mnt/dev
# mount --bind /proc /mnt/proc
# mount --bind /sys /mnt/sys
# chroot /mnt
# depmod `uname -r`
# update-initramfs -u
# update-grub
reboot

HTH someone.
 
Old 07-31-2016, 12:27 AM   #2
kiyop
Member
 
Registered: Jun 2015
Distribution: Debian, Arch
Posts: 56

Rep: Reputation: Disabled
Talking

Quote:
Originally Posted by readmore View Post
How I broke it: This happened after running "update-initramfs -u" and rebooting. (Was troubleshooting a different problem). Just prior to running update-initramfs, I had run "depmod `uname -r` /lib/modules/3.16.0-4-amd64/kernel/drivers/net/ethernet/realtek/r8169.ko.
Why did you do such a stupid thing?
Is there any web page which suggested it?
Code:
man depmod
shows:
Quote:
If filenames are given on the command line, only those modules are examined (which is rarely useful unless all modules are listed).
 
Old 07-31-2016, 09:23 AM   #3
readmore
LQ Newbie
 
Registered: Feb 2013
Location: on the park bench.
Distribution: Debian
Posts: 15

Original Poster
Rep: Reputation: Disabled
what!? rtfm? pffft...dive in gunz blazin man.

Like I said...was troubleshooting a diff problem. lol, anyways, I got into it I got out of it.
 
Old 08-01-2016, 02:38 PM   #4
sgosnell
Senior Member
 
Registered: Jan 2008
Location: Baja Oklahoma
Distribution: Debian
Posts: 1,054

Rep: Reputation: 281Reputation: 281Reputation: 281
Hanging boot when the device does not exist usually means a borked fstab file. Correcting that usually fixes the problem without having to do anything else. But Ubuntu forums can give strange advice, which sometimes even works.
 
  


Reply


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
[SOLVED] /dev/disk/by-uuid/<uuid here> does not exist and initramfs shell Mitt Green Linux - Kernel 4 08-03-2015 12:56 PM
ALERT! /dev/disk/by-uuid/.... does not exist. Dr. opping to a shell BEaSTFX Linux - Kernel 8 07-09-2012 08:32 PM
Alert ! /dev/disk/by-uuid/75800786-8994 does not exist. Drop to a shell NT64 Linux - Newbie 4 01-08-2012 11:39 AM
ALERT! /dev/disk/by-uuid/.... does not exist. Dr. opping to a shell! Deimon Linux - Kernel 1 01-05-2011 09:15 PM
ALERT! /dev/disk/by-uuid/ #### does not exist ubuntu 1:1.10.2 -1ubuntu7 please help pinged Linux - Laptop and Netbook 25 04-13-2009 07:57 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 01:21 PM.

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