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

Re: The Fine Art of Making a Bootable Drive



On Mon, Aug 4, 2014 at 7:33 AM, Martin G. McCormick
<martin@server1.shellworld.net> wrote:
>
> It turns out that the reason I never thought of using mkfs to
> build a working boot sector is that mkfs doesn't do that. Grub,
> however, does but I am still a bit confused as to how to get it
> working. I mounted the new drive on /mnt
> #mount /dev/sdf1 /mnt
> It's all there.
> #chroot /mnt
> / is now the top of that directory.
> #grub-install /dev/sda
> /dev/sda isthere but grub reports it can't find that device and
> "is /dev mounted?" This is one of those time you wish siri was
> part of Linux and you could yell at her! Seriously, how do I
> safely do this so that I make this disk think it is /dev/sda
> which will be what it is when it really boots?

Are you mounting "/mnt/{dev,proc,sys}" before chrooting?


Reply to: