LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Alert ! /dev/disk/by-uuid/75800786-8994 does not exist. Drop to a shell (https://www.linuxquestions.org/questions/linux-newbie-8/alert-dev-disk-by-uuid-75800786-8994-does-not-exist-drop-to-a-shell-922638/)

NT64 01-07-2012 05:09 PM

Alert ! /dev/disk/by-uuid/75800786-8994 does not exist. Drop to a shell
 
Hi everyone,

I've been using backtrack 5 r1 on a usb flash drive persistent mode for a couple of months now. Recently, I decided to use a usb 3.0 external hard drive with a flesh install of backtrack 5 .The install went well however, every time I try to boot backtrack off the external hard drive I receive this error ...

Alert ! /dev/disk/by-uuid/75800786-8994 does not exist. Drop to a shell

and this occurs a busybox shell comes up..

I've check the UUIDs in grub.conf and even formated and reinstalled backtrack again.

I don't know how to proceed from here any help will be appreciated.

fukawi1 01-07-2012 07:31 PM

Try checking the UUID's are right in fstab.

NT64 01-07-2012 07:50 PM

Here are the contains of grub.cfg and fstab.cfg.....

grub.cfg

#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by /usr/sbin/grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#

### BEGIN /etc/grub.d/00_header ###
if [ -s $prefix/grubenv ]; then
load_env
fi
set default="0"
if [ ${prev_saved_entry} ]; then
set saved_entry=${prev_saved_entry}
save_env saved_entry
set prev_saved_entry=
save_env prev_saved_entry
set boot_once=true
fi

function savedefault {
if [ -z ${boot_once} ]; then
saved_entry=${chosen}
save_env saved_entry
fi
}

function recordfail {
set recordfail=1
if [ -n ${have_grubenv} ]; then if [ -z ${boot_once} ]; then save_env recordfail; fi; fi
}
insmod ext2
set root='(hd2,1)'
search --no-floppy --fs-uuid --set 9d859658-6091-40fd-b984-400be000a8d7
if loadfont /usr/share/grub/unicode.pf2 ; then
set gfxmode=1024x768
set gfxpayload=keep
insmod gfxterm
insmod vbe
if terminal_output gfxterm ; then true ; else
# For backward compatibility with versions of terminal.mod that don't
# understand terminal_output
terminal gfxterm
fi
fi
insmod ext2
set root='(hd2,1)'
search --no-floppy --fs-uuid --set 9d859658-6091-40fd-b984-400be000a8d7
set locale_dir=($root)/boot/grub/locale
set lang=en
insmod gettext
if [ ${recordfail} = 1 ]; then
set timeout=-1
else
set timeout=10
fi
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/05_debian_theme ###
set menu_color_normal=white/black
set menu_color_highlight=black/light-gray
### END /etc/grub.d/05_debian_theme ###

### BEGIN /etc/grub.d/10_linux ###
menuentry 'Ubuntu, with Linux 2.6.39.4' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod ext2
set root='(hd2,1)'
search --no-floppy --fs-uuid --set 9d859658-6091-40fd-b984-400be000a8d7
linux /boot/vmlinuz-2.6.39.4 root=UUID=9d859658-6091-40fd-b984-400be000a8d7 ro text splash vga=791
initrd /boot/initrd.img-2.6.39.4
}
menuentry 'Ubuntu, with Linux 2.6.39.4 (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod ext2
set root='(hd2,1)'
search --no-floppy --fs-uuid --set 9d859658-6091-40fd-b984-400be000a8d7
echo 'Loading Linux 2.6.39.4 ...'
linux /boot/vmlinuz-2.6.39.4 root=UUID=9d859658-6091-40fd-b984-400be000a8d7 ro single
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-2.6.39.4
}
### END /etc/grub.d/10_linux ###

### BEGIN /etc/grub.d/20_memtest86+ ###
menuentry "Memory test (memtest86+)" {
insmod ext2
set root='(hd2,1)'
search --no-floppy --fs-uuid --set 9d859658-6091-40fd-b984-400be000a8d7
linux16 /boot/memtest86+.bin
}
menuentry "Memory test (memtest86+, serial console 115200)" {
insmod ext2
set root='(hd2,1)'
search --no-floppy --fs-uuid --set 9d859658-6091-40fd-b984-400be000a8d7
linux16 /boot/memtest86+.bin console=ttyS0,115200n8
}
### END /etc/grub.d/20_memtest86+ ###

### BEGIN /etc/grub.d/30_os-prober ###
menuentry "Windows 7 (loader) (on /dev/sda1)" {
insmod ntfs
set root='(hd0,1)'
search --no-floppy --fs-uuid --set 74DEBF56DEBF0F7C
chainloader +1
}
### END /etc/grub.d/30_os-prober ###

### BEGIN /etc/grub.d/40_custom ###
# This file provides an easy way to add custom menu entries. Simply type the
# menu entries you want to add after this comment. Be careful not to change
# the 'exec tail' line above.
### END /etc/grub.d/40_custom ###


fstab.cfg

# /etc/fstab: static file system information.
#
# Use 'blkid -o value -s UUID' to print the universally unique identifier
# for a device; this may be used with UUID= as a more robust way to name
# devices that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc nodev,noexec,nosuid 0 0
# / was on /dev/sdc1 during installation
UUID=9d859658-6091-40fd-b984-400be000a8d7 / ext4 errors=remount-ro 0 1
# swap was on /dev/sdc5 during installation
UUID=01ba1744-efa7-49b3-8950-dc27b75b0b74 none swap sw 0

The UUIDs are the same in these two files. Please note that the UUID in the first post at the top is different since I reformat and tried to reinstall backtrack a second time. However the problem still remains the same.

fukawi1 01-07-2012 08:30 PM

Do the UUID's match the partitions?

NT64 01-08-2012 10:39 AM

blkid

/dev/loop0: TYPE="squashfs"
/dev/sda1: LABEL="SYSTEM" UUID="74DEBF56DEBF0F7C" TYPE="ntfs"
/dev/sda2: UUID="1EDE7494DE7465C5" TYPE="ntfs"
/dev/sda3: LABEL="HP_TOOLS" UUID="34BB-64EA" TYPE="vfat"
/dev/sdb1: LABEL="PENDRIVE" UUID="1216-4B47" TYPE="vfat"
/dev/sdc1: UUID="9d859658-6091-40fd-b984-400be000a8d7" TYPE="ext4" <----
/dev/sdc5: UUID="01ba1744-efa7-49b3-8950-dc27b75b0b74" TYPE="swap"

Looking at the partitions of each drive the UUID matches under sdc1.


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