[Top][All Lists]

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

Re: creating bootable image with a script

From: Kevin Hunter
Subject: Re: creating bootable image with a script
Date: Wed, 27 Jan 2010 06:16:27 -0500
User-agent: Thunderbird (X11/20090817)

At 11:43pm -0500 Tue, 26 Jan 2010, Michael Evans wrote:
> On Tue, Jan 26, 2010 at 2:36 PM, Kevin Hunter wrote:
>> Goal 1: create a bootable disk image with a GPT partition label.
>> Goal 1 is what is giving me trouble.


> This is how I'd do it, without looking at your script.
> 1) Identify the block device that backs the storage media. (Drop 
> any partition info, you need the base device to describe the map 
> file)
> 2) Generate a file that describes the external 
> media as hd0 (which is what it will be when you boot off it).
> 3) Setup grub as normal on that device, using the file 
> to inform it where things will be during startup.

I think I understand that.  Those are the exact steps that I've
identified for myself as well and have been trying to do off and on over
the past month (spare time is hard to come by!).  It's the mechanics of
such with which I need help.  I've spent a good deal of time with
apparently the wrong the magic incantations.

If someone wouldn't mind taking a look at the script, I think it'd make
it clear where my trouble is.  It takes about 5 seconds to run on my
machine, and I've tried to help it highlight exactly what I'm missing.

Thank you,


reply via email to

[Prev in Thread] Current Thread [Next in Thread]