----- Original Message ----- 
From: "Kristian Kielhofner" <[EMAIL PROTECTED]>
To: "Discussion of AstLinux - Asterisk on Compact Flash" 
<[EMAIL PROTECTED]>
Sent: Thursday, June 22, 2006 10:19 AM
Subject: Re: [Astlinux-users] Need some help with makeimage.sh script


> Arturo Ochoa wrote:
>> Hello everyone,
>>
>> I'm trying to compile AstLinux, and I followed the instructions on the 
>> web
>> site:
>>
>>  Getting started:
>> svn co http://svn.astlinux.org/astlinux/trunk astlinux-devel
>> cd astlinux-devel
>> cp astlinux.config .config
>> make oldconfig
>> make
>>
>>
>> The problem is when I make this:
>> ./makeimage.sh SIZE
>>
>> 1.Warning: invalid flag 0x0000 of partition table 4 will be corrected by
>> w(rite)
>> 2.Warning: setting sector offset for DOS compatiblity
>> 3.WARNING: Re-reading the partition table failed with error 22: Invalid
>> argument.
>>     The kernel still uses the old table.
>>     The new table will be used at the next reboot.
>> 4.chmod: cannot access `/mnt/image/bin/busybox': No such file or 
>> directory
>> 5.grub> setup (hd0)
>>      Checking if "/boot/grub/stage1" exists... no
>>      Checking if "/grub/stage1" exists... no
>>     Error 15: File not found
>>
>>
>> I'm getting this warnings and errors, and when it finishes then I'm using
>> the physdiskwrite.exe program to write on to the CF, but it doesn't boot. 
>> I
>> can't see anything related with astlinux, not even the boot loader.
>>
>> Best Regards,
>>
>> Arturo,
>
> Arturo,
>
> SIZE should be a number (in megabytes) - I have been using 48
>
> --
> 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]
>

Kristian,

I already tried with 32, 48 as you said, 128, even 256. That is why I wrote 
SIZE.
So, I think it doesn't matter the size of the disk.img since inside the 
script the following line will create the disk.img using the size parameter:

#dd if=/dev/zero of=disk.img bs=1024k count=$SIZE

I think the problem is when the script calls the fdisk, but I couldn't find 
anything related to the errors and warnings that is displaying.

Best Regards,

Arturo 


_______________________________________________
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