On 05/06/2013 11:46 AM, Ken Schneider - openSUSE wrote:
On 05/06/2013 02:33 PM, Lew Wolfgang pecked at the keyboard and wrote:
On 05/06/2013 12:28 AM, Marcus Meissner wrote:
I've got a half-dozen 12.3 boxes at this point with a 100-MB boot partition. Can anyone suggest how to move the data in that partition to the root, which has plenty of space? I have a feeling that it's more than "cp -rp".
Thanks, Lew
After booting the machine unmount /boot and mount to a temp mount point and then mv all the the contents from the new temp mount point to /boot. then simply unmount the temp mount point. I think you may need to run mkinitrd to change where the boot files are actually located. Any further booting will happen as though nothing has changed.
Thanks Ken, that was remarkably easy. I was thinking that mkinitrd would need some fancy command-line options. It doesn't! I also commented out the /etc/fstab line for /boot as a separate partition. I also used "cp -rp" instead of mv. Tried and tested on 12.3 with reiserfs root, and ran Marcus' suggested "systemctl enable purge-kernel" line. I then ran zypper dup and rebooted. All is well with the force again. Regards, Lew -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org