Ubuntu Installation :: Root Files Uuid Not Found Grub2?
Mar 22, 2010
I have a Netbook Remix install on an SD card that won't boot. Grub2 in the recovery mode shows it fails finding the root files by using UUID. It's my first Grub2 install and I'm not sure how to go about debugging it. The machine boots the same version from a USB stick.
View 1 Replies
ADVERTISEMENT
Mar 15, 2015
I am running Wheezy as my main OS in the first drive in my desktop. I use the 2nd drive for data. I am trying to add another OS to multiboot. When I ran grub-update in Wheezy, I am getting device letter for the root device instead of UUID in grub.cfg, in the os-prober section. Like this
Code: Select allsearch --no-floppy --fs-uuid --set=root 6ee49a8e-a619-49c7-9f66-51a5ca9a48cc
linux /boot/vmlinuz-316-x86_64 root=/dev/sdb3
initrd /boot/initramfs-316-x86_64.img
In the same file, UUID was used for the existing kernels.
Code: Select alllinux /boot/vmlinuz-3.2.0-4-686-pae root=UUID=c2eecf02-d427-4f2e-9fd0-9db61256cbac ro quiet
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-3.2.0-4-686-pae
How can I get UUID instead of /dev/sdb3 for the 2nd OS?
View 3 Replies
View Related
Dec 11, 2010
So I've a computer with a lot of disks which is running Ubuntu 9.04. The setup is made od a software raid 1 array of 200 MB for use in /boot (md0), then another raid1 array of the remaining space as a unique PV for the LVM2 vg0. This vg0 is split in many lv, for /, /usr .... and swap. A few days back, one of the raid1 disk went wrong. So as the raid is built on 160Gb disks and nobody in my town sells so little disks I bought a couple of 320GB disks. The partitioning was made like the original partitions, except that the second partition is way bigger than it was. I replaced the failed disk in the arrays, and now I've an md0 of 200 MB and an md1 of roughly 150GB as it was previously and all is in sync. This replacement was made using a rescue disk (in order to be sure that the machine was not locking anything...)
So I thought it was fine. But upon reboot on the hard disks, I get a fast GRUB message "error: no such device : <UUID ending in 4ec05>. when I start the first Ubuntu entry I get the same error. So I edit the boot entry, remove the "search --no-floppy --fs-uuid --set <UUID ending in 4ec05> " and boot the damn thing. When booted I ran :
[Code]...
View 9 Replies
View Related
Apr 24, 2010
Using a M2N32-SLIDeluxe MOBO, both OS crash trying to start. It says that the timeout trying to boot from my sata device was reached.It seems that is a problem trying to boot/mount the HD by uuid, because all the other systems that does not use grub2 has problems.
View 3 Replies
View Related
Nov 25, 2010
For reasons long and unique, I want to disable UUID in my recent Ubuntu 10.4 install, and use the old fashioned /dev/sda1 /dev/sdb3 etc. method. I had this "all fixed" under GRUB (pre-2) on Ubuntu 8.04 and it has served well and bug free for years. (Warning: I use old stable hardware - others may have disasters.) But with GRUB2, the task seems more complicated. (This guide me make the backups I haven't done since the fresh install 2 weeks ago.)
Is the following process complete, necessary, and accurate...
Edit the file /etc/default/grub to remove the # in the line...
#GRUB_DISABLE_LINUX_UUID="true"
... making sure to add the two " if missing .....
Copy nearly the entire /boot/grub/grub.cfg file
into /etc/grub.d/40_custom and then...
Comment out every line that says...
search --no-floppy --fs-uuid --set (etc.)
Change every line that says...
linux /boot/vmlinuz-2.x.yy-zz-generic root=UUID=(etc.) into...
linux /boot/vmlinuz-2.x.yy-zz-generic root=/dev/sda1
Edit /etc/fstab and change every instance of UUID=(etc.)
to the appropriate drive and partition e.g. /dev/sda1
edit /etc/initramfs-tools/conf.d/resume and change RESUME=UUID=(etc.)
into RESUME=/dev/sda1
Run update-grub
Do all the above, every time I do a kernel upgrade. (Is it important to do all the above before or after rebooting for an upgrade?) Am I correct, succinct, and complete in the above process? Any mistakes? Any omissions?
View 3 Replies
View Related
Oct 26, 2010
I'm trying to install GRUB2 on root partition under RAID 5. I tried using the alternate CD, but installation failed. Now I'm trying under the live CD and grub-install ... but I'm being told it can't find the device even though /dev/sda2 (root partition) and /dev/sda are mounted.I have 4 discs, each with a swap partition (/dev/sdX1) and a root partition (/dev/sdX2).
View 9 Replies
View Related
May 17, 2011
I was dual booting Ubuntu and Windows, had to reinstall Windows, it wiped out grub, need to reinstall it now. Was following this: [URL]
Trying to reinstall grub with:
Code:
sudo grub-install --root-directory=/media/d566e91e-941f-4433-8dea-05d3bffb5669 /dev/sda6
Gives me the following error:
Code:
/usr/sbin/grub-setup: warn: Attempting to install GRUB to a partition instead of the MBR. This is a BAD idea..
/usr/sbin/grub-setup: warn: Embedding is not possible. GRUB can only be installed in this setup by using blocklists. However, blocklists are unreliable and their use is discouraged..
/usr/sbin/grub-setup: error: if you really want blocklists, use --force.
*edit more info* Ubuntu is installed on /dev/sda6 on a 50GB partition.
Code:
Device Boot Start End Blocks Id System
/dev/sda1 26 56830 456280064 7 HPFS/NTFS
/dev/sda2 * 56830 56843 102400 7 HPFS/NTFS
/dev/sda3 56843 70981 113561600 7 HPFS/NTFS
/dev/sda4 70981 77826 54979585 5 Extended
/dev/sda5 77096 77826 5859328 82 Linux swap / Solaris
/dev/sda6 70981 77096 49120256 83 Linux
Partition table entries are not in disk order So, I didn't want to do anything and screw things up. I want to boot with grub and not MBR. What should I do?
View 6 Replies
View Related
May 28, 2010
I was upgrading from 9.10 to 10.04 and now my HDD can't boot at all to the 2.6.34-rc6 kernel, I get dumped to the busybox shell, and when I select the 2.6.30.9 I get "The hard drive for / is not ready or not present."
I can see the drive fine with fdisk -l, /dev/sda1 is my HDD, but when booting something isn't working right. Also, is there a way to make GRUB 2 automatically show the menu so I don't have to hold down the shift key?
View 5 Replies
View Related
Mar 5, 2010
I posted this first to thread 'Boot problem - "Gave up waiting for root device.", (initramfs)' then realized that I should start a new thread because the problem is not the same. On boot the splash goes black and nothing happens, On a recovery boot it drops into shell BusyBox and messages indicate that the root partition cannot be found. After booting from CD Gparted GUI partition information shows no label or ssid for the root partition sda2. The data for the root partition appears to be there. how to fix this? My /home, swap, and / are on separate partitions formatted ext3. I have a recent backup only for my data. I would like to avoid having to rebuild my system from scratch.
View 9 Replies
View Related
Aug 17, 2010
when my grub references the UUID for the root= parameter, I get a kernel crash. If I change the root= parameter to /dev/<partition>, grub boots without a problem (f13 64-bit)
[Code]....
View 8 Replies
View Related
Mar 3, 2011
I copied memdisk from /usr/lib/syslinux/ over the to my floppy disk image (dos622.img) and booted int the grub command prompt to see if i could load the image manually. with the followinglinux /boot/memdiskinitrd /boot/dos622.img but nothing occurs, it just goes back the the command prompt. When i trylinux16 /boot/memdiskinitrd /boot/dos622.img i get "linux-bz image, setup -0x600, size 0x5apc form the linux16 command and"You need to load a kernel first" form the Initrd command.
View 2 Replies
View Related
Jan 28, 2011
Last night I attempted to upgrade my Ubuntu 10.10 (amd64) machine. After reboot (it installed a new kernel), the grub menu only had the memtest. Booted into a livecd and it seems that I was missing most of the files in /etc/grub.d/. Reinstalled grub-common and grub-pc didn't seem to restore the files. I ended up having to download the dpkg, expand it and copy the files manually so I could get the box generate grub.conf and boot up. I think grub may have been broken before the upgrade but exhibited the problem when it upgraded the kernel and reran upgrade-grub but I can't seem to figure out why reinstalling grub doesn't add the files back.
View 2 Replies
View Related
Sep 1, 2011
so i've just installed Burg loader in a PC which dual-booted Windows 7 and Ubuntu 11.04 with no problem using grub2 in the past. But after i installed burg it just boots up straight into the Windows OS and Ubuntu is nowhere to be found. Is there a way to restore grub2 preferably without having to lose any files?
View 2 Replies
View Related
Dec 17, 2010
I'm having some trouble with one of my system harddisks. It sometimes works without problems, but is not mounted on other occasions. Even when it's mounted, it's working extremely slow and programs using files from it may crash. On other occasions, however, there are no problems at all. If it's not automounted, I may be able to mount it manually but it sometimes shows "UUID not found". If has a lot of SMART errors:
[Code]...
View 7 Replies
View Related
Nov 17, 2009
When I try to boot from Fedora 12 LiveCD system halts with the messages: "No root device found" "Boot has failed, sleeping forever"
View 14 Replies
View Related
May 20, 2010
I have installed Fedora 12 on my HP laptop which has got a NVIDIA graphics card. I have got latest F12 kernel 2.6.32 as well as default kernel 2.6.31.I have installed Nvidia Proprietary Drivers and modified grub.conf file for 2.6.32 kernel saying blacklist nouvaue so that it can load NVIDIA drivers ...After that I am able to successfully boot into 2.6.32 kernel with Nvidia Proprietary Drivers.Everything seems to be fine .. But suddenly today when I tried to boot into F12 2.6.32 kernel I got the following error
Code:
No Root Device Found
Boot Failed, Sleeping Forever
[code]...
View 14 Replies
View Related
Jun 14, 2010
I'm having a problem going from F12>F13 using preupgrade with a wired internet connection. The current F12 installation is up to date. The upgrade crashes with the "the root for the previously installed system was not found". I've also tried upgrading using YUM and was also unsuccessful. Has anyone run into this problem with this upgrade?
View 6 Replies
View Related
Feb 19, 2011
I didn't like my partitioning layout so I have repartitioned and reformatted the drive. I have copied the backed up back onto the hdd, and i have installed grub successfully. Still, when I boot the machine, I get an error message: "No root device found. Boot has failed, sleeping forever.". When installing GRUB, it managed to found /boot/grub/stage1 without a problem, and I have installed it onto the MBR
View 7 Replies
View Related
Jun 1, 2010
I'm a long time Linux user. Finally got around to upgrading my Fedora 11 system to Fedora 12 by using the 'preupgrade' tool. The upgrade appeared to go well (downloaded packages, rebooted into installer, etc). However, now that the upgrade is complete, I'm unable to boot my system.
Here's my configuration:
/dev/sda (80Gb)
200Mb /boot partition (ext3)
52Gb / partition (ext4 - managed as logical volume)
2Gb swap partition (managed as logical volume)
20Gb /spare partition (ext3 - managed as logical volume) .....
All worked fine under Fedora 11 for the last few months. Grub now presents me with 'Fedora' and 'Windows XP' boot options. The /boot/grub/menu.lst file is essentially the same as it was for Fedora 11, except for the different kernel versions, etc. The boot sequence shows the Fedora bubble (??) and gets about 80% full when the screen goes black and the message displayed is:
No root device found
Boot has failed, sleeping forever
If I boot Windows, all works fine.
Am able to boot using a SystemRescueCD disk. The disks all look okay and I can mount/modify all partitions, etc. The grub menu.lst file read as follows (sorry, typed in, not copied):
default=0
timeout=10
splashimage=(hd0,0)/grub/splash.xpm.gz
hiddenmenu
title Fedora (2.6.32.11-99.fc12.i686.PAE)
root (hd0,0) .....
View 2 Replies
View Related
Nov 21, 2010
I have 2 Debian OS's and wanted to put Fedora next to it.
Install went ok, but after rebooting it says: "No root device found. Boot has failed, sleeping forever."
During install from the live CD I didn't "v" the boot (efi or something?) because I thought Grub would take care of everything.
Should I just reinstall again and choose the Fedora bootloader? Won't it mess up Grub?
View 14 Replies
View Related
Jan 14, 2011
I insert my F14 CD and booted the computer; I see the beginning of the installation and the the screen goes black and says:
No root device found.Sleeping forever. Boot failure.
View 2 Replies
View Related
Jun 19, 2010
In the fstab it is written to run :
"vol_id --uuid"
and that it is a robust method...
but well there is not vol_id
command not found
View 6 Replies
View Related
Feb 8, 2011
I downloaded fedora 14 64 image then created a bootable flash drive and put the image on the flash drive. I rebooted and tried booting from the flash drive and that's the message I received. What do I do?
View 6 Replies
View Related
Mar 7, 2010
i initilally installed ubuntu 9.10 then installed windows 7 ,then i recovered grub2 using livecd as told in the post [URL] i did "sudo update-grub" and got windows 7 menu entry but when i select that entry windows 7 does not load but the grub2 is reloaded again.
i cant boot to windows 7.
Windows 7 have 100 mb partition "System Reserved" the grub2 points to that partition but still windows 7 not loaded.
sudo fdisk -l
Disk /dev/sda: 320.1 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x3c3a81f5
[Code]....
View 3 Replies
View Related
May 17, 2010
I went through so many post but I haven't found the proper answer yet hope you have an Idea1. Grub2 saves only Linux OS as last selected no Windows OS2.It is possible to boot into a cdrom (drive)?
View 2 Replies
View Related
Apr 30, 2010
After upgrading to 10.04 from 9.10 Win7 wouldn't startup any more. So I tried this HowTo: [URL] to restore Grub2. But now each time I boot up I get this two lines: error file not found grub rescue> I have NO idea what to do.
[Code]...
View 9 Replies
View Related
Aug 30, 2010
I recently installed Ubuntu Netbook Remix (10.04) on my brother's Acer Aspire One (751h) netbook, set up to dual boot with XP Professional. The initial install was successful, with both OS's booting correctly. However, after a series of updates and module builds (this machine has the Poulsbo chipset, still somewhat of a mess), Grub2 is now unable to boot XP, displaying the error "Operating system not found."
To be clear, grub works properly (aside from not booting XP), so the MBR is intact, although I've rerun grub-install to be safe. Restoring the windows MBR (using testdisk) boots XP happily, but of course ignores the ubuntu installation. I also had testdisk rebuild the NTFS boot sector, to no change - grub still doesn't work, the windows MBR does. Using the grub console, I can "root (hd0,1)" and see files on the XP partition, but "chainloader +1; boot" again fails with the same error. The ubuntu install can likewise mount the NTFS partition with no problems.
Given the fact that switching the MBR fixes the issue, I'm suspecting a Grub2 configuration problem. However, the simplicity of "root (hd0,1); chainloader +1; boot" leaves me stumped as to what that could be. Also, the error text "Operating system not found" is suspiciously identical to my BIOS's error message when attempting to boot from a non-bootable medium (as I found out while attempting to make a bootable usb stick with my mac).
View 1 Replies
View Related
May 4, 2011
instead of normal grub menu I am greeted with an:
Code:
symbol "grub_env_export" not found
on debian_amd64 latest testing.
[code]....
View 1 Replies
View Related
Jan 10, 2010
I have been reading this but could not resolve my issue: [URL]. The problem is as follows. I got a samsung laptop and there is some kind of recovery utility installed. After installing Ubuntu I get too windows grub entries, one is called Windows Vista (loader) on /dev/sda1 and the other one is Windows 7 (loader) on /dev/sda2. The latter is correct and the first one is something that I'd rather not have active at all in the grub menu. Both of them are of course created by 30_os-prober in /etc/grub.d. I figured that I would most likely prefer a custom entry for Windows 7 and remove the x flag from 30_os-prober. I tried to create a file 50_windows7 in a described manner:
#! /bin/sh -e
echo "Adding Windows 43_custom" >&2
menuentry "Windows Vista 43_custom" {
insmod ntfs
set root=(hd0,2)
search --no-floppy --fs-uuid --set 7cecddfbecddb01e
chainloader +1 }
Unfortunately during update-grub I get following:
Found linux image: /boot/vmlinuz-2.6.31-17-generic
Found initrd image: /boot/initrd.img-2.6.31-17-generic
Found linux image: /boot/vmlinuz-2.6.31-14-generic
Found initrd image: /boot/initrd.img-2.6.31-14-generic
Found Windows Vista (loader) on /dev/sda1
Found Windows 7 (loader) on /dev/sda2
Adding Windows 43_custom
/etc/grub.d/50_windows7: 4: menuentry: not found
View 13 Replies
View Related
Oct 28, 2010
W:Failed to fetch http://ppa.launchpad.net/gezakovacs/...86/Packages.gz 404 Not Found , E:Some index files failed to download, they have been ignored, or old ones used instead.
View 1 Replies
View Related