Open ecrahul46 opened 10 years ago
Have you unmounted the partition ? Please remove the sdcard and insert again, if it's auto-mounted then do the following:
You can use gparted to perform partitions, it is graphical equivalent for fdisk
On Mon, Jan 6, 2014 at 12:26 PM, ecrahul46 notifications@github.com wrote:
Respected Sir, I am working on porting ubuntu on aakash2 tablet and following the procedure that you mentioned. Problem: In the point "KERNEL ON SDCARD", when i create two partitions, on my 8GB microSDcard, as mention in points 3 to 6; partitions are created successfully. On my machine it shows sdd1p1 and sdd1p2 respectively. Now when I perform step 8 of writing the changes to disk, it gives me following error:
The partition table has been altered!
Calling ioctl() to re-read partition table.
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 or after you run partprobe(8) or kpartx(8) Syncing disks.
I tried rebooting the system and using partprobe, but the problem is not solved. I can't ignore this message as this would not allow me formatting the created partitions. Kindly help me out so that i can move further.
Waiting for your co-operative reply.
From, Rahul Patel, Gujarat.
— Reply to this email directly or view it on GitHubhttps://github.com/androportal/linux-on-aakash/issues/7 .
Thank you for ur fast reply. I followed the gparted GUI to partition the SDcard and made two partition FAT32 of 50MB and Ext4 of the remaining space. After that i followed the steps as mentioned in getting the file system ready without any problem. When I inserted the SDcard and booted the aakash, Ubuntu doesn't boots and our conventional android starts. So can u suggests some possible solutions for this problem.
Waiting for your co-operative reply.
From, Rahul Patel, Gujarat.
Ok. It should have worked. Anyway, can you send me the output of these two commands from android adb session:
adb shell cat /proc/cpuinfo adb shell cat /proc/modules
Have you tried our ready made image ?
On Tue, Jan 7, 2014 at 9:59 AM, ecrahul46 notifications@github.com wrote:
Thank you for ur fast reply. I followed the gparted GUI to partition the SDcard and made two partition FAT32 of 50MB and Ext4 of the remaining space. After that i followed the steps as mentioned in getting the file system ready without any problem. When I inserted the SDcard and booted the aakash, Ubuntu doesn't boots and our conventional android starts. So can u suggests some possible solutions for this problem.
Waiting for your co-operative reply.
From, Rahul Patel, Gujarat.
— Reply to this email directly or view it on GitHubhttps://github.com/androportal/linux-on-aakash/issues/7#issuecomment-31712637 .
Yes I am working with the image mentioned in linux on aakash. The below are the screenshots for cpuinfo and modules commands
Waiting for your co-operative reply.
From, Rahul Patel, Gujarat.
Ok, it seems you have right processor. It should work for sure. The touchscreen might not work as it uses gslx680 driver. If you have used the u-boot step properly then the device shouldn't boot to android at all. Please redo the u-boot stage, the only reason it skips the sdcard is because it can't find boot-loader.
On Tue, Jan 7, 2014 at 10:29 AM, ecrahul46 notifications@github.com wrote:
Yes I am working with the image mentioned in linux on aakash. The below are the screenshots for cpuinfo and modules commands [image: cpuinfo]https://f.cloud.github.com/assets/6327507/1856590/4ac3fc04-7758-11e3-8b40-a0792e08156e.png [image: modules]https://f.cloud.github.com/assets/6327507/1856594/5a562d90-7758-11e3-828e-799268ee0d63.png
Waiting for your co-operative reply.
From, Rahul Patel, Gujarat.
— Reply to this email directly or view it on GitHubhttps://github.com/androportal/linux-on-aakash/issues/7#issuecomment-31713589 .
I repeated the steps back from U-boot stage. I am using 8GB microSD card and i am using your image 12.10-lxde-bootLogo-0secUboot-close-expeyes-scilab-Oscad-16-06-2013.img.bz2 Questions: 1) First I format my microSd card as FAT32 entire. Then after performing the steps mentioned in "UBOOT INSTALLATION ON SDCARD" related to microSD card, I resize the FAT32 partition using GPARTED into two partitions 1) fat16 with 50MB of size, which even though i select, during resize, it as FAT32, it gets converted to FAT16 and 2) ext4 with remaining space. I extract the .bz2 file using preinstalled extractor on my desktop which creates "12.10-lxde-bootLogo-0secUboot-close-expeyes-scilab-Oscad-16-06-2013.img" img file . Then to copy the file to SD card ext4 parition (which in my case is /dev/sdd2) i use the command
dd if=12.10-lxde-bootLogo-0secUboot-close-expeyes-scilab-Oscad-16-06-2013.img of=/dev/sdd2
Now after extraction when I see the partition table in gparted software, the ext4 partition (/dev/sdd2) is listed as unknown file system. i.e. ext4 partition is changed to unknown. What the reason behind this?
2) Moreover if I use this image file, what steps from the section "Step to make file system" should be followed.
3) As u mentioned that my touch screen might not work as it uses gslx680 driver, what the solution for the same to work properly?
Waiting for your co-operative reply.
From, Rahul Patel, Gujarat.
I think you got confused somewhere. You need not to format your sdcard to try our readymade image. Just dd it sdcard.
dd if=12.10-lxde-bootLogo-0secUboot-close-expeyes-scilab-Oscad-16-06-2013.img of=/dev/sdd
Not to the 2nd partition, but to the entire drive.
On Tue, Jan 7, 2014 at 2:52 PM, ecrahul46 notifications@github.com wrote:
I repeated the steps back from U-boot stage. I am using 8GB microSD card and i am using your image 12.10-lxde-bootLogo-0secUboot-close-expeyes-scilab-Oscad-16-06-2013.img.bz2 Questions: 1) First I format my microSd card as FAT32 entire. Then after performing the steps mentioned in "UBOOT INSTALLATION ON SDCARD" related to microSD card, I resize the FAT32 partition using GPARTED into two partitions 1) fat16 with 50MB of size, which even though i select, during resize, it as FAT32, it gets converted to FAT16 and 2) ext4 with remaining space. I extract the .bz2 file using preinstalled extractor on my desktop which creates "12.10-lxde-bootLogo-0secUboot-close-expeyes-scilab-Oscad-16-06-2013.img" img file . Then to copy the file to SD card ext4 parition (which in my case is /dev/sdd2) i use the command
dd if=12.10-lxde-bootLogo-0secUboot-close-expeyes-scilab-Oscad-16-06-2013.img of=/dev/sdd2
Now after extraction when I see the partition table in gparted software, the ext4 partition (/dev/sdd2) is listed as unknown file system. i.e. ext4 partition is changed to unknown. What the reason behind this?
[image: sd card file system]https://f.cloud.github.com/assets/6327507/1857690/24b03fd0-777d-11e3-856d-b27a5c1dbb08.png
2) Moreover if I use this image file, what steps from the section "Step to make file system" should be followed.
3) As u mentioned that my touch screen might not work as it uses gslx680 driver, what the solution for the same to work properly?
Waiting for your co-operative reply.
From, Rahul Patel, Gujarat.
— Reply to this email directly or view it on GitHubhttps://github.com/androportal/linux-on-aakash/issues/7#issuecomment-31723181 .
I formated it as per the point "STEPS TO BUILD KERNEL"--> "KERNEL ON SDCARD" point number 9. then I followed the points from step 10 onwards. Ok now as your command, u mentioned only sdd instead of sdd1 or sdd2. but when we create two partitions as per steps 5 and 6, it creates two partition in sdd1 (microSDcard) I format the two partition as u mention in step 9, using the commands
sudo mkfs.vfat /dev/sdd1 and sudo mkfs.ext4 /dev/sdd2
So now as u stated in the reply i am not having sdd as any device. My microSD card have two devices sdd1(vfat) and sdd2(ext4).
So now what to do?
Waiting for your co-operative reply.
From, Rahul Patel, Gujarat.
There is no need to follow any of the steps if you're directly using our given image. Just do this single step, it should work
dd if=12.10-lxde-bootLogo-0secUboot-close-expeyes-scilab-Oscad-16-06-2013.img of=/dev/sdd
On Tue, Jan 7, 2014 at 3:19 PM, ecrahul46 notifications@github.com wrote:
I formated it as per the point "STEPS TO BUILD KERNEL"--> "KERNEL ON SDCARD" point number 9. then I followed the points from step 10 onwards. Ok now as your command, u mentioned only sdd instead of sdd1 or sdd2. but when we create two partitions as per steps 5 and 6, it creates two partition in sdd1 (microSDcard) I format the two partition as u mention in step 9, using the commands
sudo mkfs.vfat /dev/sdd1 and sudo mkfs.ext4 /dev/sdd2
So now as u stated in the reply i am not having sdd as any device. My microSD card have two devices sdd1(vfat) and sdd2(ext4).
So now what to do?
Waiting for your co-operative reply.
From, Rahul Patel, Gujarat.
— Reply to this email directly or view it on GitHubhttps://github.com/androportal/linux-on-aakash/issues/7#issuecomment-31724666 .
This means just take 8GB microSd card, format it as ext4 if its not or previously having FAT32 file table and using above command just write the .img file to SD card. After that just insert the MicroSDcard into aakash tablet and start it. I will get ubuntu.
i.e. I require my SD card with ext4 file table. OR Whatever file system my SD card is having (i.e. ext4 or FAT32 it doesn't matter), just use the command dd if=12.10-lxde-bootLogo-0secUboot-close-expeyes-scilab-Oscad-16-06-2013.img of=/dev/sdd1
as my SD card is sdd1 on my machine. But linux require ext4 partition. Confused???????
Kindly clarify my doubts.
Waiting for your co-operative reply.
From, Rahul Patel, Gujarat.
Please don't confuse. Don't bother about filesytem. Let it be anything, anything. Just umount the filesystem before dd.
as root: umount /dev/sdd1 * (assuming sdd1 is your mounted partition, mounted partition means drive will show in your file browser). Don't eject the drive from file-browser. Just use the above *umount /dev/sdd1 command from commandline.
Then issue the dd command to entire disk (i.e sdd) not sdd1 dd if=12.10-lxde-bootLogo-0secUboot-close-expeyes-scilab-Oscad-16-06-2013.img of=/dev/sdd
Please try this, it will work for sure. The first step is optional though, but it is a good practice.
On Tue, Jan 7, 2014 at 10:38 PM, ecrahul46 notifications@github.com wrote:
This means just take 8GB microSd card, format it as ext4 if its not or previously having FAT32 file table and using above command just write the .img file to SD card. After that just insert the MicroSDcard into aakash tablet and start it. I will get ubuntu.
i.e. I require my SD card with ext4 file table. OR Whatever file system my SD card is having (i.e. ext4 or FAT32 it doesn't matter), just use the command dd if=12.10-lxde-bootLogo-0secUboot-close-expeyes-scilab-Oscad-16-06-2013.img of=/dev/sdd1
as my SD card is sdd1 on my machine. But linux require ext4 partition. Confused???????
Kindly clarify my doubts.
Waiting for your co-operative reply.
From, Rahul Patel, Gujarat.
— Reply to this email directly or view it on GitHubhttps://github.com/androportal/linux-on-aakash/issues/7#issuecomment-31756678 .
I followed the same instructions as u mentioned without any change. Then I inserted SD card into my tablet. again android boots and it shows "Damaged SD card" as file system for android is not present. Thats not the issue. But why android boots not ubuntu?
Kindly clarify my doubts.
Waiting for your co-operative reply.
From, Rahul Patel, Gujarat.
Try with another sdcard. Use dd-Maker software mentioned in that page, or download it from herehttp://www.it.iitb.ac.in/AakashApps/repo/GNU-Linux-on-Aakash/ddmaker-1.0.1.all.deb . As it's sun5i based processor, it should work.
On Wed, Jan 8, 2014 at 10:44 AM, ecrahul46 notifications@github.com wrote:
I followed the same instructions as u mentioned without any change. Then I inserted SD card into my tablet. again android boots and it shows "Damaged SD card" as file system for android is not present. Thats not the issue. But why android boots not ubuntu?
Kindly clarify my doubts.
Waiting for your co-operative reply.
From, Rahul Patel, Gujarat.
— Reply to this email directly or view it on GitHubhttps://github.com/androportal/linux-on-aakash/issues/7#issuecomment-31806541 .
I have tried ddmaker as u mentioned. But not ubuntu. Now my SD card is of 8GB. When I extract the *.bz2 file it generates .img file of size 7.9GB. .bz2 file size 2.3 GB (2,25,01,65,359 bytes) .img file size 7.9 GB (7,94,82,16,320 bytes)
Is this the size of the files? Any setting in the tablet is required?
Waiting for your co-operative reply.
From, Rahul Patel, Gujarat.
No settings on tablets. And file size is correct. You can verify the md5sum too.
On Wed, Jan 8, 2014 at 11:46 AM, ecrahul46 notifications@github.com wrote:
I have tried ddmaker as u mentioned. But not ubuntu. Now my SD card is of 8GB. When I extract the *.bz2 file it generates .img file of size 7.9GB. .bz2 file size 2.3 GB (2,25,01,65,359 bytes) .img file size 7.9 GB (7,94,82,16,320 bytes)
Is this the size of the files? Any setting in the tablet is required?
Waiting for your co-operative reply.
From, Rahul Patel, Gujarat.
— Reply to this email directly or view it on GitHubhttps://github.com/androportal/linux-on-aakash/issues/7#issuecomment-31808476 .
Is their any thing to do with the block size in dd command?
Waiting for your co-operative reply.
From, Rahul Patel, Gujarat.
That won't be a problem, if you have used ddMaker
On Wed, Jan 8, 2014 at 12:14 PM, ecrahul46 notifications@github.com wrote:
Is their any thing to do with the block size in dd command?
Waiting for your co-operative reply.
From, Rahul Patel, Gujarat.
— Reply to this email directly or view it on GitHubhttps://github.com/androportal/linux-on-aakash/issues/7#issuecomment-31809324 .
I have used ddmaker. But then also not working. I have matched the checksum using md5sum. Its also as stated on the site. So now whats the problem. Kindly guide me how to move further.
Waiting for your co-operative reply.
From, Rahul Patel, Gujarat
If possible, can you try on any other Aakash tablet ? Everyone is using the same image and tablet, and it's working. You may want to use the different sdcard or try 13.10 image from this linkhttp://www.it.iitb.ac.in/AakashApps/repo/GNU-Linux-on-Aakash/
On Wed, Jan 8, 2014 at 1:57 PM, ecrahul46 notifications@github.com wrote:
I have used ddmaker. But then also not working. I have matched the checksum using md5sum. Its also as stated on the site. So now whats the problem. Kindly guide me how to move further.
Waiting for your co-operative reply.
From, Rahul Patel, Gujarat
—
Reply to this email directly or view it on GitHubhttps://github.com/androportal/linux-on-aakash/issues/7#issuecomment-31813066 .
I tried 13.10 image and again ubuntu doesn't boots and on android it gives me Damaged sdcard notification.
Now how to get ubuntu on aakash? Kindly clarify my doubts.
Waiting for your co-operative reply.
From, Rahul Patel, Gujarat
Hi, We did the follwing steps:
a. Can you please help us to boot the tablet with ubuntu? b. If its not of much trouble, is it possible for you to upload a video of the whole process (from SD card to booting into ubuntu)?
R Gowsalya IIT,Madras.
hello, if everything is performed as instructed, and still no boot, then most probably the tablet is incompatible with the downloaded image. However, a similar video for the process http://youtu.be/wQq4I9cCUQw On Sep 28, 2014 9:45 PM, "Gowsaliya R" notifications@github.com wrote:
Hi, We did the follwing steps:
- gparted -> deleted old partitions of the SD-card(8GB)
- downloaded and unzipped the readymade image available here (12.10)-lxde
- used a ubuntu PC and unmounted the SD card, and did sudo dd if=/path-of-lxde-image.img of=/dev/sdb bs=1M
- removed and reinserted SD card on the PC. Checked filemanager and saw two partitons
- inserted SD card on tablet and after that pressed power button. ......(but we couldnt recognise any glow of the LCD screen)....... tablet started to boot into android.
- inside android, SD card's only the 15MB partition is recognised.
a. Can you please help us to boot the tablet with ubuntu? b. If its not of much trouble, is it possible for you to upload a video of the whole process (from SD card to booting into ubuntu)?
R Gowsalya IIT,Madras.
— Reply to this email directly or view it on GitHub https://github.com/androportal/linux-on-aakash/issues/7#issuecomment-57090363 .
Respected Sir, I am working on porting ubuntu on aakash2 tablet and following the procedure that you mentioned. Problem: In the point "KERNEL ON SDCARD", when i create two partitions, on my 8GB microSDcard, as mention in points 3 to 6; partitions are created successfully. On my machine it shows sdd1p1 and sdd1p2 respectively. Now when I perform step 8 of writing the changes to disk, it gives me following error:
The partition table has been altered!
Calling ioctl() to re-read partition table.
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 or after you run partprobe(8) or kpartx(8) Syncing disks.
I tried rebooting the system and using partprobe, but the problem is not solved. I can't ignore this message as this would not allow me formatting the created partitions. Kindly help me out so that i can move further.
Waiting for your co-operative reply.
From, Rahul Patel, Gujarat.