[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Grub and disk images
From: |
Eric S. Johansson |
Subject: |
Re: Grub and disk images |
Date: |
Thu, 07 Jun 2007 12:02:30 -0400 |
User-agent: |
Thunderbird 2.0.0.0 (Windows/20070326) |
adrian15 wrote:
Eric S. Johansson escribió:
I do have a flash image built using a rather laborious and time
intensive technique that does work and I derived my solutions from
that original technique so I know the basic technique is viable.
Any doc about this intensive technique ?
only the code. Since I created the script, I figured I was the right person to
modify it. :-) the reason for the change was that lomount as a stand-alone
program seems to have vanished from the universe and I was frustrated with
having to load everything up into qemu. But the sequence in a nutshell was:
Install IP cop in a QEMU session
upload a couple the make/script
restart qemu running IP cop and mount a flash sized disc image.
copy the working system into the flash image, rearrange pieces that wouldn't
copy and run grub.
Shutdown QEMU and you have your basic working image for flash. I had a second
program which would use lomount to mount up the image and install and
configuration profile for the firewall which would enable it to come up and run
when installed.
I want to automate the process so that you might do one or two commands and
you're done. None of this running the emulator stuff. I'm doing this in part
because if a company has a set of IP cop firewall's, it would be nice to
automate the flash production process so that they don't have to work hard and
have a greater chance of getting a properly built/image.
Why don't you run a sync command after the script?
because I didn't know too?
Why don't you postpone the makeactive command into another grub batch
sequence?
because there's only one grub batch sequence
Why don't you use setup (hd0) instead of the manual install ?
Because I didn't know too?
any ideas?
You might try my super grub disk instead of lastest grub to see if you
are more lucky, sgd has some patches more than 0.97 but... please ask me
... because among other things you should dev_grub/util/grub as the grub
executable after you have compiled it.
which reminds me, should I be doing a chroot grub to do the install or is it
okay using the default system grub referring to the grub stage images on the
target image?
I wonder if part of the problem might be that I have the wrong geometry or
initial boot sector size. The other flash seems to be working okay with a
single sector But I need to check the geometry.
---eric
--
Speech-recognition in use. It makes mistakes, I correct some.