Error 21 Selected Disk Does Not Exist Suse
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. 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 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 li
Today's Posts Advanced Search Find the answer to your Linux question: Entire Site Articles Downloads Forums Linux Hosting Forum GNU Linux Zone Miscellaneous Error 21: Selected disk does not exist If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit https://www.novell.com/support/kb/doc.php?id=7014290 from the selection below. ** If you are logged in, most ads will not be displayed. ** Linuxforums now supports the Tapatalk app for your mobile device. Results 1 to 5 of 5 Thread: Error 21: Selected disk does not exist Thread Tools Show Printable Version Email this Page… Subscribe to this Thread… Display Linear Mode Switch http://www.linuxforums.org/forum/miscellaneous/40192-error-21-selected-disk-does-not-exist.html to Hybrid Mode Switch to Threaded Mode Enjoy an ad free experience by logging in. Not a member yet? Register. 08-04-2005 #1 satimis View Profile View Forum Posts Private Message View Articles Linux Guru Join Date Sep 2004 Posts 1,838 Error 21: Selected disk does not exist Hi folks, LFS 6,1 FC3 Host Encountered another problem on the same section. 8.4. Making the LFS System Bootable http://www.linuxfromscratch.org/lfs/...er08/grub.html .... run the grub shell root:/sources/linux-2.6.11.12# grub Code: grub> root (hd0,5) Error 21: Selected disk does not exist Tried only typing; grub> root (hd and pressed
Grub Error 21:Selected Disk does not exist If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register http://forums.justlinux.com/showthread.php?153454-Grub-Error-21-Selected-Disk-does-not-exist link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. Results 1 to 7 of 7 Thread: Grub Error 21:Selected Disk does not exist Tweet Thread Tools Show Printable Version Email this Page… Subscribe to this Thread… Display Linear Mode Switch to Hybrid Mode Switch to Threaded Mode 03-07-2011,10:05 AM #1 Grem41 View Profile View Forum Posts Registered User Join Date Mar 2011 Posts 4 Grub error 21 Error 21:Selected Disk does not exist Hi Guys I run into a problem trying to use Grub & I'm no expert so need your help. Plan to use GRUB for multiple booting to select the OS but only with luck have I got it partially to work. Windows 98 and Puppy 431 O.K on first HDD but Puppy 421 on second HDD /dev/sdb1 stops at error 21. My setup is as follows Partition Filesystem Mount error 21 selected Point Flags OS (Operating System) /dev/sda1 fat32 boot,lba Windows 98 /dev/sda2 ext2 / - Puppy Linux 431 linux-swap - - Puppy Linux 431 swap space /dev/sdb1 ext2 boot Puppy Linux 421 linux-swap - - - Puppy Linux 421 swap space Additionally can anyone tell how might add an option to EXIT via Grub. I have pasted my Grub file menu.lst file to look at or editing if you so need to. This will be a bulky and untidy script as I tried everything I could think of to get it partially working such placing it in MBR of drive and root of partition. The pasted text from the Grub menu.lst is as below # GRUB configuration file '/boot/grub/menu.lst'. # generated by 'grubconfig'. Fri Mar 4 18:06:16 2011 # # The backup copy of the MBR for drive '/dev/sda' is # here '/boot/grub/mbr.sda.29378'. You can restore it like this. # dd if=/boot/grub/mbr.sda.29378 of=/dev/sda bs=512 count=1 # # Start GRUB global section #timeout 30 color light-gray/blue black/light-gray # End GRUB global section # Other bootable partition config begins title Windows (on /dev/sda1) rootnoverify (hd0,0) makeactive chainloader +1 # Other bootable partition config ends # Linux bootable partition config begins title Linux (on /dev/sda2) root (hd0,1) kernel /boot/vmlinuz root=/dev/sda2 ro vga=normal # Linux bootable partition config ends # Linux bootable partition config begins title Linux (on /dev/sdb1) root