booting problem of ubuntu - a file is missing

Asked by kivancsengun

hi everyone. i have installed latest stable version of ubuntu 2 times but i still get the same problem. before the home screen pops up, i get the message 'disk drive not ready yet or not present dev/mapper/...' i guess a file under dev/mapper is missing, how do i restore that file? is it downloadable from ubuntu source code?

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu grub2 Edit question
Assignee:
No assignee Edit question
Solved by:
delance
Solved:
Last query:
Last reply:
Revision history for this message
Sam_ (and-sam) said :
#1

But after the message it proceeds to boot and login manager is displayed?

Revision history for this message
Ubfan (ubfan1) said :
#2

There are some known problems with the grub install when done from a usb live source to another disk -- The usb live source is assigned a device before the target, and when removed, the target gets a lower disk letter/number, leaving the grub config file pointing to a disk which no longer exists. If you get the grub screen at boot time, type e to edit the grub commands and check the disk names. A windows disk is usually sda, and a usb boot device usually sdb. If you grub commands refer to sdc, edit the sdc to sdb. Also commands with hd2, ... change to hd1.
If you successfully boot, immiediatly fix the grub config file by
sudo update-grub

Revision history for this message
kivancsengun (kivanc95) said :
#3

@Ubfan
Lol, i'm new at linux :D how do i check the disk names while in grub commands? also which command is used to editing the grup so that it will refer to sdb instead of sdc..

@Sam
Yes i get the login manager. It is only a message displayed, it doesn't affect the login.

Revision history for this message
Best delance (olivier-delance) said :
#4

You could try: https://help.ubuntu.com/community/Grub2#Reinstalling%20from%20LiveCD
If it fails, we will have to edit manually configuration files.
In this case, open a Live session and post result of commands:
   sudo blkid
   sudo fdisk -l
We will spare an question/answer cycle.
N.B.: To open Live session, boot on Ubuntu CD and choose "Try" instead of "Install".

Revision history for this message
Sam_ (and-sam) said :
#5

> It is only a message displayed, it doesn't affect the login.

Yep, that's what I've assumed because I had the same message on Oneiric.
In fstab it didn't assign a UUID to sda1, instead the parameter was only /dev/sda1.
Please open a terminal: ctrl+alt+t
gedit /etc/fstab

Please copy and paste content here.

Revision history for this message
kivancsengun (kivanc95) said :
#6

Thanks delance, that solved my question.