Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Cannot boot any more: "file is too large"
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
sulu
Guru
Guru


Joined: 21 May 2002
Posts: 399
Location: Dornbirn/Austria

PostPosted: Mon Jul 15, 2002 6:11 pm    Post subject: Cannot boot any more: "file is too large" Reply with quote

I dont know if this is a gcc-3.1 issue or a portage issue.

I did a emerge sync to update my portage tree.
Then i launched emerge -eb system because i changed the compiler options and wanted to make use of them.
After a few seconds the first ebuild failed with a "file is too long".
tried to open a new console ".bashrc: file is too long"

Since then the system is unusable. Even rebooting fails with "file is too long" when the boot-process tries to read functions.sh.

What's corrupted here, oh, besides I'm using ext3?

I can mount the partition without problems from my primary gentoo.
fsck doesn't report anything specific.
Back to top
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 20067

PostPosted: Mon Jul 15, 2002 6:15 pm    Post subject: Reply with quote

Are any partitions getting full?
_________________
Quis separabit? Quo animo?
Back to top
View user's profile Send private message
sulu
Guru
Guru


Joined: 21 May 2002
Posts: 399
Location: Dornbirn/Austria

PostPosted: Mon Jul 15, 2002 6:43 pm    Post subject: Reply with quote

Filesystem 1K-blocks Used Available Use% Mounted on
/dev/sda3 3802848 2306128 1303540 64% /
tmpfs 1024 152 872 15% /mnt/.init.d
/dev/sda1 101089 3969 91901 5% /boot
/dev/hda1 10080488 1545168 8023252 17% /home
/dev/hda2 29490268 1572344 26419864 6% /work
/dev/hdb3 11499944 1915480 9228304 18% /devel
/dev/hdb2 1026136 1588 1024548 1% /dos
/dev/sdb3 3802848 1474720 2134948 41% /gentoo_test

/dev/sdb3 is the problem. It's the root-fs for the gcc-3.1 install.

Another strange issue:
emerge -eb wrote several packges within a few seconds without any noticeable compiling. -e should compile everything.

I tried to boot the system via boot-cd. chroot /mnt/gentoo /bin/bash also yields '.bashrc :file is too large'. THe question is: "What is corrupted here ?"
Back to top
View user's profile Send private message
sulu
Guru
Guru


Joined: 21 May 2002
Posts: 399
Location: Dornbirn/Austria

PostPosted: Mon Jul 15, 2002 9:27 pm    Post subject: Reply with quote

Shhhhhhhhh.

Fixed it. Good luck i had binaries so just unpacking the rigth ones did the job. But a bad taste remains.

I just did an emerge rsync and then an emerge -eb system
result: Within seconds the emerge process wrote several binary-package files without compiling anything. I reinsstalled those packages from backup-binaries and now i'm happy again.

The lesson to learn from this:
- allways create binary packages (-b option of emerge)
- store them on a different drive so if your system doesn't boot any more you can do a manual install from another system
- i highly recommend to use two gentoo installs on separate partitions: a primary for work and a testing.gentoo to do all the emerges

mv myself /dev/bed
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum