Re: moving /boot

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



Hello

I would boot a sysrescuelinux or sth like that and then move all partitions after /dev/sda2 "to the right" with "sfdisk --move-data" until enough space exists for /boot to grow.

But only with a solid backup of all my data.

regards

//chriss

On 06.04.23 13:21, Fons Adriaensen wrote:
Hello all,

I'm having a problem with updating a laptop: the /boot partition
is too small for the new ramfs images.

The system uses GPT partioning and BIOS boot using syslinux.

/dev/sda1          1M  Type = BIOS Boot
/dev/sda2  /boot  95M  Attributes: LegacyBIOSBootable
/dev/sda3  /      93G
(others for /home, /data and SWAP)


One solution would be to move the /boot directory to / instead
of giving it its own partition.

The syslinux wiki page tells me that the absolute sector address
of /boot/syslinux/ldlinux.sys plays a role in the boot sequence,
so I suspect that just moving the boot directory and removing
/dev/sda2 from /etc/fstab won't be enough. Would re-installing
syslinux after that do the trick (and also take care of the
LegacyBIOSBootable attribute) ?

If not, what would be the correct and safe way to do this ?

TIA,




[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux