Grub Error 21 Selected
Help » General » (SOLVED) Got "Error 21" message when in GRUB « previous next » Print Pages: [1] 2 3 error 21 selected disk does not exist windows 7 4 5 Go Down Author Topic: (SOLVED) Got "Error 21" message when error 21 selected disk does not exist ccboot in GRUB (Read 13000 times) batzilla Full Member Posts: 104 (SOLVED) Got "Error 21" message when in GRUB « grub "selected disk does not exist" on: September 04, 2012, 01:56:57 PM » I was on my computer, minding my own business, and the tool bar at the bottom of the page went away and I f5 error 21 selected disk does not exist was stuck. So I manually shut down my computer and on booting again, got a black screen with this message:GRUB Loading stage1.5.GRUB Loading, please wait. . . .Error 21Can somebody rescue me!? I'm running PCLinuxOS 2009 release 2.6.26.8.tex3 with KDE 3.5.10 on a Dell Dimension 4500.Batzilla « Last Edit: September 13, 2012, 08:34:16 PM by batzilla » Logged BatzillaDell Dimension 4500PCLinuxOS 2012.08-KDERelease 3.2.18-pclos2.bfsKDE 4.8.3 i14 PCLinuxOS Tester Super Villain Posts: 23815 MLUs Forever! Re: Got "Error 21" message when in GRUB « Reply #1 on: September 04, 2012, 02:32:13 PM » Quote21 : Selected disk does not exist This error is returned if the device part of a device- or full file name refers to a disk or BIOS device that is not present or not recognized by the BIOS in the system.From info:/grub/Stage2 errors ..... you can use Konqueror to see all the error messages by entering that in the location bar.I would suggest checking the cables .... power and data going to the disk ..... pull them and reseat them with the power unplugged.Then try to boot again. Logged "Posterity - a paultry form of eternity" L. CohenKernel: 4.8.1-pclos1 x86_64 (64 bit); Desktop: KDE 4.14.18; Mobo: ASUSTeK P8Z68-V PRO v: Rev 1.0.1; CPU: Quad core Intel Core i7-3770S (-MCP-) cache: 8 MB; Memory: 8 GB; CPU Speed max: 3900 MHz; Graphics Card: Intel Xeon E3-1200 v2/3rd; SONY DVD RW T6 Guest Re:
Favorite Rating: Error 21 in grub during the upgrade to newer SLES 11 (SPx)This document (7014290) is provided subject to the disclaimer at the end of this document. Environment SUSE Linux Enterprise Server 11 Service Pack 3SUSE Linux Enterprise Server 11 Service Pack 2SUSE Linux Enterprise Server 11 Service Pack 1SUSE Linux Enterprise Server 11 Situation Server was converted from running as a "physical server" to running as a "virtual machine" running on VMware infrastructure. The conversion was made by using VMware vCenter Converter.SymptomsDuring the upgrade process from a previous OS version (i.e. http://www.pclinuxos.com/forum/index.php?topic=108824.0 SLES 10 SP4, or older SLES 11 SP) to a newer version of SLES 11, an error is encountered when the grub bootloader is installed. The relevant text of the error is similar to:grub> install --stage2=/boot/grub/stage2 (hd0,0)/boot/grub/stage1 d (hd0) (hd0,0)/boot/grub/stage2 0x8000 (hd0,0)/boot/grub/menu.lstError 21: Selected disk does not existgrub> quitIf using a graphical install, you may see the following: Resolution Revert the VM back to the snapshot before https://www.novell.com/support/kb/doc.php?id=7014290 applying the update/installation.Modify the /boot/grub/device.map to point to the proper disk/partition. Ideally, you will want to use either:/dev/disk/by-idor/dev/disk/by-uuidReboot and run the upgrade again. Cause After conversion to a virtual machine, the /boot/grub/device.map file no longer points to a proper device. Additional Information When the server is on physical hardware, the /boot/grub/device.map file may incorporate the driver name in the device. In our example it read like:(hd0) /dev/disk/by-id/cciss-xxxxxxxxxxxxxxxxxxxx(hd1) /dev/disk/by-id/cciss-xxxxxxxxxxxxxxxxxxxxAfter being converted to a virtual server, the old name will only work as long as grub isn't modified -- which occurs when upgrading to a new OS version or service pack. Therefore, in order to avoid this error, use the appropriate entry in /dev for your device. Try to avoid using disk names, like cciss devices, and use the links to your disks under /dev/disk/by-id or /dev/disk/by-uuid -- pointing to devices similar to /dev/sda, /dev/sdb... in most of configurations).############################################################################Here is an example. Before upgrading my machine, I see that /boot/grub/device.map shows:(hd0) /dev/disk/by-id/cciss-3600508b1001039565a353152494a0000(fd0) /dev/fd0and that my /boot is on partition /dev/sda1 (as it is part of the '/' partition):/dev/sda1 on / type ext3 (rw,acl,user_xattr)In looking at the /dev/disk/by-id directory, the following is seen:lrwxrwxrwx 1 root root 9 2015-01-22 21:34 edd-int13_dev80 -> ../../sdalrwx
might run into this problem as I have just done when installing CentOS https://iansramblings.wordpress.com/2011/11/21/grub-error-21-selected-disk-does-not-exist/ 6. When you first re-boot to go back into Windows and select "Other" from the Grub loader menu you are presented with "Error 21: Selected disk does not exist". Almost as uninformative as it is annoying, but it can be fixed at least in my case by the following: - Log into error 21 Linux, and run the following as root: - vi /boot/grub/menu.lst You'll see something like: - # grub.conf generated by anaconda # # Note that you do not have to rerun grub after making changes to this file # NOTICE: You have a /boot partition. This means that # all kernel and initrd paths error 21 selected are relative to /boot/, eg. # root (hd0,0) # kernel /vmlinuz-version ro root=/dev/VolGroup00/LogVol00 # initrd /initrd-version.img #boot=/dev/hda default=0 timeout=5 splashimage=(hd0,0)/grub/splash.xpm.gz hiddenmenu title CentOS (2.6.18-53.1.4.el5) root (hd0,1) kernel /vmlinuz-2.6.18-53.1.4.el5 ro root=/dev/VolGroup00/LogVol00 rhgb quiet initrd /initrd-2.6.18-53.1.4.el5.img title other rootnoverify (hd1,4) chainloader+1 What I had to do was change the last (hd1,4) to (hd0,0) then I changed the title to Windows instead of other. I also set the default to 1 so it defaults to windows and increased the timeout to 20. This link was also very handy during the process of setting up http://www.techotopia.com/index.php/Installing_CentOS_with_Windows_in_Dual_Boot_Environment#Choosing_an_Operating_System_at_Boot_Time Share this:TwitterFacebookLike this:Like Loading... Related Tags: boot menu, Dual boot, Grub, linux, Windows « Previous post Next post » One response to “Grub - Error 21: Selected disk does notexist” ilnaz says : November 24, 2011 at 1:42 pm Pekhhh hehe xxxxxx. I dont creat a dual boot system for sure azizam Reply Leave a Reply Cancel reply Enter your comment here... Fill in