LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-18-2018, 07:45 AM   #1
snowman81
Member
 
Registered: Aug 2006
Location: Michigan
Distribution: Ubuntu
Posts: 282

Rep: Reputation: 30
Ubuntu 18.04 missing UUID


I have 2 drives in my machine with Windows being on SDA and I installed Ubuntu 18.04 on SDB. When I boot up it gets past the Grub screen but then tells me it gave up waiting for the suspend/resume device followed by this message

Code:
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)
It also tells me the UUID of my SDB device is missing. I am booting off of a USB stick and am able to look at the different parameters of SDB. When I cat /proc/cmdline I get this:

Code:
initrd=/ubninit file=/cdrom/preseed/ubuntu.seed boot=casper quiet splash --- BOOT_IMAGE=/ubnkern
I had to use the cables from my cdrom drive to use for the second harddrive so I'm wondering if it needs to see my cdrom for some reason and that could be the issue?
 
Old 04-18-2018, 08:12 AM   #2
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,612

Rep: Reputation: 2515Reputation: 2515Reputation: 2515Reputation: 2515Reputation: 2515Reputation: 2515Reputation: 2515Reputation: 2515Reputation: 2515Reputation: 2515Reputation: 2515
Which version of windows are you using and is it an EFI install or Legacy/MBR install? How did you install Ubuntu, EFI/Legacy? Are you able to boot windows?

So did you check to see what the UUID of the Ubuntu partition is and check the grub.cfg file to see what was there? Is it sdb or a partition, sdb1, ssdb2,?

Quote:
initrd=/ubninit file=/cdrom/preseed/ubuntu.seed boot=casper quiet splash --- BOOT_IMAGE=/ubnkern
That's from the live cd or flash drive, not the hard drive install.

You should not expect beta software such as Ubuntu 18.04 to work flawlessly. Since you volunteered to test their pre-release OS, be sure to report the problem to Canonical/Ubuntu.
 
Old 04-18-2018, 08:26 AM   #3
snowman81
Member
 
Registered: Aug 2006
Location: Michigan
Distribution: Ubuntu
Posts: 282

Original Poster
Rep: Reputation: 30
Windows 10, legacy. Ubuntu is legacy as well. Yup, Windows boots fine. You're right, cmdline in SDB doesn't exist. The menu entry in grub.cfg is

Code:
menuentry 'Ubuntu' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-a3d4d11d-34ec-476d-8950-f76530aa3ced' {
        recordfail
        load_video
        gfxmode $linux_gfx_mode
        insmod gzio
        if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
        insmod part_msdos
        insmod ext2
        set root='hd1,msdos2'
        if [ x$feature_platform_search_hint = xy ]; then
          search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos2 --hint-efi=hd1,msdos2 --hint-baremetal=ahci1,msdos2  a3d4d11d-34ec-476d-8950-f76530aa3ced
        else
          search --no-floppy --fs-uuid --set=root a3d4d11d-34ec-476d-8950-f76530aa3ced
        fi
        linux   /boot/vmlinuz-4.15.0-15-generic root=UUID=a3d4d11d-34ec-476d-8950-f76530aa3ced ro  quiet splash $vt_handoff
        initrd  /boot/initrd.img-4.15.0-15-generic
}
That is the correct UUID for my drive.

I'm turning off the Linux UUID in /etc/default/grub next and see what that does.

***Update**

So I've tried 3 different distros and a couple different harddrives with the same issue. Bios maybe? I'm looking at the hardware next. Different SATA ports and what not.

Last edited by snowman81; 04-18-2018 at 11:54 AM. Reason: Update
 
Old 04-18-2018, 08:44 AM   #4
snowman81
Member
 
Registered: Aug 2006
Location: Michigan
Distribution: Ubuntu
Posts: 282

Original Poster
Rep: Reputation: 30
Nope, it now says SDB2 is missing (that is the root partition).

sorry for the double post. Trying to figure out how to delete it.

Last edited by snowman81; 04-18-2018 at 08:48 AM.
 
Old 04-18-2018, 01:10 PM   #5
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,612

Rep: Reputation: 2515Reputation: 2515Reputation: 2515Reputation: 2515Reputation: 2515Reputation: 2515Reputation: 2515Reputation: 2515Reputation: 2515Reputation: 2515Reputation: 2515
If you are booting from the sdb drive, you should check to see if Grub sees that drive as sdb or sda. Boot Ubuntu and when you see the Grub menu, hit the c key on your keyboard and you should see a Grub prompt (grub>), just type: ls
Check the ouput to see which drive is seen as sda or sdb. You can also look for the boot partition from the grub prompt:

Code:
ls (hd1,msdos2)/
If that's your Ubuntu partition, you should see the directories in the / of the filesystem. If that isn't it, try whichever other partitions you saw with the ls output.
 
Old 04-18-2018, 06:30 PM   #6
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,164

Rep: Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125
From the liveCD go here run the script and post the output.
 
Old 04-18-2018, 06:37 PM   #7
AwesomeMachine
LQ Guru
 
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 5,524

Rep: Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015
I don't think Win10 will boot in legacy mode. When the grub menu appears, you can move to the Linux entry, hit 'e', and edit the kernel line to read root=/dev/sdbN instead of root=UUID, where /dev/sdbN is your root partition. Then, after your into the system, fix grub so it uses the correct UUID.
 
Old 04-18-2018, 06:50 PM   #8
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,612

Rep: Reputation: 2515Reputation: 2515Reputation: 2515Reputation: 2515Reputation: 2515Reputation: 2515Reputation: 2515Reputation: 2515Reputation: 2515Reputation: 2515Reputation: 2515
Quote:
I don't think Win10 will boot in legacy mode.
Yes, it will. If a drive is GPT, then windows will only install UEFI but if it is a Legacy/MBR partitioned drive, there should be no problem installing/booting it.
 
Old 04-19-2018, 01:42 PM   #9
snowman81
Member
 
Registered: Aug 2006
Location: Michigan
Distribution: Ubuntu
Posts: 282

Original Poster
Rep: Reputation: 30
so as an update, re-doing grub didn't work. I changed harddrives, flashed the bios to the latest update, changed sata cables, replaced the entire machine with the same harddrive, changed out that harddrive, tried Ubuntu 16, 17, and 18 all with 3 different flash drives, tried Fedora, same error. I eventually tried Linux Mint and got it to install and then boot back up from the harddrive. If this works I'm staying with Mint for awhile.

**Update**

So this appears to be a kernel issue. Everything was fine for Linux Mint until I updated the headers/kernel. Then it wouldn't boot again.

Last edited by snowman81; 04-19-2018 at 02:21 PM. Reason: Update
 
Old 04-20-2018, 12:19 AM   #10
AwesomeMachine
LQ Guru
 
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 5,524

Rep: Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015
If you suspend Windows, and then try to boot into Linux, you can have problems. Try booting into Windows and doing a full shutdown. Then try Linux again. Did you try to reinstall the boot loader with the Linux install disk?
 
Old 04-20-2018, 07:08 AM   #11
snowman81
Member
 
Registered: Aug 2006
Location: Michigan
Distribution: Ubuntu
Posts: 282

Original Poster
Rep: Reputation: 30
I don't have Windows at all on this box now. I simplified it so it's just one harddrive with Linux.

Last edited by snowman81; 04-20-2018 at 07:14 AM.
 
Old 04-20-2018, 09:47 AM   #12
Rickkkk
Senior Member
 
Registered: Dec 2014
Location: Montreal, Quebec and Dartmouth, Nova Scotia CANADA
Distribution: Arch, AntiX, ArtiX
Posts: 1,364

Rep: Reputation: 511Reputation: 511Reputation: 511Reputation: 511Reputation: 511Reputation: 511
Quote:
Originally Posted by AwesomeMachine View Post
If you suspend Windows, and then try to boot into Linux, you can have problems. Try booting into Windows and doing a full shutdown. Then try Linux again. Did you try to reinstall the boot loader with the Linux install disk?
This is a good point. However, rather counter-intuitively, Windows 10 will typically NOT shutdown completely using the "Shut Down" menu item. It will go into a hybrid state more resembling hibernation. To completely shutdown Windows 10, the "Restart" option is the surest way. Thereafter, if one actually wanted to turn off the computer, hold down the power button to power down.

Cheers ....
 
  


Reply

Tags
boot err msg., ubuntu 18.04


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] dracut disk /dev/disk/by-uuid/blah missing when its not rustyz82 Linux - Software 7 12-20-2017 05:50 PM
[SOLVED] /dev/disk/by-uuid/<uuid here> does not exist and initramfs shell Mitt Green Linux - Kernel 4 08-03-2015 11:56 AM
emachines et1331, boot problems, missing modules, /dev/disk/by-uuid/4b69e9df-e...... islamaro Linux - Newbie 3 03-28-2015 03:18 PM
Change UUID - Edit UUID using the dd command GMHilltop Linux - Newbie 10 10-28-2010 07:39 PM
Volume has problems including no uuid in /dev/disk/by-uuid abejarano Linux - Hardware 3 12-31-2008 08:41 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:08 AM.

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
Open Source Consulting | Domain Registration