maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Alternatives (https://talk.maemo.org/forumdisplay.php?f=36)
-   -   Easy Debian Fremantle Beta Testing (https://talk.maemo.org/showthread.php?t=34550)

marmistrz 2013-07-01 14:08

Re: Easy Debian Fremantle Beta Testing
 
Quote:

Originally Posted by fw190 (Post 1355986)
Dang - I thought that this is a new line - it looked like this in Estels post.
Code:

BusyBox v1.10.2 (Debian 3:1.10.2.legal-1osso31+0cssu0) built-in shell (ash)
Enter 'help' for a list of built-in commands.

Nokia-N900:~# mount -t ext3 /home/user/MyDocs/debian-m5-estel.img.ext3 /tmp/debian-temp
mount: mounting /dev/loop0 on /tmp/debian-temp failed: Device or resource busy
Nokia-N900:~#


Try `sudo closechroot` or restarting the system

pichlo 2013-07-01 14:12

Re: Easy Debian Fremantle Beta Testing
 
Quote:

Originally Posted by fw190 (Post 1355974)
Hmmm I do not know much about commands but correct me if I' wrong:
mkdir /tmp/debian-temp - this makes the folder in tmp just for purpouse of copying

Correct. Except I would not do it in /tmp as you almost certainly will not have enough space (see http://en.wikipedia.org/wiki/Tmpfs). Replace it with /home/debian-temp, /home/user/debian-temp, or even skip it altogether and use /mnt. In next lines, I will assume /mnt as the destination.

Quote:

mount /home/user/MyDocs/your-easy-debian-image-file.ext3 - this mounts the image
That would work if the OS knew anything about your-easy-debian-image-file.ext3. Assuming it does not, you need to specify the full parameters as per my reply above.

mount -t ext3 /home/user/MyDocs/your-easy-debian-image-file.ext3 /mnt

Quote:

/tmp/debian-temp - this moves me form / to debian-temp
You need a cd there. Plus we have agreed to leave /tmp alone. And you don't need to change your working directory. Just skip this command altogether. If you want, you can (optionally) check you have some contents to copy:

ls /mnt

Quote:

mount /dev/mmcblk1p1 /.debian - this mounts the sd card
Correct. It will most likely work as written but if not, you may add the file system type specification, like this:

mount -t ext3 /dev/mmcblk1p1 /.debian

Quote:

cp -a /tmp/debian-temp/* /.debian/ - this is copying files from temp to sd but what files as no command has copied any files to debian-temp?
Correct, only use /mnt instaed of /tmp/debian-temp:

cp -a /mnt/* /.debian

You may also want to unmount things once finished:

umount /.debian
umount /mnt


Finally, edit your /home/user/.chroot file to point to your new ED location as per my post #2943.

Edit: Err, silly me, since mount does not actually copy anything, feel free to use /tmp/debian-temp as you originally intended if you wish. No tmpfs space will be used. :o

fw190 2013-07-01 22:07

Re: Easy Debian Fremantle Beta Testing
 
pichlo - you absolutely rock!

Everything went ok! I do not see much difference comparing to image but still you have provided a cristal clear step by step instruction which saved my day!

Now this should land in the wiki.

One thing - I had to change swapines to default as it gave me reboots. My N900 is sensitve in this manner.

marmistrz 2013-07-02 05:57

Re: Easy Debian Fremantle Beta Testing
 
Quote:

Originally Posted by fw190 (Post 1356110)
pichlo - you absolutely rock!

Everything went ok! I do not see much difference comparing to image but still you have provided a cristal clear step by step instruction which saved my day!

Now this should land in the wiki.

One thing - I had to change swapines to default as it gave me reboots. My N900 is sensitve in this manner.

Use "nice -n 19"

btw. bumping my problem with lxde :)

Estel 2013-07-02 06:18

Re: Easy Debian Fremantle Beta Testing
 
Quote:

Originally Posted by fw190 (Post 1355986)
Dang - I thought that this is a new line - it looked like this in Estels post.

Just for future reference - the "code" syntax for messaging boards is meant exactly to avoid such situations (I used this syntax in original commands) - if you're not 100% sure what is new line and whatsnot, just copy content of "CODE" field from post, and paste into some sane text editor (one that doesn't wrap lines by default). "Code" brackets ensure, that messaging board will do 0 formatting to content - even if your resolution makes it appear like new lines.

/Estel

fw190 2013-07-02 06:46

Re: Easy Debian Fremantle Beta Testing
 
Thank you for the tip. I didn't know that!

marmistrz 2013-07-02 15:33

Re: Easy Debian Fremantle Beta Testing
 
Estel, what's libgl1-mesa-dri in your image for? Nothing depends on it. (or dependencies have been removed - nevertheless it shouldn't be as manually installed)

/edit
The same question for libwebkit-1.0-2.

/edit2: There are many more such libs. (e.g. libdb4.6) You should unmark them in your image as manually installed.

fw190 2013-07-03 10:41

Re: Easy Debian Fremantle Beta Testing
 
I have tested ED on microSD card more and must say thet I was wrong - it is much faster. After reading that Autodisconect can give problems I have decided to try ED on eMMC partition and did a complet reflash.

Now I have read this:
http://wiki.maemo.org/Repartitioning_the_flash

The GParted method was sounding easy as I have previously managed to partition an sd card but at the end of the GParted section there are not so cleare statments and instructions for an unexperienced user like me so I have tried to follow this:
https://garage.maemo.org/plugins/wik...id=1382&type=g

Which looked easier for me but I failed at the step of downloading sfdisk - gave 404 error.

So is there an easy way to do it? ;)

pichlo 2013-07-03 11:27

Re: Easy Debian Fremantle Beta Testing
 
The GParted way really is the simplest. Can you tell us what exactly you find confusing? Perhaps we can clear it up for you.

EDIT: If you really want to try the fdisk way, try stripping the bit after the last '/' in the URL. You will get more to choose from than you can shake an fdisk at :)

(Hint: until-linux 2.13 was phased out. Look for a newer version but expect dependency issues (no, I have not tried it). Hence the recommended GParted way.)

fw190 2013-07-03 12:31

Re: Easy Debian Fremantle Beta Testing
 
Well I managed to connect the phone as suggested.

I did a clean reflash and installed just backupmenu, then I have connected the phone and launched GParted. I have chosen the phone and saw the partitions. After unmounting them I was able to partition it. So I have chosen the 27GB partition and resized it to 23GB. This gave me 4GB space which I have chosen and marked as extended partition and the I have chosen ext3 type while creating a new partition inside the extended one. All went well but after starting maemo I couldn't see it.

In GParted there was the large partition, the my new one, then I think swap or opt. Something like this. In the wiki it stated that I should not change anything so does this mean that I have to repartition everything from scrach and create a new MyDocs (if so what to chose in GParted so it would be MyDocs), new swap, new opt and only then put the partition for ED?

Huh the need for speed is killing me ;) To much linux for a historian like me!


All times are GMT. The time now is 13:50.

vBulletin® Version 3.8.8