I successfully Restored Grub Boot-loader But It Doesn't Work.
Robert Holtzman
holtzm at cox.net
Tue Nov 2 23:38:19 UTC 2010
On Tue, Nov 02, 2010 at 02:42:19PM +0800, Goh Lip wrote:
> On Tuesday 02,November,2010 02:23 PM, Robert Holtzman wrote:
> > On Tue, Nov 02, 2010 at 01:14:32PM +0800, Goh Lip wrote:
> > Just to show my congenital stupidity, if you multiboot wouldn't you use
> > "grub-install dev/sdaX" to specify what partition to install to?
>
> Bob, for both grub2 and grub-legacy, grub would 'take over' the mbr -
> the first sector of the disk - and that would *not* happen if we use
> "sudo grub-install /dev/sdaX" instead of "sudo grub-install /dev/sda".
>
> I think you meant where the grub.cfg or menu.lst would be and yes, they
> are at the partition /dev/sdaX itself. But without going into details as
> what grub "puts" into mbr, such as core.img etc., suffice to know that
> grub% overrides the mbr.
>
> Also, it is not absolutely necessary to set the OS grub into the mbr: I
> myself do not set any of my OS grub to mbr and so I always install grub
> to sdaX or do "sudo grub-install /dev/sdaX" instead. That is because I
> have a separate "boot-loader" (in grub2) that sets itself to mbr.
> However for an overwhelming majority, there will always be an OS grub
> that sets to mbr.
Oh, crap! I knew that but it didn't float to the top of my mind. I told
you my stupidity was congenital, didn't I?
Thanks for the prod.
--
Bob Holtzman
Key ID: 8D549279
"If you think you're getting free lunch,
check the price of the beer"
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20101102/85734603/attachment.sig>
More information about the ubuntu-users
mailing list