Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
reiserfs boot partition full [solved]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
jk3us
Apprentice
Apprentice


Joined: 14 Mar 2005
Posts: 201
Location: Memphis, TN

PostPosted: Sun Apr 03, 2005 7:02 pm    Post subject: reiserfs boot partition full [solved] Reply with quote

I just tried to upgrade my kernel using genkernel. Everything went fine, until it tried to copy the kernel image to /boot, where it failed, saying the device was full. I have /boot on its own partition with about 40MB. df says it is 96% full with 38 MB used. However, du says that there is only 5.4 MB used. I ran reiserfsck (for it is a reiserfs partition), and it found no problems. Any ideas on what I can do to get that space useable again?

Last edited by jk3us on Mon Apr 04, 2005 6:39 pm; edited 1 time in total
Back to top
View user's profile Send private message
Xamindar
Veteran
Veteran


Joined: 03 Oct 2004
Posts: 1155
Location: California

PostPosted: Sun Apr 03, 2005 7:04 pm    Post subject: Reply with quote

reiserfs has to use 32MB for its journal. So you only have about 8Megs for the kernel. Don't use reiser for /boot, use ext2.
Back to top
View user's profile Send private message
azlan
Guru
Guru


Joined: 11 Nov 2002
Posts: 381
Location: Seattle WA USA

PostPosted: Sun Apr 03, 2005 7:09 pm    Post subject: Reply with quote

I'm sorry but I have to ask the dumb question first. Did you mount /boot ?

Code:
mount /boot


Gentoo does not mount boot automatically on bootup so the unmounted pointer to boot would fill up pretty darn quick if it wasn't mounted.

Other than that my only suggestion would be to reformat the partition. I usually use ext2 for my boot partition its old school low level and fast. Plus it's built in to every kernel so if you screw up and forget to build in filesystem support you will still be able to boot up.
_________________
there is no crazy, only violet and non violet..
Back to top
View user's profile Send private message
Xamindar
Veteran
Veteran


Joined: 03 Oct 2004
Posts: 1155
Location: California

PostPosted: Sun Apr 03, 2005 7:11 pm    Post subject: Reply with quote

umm, if /boot wasn't mounted then he would have plenty of space as it would just be on the main partition.:roll:

edit: oh, by the way, we have same post count.:lol:
Back to top
View user's profile Send private message
azlan
Guru
Guru


Joined: 11 Nov 2002
Posts: 381
Location: Seattle WA USA

PostPosted: Sun Apr 03, 2005 9:10 pm    Post subject: Reply with quote

Ya, your right. For some reason I was thinking of /boot as a pointer not a directory, which it is.

Still you could try using dd to move the data over, reformat the partition and try again...
_________________
there is no crazy, only violet and non violet..
Back to top
View user's profile Send private message
jk3us
Apprentice
Apprentice


Joined: 14 Mar 2005
Posts: 201
Location: Memphis, TN

PostPosted: Sun Apr 03, 2005 10:19 pm    Post subject: confirm Reply with quote

Then, before I screw everything up, can someone confirm that this should work.... any additional suggestions would be nice.


1) tar up /boot
# tar cf /somewhere/boot.tar /boot
2) reformat with ext2
# mke2fs /dev/sda1
3) restore directory structure
# cd /boot
# tar xf /somewhere/boot.tar
Back to top
View user's profile Send private message
phsdv
Guru
Guru


Joined: 13 Mar 2005
Posts: 372
Location: Europe

PostPosted: Mon Apr 04, 2005 4:40 am    Post subject: Re: confirm Reply with quote

jk3us wrote:
Then, before I screw everything up, can someone confirm that this should work.... any additional suggestions would be nice.
1) tar up /boot
# tar cf /somewhere/boot.tar /boot
2) reformat with ext2
# mke2fs /dev/sda1
3) restore directory structure
# cd /boot
# tar xf /somewhere/boot.tar

Sounds about right, if /dev/sda1 is mounted as /boot.

Maybe it is good to umount before and remount the partion after the formating. Also you might want to rerun grub or lilo afterwards to make sure they can find the files again. I am not sure it is needed, but it definitely won't hurt.
Back to top
View user's profile Send private message
Frodg
l33t
l33t


Joined: 11 Feb 2004
Posts: 761

PostPosted: Mon Apr 04, 2005 4:45 am    Post subject: Reply with quote

You will need to change your fstab from reiserfs to ext2 or it will not boot properly
_________________
Aerosolo ergo sum - I spray therefore I am

Gentoo - Registered Linux User # 361400
Back to top
View user's profile Send private message
jk3us
Apprentice
Apprentice


Joined: 14 Mar 2005
Posts: 201
Location: Memphis, TN

PostPosted: Mon Apr 04, 2005 6:36 pm    Post subject: now what? Reply with quote

I successfully converted /boot to ext2, and go the machine to reboot (after figuring out that "notail" is a reiserfs mount option and had to be removed), now I'm having problems with grub and my new kernel, if I can't figure that one out soon, I'll start a new thread. Thanks for help everyone!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing 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