Hinnerk van Bruinehsen <[email protected]> writes:

>> Has something changed regarding using that kind of technique?
>> 
>> I can't figure out why grub would be looking for a GRUB drive on
>> /dev/sda1 as the error says:
>> 
>>   grub-install: error: cannot find a GRUB drive for /dev/sda1
>
>
> Did you mount /boot from inside the chroot environment? IIRC I got a
> similar failure when mounting /boot from outside the chroot...

Egad, that is almost certainly what is going on.

However, before seeing your post I came up with what I thought might
be a way to get around the whole problem presented in the errors.

I preserved my install on the initial disk created in vbox for the
install.

Shutdown the vbox vm, created a set of new disks but this time using
whole disks rather than carving up partitions.

So instead of 1 disk carved up... I now had 4 disks in the same sizes
as the original partitions.

Booted the install media.. copied the installed OS over to the new
disks.  But this time I was asking grub to intall itself on a disk
with a single whole disk partition.

It all worked, ... but I think now, after your comment, I probably
mounted boot in the proscribed way this time around.  That is, from
inside a chrooted terminal.

Probably didn't need all the disk switching and copying at all.

Thanks for your input...

I'll know not to think I remember all about how to do this and pay
more attention to the install instructions. Even though I have done
this quite a few times... its usually been separated by along enough
time period that I might will have forgotten some of the necessary
steps.

Thanks again for taking time to post your thoughts.


Reply via email to