0

I have just over 4GB of space free (/dev/loop0) and have added a second disk /dev/sdb how can I use either of these to extend /boot partition using all of it?

df -h

Filesystem      Size  Used Avail Use% Mounted on
devtmpfs         24G     0   24G   0% /dev
tmpfs            24G  4.0K   24G   1% /dev/shm
tmpfs            24G   33M   24G   1% /run
tmpfs            24G     0   24G   0% /sys/fs/cgroup
/dev/sda2       414G  115G  278G  30% /
/dev/sda1       227M  179M   33M  85% /boot
/dev/loop0      3.9G   31M  3.6G   1% /tmp
tmpfs           4.8G     0  4.8G   0% /run/user/0

fdisk -l

Disk /dev/sda: 488.6 GB, 488552529920 bytes, 954204160 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk label type: dos
Disk identifier: 0x0009d882

Device Boot Start End Blocks Id System /dev/sda1 * 2048 489471 243712 83 Linux /dev/sda2 489472 881219583 440365056 83 Linux /dev/sda3 881219584 943718399 31249408 82 Linux swap / Solaris

Disk /dev/loop0: 4294 MB, 4294967296 bytes, 8388608 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes

Disk /dev/sdb: 5368 MB, 5368709120 bytes, 10485760 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes

losetup -a

/dev/loop0: [2050]:24122515 (/usr/tmpDSK)

/etc/fstab

UUID=b551a04e-f1e6-40f0-850e-470bcdf58a23       /       ext4    usrjquota=quota.user,jqfmt=vfsv1        1       1
UUID=2a14690d-e9d7-4d67-9e97-e7aab5d36a8f /boot                   ext4    defaults        1 2
UUID=5ca0c34b-1ca2-4e38-9720-61995cc88c42 swap                    swap    defaults        0 0
/usr/tmpDSK             /tmp                    ext3    defaults,noauto        0 0

0 Answers0