| Prev |   7     8   9   10     11   19 | Next | Last
maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Alternatives (https://talk.maemo.org/forumdisplay.php?f=36)
-   -   [Android] NITDroid V2 & Multiboot Development And Announcement Thread (https://talk.maemo.org/showthread.php?t=58890)

aligatro 2010-07-26 04:18

Re: [Android] NITDroid V2 & Multiboot Development And Announcement Thread
 
Quote:

Originally Posted by Coffee (Post 764763)
Aligatro,
Sounds great mate, could you tell me what the code would be. I have absolutely zero idea.
Much appreciated

Stephen

sorry I dunno how to do it from console. I use graphical tool called "gparted"

Coffee 2010-07-26 04:21

Re: [Android] NITDroid V2 & Multiboot Development And Announcement Thread
 
Aligatro,
From what i understand, using xterm is done via sfdisk.
As advised by Dj Steve for NITDroid setup on SD card:
sfdisk -uM /dev/mmcblk1 << EOF
,6100,C
,,L
,,
,,
EOF

Gives you a 6.1gb partition and the other is remainder.

aligatro 2010-07-26 04:28

Re: [Android] NITDroid V2 & Multiboot Development And Announcement Thread
 
Quote:

Originally Posted by Coffee (Post 764769)
Aligatro,
From what i understand, using xterm is done via sfdisk.
As advised by Dj Steve for NITDroid setup on SD card:
sfdisk -uM /dev/mmcblk1 << EOF
,6100,C
,,L
,,
,,
EOF

Gives you a 6.1gb partition and the other is remainder.

complicated methods :)

aligatro 2010-07-26 04:36

Re: [Android] NITDroid V2 & Multiboot Development And Announcement Thread
 
You can probably manually edit the partition table dump and put it back.

sfdisk -d /dev/mmcblk1 > partition.table.dump
and the do cat partition.table.dump

it should give you something like

# partition table of /dev/mmcblk1
unit: sectors

/dev/mmcblk1 : start= 0, size= 8388608, Id= 0

and you can add partitions to it here is for example my partition table of ssd

# partition table of /dev/sda
unit: sectors

/dev/sda1 : start= 0, size= 0, Id= 0
/dev/sda2 : start= 63, size= 21012957, Id=83
/dev/sda3 : start= 21013020, size= 72196110, Id=83
/dev/sda4 : start= 93209130, size= 31824765, Id= 5
/dev/sda5 : start= 93209193, size= 31824702, Id= b

you can use http://www.t1shopper.com/tools/calculate/ tool to convert gb to kilobytes.

Coffee 2010-07-26 04:42

Re: [Android] NITDroid V2 & Multiboot Development And Announcement Thread
 
Aligatro,
Thank you for the offer mate though way over my head and wouldn't feel safe going this road. If anyone else could assist I would be most appreciateive.

Stephen

aligatro 2010-07-26 04:51

Re: [Android] NITDroid V2 & Multiboot Development And Announcement Thread
 
Download this: http://gparted.sourceforge.net/download.php
burn it to cd/dvd or get http://unetbootin.sourceforge.net/ instead and let it install a cd image to a usb flash drive.
Alternatively, you can download vmware player , mount the iso from http://gparted.sourceforge.net/download.php, attach n900 as flash drive and resize from inside virtual machine.

Coffee 2010-07-26 05:00

Re: [Android] NITDroid V2 & Multiboot Development And Announcement Thread
 
Thanks anyway mate but I think I will just wait for one of these guys to reply.
I am not very good with software and bound to hit further issues and hence ask further questions, just different or similar ones. Someone on here must have the smarts to use sfdisk and be able to give me the code.
Plenty of clever cookies on here.
:)

Thank you for your time and effort though, much appreciated.

sepehrsfmech 2010-07-26 05:11

Re: [Android] NITDroid V2 & Multiboot Development And Announcement Thread
 
@coffee
you can just learn from djsteves work like if he wants to partition mmcblk1p1 and mmcblkp2, well u do that with p3 and p4 and tell me how it went!

Coffee 2010-07-26 05:35

Re: [Android] NITDroid V2 & Multiboot Development And Announcement Thread
 
Anyone?
Surely some of you clever guys can assist with using sfdisk to partition the SD card on the n900?

Coffee 2010-07-26 05:40

Re: [Android] NITDroid V2 & Multiboot Development And Announcement Thread
 
Quote:

Originally Posted by sepehrsfmech (Post 764791)
@coffee
you can just learn from djsteves work like if he wants to partition mmcblk1p1 and mmcblkp2, well u do that with p3 and p4 and tell me how it went!

Sorry mate, didn't see your reply until after I posted.
I don't really follow, sorry.

umount /dev/mmcblk1p1
sfdisk -uM /dev/mmcblk1 << EOF

If correct? mmcblk1 is the SD card and the p1 is the partition 1?
So are you saying it would be something like this:
umount /dev/mmcblk1p1
sfdisk -uM /dev/mmcblk1 << EOF
,3500,C
,,L
,,
,,
EOF

umount /dev/mmcblk1p2
sfdisk -uM /dev/mmcblk1 << EOF
,1900,C
,,L
,,
,,
EOF

and the 3rd partition would be the remaining?

aligatro 2010-07-26 05:46

Re: [Android] NITDroid V2 & Multiboot Development And Announcement Thread
 
Quote:

Originally Posted by Coffee (Post 764814)
Sorry mate, didn't see your reply until after I posted.
I don't really follow, sorry.

umount /dev/mmcblk1p1
sfdisk -uM /dev/mmcblk1 << EOF

If correct? mmcblk1 is the SD card and the p1 is the partition 1?
So are you saying it would be something like this:
umount /dev/mmcblk1p1
sfdisk -uM /dev/mmcblk1 << EOF
,3500,C
,,L
,,
,,
EOF

umount /dev/mmcblk1p2
sfdisk -uM /dev/mmcblk1 << EOF
,1900,C
,,L
,,
,,
EOF

and the 3rd partition would be the remaining?

Its gonna overwrite your flash card 3 times. So, you will get 1900 partition and second one the rest of space.

Coffee 2010-07-26 05:49

Re: [Android] NITDroid V2 & Multiboot Development And Announcement Thread
 
Quote:

Originally Posted by aligatro (Post 764816)
Its gonna overwrite your flash card 3 times. So, you will get 1900 partition and second one the rest of space.

See, this is what I am saying. For guys like you, understanding his simple comments above is a given. I have no idea what he is saying and just going to get myself in strife. I'm sorry, not trying to be difficult though need someone to tell me the code required to make the three partitions.

aligatro 2010-07-26 05:52

Re: [Android] NITDroid V2 & Multiboot Development And Announcement Thread
 
I am gonna try to create 3 partitions inside emulator and see if it gonna work.

sepehrsfmech 2010-07-26 05:57

Re: [Android] NITDroid V2 & Multiboot Development And Announcement Thread
 
Quote:

Originally Posted by Coffee (Post 764814)
Sorry mate, didn't see your reply until after I posted.
I don't really follow, sorry.

umount /dev/mmcblk1p1
sfdisk -uM /dev/mmcblk1 << EOF

If correct? mmcblk1 is the SD card and the p1 is the partition 1?
So are you saying it would be something like this:
umount /dev/mmcblk1p1
sfdisk -uM /dev/mmcblk1 << EOF
,3500,C
,,L
,,
,,
EOF

umount /dev/mmcblk1p2
sfdisk -uM /dev/mmcblk1 << EOF
,1900,C
,,L
,,
,,
EOF

and the 3rd partition would be the remaining?

yes exactly like that

Coffee 2010-07-26 06:09

Re: [Android] NITDroid V2 & Multiboot Development And Announcement Thread
 
Are you sure, when I got invalid argument in the first line.
I tried:
sfdisk -uM /dev/mmcblk1p2 << EOF
,1900,C
,,L
,,
,,
EOF

and got: BLKRRPART: invalid argument
OK
Warning: start=7168000 - this looks like a partition rather than
the entire disk. Using fdisk on it is probably meaningless.
[use the --force option if you really want this]

Coffee 2010-07-26 06:20

Re: [Android] NITDroid V2 & Multiboot Development And Announcement Thread
 
When I do:
sfdisk -uM /dev/mmcblk1 << EOF
,3500,C
,,L
,,
,,
EOF

and then:

sfdisk -l

I see the table, it list:
mmcblk1p1 as a W95 FAT32 (LBA) 3583999+
mmcblk1p2 as LINUX 4177920
mmcblk1p3 Empty
mmcblk1p4 Empty

So I assume that works and simply sets partition 1 as close as possible to 3.5gb. Leaving the rest as partition 2.
How do I partition (split) p2 to give me p3 remaining?
or can I just set p3? I don't know how..

aligatro 2010-07-26 06:21

Re: [Android] NITDroid V2 & Multiboot Development And Announcement Thread
 
sfdisk -uM /dev/mmcblk1 << EOF
,3778,C
,1900,L
,2500,83
EOF

creates 3 partitions, but they don't have a proper filesystems for some reason. oO

This can be fixed by manually reformating each one

mkfs.vfat /dev/mmcblk1p1 #first one into fat32
mkfs.ext3 /dev/mmcblk1p2 #second one into ext3 (android)
mkfs.ext3 /dev/mmcblk1p3 #for easy debian . also ext3

you can copy-paste with comments, it will just ignore them

Coffee 2010-07-26 06:23

Re: [Android] NITDroid V2 & Multiboot Development And Announcement Thread
 
Much appreciated mate, will give that a go and get back to you

Coffee 2010-07-26 06:51

Re: [Android] NITDroid V2 & Multiboot Development And Announcement Thread
 
sorry mate, didn't work.
BLKRRPART: Device or resource busy
This disk is currently in use - repartitioning is probably a bad idea.
Unmount all file systems, and swapoff all swap partitions on this disk.
Use the --no-reread flag to suppress this check.
use the --force flag to overrule all checks.

Didn't look good though continued anyway.
/dev/mmcblkp1: No such file or directory.

BUGGERRRRRRR

aligatro 2010-07-26 06:54

Re: [Android] NITDroid V2 & Multiboot Development And Announcement Thread
 
Quote:

Originally Posted by Coffee (Post 764856)
sorry mate, didn't work.
BLKRRPART: Device or resource busy
This disk is currently in use - repartitioning is probably a bad idea.
Unmount all file systems, and swapoff all swap partitions on this disk.
Use the --no-reread flag to suppress this check.
use the --force flag to overrule all checks.

Didn't look good though continued anyway.
/dev/mmcblkp1: No such file or directory.

BUGGERRRRRRR

try to unmount everything (external flash) first

Coffee 2010-07-26 06:55

Re: [Android] NITDroid V2 & Multiboot Development And Announcement Thread
 
yeah, I already did that before replying. Didn't make any difference.

aligatro 2010-07-26 06:56

Re: [Android] NITDroid V2 & Multiboot Development And Announcement Thread
 
I think you made a spelling mistake there /dev/mmcblkp1: No such file or directory.

should be /dev/mmcblk1p1 with 1 after k

HellFlyer 2010-07-26 06:59

Re: [Android] NITDroid V2 & Multiboot Development And Announcement Thread
 
I cant stand it anymore :( Guys its nice that you help each other but please go to help thread its annoying to read how someone struggles because he is not paying attention or has issues please leave this thread for announcements/debugging info etc

Thanks

Coffee 2010-07-26 07:03

Re: [Android] NITDroid V2 & Multiboot Development And Announcement Thread
 
Quote:

Originally Posted by HellFlyer (Post 764869)
I cant stand it anymore :( Guys its nice that you help each other but please go to help thread its annoying to read how someone struggles because he is not paying attention or has issues please leave this thread for announcements/debugging info etc

Thanks

Thanks for your help HellFlyer. If you had noticed I had posted in the help though no replies, hence here and atleast getting assistance. I am not, not paying attention, I simply don't know how to partition into 3 rather the typical 2. If you care to shed some light, I am all ears.

Coffee 2010-07-26 07:06

Re: [Android] NITDroid V2 & Multiboot Development And Announcement Thread
 
Quote:

Originally Posted by aligatro (Post 764864)
I think you made a spelling mistake there /dev/mmcblkp1: No such file or directory.

should be /dev/mmcblk1p1 with 1 after k

I retried it mate and must have missed the 1 the second time around.
This time it spat out the part table, no change. At the bottom states:
Warning: Given size (2500) exceeds max allowable size (1902)

sfdisk: bad input

bchliu 2010-07-26 07:20

Re: [Android] NITDroid V2 & Multiboot Development And Announcement Thread
 
Coffee: The help thread is this way:

http://talk.maemo.org/showthread.php?t=56524

Coffee 2010-07-26 07:37

Re: [Android] NITDroid V2 & Multiboot Development And Announcement Thread
 
i had previously posted in the Nitdroid help site though not one comment. i have posted here now as well, surely someone knows how to do it?

giannoug 2010-07-26 07:42

Re: [Android] NITDroid V2 & Multiboot Development And Announcement Thread
 
Quote:

Originally Posted by Coffee (Post 764892)
i had previously posted in the Nitdroid help site though not one comment. i have posted here now as well, surely someone knows how to do it?

Use gparted, it's a graphical application. MUCH easier. Give it a shot.

IzzehO 2010-07-26 07:45

Re: [Android] NITDroid V2 & Multiboot Development And Announcement Thread
 
Quote:

Originally Posted by DaSilva (Post 764375)
I ahve tried to install Asphalt 5 but it crashes at start. Which version did you install?

Everything crashes for me also =x Not to mention applications don't go full screen (they are fullscreen but small reso) whadda I change?

Coffee 2010-07-26 07:47

Re: [Android] NITDroid V2 & Multiboot Development And Announcement Thread
 
mate,
i am on the phone and at home win 7. from what i understand this is linux based and hence more confusion for me and complicated. hence why i loaded it previously via xterm, also Dj Steve's code covered it though only for 2 partitions and not 3 as i am requesting.

giannoug 2010-07-26 08:29

Re: [Android] NITDroid V2 & Multiboot Development And Announcement Thread
 
Quote:

Originally Posted by Coffee (Post 764903)
mate,
i am on the phone and at home win 7. from what i understand this is linux based and hence more confusion for me and complicated. hence why i loaded it previously via xterm, also Dj Steve's code covered it though only for 2 partitions and not 3 as i am requesting.

It's a live cd. You don't need to install Linux. You can run it from the cd, open the program and you are done.

PePPeN20 2010-07-26 08:51

Re: [Android] NITDroid V2 & Multiboot Development And Announcement Thread
 
@DJ_steve can you (in the next relase) enlarge the screen size??in earlier versions was perfect :D

another question:

How do I change "bootscreen animation"? how do I access the folder "system / media?:confused:

ali-bjk 2010-07-26 08:52

Re: [Android] NITDroid V2 & Multiboot Development And Announcement Thread
 
i install now nitdroid and i use the how to in the first post (but with the new .tbz2 file)

i get in step 6 a problem

the tbz2 file cannot be found... what should i do?

giannoug 2010-07-26 09:01

Re: [Android] NITDroid V2 & Multiboot Development And Announcement Thread
 
Quote:

Originally Posted by ali-bjk (Post 764946)
i install now nitdroid and i use the how to in the first post (but with the new .tbz2 file)

i get in step 6 a problem

the tbz2 file cannot be found... what should i do?

Follow the instructions correctly.

ali-bjk 2010-07-26 09:05

Re: [Android] NITDroid V2 & Multiboot Development And Announcement Thread
 
i have not the bzip2 package... where can i get it?

PePPeN20 2010-07-26 09:09

Re: [Android] NITDroid V2 & Multiboot Development And Announcement Thread
 
Quote:

Originally Posted by ali-bjk (Post 764954)
i have not the bzip2 package... where can i get it?

apt-get install bzip2

;)

ali-bjk 2010-07-26 09:17

Re: [Android] NITDroid V2 & Multiboot Development And Announcement Thread
 
i get with apt-get install bzip2 an error too...

mornage 2010-07-26 09:24

Re: [Android] NITDroid V2 & Multiboot Development And Announcement Thread
 
Quote:

Originally Posted by IzzehO (Post 764900)
Everything crashes for me also =x Not to mention applications don't go full screen (they are fullscreen but small reso) whadda I change?

Me too! Asphalt, Assasins Creed and Prince of Persia all crash on me! :(

ali-bjk 2010-07-26 09:26

Re: [Android] NITDroid V2 & Multiboot Development And Announcement Thread
 
Quote:

Originally Posted by ali-bjk (Post 764961)
i get with apt-get install bzip2 an error too...

where can i download the .deb file of bzip2?

ali-bjk 2010-07-26 09:39

Re: [Android] NITDroid V2 & Multiboot Development And Announcement Thread
 
the problem is fixed


| Prev |   7     8   9   10     11   19 | Next | Last
All times are GMT. The time now is 23:15.

vBulletin® Version 3.8.8