LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 07-09-2005, 03:13 PM   #1
Daveb3
Member
 
Registered: Dec 2002
Location: Alaska
Distribution: debian,ubuntu,linuxmint
Posts: 91

Rep: Reputation: 16
1 last question b4 I erase debian & start all over


I installed debian 3.1 from 2 purchased dvd's a week ago & have had nothing but problems (see my posts in the last week).

I installed the 2.4.27 kernel in a 4.3g root part & a 500m home part. I then added the 2.6.8 kernel & did a lot of kernel compiling & apt-getting.

last night I got an out of disk space msg. I did apt-get clean & then dpkg -P on about 6 kernel images that were installed & moved a few files to the home part. After all that df shows the root as 4229840 bytes with 4141020 used, 0% available & 100% used.

I looked into ls & found a sort by size switch (ls -1sSh /*) the output of which is as follows:

/lost+found:
total 0

/bin:
total 3.3M

/boot:
total 18M
3.5M initrd.img-2.6.8.050704
3.5M initrd.img-2.6.8.050706b
1.3M vmlinuz-2.6.8.050706b
1.3M initrd.img-2.4.27.050705
1.3M initrd.img-2.4.27.050707c
1.3M vmlinuz-2.4.27.050705
1.3M vmlinuz-2.4.27.050707c
1.2M vmlinuz-2.6.8.050704
880K System.map-2.6.8.050706b
848K System.map-2.6.8.050704
592K System.map-2.4.27.050705
592K System.map-2.4.27.050707c
48K config-2.6.8.050706b
48K config-2.6.8.050704
44K config-2.4.27-2-k7
44K config-2.4.27-2-686-smp
28K config-2.4.27.050707c
28K config-2.4.27.050705
4.0K grub

/cdrom:
total 0

/etc:
total 1.2M

/initrd:
total 0

/lib:
total 4.2M

/media:
total 24K

/mnt:
total 20K

/opt:
total 0

/root:
total 48K

/sbin:
total 5.8M

/srv:
total 0

/store:
total 972K

/temp:
total 104K

/tmp:
total 24K

/usr:
total 100K

/var:
total 48K

/dev:
total 0

/home:
total 14K

/proc:
total 897M
897M kcore

/sys:
total 0

I deleted most of the individual file info for brevity. By my calc this only adds up to about 930m. Also that 897m kcore file in proc looks strange & /usr looks a little sparse.

This has become such a mess I've decided to merge my home & root partitions & try a reinstall.

Just thought I'd throw this out there to see if any gurus have some ideas about whats going on.
 
Old 07-09-2005, 04:05 PM   #2
craigevil
Senior Member
 
Registered: Apr 2005
Location: OZ
Distribution: Debian Sid/RPIOS
Posts: 4,887
Blog Entries: 28

Rep: Reputation: 534Reputation: 534Reputation: 534Reputation: 534Reputation: 534Reputation: 534
You might want to make your home partition a little bigger.

I only have two partitions on my drive swap(1GB) and everything else(29GB). I know its not the smartest thing. But it was the easiest and fastest. I figure as long as I do backups on a regular basis I am ok.

My user home folder is almost 5 GB, granted I have been running this system since November 2004 and I have a ton of docs and other things in my home folder.
 
Old 07-09-2005, 08:26 PM   #3
zero79
Member
 
Registered: Nov 2003
Location: Ohio
Distribution: Debian Unstable
Posts: 460

Rep: Reputation: 30
what does

$ df -h

give?
 
Old 07-09-2005, 09:15 PM   #4
Daveb3
Member
 
Registered: Dec 2002
Location: Alaska
Distribution: debian,ubuntu,linuxmint
Posts: 91

Original Poster
Rep: Reputation: 16
Well I booted back into debian to do a df -h & couldn't log in cause it couldnt write some file-out of disk space.

Earlier I realized I had forgotten to include the a & R switch in my ls command & wrote that to a file, 4mb worth, thats what probably did it. There a hell of a lot of files & subdirs in there, but the file is so huge I haven't been able to glean any useful info from it-yet. I copied it to my data part so I can study it later.

I did boot into kanotix (man, its nice to have a linux where everything works!) & did a df -h there. It showed 3.0 G used, 2.6 G / 54% available space, which is more like it. theres something bad wrong with my debian install.

Cragevil, I'm going to go with just a root part like in kanotix. As I recall my debian home part was only about 15% used, course that could change with time, but until I get everything working I always log in as root anyway. And I can always rearrange/reinstall. I'm sure I'll get a lot of practice with that in debian.
 
  


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
Debian Sarge & Raid 5 & Dual CPU JJX Debian 2 10-13-2005 12:24 AM
Debian GNU/kFreeBSD && Debian GNU/NetBSD Arnaud_B Debian 3 06-30-2005 10:39 PM
X-Windows fails to start & other Debian sarge install issues tommilo Linux - Newbie 30 03-02-2005 09:49 AM
Hard drives start at hdc && fdisk doesn't show hde triet Linux - Hardware 0 11-03-2004 09:25 PM
Vector(STL) question(push_back & erase) Ohmu Programming 1 01-29-2004 04:50 PM

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

All times are GMT -5. The time now is 06:13 PM.

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