This is a BIOS boot machine. An old Gigabyte mobo that won't seem to boot a USB stick. /dev/sda is a damaged Windows drive that Neddyseagoon advised me to get out of the machine months ago. But it's still there. I don't have a spare DVD drive so my plan is this:
1. Format the drive on a different machine, one that I can boot my rescue media on.
2. Copy the files on partitions via rsync. Their are four bootable partitions, so I'll rsync a live partition on which data may be changing.
Old partition layout:
- /dev/sdb1 980M mounted as /boot (primary boot)
/dev/sdb2 1.9G mounted as swap
/dev/sdb3 217G mounted as /
/dev/sdb4 246G BIOS extended partition
/dev/sdb5 64G bootable 32-bit Gentoo partition used as build box for ancient k6 machine
/dev/sdb6 36G bootable (chain loaded) Ubuntu installation
/dev/sdb7 145G bootable (chain loaded) Gentoo rescue partition, mid-December 2020 stage3 plus Mate & utils, no overlay code vanilla Gentoo
- /dev/sda1 ~720G mounted as / , no separate boot, using a swapfile or perhaps a swap on /dev/sdc (which will become sdb)
/dev/sda2 64G 32-bit Gentoo
/dev/sda3 36G Ubuntu
/dev/sda4 ~145G Gentoo rescue partition
Then chroot into main Gentoo and run grub-install into the MBR.
Since /boot/grub/grub/grub.conf will now be on a main live partition, this will be less safe as a bad partition error will render all unbootable, unless I remove the drive and stick it in another machine for repair.
Lot's if's, but's, and maybe's here, but my main question is about the partition sizes.



