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?


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

vBulletin® Version 3.8.8