Active Topics

 


Reply
Thread Tools
Posts: 182 | Thanked: 69 times | Joined on Nov 2009 @ Netherlands
#61
hello,

I have been trying to install the Easy Debian image on a partition of the sdcard, next to the regular fat partition, by following the instructions of the first post. But I have trouble with the 'mount' commands, both of them in fact.
The partition was formatted on a Linux desktop as ext2, and does work there.

this is the output of the first mount command:

Code:
Nokia-N900:~# mount -o loop /home/user/MyDocs/debian-m5-lc-v1a.img.ext2 /mnt/ed-img 
mount: mounting /dev/loop0 on /mnt/ed-img failed: Invalid argument
and the second one:
Code:
Nokia-N900:~# mount /dev/mmcblk1p2 /mnt/n900sd 
mount: mounting /dev/mmcblk1p2 on /mnt/n900sd failed: Invalid argument
mmcblk1p2 does exist in /dev, the dirs in /mnt are there as well.

Can anyone tell me what I am doing wrong?

Edit: I found out what the problems were:

1. The first of Andrew's images was faulty. Either it went wrong when I downloaded or extracted it, or it is wrong already, I haven't checked. I now used the second image (the webdesigner one), that does work.

2. the partition was not correctly formatted apparently. I now used
Code:
mke2fs -L EDebian -j -m0 /dev/mmcblk1p2
The rest of the process went well.

Last edited by maartenmk; 2011-07-03 at 10:34.
 
Posts: 1,336 | Thanked: 3,932 times | Joined on Jul 2010 @ Brittany, France
#62
My device shuts down after a few minutes of processing when I run "tar cf - . | tar xfp - -C /mnt/n900sd".

Isn't there a way to directly extract the image to the dedicated partition using a Linux computer?

I tried extracting the .lzma into /dev/mmcblk0p4 (dedicated ext3 partition created on eMMC). After that, I checked that everything was OK by mounting /dev/mmcblk0p4 into /mnt/test and the .ext2 image was actually there.

I modified the /home/user/.chroot file to specify the dedicated partition and filesystem (I tried both ext3 and ext2). However, nothing works. When I launch chroot from the shortcut icon, I get an error message stating "mounting failure". What is wrong?

My dedicated partition is sized to almost 3 Go.

Thanks in advance for your help.
 
Posts: 182 | Thanked: 69 times | Joined on Nov 2009 @ Netherlands
#63
I am not a Linux expert, but it looks like you copied the .ext2 image file to the partition. What you need to do is copy the files contained in the .ext2 file to the partition, that is what the tar command does (I assume).

Maybe you could execute the same command on your desktop (modified a bit of course)? Or try extracting the ext2 file with 7zip or so.
Also, I think you need an ext2 partition, but I am not sure.

Alternatively, you could try the recommended Swappolube values from the IO improvement thread, they may stop your N900 from shutting down.
 
Reply


 
Forum Jump


All times are GMT. The time now is 00:18.