Grub Error 17 Cannot Mount Selected Partition Setup Hd0
oldstutz Member Registered: 2010-07-26 Posts: 24 [SOLVED] Error 17: cannot mount selected partition Hello all,I tried to install Arch Linux onto an external hard drive, I made a root partition (ext3), and a little swap space. I flagged the root partition "boot" and I installed the grub loader onto the dev/sdb/ (not the root partition). Looked like a successful installation, but when I restarted grub was loading and quit part way with the Error 17: cannot mount selected partition... the line above that stated "/boot/vmlinuz26 root=/dev/sdb1 ro. sdb1 is my root partition. Since grub didn't fully load I'm assuming something is awry with it, perhaps the menu.lst. Any help would be greatly appreciated. Note: I would appreciate as much detail in the correction process as possible. I'm very interested Thanks!ALSO: I followed the beginners guide to the T Last edited by oldstutz (2010-07-27 03:19:58) Offline #2 2010-07-26 02:22:37 fsckd Forum Moderator Registered: 2009-06-15 Posts: 3,588 Re: [SOLVED] Error 17: cannot mount selected partition try http://wiki.archlinux.org/index.php/UUID aur S & M :: forum rules :: Community EthosResources for Women, POC, LGBT*, and allies Offline #3 2010-07-26 02:25:45 oldstutz Member Registered: 2010-07-26 Posts: 24 Re: [SOLVED] Error 17: cannot mount selected partition I'll give it a shot, during installation I'll use the UUID option. Thanks Offline #4 2010-07-26 02:51:04 oldstutz Member Registered: 2010-07-26 Posts: 24 Re: [SOLVED] Error 17: cannot mount selected partition Ok, I used UUID, and I got the same results, this time tho instead of "root=/dev/sdb1 ro" It had a long string of things and UUID in the mix. I read somewhere a similar problem, and they said something about because it is an external hard drive, grub confuses its hd(x,x) position or what not, but it didn't say how to fix it...Anyways, I'm off for tonight, I'll try again tommorrow. Last edited by oldstutz (2010-07-26 02:55:09) Offline #5 2010-07-26 03:05:19 itsbrad212 Member From: Chicago, USA Registered: 2010-01-23 Posts: 1,848 Re: [SOLVED] Error 17: cannot mount selected partition I remember I got an Error 17 a while back. IIRC resintalling GRUB from a live cd fixed it. I don't know how that work as that in theory wouldn't fix this error, but it
RAID 1 GRUB setup General support questions Post Reply Print view Search Advanced search 7 posts • Page 1 of 1 dejanst Posts: 124 Joined: 2011/09/20 14:13:13 [SOLVED] Problems with RAID 1 GRUB setup Quote Postby dejanst » 2011/09/20 14:57:32 I recently upgraded from CentOS 5.7 to CentOS 6 (32 bit) and I have some issues with setting up GRUB on both HDDs.The server is HP Proliant Microserver that is running 2 HDD's that have the same capacity. Both HDDs have the same partition layout, the partitions are properly combined in 8 RAID devices.Code: Select all
== BEGIN df -h ==
Filesystem Size Used Avail Use% Mounted on
/dev/md2 9.7G 349M 8.8G 4% /
tmpfs 440M 0 440M 0% /dev/shm
/dev/md0 https://bbs.archlinux.org/viewtopic.php?id=101720 291M 38M 239M 14% /boot
/dev/md7 73G 180M 69G 1% /komna
/dev/md6 49G 180M 46G 1% /telos
/dev/md5 2.0G 35M 1.8G 2% /tmp
/dev/md3 7.7G 883M 6.5G 12% /usr
/dev/md4 4.9G 215M 4.4G 5% /var
== BEGIN fdisk -l ==
Disk /dev/md0 doesn't contain a valid partition table
Disk /dev/md1 doesn't http://www.centos.org/forums/viewtopic.php?t=1269 contain a valid partition table
Disk /dev/md2 doesn't contain a valid partition table
Disk /dev/md3 doesn't contain a valid partition table
Disk /dev/md4 doesn't contain a valid partition table
Disk /dev/md5 doesn't contain a valid partition table
Disk /dev/md6 doesn't contain a valid partition table
Disk /dev/sda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x000f15fe
Device Boot Start End Blocks Id System
/dev/sda1 1 1275 10240000 fd Linux raid autodetect
/dev/sda2 1275 1530 2048000 fd Linux raid autodetect
/dev/sda3 * 1530 1569 307200 fd Linux raid autodetect
/dev/sda4 1569 19458 143693824 5 Extended
/dev/sda5 1569 7943 51200000 fd Linux raid autodetect
/dev/sda6 7943 8963 8192000 fd Linux raid autodetect
/dev/sda7 8963 9600 5120000 fd Linux raid autodetect
/dev/sda8 9601 9856 2048000 fd Linux raid autodetect
/dev/sda9 9856 19458 77128704 fd Linux raid autodetect
Disk /dev/sdb: 160.0 GB, 160041885696 bytes
255 heads,
communities company blog Stack Exchange Inbox Reputation and Badges sign up log in tour help Tour Start here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack http://askubuntu.com/questions/16167/how-do-i-get-the-grub-menu-to-show-when-starting-my-dual-boot-system Overflow the company Business Learn more about hiring developers or posting ads with us Ask http://www.webhostingtalk.com/showthread.php?t=1386642 Ubuntu Questions Tags Users Badges Unanswered Ask Question _ Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute: Sign up Here's how it works: Anybody can ask a question Anybody can answer The best answers are voted up and rise to the top How do I get grub error the GRUB menu to show when starting my dual-boot system? up vote 4 down vote favorite 2 Recently I have installed Ubuntu 10.10 and selected a wrong option while installing it. Now the problem is that my machine directly boots Ubuntu and even does not show me grub menu. How do I install grub menu ? And how do I add Windows Vista to the grub menu? This is what I have tried. sudo grub error 17 grub > root (hd0,0) > setup (hd0) Error 17: Cannot mount selected partition I don't know what's going wrong here and I am sure that I have not wiped out my windows partition. Edit : sudo update-grub Generating grub.cfg ... Found linux image: /boot/vmlinuz-2.6.35-22-generic Found initrd image: /boot/initrd.img-2.6.35-22-generic Found memtest86+ image: /boot/memtest86+.bin ls: cannot access /media/BC54B2C654B282A6/boot Boot: No such file or directory done sudo os-prober ls: cannot access /media/BC54B2C654B282A6/boot Boot: No such file or directory Thanks. grub2 share|improve this question edited May 5 '14 at 22:54 Christopher Kyle Horton 8,9461260126 asked Dec 4 '10 at 15:16 Searock 1842721 thanks for the update - investigating what os-prober should do. Please add what devices have which system installed (e.g. /dev/sda1 Ubuntu; /dev/sda4 Windows). If you are not booting from removable media, (USB drive, etc.) remove it as the /media/BC5... entry seems to be gumming up the works. –msw Dec 4 '10 at 15:54 @msw I am trying to run this command form installed ubuntu and I have removed all removable media. Thanks for your help. –Searock Dec 4 '10 at 16:10 it definitely looks like grub is looking for some external media.Did you mount /boot on a separate partition? –tinhed Dec 4 '10 at 16:27 @tinhed I have used my linux partition
Forums Hosting Security and Technology Error 17: Cannot mount selected partition 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 from the selection below. Results 1 to 9 of 9 Thread: Error 17: Cannot mount selected partition Tweet Thread Tools Show Printable Version Subscribe to this Thread… Search Thread Advanced Search Display Linear Mode Switch to Hybrid Mode Switch to Threaded Mode 06-20-2014,06:54 PM #1 SPaReK View Profile View Forum Posts View Forum Threads Web Hosting Master Join Date Apr 2002 Posts 919 Error 17: Cannot mount selected partition I'm a bit puzzled by this error. I have a server with /boot set up as a mdadm RAID1 partition. grub is installed on both /dev/sda and /dev/sdb. Code: dd bs=512 count=1 if=/dev/sda 2>/dev/null | strings Code: dd bs=512 count=1 if=/dev/sdb 2>/dev/null | strings Code: ZRrI D|f1 GRUB Geom Hard Disk Read Error Both drives have identical grub configurations Code: grub> cat (hd0,0)/grub/grub.conf Code: grub> cat (hd1,0)/grub/grub.conf The grub.conf file contains the section: Code: title CentOS (2.6.32-431.20.3.el6.x86_64) root (hd1,0) kernel /vmlinuz-2.6.32-431.20.3.el6.x86_64 ro root=UUID=XXXXX rd_NO_LUKS rd_NO_LVM LANG=en_US.UTF-8 rd_MD_UUID=XXXXX SYSFONT=latarcyrheb-sun16 crashkernel=auto rd_MD_UUID=XXXXXXX KEYBOARDTYPE=pc KEYTABLE=us rd_NO_DM rhgb quiet initrd /initramfs-2.6.32-431.20.3.el6.x86_64.img Yet, this won't boot. It hangs on boot with the error Error 17: Cannot mount selected partition The solution is fairly simple (assuming you have KVM/IP access) just edit the root line and change it to root (hd0,0). And I can also change this in the grub.conf file once the server is back up, so subsequent boots will work without intervention. But why isn't (hd1,0) working? I would think that either would work, since they are synchronized an