<p>True... but the checks it does such as the device.map are usually beneficial.</p>
<p>No the live CD (or is it a DVD now? I forget...) is not the same as the install CD.</p>
<p>An error saying hd2 doesn't exist does sound like it could be an incorrect map in your boot filesystem... did you add or remove any drives recently?</p>
<p>On 3 Aug 2010 20:22, "Les Mikesell" <<a href="mailto:lesmikesell@gmail.com">lesmikesell@gmail.com</a>> wrote:<br type="attribution">> On 8/3/2010 2:08 PM, Edward Diener wrote:<br>>> On 8/3/2010 2:27 PM, James Hogarth wrote:<br>
>>> I normally use a live CD for this sort of thing... in that case you<br>>>> don't need to cheroot at all. Just make sure your<br>>>> <rootmountpoint>/boot/grub/device.map is correct and do grub-install<br>
>>> --root-directory=<rootmountpoint> /dev/sda (assuming you want the mbr on<br>>>> sda)<br>>><br>>> I am booting from the installation DVD. Is that what you mean by a live<br>>> CD ? When I boot from that, will it necessarily have a correct<br>
>> /boot/grub/device.map ?<br>>><br>>> If not, then mounting my boot and root partitions and doing a chroot was<br>>> needed. If so, then I did too much work.<br>> <br>> I think grub-install (the shell script) needs things mounted - and <br>
> perhaps in the right places - because it checks and fixes some other <br>> stuff. If you just want the boot loader written to the mbr of the boot <br>> device, grub should do that without having it mounted.<br>
> <br>> -- <br>> Les Mikesell<br>> <a href="mailto:lesmikesell@gmail.com">lesmikesell@gmail.com</a><br>> _______________________________________________<br>> CentOS mailing list<br>> <a href="mailto:CentOS@centos.org">CentOS@centos.org</a><br>
> <a href="http://lists.centos.org/mailman/listinfo/centos">http://lists.centos.org/mailman/listinfo/centos</a><br></p>