>From my own experience: they are so many things that can go wrong when you try >to install an image on a new device. MIC scripts issue commands without error >checking and the output flies by, so at some point I was even thinking about >bringing my camcorder.
Have the installation that works and try to catch the difference when another is failing. Then you can insert "sh" command on the script and manually check the part of a failing script. This is what makes the programming to be an art :-) Thank you, Alex -----Original Message----- From: Jon Scully [mailto:[EMAIL PROTECTED] Sent: Thursday, August 21, 2008 10:03 To: Tobin Davis; Lopatin, Alexander L; dev@moblin.org Subject: Re: [Moblin Dev] Issue with 'Install USB'? We found that some USB drives are unable to work, by design. For example, certain versions of the SanDisk Cruizer are preloaded with U3 Launchpad software. Writing directly to the /dev/sdx device using 'dd' does not clear the disk or remove the software and leaves the drive un-bootable. To fix this we visited SanDisk's web site, download a tool to a Microsoft Windows machine and used it to remove the software. The link is here: www.sandisk.com/Retail/Default.aspx?CatID=1415 After software removal, however, the SanDisk Cruizer worked reliably. On Thu, Aug 21, 2008 at 7:38 AM, Mahalingam, Nithish <[EMAIL PROTECTED]> wrote: > Sorry for getting back late on this... > > > > @Tobin - No luck... even doing it with bs=1024 did not work. > > @Alex - No luck with your solution either... I did put a sleep as you > suggested in the install.sh script still I am not seeing /dev/hda1 getting > created. > > > > I also tried pulling in the latest MIC just hoping if someone had fixed this, > same issue surfaced even with the latest MIC code. Is someone looking into > this issue? I feel this is something critical that has broken. I trying to > dig into MIC to understand the code if someone can tell me where to look for > I would really appreciate that. > > > > Regards, > > Nithish Mahalingam > > > > From: Tobin Davis [mailto:[EMAIL PROTECTED] > Sent: Tuesday, August 12, 2008 10:07 AM > To: Lopatin, Alexander L > Cc: Mahalingam, Nithish; Lynch, Rusty; dev@moblin.org > Subject: RE: [Moblin Dev] Issue with 'Install USB'? > > > > I have experienced this issue before, and it is related to how the image is > copied to the usb drive. Try manually copying the image with "dd bs=1024 > if=<image.img> of=/dev/sda" (where <image.img> is the image file under your > project/targets/<target name>/images/ directory - this also assumes that your > usb drive is /dev/sda, change accordingly). > > The reason for this as best as I can figure out is that the image filesystem > is created with a default block size of 1024, but when using dd to write to a > usb drive, it defaults to a different block size, and file locations get out > of alignment. What ever the reason, using "bs=1024" has worked for me 99% of > the time, whereas without I only get ~30% success. > > Tobin > > > On Mon, 2008-08-11 at 15:10 -0700, Lopatin, Alexander L wrote: > > > It looks like the installation script (install.sh on install USB) failed to > partition your hard drive /dev/hda1: > > 1. You can try to boot with LiveRW image and see if /dev/hda1 was partitioned > 2. Add '/bin/sleep 5' before second 'sync' in the install.sh script (after > fdisk /dev/${device} sequence). It once helped me by some reason. > > Alex > > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mahalingam, > Nithish > Sent: Thursday, August 07, 2008 21:54 > To: Lynch, Rusty > Cc: dev@moblin.org > Subject: RE: [Moblin Dev] Issue with 'Install USB'? > > Any idea on this guys? > > Regards, > Nithish Mahalingam > > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf > Of Mahalingam, Nithish > Sent: Wednesday, August 06, 2008 10:11 AM > To: Lynch, Rusty > Cc: dev@moblin.org > Subject: RE: [Moblin Dev] Issue with 'Install USB'? > > Hi Rusty, > > At boot time I am seeing - > > > Begin: Waiting for root file system > Check root=bootarg cat /proc/cmdline > or missing modules, device: cat /proc/modules ls /dev > ALERT! /dev/hda1 does not exist. Dropping to shell! > > (initramfs) ..... > ....... > > > /dev/hda1 does not exist??? Is that the problem? > > > Regards, > Nithish Mahalingam > > -----Original Message----- > From: Lynch, Rusty > Sent: Wednesday, August 06, 2008 12:28 AM > To: Mahalingam, Nithish > Cc: Lopatin, Alexander L; dev@moblin.org > Subject: RE: [Moblin Dev] Issue with 'Install USB'? > > Do you have any clue in the console? Any error messages? > > On Wed, 2008-08-06 at 00:23 +0530, Mahalingam, Nithish wrote: >> Hi Alex, >> >> I guess the problem I am facing now to different to - >> >> I am able to create a Install USB image successfully and also am able > to >> install it on an HDD (I have a 20GB HDD). After installation when I >> remove the USB drive and try to boot the newly installed OS from the > HDD >> the system hangs at boot time. By the way I can see the grub updated > for >> the newly installed OS on the HDD. >> >> >> Regards, >> Nithish Mahalingam >> >> >> -----Original Message----- >> From: Lopatin, Alexander L >> Sent: Wednesday, August 06, 2008 12:18 AM >> To: Mahalingam, Nithish; dev@moblin.org >> Subject: RE: [Moblin Dev] Issue with 'Install USB'? >> >> Here is a week old posting: [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: dev@moblin.org >> 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 >> > >> > >> > >> >> -----Original Message----- >> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf >> Of Mahalingam, Nithish >> Sent: Tuesday, August 05, 2008 11:43 >> To: dev@moblin.org >> Subject: [Moblin Dev] Issue with 'Install USB'? >> >> Hi, >> >> >> >> I have been trying to create an 'Install USB' image for menlow-lpia >> platform with moblin-crownbeach-full-mobile-stack FSET added and I am >> seeing an hang during OS boot after the OS installation completed on > the >> HDD from the Install USB image. There is no issue when I boot the OS >> with an Live RW. Is there any issue with the Install USB image > off-late? >> >> >> >> Regards, >> >> Nithish Mahalingam >> >> _______________________________________________ >> dev mailing list >> dev@moblin.org >> https://www.moblin.org/mailman/listinfo/dev >> >> _______________________________________________ >> dev mailing list >> dev@moblin.org >> https://www.moblin.org/mailman/listinfo/dev > > _______________________________________________ > dev mailing list > dev@moblin.org > https://www.moblin.org/mailman/listinfo/dev > > _______________________________________________ > dev mailing list > dev@moblin.org > https://www.moblin.org/mailman/listinfo/dev > > _______________________________________________ > dev mailing list > dev@moblin.org > https://www.moblin.org/mailman/listinfo/dev > -- Tobin Davis > > > "Those who do not do politics will be done in by politics." > -- French Proverb > > > > > _______________________________________________ > dev mailing list > dev@moblin.org > https://www.moblin.org/mailman/listinfo/dev > > _______________________________________________ dev mailing list dev@moblin.org https://www.moblin.org/mailman/listinfo/dev