LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-05-2012, 11:06 PM   #1
Huamin
Member
 
Registered: May 2011
Posts: 562

Rep: Reputation: 12
Enlarge boot


Hi,
I see that only 12M available for boot? How to enlarge it?
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/VolGroup00-LogVol00 625G 339G 254G 58% /
/dev/sda1 99M 83M 12M 88% /boot
tmpfs 1.8G 0 1.8G 0% /dev/shm
none 1.8G 104K 1.8G 1% /var/lib/xenstored

Many Thanks & Best Regards,
HuaMin
 
Old 08-06-2012, 01:41 AM   #2
xeleema
Member
 
Registered: Aug 2005
Location: D.i.t.h.o, Texas
Distribution: Slackware 13.x, rhel3/5, Solaris 8-10(sparc), HP-UX 11.x (pa-risc)
Posts: 988
Blog Entries: 4

Rep: Reputation: 254Reputation: 254Reputation: 254
Greetings!

Since /boot is on /dev/sda1, it is an actual Partition on a hard disk. (A "Primary" partition, as opposed to a "logical" partition).

You will have to re-partition and reload the entire server in order to resize /boot.
I would suggest you find out what kernels you no longer need are stored in /boot and remove them.
Remember to update your bootloader (GRUB, possibly), to remove the old entries.

P.S: Backup the contents of that filesystem before you start deleting things, and get a bootable CD handy.

Last edited by xeleema; 08-06-2012 at 01:43 AM.
 
Old 08-06-2012, 02:14 AM   #3
Huamin
Member
 
Registered: May 2011
Posts: 562

Original Poster
Rep: Reputation: 12
Thanks. Are there any other ways to enlarge it?

Many Thanks & Best Regards,
HuaMin
 
Old 08-06-2012, 07:06 AM   #4
r0b0
Member
 
Registered: Aug 2004
Location: Europe
Posts: 608

Rep: Reputation: 50
You can use GParted live CD to resize and move partitions.
 
Old 08-07-2012, 02:41 AM   #5
Huamin
Member
 
Registered: May 2011
Posts: 562

Original Poster
Rep: Reputation: 12
How to take that?

Many Thanks & Best Regards,
HuaMin
 
Old 08-07-2012, 02:49 AM   #6
r0b0
Member
 
Registered: Aug 2004
Location: Europe
Posts: 608

Rep: Reputation: 50
0. Make backups of everything on your computer.
1. Download GParted Live CD ISO image from http://sourceforge.net/projects/gpar...d?source=files
2. Burn the ISO image to a recordable CD
3. Boot the computer from the CD.
4. The CD has a simple GUI environment where the gparted application is started automatically
5. You can use the GParted GUI to resize, move, create, delete partitions
6. Remove the CD and reboot your computer

Last edited by r0b0; 08-07-2012 at 02:50 AM. Reason: wording
 
Old 08-07-2012, 11:19 PM   #7
Huamin
Member
 
Registered: May 2011
Posts: 562

Original Poster
Rep: Reputation: 12
Good day all,
Thanks all.
Xeleema,
I used to use this when starting Linux
2.6.18-308.1.1.0.1.el5Xen

which is fine for my accounting package.

If I delete one of the kernels in boot, do you think it will be easy to restore that one day when needed?

Many Thanks & Best Regards,
HuaMin
 
Old 08-08-2012, 04:45 PM   #8
abrinister
Member
 
Registered: Dec 2010
Location: Boston, MA, USA
Distribution: Arch Linux
Posts: 460

Rep: Reputation: 38
If you back them up somewhere, sure. If you delete the initrd images as well, then you'd have to regenerate them when you put the backed-up kernels back in.

Alex Brinister
 
Old 08-08-2012, 05:07 PM   #9
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,624

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
el5

so this is one of the RHEL5 rebuilds or RHEL5

it by DEFAULT saves 3 kernels
the current and one being used
the last two as EMERGENCY BACKUPS

that is unless YOU changed it's behavior
my SL6.2 install is currently using 77 meg .
And for RHEL or one of the rebuilds 100Meg is the normal standard size for /boot

( fedora though needs 1 GIG for /boot)
 
  


Reply



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
[SOLVED] could not boot after enlarge lvm windstory Linux - Newbie 3 08-16-2009 03:46 AM
Enlarge Thunderbird Fonts raylhm SUSE / openSUSE 1 03-31-2008 01:47 AM
how to enlarge /tmp ? opus Debian 3 02-18-2008 12:20 PM
Enlarge /boot file system to update kernel Cambren Linux - Newbie 3 10-12-2007 03:31 PM
Enlarge ext3 TazG Linux - General 8 09-19-2004 10:33 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:04 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