maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   General (https://talk.maemo.org/forumdisplay.php?f=7)
-   -   Partitioning Problem (https://talk.maemo.org/showthread.php?t=82064)

udaychaitanya16 2012-02-03 18:44

Re: Partitioning Problem
 
sfdisk -l output is there in the post number 8.Everything is primary partition only.

shame on me that I got my thanks button disappeared.Even after I have confirmed my email change its not returning.

Thanks for your time man.

udaychaitanya16 2012-02-03 18:46

Re: Partitioning Problem
 
Again I have fired up gparted and saw the partition named debian is there.But I am unable to recognise it in N900 as mmcblk0p1,2,3,or 4.And I dont know how to mount it .

michaaa62 2012-02-03 18:54

Re: Partitioning Problem
 
Maemo is kind of dumb, it was developed to be that way...

Try to check the file system
Code:

sudo gainroot
fsck -af /dev/mmcblk0p4


udaychaitanya16 2012-02-03 18:57

Re: Partitioning Problem
 
here is the output
Code:

fsck -af /dev/mmcblk0p4
fsck 1.41.3.maemo0 (12-Oct-2008)
debian: 11/196608 files (0.0% non-contiguous), 29901/786176 blocks


michaaa62 2012-02-03 19:03

Re: Partitioning Problem
 
You need to create a mount point for the device, like /media/easy_debian.
Code:

mkdir /media/easy_debian
Open /etc/event.d/rcS-late with an editor,
Code:

nano /etc/event.d/rcS-late
find the line
Quote:

-f /usr/lib/genfstab.awk > $tmp_fstab
and add this below it
Code:

echo "/dev/mmcblk0p4 /media/easy_debian ext3 rw,noatime,errors=continue,commit=1,data=writeback 0 0" >> $tmp_fstab
After a reboot, please verify that it work.

udaychaitanya16 2012-02-03 19:10

Re: Partitioning Problem
 
But what I want is the image file of easy debian should be mounted to dedicated partition which is there on emmc I think:confused:

michaaa62 2012-02-03 19:23

Re: Partitioning Problem
 
My experience with easy debian was years ago, so bear with me if the following is not up-to-date.

The EasyDebian is a file which will get unzipped and mounted itself as a loopback device, and an application is kind of changerooting into that mount point. There is no separate device necessary for that, until you unpack the file to the device and mount this device always to the location, where the script of easy debian looks for the loopback file. This should be done via fstab entry.

udaychaitanya16 2012-02-03 19:25

Re: Partitioning Problem
 
Now I have made directory named ed as a mount point and changed the code given to replace just "ed" and edited and rebooted.Now where should i copy the debian image file.Thank you.

udaychaitanya16 2012-02-03 19:30

Re: Partitioning Problem
 
Thank you.Infact I am trying out Estel's image which should be manually placed into the mount point.Qoles installer does not automatically recognise the newer image of Estel.I will try my luck with what you have taught to me till now.And I will track you down all over TMO as soon as my Thanks button is activated.Thanks again for your valuable time .

michaaa62 2012-02-03 19:36

Re: Partitioning Problem
 
I am unsure if you want to just place the downloaded image file onto that partition or if you want to extract the image file folder by folder as if it is an installed system? Is this a workable way for easy debian at all? As i said, do not know much about it.

The difference: The script would look for /ed/debian*.img* , if you configure it in /home/user/.chroot
while the latter will have folders /bin, /etc, ... in /ed


All times are GMT. The time now is 22:46.

vBulletin® Version 3.8.8