Menu

Main Menu
Talk Get Daily Search

Member's Online

    User Name
    Password

    [Android] NITDroid V2 & Multiboot Development And Announcement Thread

    Closed Thread
    Page 33 of 95 | Prev | 23   31     32   33   34     35   43 | Next | Last
    aligatro | # 321 | 2010-07-26, 04:18 | Report

    Originally Posted by Coffee View Post
    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"

    Edit | Forward | Quote | Quick Reply | Thanks

     
    Coffee | # 322 | 2010-07-26, 04:21 | Report

    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.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    aligatro | # 323 | 2010-07-26, 04:28 | Report

    Originally Posted by Coffee View Post
    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

    Edit | Forward | Quote | Quick Reply | Thanks

     
    aligatro | # 324 | 2010-07-26, 04:36 | Report

    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.

    Edit | Forward | Quote | Quick Reply | Thanks

    Last edited by aligatro; 2010-07-26 at 04:39.
    The Following User Says Thank You to aligatro For This Useful Post:
    Coffee

     
    Coffee | # 325 | 2010-07-26, 04:42 | Report

    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

    Edit | Forward | Quote | Quick Reply | Thanks

     
    aligatro | # 326 | 2010-07-26, 04:51 | Report

    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.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    Coffee | # 327 | 2010-07-26, 05:00 | Report

    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.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    sepehrsfmech | # 328 | 2010-07-26, 05:11 | Report

    @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!

    Edit | Forward | Quote | Quick Reply | Thanks

     
    Coffee | # 329 | 2010-07-26, 05:35 | Report

    Anyone?
    Surely some of you clever guys can assist with using sfdisk to partition the SD card on the n900?

    Edit | Forward | Quote | Quick Reply | Thanks

     
    Coffee | # 330 | 2010-07-26, 05:40 | Report

    Originally Posted by sepehrsfmech View Post
    @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?

    Edit | Forward | Quote | Quick Reply | Thanks

     
    Page 33 of 95 | Prev | 23   31     32   33   34     35   43 | Next | Last
vBulletin® Version 3.8.8
Normal Logout