Rich Mingin (PLUG) via plug on 10 Apr 2020 10:33:19 -0700


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PLUG] Fixing /boot/ too small


FWIW, I switched from UUID to label, because UUID changes any time you remake a filesystem or format, while labels can be persisted.

Not terribly relevant to your current situation, since you'd be moving your boot files from one partition label to another as well.

On Wed, Apr 8, 2020 at 9:49 PM JP Vossen via plug <plug@lists.phillylinux.org> wrote:
On 4/8/20 12:08 AM, brent timothy saner via plug wrote:
> On 4/7/20 23:24, JP Vossen via plug wrote:
>> Summary: I need to fix some Mint-19 workstations where /boot/ is too small.
>
> is it using UEFI or BIOS booting?

They are old, it's BIOS and MBR, but UUIDs are in use in /etc/fstab.
And everything Just Works now, the only thing I need to do is move
'/boot/' from its own md device into '/' so there is space.


`/etc/fstab` excerpt (updated to but not rebooted):
```
# / was on /dev/md2 during installation
UUID=bafdc515-511e-44b9-85d0-e1cd164cc58c /               ext4
errors=remount-ro 0       1

# /boot was on /dev/md1 during installation
#UUID=21fd376b-fa9a-4dd0-bfa3-f3ca314d0648 /boot           ext4
defaults        0       2
# 2020-04-07 /boot/ HACK
UUID=21fd376b-fa9a-4dd0-bfa3-f3ca314d0648 /boot.old        ext4
defaults        0       2
```

And (edited for clarity):
```
$ df -hl
Filesystem     Type      Size  Used Avail Use% Mounted on
/dev/md2       ext4      913G  285G  582G  33% /
/dev/md1       ext4      190M   86M   90M  49% /boot.old

$ lsblk -f
sda
├─sda1  linux_raid_member mint:0 9ce43e0d-5683-e2fb-e0e5-abaaf06ca0f8
│ └─md0 swap                     314df59b-cdd2-46a4-b07b-9d0bfb77b0f7
├─sda2  linux_raid_member mint:1 79eb3cbb-2e42-5a08-4be3-39ff2a609919
│ └─md1 ext4                     21fd376b-fa9a-4dd0-bfa3-f3ca314d0648
/boot.old
└─sda3  linux_raid_member mint:2 e696d253-57f3-ca09-c8ec-d5b452209e51
   └─md2 ext4                     bafdc515-511e-44b9-85d0-e1cd164cc58c /
sdb
├─sdb1  linux_raid_member mint:0 9ce43e0d-5683-e2fb-e0e5-abaaf06ca0f8
│ └─md0 swap                     314df59b-cdd2-46a4-b07b-9d0bfb77b0f7
├─sdb2  linux_raid_member mint:1 79eb3cbb-2e42-5a08-4be3-39ff2a609919
│ └─md1 ext4                     21fd376b-fa9a-4dd0-bfa3-f3ca314d0648
/boot.old
└─sdb3  linux_raid_member mint:2 e696d253-57f3-ca09-c8ec-d5b452209e51
   └─md2 ext4                     bafdc515-511e-44b9-85d0-e1cd164cc58c
...
```

Thanks,
JP
--  -------------------------------------------------------------------
JP Vossen, CISSP | http://www.jpsdomain.org/ | http://bashcookbook.com/
___________________________________________________________________________
Philadelphia Linux Users Group         --        http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion  --   http://lists.phillylinux.org/mailman/listinfo/plug
___________________________________________________________________________
Philadelphia Linux Users Group         --        http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion  --   http://lists.phillylinux.org/mailman/listinfo/plug