Thanks for the great (and most useful) pointers! Everything seemed to 
work just fine (the patch), though I am still having some problems 
getting grub to behave... It still claims that it has an 'Error 15' 
having to do with the absence of either '/boot/grub/stage1' or 
'boot/stage1' when I try to do a 'grub> setup (hd0)' during the 
image-making process. I looked at the mounted partition (/dev/loop1 
mounted on /mnt/image), and it looks like a nice, complete linux 
filesystem, though there is not a 'stage1' file anywhere I can find in 
/mnt/image/boot/grub or in /mnt/image/boot. The following does exist:

------------------------------------------------
# ls /mnt/image/boot
bzImage   grub

# ls /mnt/image/boot/grub
grub.conf   menu.lst
------------------------------------------------

Any further suggestions anyone may have will again be most appreciated.

Thanks!

-Matt Farley



Kristian Kielhofner wrote:

>Matthew Farley wrote:
>  
>
>>Just a few quick (ok, hopefully 'quick') questions for those of you who 
>>know how to roll-your-own astlinux images... I am just starting out 
>>doing this, and have come up with a few questions:
>>
>>1. I need to apply the 'metermaids' patch to asterisk before building my 
>>image. I have successfully applied the patch to ./build_i586/asterisk. 
>>Do I then need to run make in that directory to create a new binary with 
>>my patch applied before making a new image with ./makeimage.sh? Or is 
>>there something else I need to do in order to create the binaries 
>>appropriately for the environment that astlinux will be running in (I 
>>have a feeling that if I just run make, it will make binaries more 
>>suitable for my development machine, rather than for the astlinux image).
>>    
>>
>
>       You should put that patch in package/asterisk/ and do make 
>"asterisk-dirclean; make asterisk"
>
>  
>
>>2. How does one make/install dhcpd during the creation of a new image? 
>>Or is it already there and I just haven't found it... :|
>>    
>>
>
>       Select dhcpd with make menuconfig, although I don't think I've tried 
> this.
>
>
>  
>
>>3. I tried making an image with ./makeimage.sh, but at the very final 
>>stage, when I tell grub to 'setup(hd0)', it responds with:
>>
>>---------------------------------------------------
>>grub> setup (hd0)
>> Checking if "/boot/grub/stage1" exists... no
>> Checking if "/grub/stage1" exists... no
>>
>>Error 15: File not found
>>---------------------------------------------------
>>    
>>
>
>       Make sure you are typing "device (hd0) /dev/loop".  Also switch to 
>another terminal and see if it is setup correctly.
>
>  
>
>>I assume this error not to be normal (and probably a result of me 
>>missing a step somewhere).
>>
>>Any advice is greatly appreciated!
>>
>>Sincerely,
>>Matthew Farley
>>
>>    
>>
>
>
>--
>Kristian Kielhofner
>_______________________________________________
>Astlinux-users mailing list
>[email protected]
>http://lists.kriscompanies.com/mailman/listinfo/astlinux-users
>
>Donations to support AstLinux are graciously accepted via PayPal to [EMAIL 
>PROTECTED]
>  
>


_______________________________________________
Astlinux-users mailing list
[email protected]
http://lists.kriscompanies.com/mailman/listinfo/astlinux-users

Donations to support AstLinux are graciously accepted via PayPal to [EMAIL 
PROTECTED]

Reply via email to