Answers to: How to fix grub after moving root partition?http://linuxexchange.org/questions/612/how-to-fix-grub-after-moving-root-partition<p>Hi,</p> <p>Because I am using one of the new WD disks I am trying to aling my root partition with the real sectors, as described here:</p> <p><a href="http://community.wdc.com/t5/Desktop/Problem-with-WD-Advanced-Format-drive-in-LINUX-WD15EARS/m-p/10920#M631" rel="nofollow">http://community.wdc.com/t5/Desktop/Problem-with-WD-Advanced-Format-drive-in-LINUX-WD15EARS/m-p/10920#M631</a></p> <p>So I copied all files to a temp location, deleted my partition (/dev/sda3), recreated it a few cylinders later (same name) and copied the files to the newly created partition. But now when I try to boot, I get my old grub menu but after selecting my kernel version it hangs... Any idea how I can fix it?</p>enTue, 18 May 2010 13:38:51 -0400Answer by JD50http://linuxexchange.org/questions/612/how-to-fix-grub-after-moving-root-partition/641<p>Glad to see that you fixed it. Don't forget that you can also use labels or just the partition name (ie. root=/dev/sda3).</p>JD50Tue, 18 May 2010 13:38:51 -0400http://linuxexchange.org/questions/612/how-to-fix-grub-after-moving-root-partition/641Answer by Grzeniohttp://linuxexchange.org/questions/612/how-to-fix-grub-after-moving-root-partition/623<p>Fixed now - the problem was that the partitions UUID has changed as an effect of my actions so I had to update /boot/grub/grub.cfg with the new ids, which I got by running (as root):</p> <pre><code>blkid </code></pre>GrzenioSun, 16 May 2010 17:31:11 -0400http://linuxexchange.org/questions/612/how-to-fix-grub-after-moving-root-partition/623