View Single Post
Posts: 28 | Thanked: 41 times | Joined on Mar 2021
#42
Hi,

Sorry if this was asked before...
I have a 16 gb Nokia N9 and it has a partition table like this:



Code:
~ # /sbin/sfdisk -l -uS
Disk /dev/mmcblk0: 485120 cylinders, 4 heads, 16 sectors/track
Units = sectors of 512 bytes, counting from 0

   Device Boot    Start       End   #sectors  Id  System
/dev/mmcblk0p1          1024  18464767   18463744   c  W95 FAT32 (LBA)
/dev/mmcblk0p2      18464768  26853375    8388608  83  Linux
/dev/mmcblk0p3      26853376  31047679    4194304  83  Linux
/dev/mmcblk0p4             0         -          0   0  Empty
My quesstion is:
If I want to install Maemo Leste and I shrink partition 1, can I modify the 4th partition for the new leste partition?

I did the following commands:
/sbin/sfdisk --no-reread -uS /dev/mmcblk0 -N1
1024 7341056 c

and then

/sbin/sfdisk --no-reread -uS /dev/mmcblk0 -N4
7342080 11122688 83

and the result was this:

Code:
Units = sectors of 512 bytes, counting from 0

Device     Boot    Start      End  Sectors  Size Id Type
/dev/sdb1           1024  7342079  7341056  3,5G  c W95 FAT32 (LBA)
/dev/sdb2       18464768 26853375  8388608    4G 83 Linux
/dev/sdb3       26853376 31047679  4194304    2G 83 Linux
/dev/sdb4        7342080 18464767 11122688  5,3G 83
I know that the partitions are not in order but that should not be a problem, right? Do you guys think that this is a good, working setup?

Thanks a lot

Last edited by tvandorffy; 2021-05-21 at 12:31.
 

The Following User Says Thank You to tvandorffy For This Useful Post: