![]() |
ubuntu.com - launchpad.net - ubuntu help
|
|
|||||||
|
Installation & Upgrades For questions about upgrading and installation of your new Ubuntu OS. |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
First Cup of Ubuntu
![]() Join Date: Oct 2009
Beans: 2
|
error: no such device UUID error I think??
I have downloaded the 9.10 iso and burnt it to a disk. It seems to install with no errors and then tells me to take out the disk, close the draw and press enter to reboot. All good so far I thought.
After the reboot I get the Grub loading but then get the following error: no such device: xxxxx-xxxx-xxxx-xxxxxxxxxx (it's a very long number) Press any key to continue... I press a key and get a GNU GRUB version 1.97~beta4 screen. Both the Ubunto, Linux 2.6.31-14-generic and the recovery mode option just give the same error. If I click "e" to edit I get a complicated set of commands 2 lines of which contain the xxxxx-xxxxx-xxxx-xxxxx number. I am using an IBM Thinkpad T40 with a single HDD. I suspect that I need to do something with the UUID number but I don't know what or how. Any help would be brilliant. Cheers |
|
|
|
|
|
#2 |
|
100% Pure Ubuntu
![]() |
Re: error: no such device UUID error I think??
Notice the UUID number, then boot from a live-cd (knoppix, ubuntu or similar) and perform this command:
Code:
blkid Notice the UUID you found for your boot partition with the blkid command. This is the correct UUID, which has to be replaced in the /boot/grub/menu.lst file and the /etc/fstab file of your ubuntu system partition. TO replace the entries you first have to mount the ubuntu partition, e.g. if /dev/sda2 is your ubuntu system partition then perform: Code:
sudo mount /dev/sda2 /mnt Code:
gksudo gedit /mnt/boot/grub/menu.lst Code:
# kopt=root=UUID=1a8cdf2e-e6f9-4020-a751-30f83844bc82 ro Then scroll down and find the part which looks similsr to this one (again from my own menu.lst): Code:
## ## End Default Options ## title Ubuntu 9.04, kernel 2.6.28-16-generic root (hd0,2) kernel /boot/vmlinuz-2.6.28-16-generic root=UUID=1a8cdf2e-e6f9-4020-a751-30f83844bc82 ro initrd /boot/initrd.img-2.6.28-16-generic quiet title Ubuntu 9.04, kernel 2.6.28-16-generic (recovery mode) root (hd0,2) kernel /boot/vmlinuz-2.6.28-16-generic root=UUID=1a8cdf2e-e6f9-4020-a751-30f83844bc82 ro single initrd /boot/initrd.img-2.6.28-16-generic title Ubuntu 9.04, kernel 2.6.28-15-generic root (hd0,2) kernel /boot/vmlinuz-2.6.28-15-generic root=UUID=1a8cdf2e-e6f9-4020-a751-30f83844bc82 ro initrd /boot/initrd.img-2.6.28-15-generic quiet title Ubuntu 9.04, kernel 2.6.28-15-generic (recovery mode) root (hd0,2) kernel /boot/vmlinuz-2.6.28-15-generic root=UUID=1a8cdf2e-e6f9-4020-a751-30f83844bc82 ro single initrd /boot/initrd.img-2.6.28-15-generic Save the file. Next, we have to take a look into the /mnt/etc/fstab file an also replace the UUID for your ubuntu system partition with the UUID you found with blkid (edit the fstab file as root). Btw., in the fstab file the UUID's of other partitions (swap, data partitions, windows partition etc.) must be the same as you found with the blkid command, so maybe you have to change these too I hope this can help you. If you have separate partitions for your /boot and / (root) and you don't know how to handle this, the post it here and we can take some other steps to get your system working again.
__________________
watch out where the huskies go and don't you eat that yellow snow (Zappa) http://www.youtube.com/watch?v=NhawrtsnkWE |
|
|
|
|
|
#3 |
|
First Cup of Ubuntu
![]() Join Date: Oct 2009
Beans: 2
|
Re: error: no such device UUID error I think??
Thanks for this
my fstab file has the correct values and is all good. I do not have a menu.lst file in the boot grub directory. I see this might be a problem but I don't know what to do about it. |
|
|
|
|
|
#4 | |
|
100% Pure Ubuntu
![]() |
Re: error: no such device UUID error I think??
Quote:
Neverthless, something went wrong and you should boot from the live-cd. Then post the output of the command Code:
sudo fdisk -l
__________________
watch out where the huskies go and don't you eat that yellow snow (Zappa) http://www.youtube.com/watch?v=NhawrtsnkWE |
|
|
|
|
|
|
#5 | |
|
Dipped in Ubuntu
![]() Join Date: Oct 2009
Location: UK
Beans: 626
Ubuntu 9.04 Jaunty Jackalope
|
Re: error: no such device UUID error I think??
Quote:
Last edited by mechro; October 30th, 2009 at 01:48 PM.. |
|
|
|
|
|
|
#6 |
|
Just Give Me the Beans!
![]() Join Date: Dec 2005
Beans: 59
|
Re: error: no such device UUID error I think??
This is the exact problem I'm having. However, I don't have a /boot/grub/menu.lst file on my installation either. I have /boot/grub/grub.cfg. The UUID for the boot partition seems to match what is listed when I run blkid. I looked in the fstab file as well and the UUID matched for the boot partition and for the swap partition. I don't understand what's going on here. I still can't boot.
|
|
|
|
|
|
#7 |
|
100% Pure Ubuntu
![]() |
Re: error: no such device UUID error I think??
I'm sorry but i have no expeience with the new grub2 configuration.
Maybe this is the right place for you: https://wiki.ubuntu.com/Grub2
__________________
watch out where the huskies go and don't you eat that yellow snow (Zappa) http://www.youtube.com/watch?v=NhawrtsnkWE |
|
|
|
|
|
#8 |
|
First Cup of Ubuntu
![]() Join Date: Jun 2007
Beans: 1
|
Re: error: no such device UUID error I think??
I have the problem to. Here is a work around to boot.
Turn on the machine. As soon as it starts to boot press SHIFT or press ESC to bring up the boot menu. Hightlight the first line and press E to edit. Cursor down to the line that says "search --no floppy etc etc" Use the delete key and delete the whole line and any part of it that wrapped below it Now hold the cTRL key and press X to boot. I have a laptop with NO floppy and this works for me...but you have to do it every time you boot up..it does not fix the problem The problem is in the grub.cfg file I think |
|
|
|
|
|
#9 |
|
First Cup of Ubuntu
![]() Join Date: Jul 2009
Location: Australia
Beans: 1
Ubuntu 9.04 Jaunty Jackalope
|
Re: error: no such device UUID error I think??
I have the same problem as ubuntoPete as well. It seems like I get an error about no such device flash past just before I get the Grub boot menu as well.
I've tried most of the things I can find on the forums here with no success. If I boot on the live cd and follow the threads in the grub2 forum to try and reinstall grub to not use the UUID, it doesn't find the disk at all. For what it's worth, I tried to install 9.10 on a spare pc and had the same trouble. I put an IDE disk into the spare pc instead of the normal sata and even though it would not install without running the install from within the live cd, when it did install it works fine. On this install I don't even see the grub menu, it boots straight to 9.10. |
|
|
|
|
|
#10 | |
|
First Cup of Ubuntu
![]() Join Date: Nov 2007
Beans: 3
|
Re: error: no such device UUID error I think??
Quote:
your right.. grub.cfg is rooted... just shove a ; in front of that line & continue, no need to delete the whole line.. (still f## retarded tho)
__________________
be independent ... sudo apt-get install * |
|
|
|
|
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|