Do i need to do something special or is it as easy as:
- save the contents of the current /boot?- umount /boot and change the
/etc/fstab so it doesn't mount again-??create a boot directory that is in
the?root ?filesystem- copy the contents back
I realize the physical/current /boot will be a waste of space but it's not
that big so?it's fine.???
I thought i probably have to make configuration changes of some sort.
Again I apologize in advance since I am not really good at this (partition/file
system).? I have tried searching but am never sure exactly what I should try.??
I need to find the "for dummies" version(s) of this. Thanks again.
KM
On ?Tuesday?, ?October? ?10?, ?2017? ?02?:?44?:?12? ?PM, Phil Perry
<pperry at elrepo.org> wrote:
On 10/10/17 15:27, John Hodrien wrote:> On Tue, 10 Oct 2017, Pete Biggs wrote:
>
>> No, you can't do that. /boot is special and needs to be a separate
>> partition.
>
> Needs is a bit strong, as grub2 does support LVM.? It's not a supported
> configuration for Redhat.
>
> I'm not a sure there's a lot to it beyond having the lvm module
loaded in
> grub, but I've honestly not tried.
>
Indeed, /boot does not need to be a separate partition. I have /boot
within the root filesystem on my test boxes where I know I will need to
install many / all kernels for testing / development purposes for the
specific reason that I do not need to set a size for /boot and it can
just consume whatever it needs from the rest of the filesystem.
_______________________________________________
CentOS mailing list
CentOS at centos.org
https://lists.centos.org/mailman/listinfo/centos
KM <info4km at yahoo.com> wrote:> Do i need to do something special or is it as easy as: > - save the contents of the current /boot?- umount /boot and change > the /etc/fstab so it doesn't mount again-??create a boot directory > that is in the?root filesystem- copy the contents backYou'll also have to reinstall Grub. The wiki has information on this. -- Yves Bellefeuille <yan at storm.ca>
> -----Original Message----- > From: CentOS [mailto:centos-bounces at centos.org] On Behalf Of KM > Sent: den 10 oktober 2017 21:06 > To: centos at centos.org; Phil Perry <pperry at elrepo.org> > Subject: Re: [CentOS] /boot partition too small > > Do i need to do something special or is it as easy as: > - save the contents of the current /boot - umount /boot and change the > /etc/fstab so it doesn't mount again- create a boot directory that is in > the root filesystem- copy the contents back > I realize the physical/current /boot will be a waste of space but it's not > that > big so it's fine. > I thought i probably have to make configuration changes of some sort. > Again I apologize in advance since I am not really good at this > (partition/file > system). I have tried searching but am never sure exactly what I should > try. I need to find the "for dummies" version(s) of this. Thanks again. > KMAssuming you have backups, if something should go south, you might want to try out the Gparted boot-iso. Using Gparted you should be able to shrink some of the other partitions, and then grow the boot partition. More info on: https://gparted.org/index.php If you have another non-critical computer to test using Gparted on, do that first before doing it "for real". Hope this helps. -- //Sorin
> -----Original Message----- > From: CentOS [mailto:centos-bounces at centos.org] On Behalf Of Sorin Srbu > Sent: den 11 oktober 2017 07:57 > To: CentOS mailing list <centos at centos.org> > Subject: Re: [CentOS] /boot partition too small > > > -----Original Message----- > > From: CentOS [mailto:centos-bounces at centos.org] On Behalf Of KM > > Sent: den 10 oktober 2017 21:06 > > To: centos at centos.org; Phil Perry <pperry at elrepo.org> > > Subject: Re: [CentOS] /boot partition too small > > > > Do i need to do something special or is it as easy as: > > - save the contents of the current /boot - umount /boot and change the > > /etc/fstab so it doesn't mount again- create a boot directory that isin> > the root filesystem- copy the contents back > > I realize the physical/current /boot will be a waste of space but it'snot> > that > > big so it's fine. > > I thought i probably have to make configuration changes of some sort. > > Again I apologize in advance since I am not really good at this > > (partition/file > > system). I have tried searching but am never sure exactly what I should > > try. I need to find the "for dummies" version(s) of this. Thanksagain.> > KM > > Assuming you have backups, if something should go south, you might want > to try > out the Gparted boot-iso. > > Using Gparted you should be able to shrink some of the other partitions,and> then grow the boot partition. > > More info on: > https://gparted.org/index.php > > If you have another non-critical computer to test using Gparted on, dothat> first before doing it "for real". > > Hope this helps.Wait a sec, this was LVM right? Not sure if Gparted supports that yet. -- //Sorin