LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 11-20-2021, 05:48 AM   #1
Eeel
Member
 
Registered: Feb 2012
Location: EU
Distribution: Slackware 15 and current
Posts: 94

Rep: Reputation: Disabled
/boot partition too small


Hello,

I am using Slackware -current and have a /boot partition of 100M, now i realise this partition is a bit small and want to gain space to have the choice to boot two Kernel in lilo.

I removed the huge Kernel package.

I'm using lilo and an initrd with the generic Kernel 5.4.84 but now want to have a second initrd for the 5.15.2 Kernel.

Can i safely delete the initrd-tree to gain space and continue to boot the 5.4.84 initrd ?

I also notice there is a grub folder of ~10M in the /boot folder, can i delete this folder ? Removing grub with pkgtool did not removed this folder.

A final note, my setup is in raid with three drive, and i have ~1G of free space on every drive, but i don't know if it's possible, and a good idea, to try to make this /boot partition bigger, sounds risky to me.
 
Old 11-20-2021, 06:49 AM   #2
Thom1b
Member
 
Registered: Mar 2010
Location: France
Distribution: Slackware
Posts: 485

Rep: Reputation: 339Reputation: 339Reputation: 339Reputation: 339
Hi, I suggest you to use a different path for your initrd-tree. You can delete /boot/initrd-tree safely.
If you don't use grub, you can also delete /boot/grub.
 
1 members found this post helpful.
Old 11-20-2021, 09:53 AM   #3
vonbiber
Member
 
Registered: Apr 2009
Distribution: slackware 14.1 64-bit, slackware 14.2 64-bit, SystemRescueCD
Posts: 533

Rep: Reputation: 129Reputation: 129
you could also try to use gparted to move/resize your partitions.
From the manual
Quote:
The gparted application enables you to change the partition organization
on a disk device while preserving the contents of the partition.
 
1 members found this post helpful.
Old 11-20-2021, 11:47 AM   #4
Eeel
Member
 
Registered: Feb 2012
Location: EU
Distribution: Slackware 15 and current
Posts: 94

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Thom1b View Post
Hi, I suggest you to use a different path for your initrd-tree. You can delete /boot/initrd-tree safely.
If you don't use grub, you can also delete /boot/grub.
Thank you Thom1b, relocating the initrd-tree is obvious but did not think about it


Quote:
Originally Posted by vonbiber View Post
you could also try to use gparted to move/resize your partitions.
From the manual
I will investigate this carefully, thank you
 
Old 11-20-2021, 11:48 AM   #5
Gordie
Member
 
Registered: Aug 2007
Location: Nolalu, Ontario, Canada
Distribution: Slackware64-Current
Posts: 871

Rep: Reputation: 364Reputation: 364Reputation: 364Reputation: 364
Quote:
Originally Posted by vonbiber View Post
you could also try to use gparted to move/resize your partitions.
From the manual
I have used gparted to resize partitions and had only success. You could try it and see.
Remember to backup and you can try with confidence
 
1 members found this post helpful.
Old 11-21-2021, 07:22 AM   #6
Tonus
Senior Member
 
Registered: Jan 2007
Location: Paris, France
Distribution: Slackware-15.0
Posts: 1,405
Blog Entries: 3

Rep: Reputation: 514Reputation: 514Reputation: 514Reputation: 514Reputation: 514Reputation: 514
For gparted, since my boot partition was at the begining of the disk, I rather created a new boot partition at end of disk : less things to move.
 
1 members found this post helpful.
Old 11-21-2021, 08:55 AM   #7
Eeel
Member
 
Registered: Feb 2012
Location: EU
Distribution: Slackware 15 and current
Posts: 94

Original Poster
Rep: Reputation: Disabled
thank you for all your feedbacks.

my /boot partition is also at the beginning, but my setup is in raid with three drives as described here in an old thread

Actually with 100M, the trick to move the inird-tree and the grub folder deleted i was able to install a second kernel.

About the grub folder by the way, i ran an update yesterday and folder came back, grub-2.06 was not in the updated packages, but an empty /boot folder exist in this package, and now have deleted it again so can't investigate further.
 
Old 11-21-2021, 09:01 AM   #8
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,060

Rep: Reputation: Disabled
But in a very few cases there is no need for a separate /boot partition anyway...
 
1 members found this post helpful.
  


Reply

Tags
initrd, kernel, lilo, partition



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: My Nerd Life: Too Loud, Too Funny, Too Smart, Too Fat LXer Syndicated Linux News 0 01-24-2014 05:21 AM
[SOLVED] Fedora preupgrade - boot partition too small rmknox Linux - Software 2 05-02-2012 11:06 AM
Text too small and too big in Firefox?! Cinematography Linux - Software 5 04-28-2005 03:36 PM
Small Fonts... Too much small! cubax Debian 3 03-28-2005 11:31 AM
FDISK! /var too big; / too small, reallocate disk space pauljtester Linux - General 2 08-05-2004 08:10 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 06:46 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration