|
2013-03-28
, 05:18
|
Posts: 13 |
Thanked: 6 times |
Joined on Oct 2012
@ Damascus, Syria
|
#272
|
I'm working on partitioning now....
Any recommendations for changing the partitions shown above???
As you can see already had one....should I change it?
Is it OK to do this in GParted?.....
So, what does 'sd' mean in this case??....
Partition File System Mount Point Label Size Used Flags
/dev/sda1 FAT Nokia N900 4.88GB 3.24GB lba
/dev/sda4 extended 22.12GB
/dev/sda5 ext3 22.08GB 527.58MB
unallocated unallocated 36MB
/dev/sda2 ext3 /media/sda2 2.00GB 350.30MB
/dev/sda3 linux-swap 768MB
unallocated unallocated 63.97MB
And I can do this from terminal on PC?
So, you recommend downloading Arch file to PC and then 'tar' it over to N900?
Hope it's OK that I already had installed U-Boot....
Thanks for your help!
The Following User Says Thank You to AhmadMhd For This Useful Post: | ||
|
2013-03-28
, 12:06
|
Posts: 191 |
Thanked: 415 times |
Joined on Jan 2012
|
#273
|
Device Boot Start End Blocks Id System /dev/mmcblk0p1 33 524320 16777216 c Win95 FAT32 (LBA) /dev/mmcblk0p2 884866 950401 2097152 83 Linux /dev/mmcblk0p3 950402 974977 786432 82 Linux swap /dev/mmcblk0p4 524321 884865 11537440 5 Extended /dev/mmcblk0p5 524353 884865 11536416 83 Linux
Device Boot Start End Blocks Id System /dev/mmcblk1p1 * 1 2022 7761889 83 Linux
Nokia-N900:~# cat /etc/bootmenu.d/arch-*
ITEM_NAME="Arch Linux ARM @ EMMC" ITEM_KERNEL="/boot/uImage" ITEM_DEVICE="${INT_CARD}p5" ITEM_FSTYPE="ext4" ITEM_OMAPATAG="1" ITEM_CMDLINE="root=/dev/mmcblk1p5 rootwait init=/bin/systemd omapfb.vram=0:3M,1:3M,2:3M verbose"
ITEM_NAME="Arch Linux ARM @ SD" ITEM_KERNEL="/boot/uImage" ITEM_DEVICE="${EXT_CARD}p1" ITEM_FSTYPE="ext4" ITEM_OMAPATAG="1" ITEM_CMDLINE="root=/dev/mmcblk0p1 rootwait init=/bin/systemd omapfb.vram=0:3M,1:3M,2:3M quiet"
The Following User Says Thank You to caveman For This Useful Post: | ||
|
2013-03-28
, 13:07
|
|
Posts: 414 |
Thanked: 109 times |
Joined on Mar 2007
@ Silicon Valley
|
#274
|
I think this is good
In my opinion 22GB is big, unless you plan for something else.
No, you don't have to
you can use current instead
OR as @Skry sayd
you can make swap in you SD ( for optimal performance )
Why not ( I think it works )
But I like using mkfs.ext4
You can see in gparted the name of the device and partition
and I think n900 should be /dev/sdb
The partition where arch will be installed may be /dev/sdb5
This depends on your connected devices.
do you get it now ?
I don't know why its /dev/sda here , it should be /dev/sdb
but be careful please ( you may damage your internal PC HDD )
Sure ( thats what I recommend )
Yeah, Faster and more efficient.
Good, but make sure you have the correct version at pali site
You are very welcome my friend.
The Following User Says Thank You to ArchiMark For This Useful Post: | ||
|
2013-03-28
, 13:38
|
|
Posts: 414 |
Thanked: 109 times |
Joined on Mar 2007
@ Silicon Valley
|
#275
|
This is my current setup as a reference. There are 2 independent installations, at both SD and eMMC.
eMMC partition table:
SD partition table:Code:Device Boot Start End Blocks Id System /dev/mmcblk0p1 33 524320 16777216 c Win95 FAT32 (LBA) /dev/mmcblk0p2 884866 950401 2097152 83 Linux /dev/mmcblk0p3 950402 974977 786432 82 Linux swap /dev/mmcblk0p4 524321 884865 11537440 5 Extended /dev/mmcblk0p5 524353 884865 11536416 83 Linux
u-boot item files:Code:Device Boot Start End Blocks Id System /dev/mmcblk1p1 * 1 2022 7761889 83 Linux
Code:Nokia-N900:~# cat /etc/bootmenu.d/arch-*Code:ITEM_NAME="Arch Linux ARM @ EMMC" ITEM_KERNEL="/boot/uImage" ITEM_DEVICE="${INT_CARD}p5" ITEM_FSTYPE="ext4" ITEM_OMAPATAG="1" ITEM_CMDLINE="root=/dev/mmcblk1p5 rootwait init=/bin/systemd omapfb.vram=0:3M,1:3M,2:3M verbose"Code:ITEM_NAME="Arch Linux ARM @ SD" ITEM_KERNEL="/boot/uImage" ITEM_DEVICE="${EXT_CARD}p1" ITEM_FSTYPE="ext4" ITEM_OMAPATAG="1" ITEM_CMDLINE="root=/dev/mmcblk0p1 rootwait init=/bin/systemd omapfb.vram=0:3M,1:3M,2:3M quiet"
Regarding swap, the best performance will be achieved by using the swap partition on a different disk than the system. Eg, if running from the SD, use swap on the eMMC, or the other way around.
Be careful when messing with things at this level, specially MyDocs partition, since u-boot keeps stuff there. I learned that the hard way
|
2013-03-28
, 14:28
|
Posts: 191 |
Thanked: 415 times |
Joined on Jan 2012
|
#276
|
But still a bit confused about what is SD vs eMMC.....
The Following User Says Thank You to caveman For This Useful Post: | ||
|
2013-03-28
, 14:54
|
|
Posts: 414 |
Thanked: 109 times |
Joined on Mar 2007
@ Silicon Valley
|
#277
|
This is my testbed. I started with the SD, and then created a new install in the eMMC.
SD is the external memory card; eMMC is the internal 32Gb memory card.
This can be really confusing at times, since maemo uses reversed numbers from u-boot and ARCH.
|
2013-03-28
, 23:23
|
Posts: 13 |
Thanked: 6 times |
Joined on Oct 2012
@ Damascus, Syria
|
#278
|
|
2013-03-29
, 09:19
|
Posts: 204 |
Thanked: 754 times |
Joined on Jan 2012
@ Finland
|
#279
|
@ٍSkry
how is it going
I tried the sgx driver but X couldn't start ( I've enabled the powervr.service with no luck ).
So I reverted back to unaccelerated driver
X starts BUT the touch coordinates on the screen are inverted ( tab on high area --> the cursor goes down )
Am I the only one having this issue
Thanks!
|
2013-03-29
, 10:17
|
Posts: 204 |
Thanked: 754 times |
Joined on Jan 2012
@ Finland
|
#280
|
My N900 looked like this in GParted when first connected:
- Nokia N900 - FAT - 29GB (3.84GB Used)
- DISK2S2 - FAT - 2.15GB
- Linux Swap - FAT - 805.3MB
Made some modifications in GParted and looks like this right now:
Partition File System Mount Point Label Size Used Flags
/dev/sda1 FAT Nokia N900 4.88GB 3.24GB lba
/dev/sda4 extended 22.12GB
/dev/sda5 ext3 22.08GB 527.58MB
unallocated unallocated 36MB
/dev/sda2 ext3 /media/sda2 2.00GB 350.30MB
/dev/sda3 linux-swap 768MB
unallocated unallocated 63.97MB
Any recommendations for changing the partitions shown above???
And I can do this from terminal on PC?
Mark
Silicon Valley Digerati
Nokia N900
Previous: Nokia N810 & N800