Re: Manually mounting partitions in "linux rescue" mode

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On 8/3/2010 2:08 PM, Edward Diener wrote:
> On 8/3/2010 2:27 PM, James Hogarth wrote:
>> I normally use a live CD for this sort of thing... in that case you
>> don't need to cheroot at all. Just make sure your
>> <rootmountpoint>/boot/grub/device.map is correct and do grub-install
>> --root-directory=<rootmountpoint>  /dev/sda (assuming you want the mbr on
>> sda)
>
> I am booting from the installation DVD. Is that what you mean by a live
> CD ? When I boot from that, will it necessarily have a correct
> /boot/grub/device.map ?
>
> If not, then mounting my boot and root partitions and doing a chroot was
> needed. If so, then I did too much work.

I think grub-install (the shell script) needs things mounted - and 
perhaps in the right places - because it checks and fixes some other 
stuff.  If you just want the boot loader written to the mbr of the boot 
device, grub should do that without having it mounted.

-- 
  Les Mikesell
    lesmikesell@xxxxxxxxx
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos


[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux