DaemonForums  

Go Back   DaemonForums > FreeBSD > FreeBSD General

FreeBSD General Other questions regarding FreeBSD which do not fit in any of the categories below.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 17th August 2008
thevirtuesofxen thevirtuesofxen is offline
New User
 
Join Date: Jul 2008
Posts: 6
Default / is full, can't installkernel

I ran installkernel and it stopped saying the filesystem is full. I can't reboot until this is done, so any help is greatly appreciated. The HD is 30 GB, and here is the output of df and ls -la /boot

Code:
Filesystem  1K-blocks    Used    Avail Capacity  Mounted on
/dev/ad0s1a    507630  497364   -30344   106%    /
devfs               1       1        0   100%    /dev
/dev/ad0s1e    507630      12   467008     0%    /tmp
/dev/ad0s1f  26033570 2620042 21330844    11%    /usr
/dev/ad0s1d   1119694  107154   922966    10%    /var
Code:
total 662
drwxr-xr-x   7 root  wheel     512 Aug 17 01:08 .
drwxr-xr-x  19 root  wheel     512 Aug 15 16:50 ..
-r--r--r--   1 root  wheel    7636 Feb 24 12:52 beastie.4th
-r--r--r--   1 root  wheel    8192 Feb 24 12:52 boot
-r--r--r--   1 root  wheel     512 Feb 24 12:52 boot0
-r--r--r--   1 root  wheel     512 Feb 24 12:52 boot0sio
-r--r--r--   1 root  wheel     512 Feb 24 12:52 boot1
-r--r--r--   1 root  wheel    7680 Feb 24 12:52 boot2
-r--r--r--   1 root  wheel    1201 Feb 24 12:52 cdboot
drwxr-xr-x   2 root  wheel     512 Aug 15 16:31 defaults
-r--r--r--   1 root  wheel    1739 Feb 24 12:53 device.hints
drwxr-xr-x   2 root  wheel     512 Feb 24 12:49 firmware
-r--r--r--   1 root  wheel    2249 Feb 24 12:52 frames.4th
drwxr-xr-x   2 root  wheel     512 Aug 17 01:08 kernel
-r-xr-xr-x   1 root  wheel  253952 Feb 24 12:52 loader
-r--r--r--   1 root  wheel    7545 Feb 24 12:52 loader.4th
-rw-r--r--   1 root  wheel       0 Aug 15 16:48 loader.conf
-r--r--r--   1 root  wheel   15219 Feb 24 12:52 loader.help
-r--r--r--   1 root  wheel     385 Feb 24 12:52 loader.rc
-r--r--r--   1 root  wheel     512 Feb 24 12:52 mbr
drwxr-xr-x   2 root  wheel     512 Feb 24 12:49 modules
-r--r--r--   1 root  wheel  256000 Feb 24 12:52 pxeboot
-r--r--r--   1 root  wheel     692 Feb 24 12:52 screen.4th
-r--r--r--   1 root  wheel   36435 Feb 24 12:52 support.4th
drwxr-xr-x   2 root  wheel     512 Feb 24 12:49 zfs
Is there anything I can clean out of there?
Reply With Quote
  #2   (View Single Post)  
Old 17th August 2008
ninjatux's Avatar
ninjatux ninjatux is offline
Real Name: Baqir Majlisi
Spam Deminer
 
Join Date: May 2008
Location: Antarctica
Posts: 293
Default

How is it that your root partition is full? I still have 375MB free on mine, which is 512MB.

You said that you can't boot without this completing, which implies that something is wrong with your current kernel. If you don't need it, then copy it to another location, possibly your home directory, and delete the original instance from /boot. This will free up enough space for you to install the new kernel, or at least it should.
__________________
"UNIX is basically a simple operating system, but you have to be a genius to understand the simplicity."
MacBook Pro (Darwin 9), iMac (Darwin 9), iPod Touch (Darwin 9), Dell Optiplex GX620 (FreeBSD 7.1-STABLE)
Reply With Quote
  #3   (View Single Post)  
Old 17th August 2008
thevirtuesofxen thevirtuesofxen is offline
New User
 
Join Date: Jul 2008
Posts: 6
Default

I did something stupid. I moved kernel.old to /root, which was on the same slice. I need some sleep.
Reply With Quote
  #4   (View Single Post)  
Old 17th August 2008
pickupsticks pickupsticks is offline
New User
 
Join Date: Jun 2008
Posts: 6
Default

I would go through and delete all the kernel modules that you will not need. There is sure to be tons of them and they take up substantial space.
I found this same problem recently, I kept the same space I had before in / for 6.X and installed 7. I then ran out of space after building a new kernel also.
Reply With Quote
  #5   (View Single Post)  
Old 18th August 2008
robbak's Avatar
robbak robbak is offline
Real Name: Robert Backhaus
VPN Cryptographer
 
Join Date: May 2008
Location: North Queensland, Australia
Posts: 366
Default

Please use du to find what is tying up your space. 512 should be enough. You may have some dump files hanging around in /, or maybe /var or /tmp is on your root partition (which is wrong.)

# du -hHxd1
Check man du(1) for the meanings of those options.
__________________
The only dumb question is a question not asked.
The only dumb answer is an answer not given.

Last edited by robbak; 18th August 2008 at 06:36 AM.
Reply With Quote
Reply

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
/usr is full (OpenBSD 4.5 current) valorisa OpenBSD Packages and Ports 7 10th June 2009 01:28 PM
Need to use full path to commands and xorg.config problem phreud FreeBSD General 4 17th November 2008 07:44 PM
FreeBSD 6.3 Server Crashing - full /tmp? cerulean FreeBSD General 2 11th November 2008 05:39 AM
Full install of Gnome on OpenBSD 4.4 mfaridi OpenBSD Installation and Upgrading 17 9th November 2008 01:54 PM


All times are GMT. The time now is 02:58 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick