On Mon, Aug 4, 2014 at 7:33 AM, Martin G. McCormick
<mar...@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?


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/CAOdo=SzTurM8K76ye-NbjzXOhGpd4XEDqiX4Dh3NUqc5=gv...@mail.gmail.com

Reply via email to