Thanks Praj.... I guess the partition restriction has been put in place
to restrict the OS image size which is valid.
Alex,
I guess what you have suggested is valid and is something good
to be in platforms/common-apt/install.sh but the issue I faced was
slightly different - The boot_partition_size was not big enough to hold
my squashfs (root.img). Would it be good to do this check as-well in
platforms/common-apt/install.sh and thrown out an error saying "Boot
partition not big enough to hold the newly created file system!". Your
opinion guys?
Regards,
Nithish Mahalingam
-----Original Message-----
From: Lopatin, Alexander L
Sent: Wednesday, July 30, 2008 2:23 AM
To: Prajwal Mohan; Mahalingam, Nithish
Cc: [email protected]
Subject: RE: [Moblin Dev] Issue creating Install USB image with the
latest MIC?
I also ran yesterday into the same problem while creating an Install USB
image for device with 2GB drive.
One place to fix this is defaults.cfg file as Praj wrote, but also the
MIC script platforms/common-apt/install.sh could be fixed the way it
will stop and give the error message "Disk is too small to create boot,
main/data, swap and fat32 partitions" in case when sum of
boot_partition_size, swap__partition_size, and fat32_partition_size
greater then the disk size.
Thank you,
Alex
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of Prajwal Mohan
Sent: Tuesday, July 29, 2008 02:00
To: Mahalingam, Nithish
Cc: [email protected]
Subject: Re: [Moblin Dev] Issue creating Install USB image with the
latest MIC?
You can customize the boot partition and other partition size. To do
this create a file ~/.image-creator/image-creator.cfg and use
/usr/share/pdk/default_config/defaults.cfg as a template.
Thanks,
Praj
Mahalingam, Nithish wrote:
> Hi,
>
>
>
> Today I noticed that with the latest MIC I am not able to create
working
> "Install USB" image that would install successfully on the Menlow
> platform. Here is what I tried -
>
>
>
> 1. I created a Menlow-lpia project and created a new target.
>
> 2. I included the Crownbeach-mobile-complete-stack FSET and
inside
> the terminal window I built a new 2.6.22 kernel for some experiment of
> mine.
>
> 3. Created a "Install USB" image and burned it onto the USB
>
> 4. When I try to install this image on Menlow I am seeing an
error
> while the installer tries to copy the squashfs file system saying the
cp
> failed for root.img as there was no disk space.
>
>
>
>
>
> The HDD I am using a Seagate 80GB and I have installed Menlow
> successfully with the previous version of MIC. By the way Live RW
image
> works fine without any issue.
>
>
>
> Now what I doubt is - I see that the installer tries to partition the
> hard disk and then tries to copy the files to the appropriate
partition;
> now is the root.img file size exceeding the partition size?
>
> I must admit that with two kernels being built in my image and with
the
> kernel source for one of the Install USB kernels image size is ~1.1GB.
>
>
>
> Can someone help here?
>
>
>
> Regards,
>
> Nithish Mahalingam
>
>
>
> _______________________________________________
> dev mailing list
> [email protected]
> https://www.moblin.org/mailman/listinfo/dev
>
_______________________________________________
dev mailing list
[email protected]
https://www.moblin.org/mailman/listinfo/dev
_______________________________________________
dev mailing list
[email protected]
https://www.moblin.org/mailman/listinfo/dev