Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 4950

Advanced users • How to (need advise) increase the size of the boot partition -->256mb #2 and root partition

$
0
0
Hi,

can somebody help me with my raspberry pi3 updating? Need a proposal what will work.

And I cannot take out my SD-card because I have no physical access. The device is far away and nobody can change the SD. So I need to try to do that all online by remote. BTW, I have another raspberry4 with buster in the same network so I can use also maybe NFS after reboot.

First Question. Is it possible to change to noobs to PINN without any problems and surprises? So as last possibility it could be possible to install online a new system.

I have my rp3 updated already from jessie to buster and now bookworm. But to finish the update, I would like and need to resize /boot partition which was smaller than 64mb its now 73 I think but I would like to resize it to 256mb. Oh yes, there is no empty space on couple of mb less than 10, but I have a 32gb SD and still some GB free on root. So root in an ext4-fs needs to be resized in a running system.
There is another possiblity maybe with "big"nearly 1GB recovery partition. Maybe a chageroot command can do that? Has anybody an Idea how to do that? Or rebooting with resizing before starting the system? like at first start to resize to maximum SD-card size?

Is that possible in a running system??? Look at this following post. THere he is doing it on an external SD-card.

viewtopic.php?t=280930&sid=00f3a075b674 ... f#p1814713

I would like to make an firmware Firmware update and the Kernel, but I do not checked, if that is already done.

See here my fstab

Code:

-------------------cat /etc/fstab proc            /proc           proc    defaults          0       0/dev/mmcblk0p6  /boot           vfat    defaults          0       2/dev/mmcblk0p7  /               ext4    defaults,noatime  0       1# a swapfile is not a swap partition, no line here#   use  dphys-swapfile swap[on|off]  for that--------------------
See here my partition list

Code:

Disk /dev/mmcblk0: 29,72 GiB, 31914983424 bytes, 62333952 sectorsUnits: sectors of 1 * 512 = 512 bytesSector size (logical/physical): 512 bytes / 512 bytesI/O size (minimum/optimal): 512 bytes / 512 bytesDisklabel type: dosDisk identifier: 0x000491eeDevice         Boot   Start      End  Sectors  Size Id Type/dev/mmcblk0p1         8192  2289062  2280871  1,1G  e W95 FAT16 (LBA)/dev/mmcblk0p2      2289063 62333951 60044889 28,6G  5 Extended/dev/mmcblk0p5      2293760  2326527    32768   16M 83 Linux/dev/mmcblk0p6      2328576  2488319   159744   78M  c W95 FAT32 (LBA)/dev/mmcblk0p7      2490368 62333951 59843584 28,5G 83 Linux
See here my df -h

Code:

/dev/root        28G     21G  5,6G   79% /devtmpfs        396M       0  396M    0% /devtmpfs           428M       0  428M    0% /dev/shmtmpfs           172M    1,8M  170M    2% /runtmpfs           5,0M     16K  5,0M    1% /run/lock/dev/mmcblk0p6   78M     35M   44M   45% /boottmpfs            86M     52K   86M    1% /run/user/1000/dev/mmcblk0p1  1,1G   1023M   92M   92% /mnt

Statistics: Posted by georg3003 — Thu Dec 19, 2024 10:27 am — Replies 1 — Views 55



Viewing all articles
Browse latest Browse all 4950

Trending Articles