grub rescue error
I get a "no such device" error when i try to start my computer. I had to reinstall Ubuntu after a crash and now I can see but can't get to all my files nor can i restart the computer without the Installation CD. Help
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Ubuntu grub2 Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Jack Vultaggio
- Solved:
- Last query:
- Last reply:
Revision history for this message
|
#1 |
Sounds like the bootloader has been damaged.
You can try to recover your bootloader using this procedure:
https:/
Revision history for this message
|
#3 |
Have a look at:
https:/
but you should get same result.
Could you provide whole error message ?
Revision history for this message
|
#4 |
error message is:
error: no such device: 5c0c1c4d-
Grub Rescue>
Revision history for this message
|
#5 |
I also have a 500gb external drive attached
Revision history for this message
|
#6 |
There is an inconsistency between the UUID:
in file /boot/grub/grub.cfg
of partition, provided by "sudo blkid"
Running https:/
Could you run following procedure:
---
X-provide data about boot configuration
There is a standard script provided to analyse boot configuration.
Could you download script at:
http://
Then in a terminal (Ctrl+Alt+T) run command:
sudo bash boot_info_
This will produce a file named: RESULTS.txt
Paste content of this file in http://
Please don't post file directly in thread, else it will make thread difficult to read.
Revision history for this message
|
#7 |
I apologize I did not mean to be a source for answers about Ubuntu ...It is
actually I that needs help for I am brand new to this system and have very
little skill sets when it comes to knowing my way around....I do apologize,
I can assure you though that the level of knowledge and help that I have
received amongst the Open Source / Launch Pad and Overall Ubuntu help
experience has been more than adequate, in fact down right helpful...so I AM
SURE SOMEONE WILL ANSWER YOUR QUESTIONS PROPERLY AND BEST OF LUCK!
Respectfully,
Sebastian Powell
On Sat, Jan 1, 2011 at 3:20 AM, delance <
<email address hidden>> wrote:
> Question #139648 on grub2 in ubuntu changed:
> https:/
>
> Status: Open => Answered
>
> delance proposed the following answer:
> There is an inconsistency between the UUID:
> in file /boot/grub/grub.cfg
> of partition, provided by "sudo blkid"
> Running
> https:/
> Could you run following procedure:
> ---
> X-provide data about boot configuration
>
> There is a standard script provided to analyse boot configuration.
> Could you download script at:
> http://
> Then in a terminal (Ctrl+Alt+T) run command:
> sudo bash boot_info_
> This will produce a file named: RESULTS.txt
> Paste content of this file in http://
> thread the link to Web page.
> Please don't post file directly in thread, else it will make thread
> difficult to read.
>
> --
> You received this question notification because you are an answer
> contact for Ubuntu.
>
Revision history for this message
|
#8 |
This is what happened when I type "sudo bash boot_info_
Bash: boot_info_
Thank you
Revision history for this message
|
#9 |
the install is taking forever... It appears to be working but nothing is happening on the Applying Changes: Preparing packages... It said it may take some time but its going on over a half an hour
is that normal? or am I stuck again?
Revision history for this message
|
#11 |
We need to have a look at partition table.
---
In a terminal (Applications-
sudo parted -l
where "-l" is lowercase "L". This will display list of partition.
Revision history for this message
|
#12 |
This is what I got after running that command: (note: I should have 160gb internal HD and 500gb external hd
ubuntu@ubuntu:~$ sudo parted -l
Model: ATA ST3160021A (scsi)
Disk /dev/sda: 160GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Number Start End Size Type File system Flags
1 1049kB 157GB 157GB primary ext4 boot
2 157GB 160GB 3077MB extended
5 157GB 160GB 3077MB logical linux-swap(v1)
Model: SanDisk U3 Cruzer Micro (scsi)
Disk /dev/sdb: 1020MB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Number Start End Size Type File system Flags
1 31.2kB 1019MB 1019MB primary fat32 boot, lba
Warning: Unable to open /dev/sr1 read-write (Read-only file system). /dev/sr1
has been opened read-only.
Error: /dev/sr1: unrecognised disk label
Warning: Unable to open /dev/sr2 read-write (Read-only file system). /dev/sr2
has been opened read-only.
Error: /dev/sr2: unrecognised disk label
Revision history for this message
|
#13 |
As external drive is FAT32, I presume you have any OS on it.
If you installed Ubuntu while external drive was connected, perhaps there was a mismatch between internal and external drive.
Could you:
1) unplug external drive
2) run https:/
3) boot without external drive
4) boot with external drive
If three first steps are OK, we have won.
If (4) fails, we will have to make external disk not bootable.
but if (3) fails, we have still a real issue!
Revision history for this message
|
#14 |
Ok... my reboot failed and gave me the following message: "Installation defaults for the Gnome Power Manager have been installed properly."
This message come up in the right hand corner right after I put in my password.
The external drive was installed when I installed Ubuntu the first time... remember, I installed it again when this all started a couple of weeks ago because I could not access my system. I think it had something to do with my internal drive running out of space.
Revision history for this message
|
#15 |
I was just checking through my "Media" file on the internal HD and found that two partition are unreadable /media/
Revision history for this message
|
#16 |
Partitions of internal drive should not be in /media folder. This one is for partitions of removable mass memory storage (hard disk, USB stick, ...).
Could you unplug external disk (and all external USB stick also), and run:
sudo du -sm /media
You will get the number of MBytes on /media.
The result should be zero or one. If yes, continue.
Then run:
sudo ls /media
If you get some folders, then run:
sudo rm -rf /media/*
It will remove empty folders.
Revision history for this message
|
#17 |
ok... that was completed successfully, now what?
Revision history for this message
|
#18 |
Now connect external hard drive, and it should appear in /media.
Check you can add new files into it.
Revision history for this message
|
#19 |
ok... i'll re connect. But what about the Gnome Power Manager error on reboot? I can only boot with the LiveCD
Revision history for this message
|
#20 |
Gnome is launched after login, so very late in boot process from hard disk.
When you boot from disk, did you reach login screen and did you enter username/password ?
Else at which step are you stopped ?
Revision history for this message
|
#21 |
yes, i get to the log in screen but I am unable to login... I put in my password but it eventually comes back to the login screen
Revision history for this message
|
#22 |
I also noticed that on my Grub screen where I can choose the OS, there are at least 4 Ubuntu to choose from... can this be causing the problem? Is there a way to uninstall them?
Revision history for this message
|
#23 |
Also, when I try and access my documents on the internal drive it says I am not the owner and do not have permission... I think I've made a mess
Revision history for this message
|
#24 |
Your problem is unrelated to Grub. So please don't touch anything on Grub.
Your graphic server woks probably well also.
When you log in, some scripts are run at start, and one of them fails. So you return to login screen.
I will have a look tomorrow, on how to investigate.
You can try 2nd and 3rd lines of Grub menu, but I think you will get same issue.
If you want to search, you can have a look at end of files in /var/log.
Revision history for this message
|
#25 |
I did... thank you; Should I try and reinstall the Gnome power manager, or just hold up until tomorrow?
Revision history for this message
|
#26 |
I did a little more research after reinstalling gnome power manager failed and I believe the cause of my problem is that my internal hard drive where my original linux is installed has no free space. When I try to access my documents, to move them to my 500gb external drive, I am unable to access them. Is there a way I can move these files from a terminal window?
Revision history for this message
|
#27 |
Grub problem resolved, thank you. But I still can't boot because of the Gnome Power Management problem which I think is due to my internal drive running out of disk space. I have a new question running, but have not been able to resolve the issue.
Revision history for this message
|
#28 |
Thanks delance, that solved my question.
Revision history for this message
|
#29 |
Hi
Are you still having troubles accessing the data? When you try to boot up the hard-drive installed version of Ubuntu do you get to a boot-menu that has various options for booting into Ubuntu? The 2nd Ubuntu option should have "recovery mode" at the end of it's line. This "recovery mode" should get you to another menu that has an option to "Clear some space"
Please let us know how this is going!
Good luck and regards from
Tom :)
Revision history for this message
|
#30 |
not exactly... i have new problems after moving documents from my home file. but i started a new questions as it doesn't pertain to Grub2. It sounds like your way would have been easier... thanks for the input.
Revision history for this message
|
#31 |
Hi :)
My method of clearing space is only the first step. It sounds as though you already did the next bit of getting some of the data safely off elsewhere. Now hopefully you might be able to boot into that older install of Ubuntu? Err i am going to copy this comment to your thread at
https:/
Ok, many thanks and regards from
Tom :)
Revision history for this message
|
#32 |
Thank you... I do not have an install that is working on the external. Should I install one?
Revision history for this message
|
#33 |
my grub2 problem is solved... but there other problems in other posted questions.
Thank you all for your help