Article Number: 000129823
The following article provides information about a problem with booting to the operating system after running the Ubuntu operating system recovery tool on Dell notebooks.
At the recovery stage, the primary hard drive would normally be expected to be assigned as /dev/sda to proceed with system recovery.
However, in some cases, the Realtek RTS5170 card reader will accidentally report the card reader as /dev/sda, ahead of the real hard drive.
When this occurs the primary hard drive will be assigned as /dev/sdb instead.
This means that the next time you reboot the system after recovery has finished, the boot manager will be looking for the primary hard drive in the wrong location, as the primary hard drive will have shifted to /dev/sda. The boot manager entry change will make it so that the system will not boot up and will stop at the screen shown below :
Gave up waiting for root device. Common problem:
- 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)
ALERT! /dev/disk/by-uuid/e279d132-d5b4-42a6-932f-225b4be3f0c8 does not exist. Dropping to a shell!
BusyBox v1.21.1 (Ubuntu 1:1.21.0-1ubuntu1) built in shell (ash)
Enter 'help' for a list of built-in-commands.
Download the latest Ubuntu LTS image from Ubuntu.com.
Create a bootable USB stick or DVD with the Dell Ubuntu image.
Burning a bootable Ubuntu DVD on a working Windows PC (Windows 7 / 8)::
Right-click on the downloaded ISO image and select Open with > Windows Disc Image Burner.
Select the location of your DVD-RW drive and choose Burn. (I recommend you check the Verify disc after burning option, it will confirm the image has been burned correctly.)
Burning a bootable Ubuntu USB stick on a working Windows PC (Windows 7 / 8):
Download a USB installer such as Pen Drive Linux's USB Installer.
For this particular installer - select Ubuntu from the drop-down list.
Click Browse and open the downloaded ISO image.
Choose the USB drive and click Create.
Boot the system from either the USB stick or the DVD you've created. You may need to press rapidly on the F12 key at the Dell logo screen when you power the system on - to bring up onscreen a boot device selection menu. (Choose the option that matches the media you are using.)
Choose the Try Ubuntu without installing option from the media's boot menu.
This will boot you into a desktop but has not installed anything on your hard drive. Whilst on the desktop press the Ctrl+Alt+T keys together to open a terminal window. Follow the steps below to resolve the boot location problem:
Change to root.
Remount the CDRom to set it read-write.
mount –n –o remount, rw /cdrom/
Enter the command.
Edit the /cdrom/factory/common.cfg file using either the vi or gedit editors. Change the original command to set options="boot=casper automatic-ubiquity noprompt quiet splash -- modprobe.blacklist=rts5139 nomodeset"
Save the file, exit the editor and the terminal window and reboot the system.
If the system still won't boot try the following steps:
Make sure the hardware is running fine by running diagnostics.
if it fails for anything, contact technical support and pass on the error message and validation code.
If it passes, then proceed to the next step.
Run the following command in Terminal:
If you get anything other than drwxrwxrwt, run the following command:
chown username: username .Xauthority
If that doesn't work run:
sudo chmod a+wt /tmp
You can also try running:
If none of these work, then you are looking at recovering from your system image or backup media.
21 Feb 2021