Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
I did something stupid, but hilarious
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo Chat
View previous topic :: View next topic  
Author Message
Silent-Hunter
Apprentice
Apprentice


Joined: 07 Jul 2013
Posts: 166

PostPosted: Fri Mar 14, 2014 5:16 am    Post subject: I did something stupid, but hilarious Reply with quote

I spent four hours trying to compile the latest kernel, I tried it four times, but it wasn't working. Why? My boot partition was full, I'd been forgetting to delete the old ones! It's only about 32 megabytes.

Has anyone else ever done this?
Back to top
View user's profile Send private message
666threesixes666
Veteran
Veteran


Joined: 31 May 2011
Posts: 1248
Location: 42.68n 85.41w

PostPosted: Fri Mar 14, 2014 6:48 am    Post subject: Reply with quote

lol not 4 hours of it, but i keep my /boot under 130mb so i have almost experienced this. ive moved to single partition, no swap no boot since.
Back to top
View user's profile Send private message
hydrapolic
Tux's lil' helper
Tux's lil' helper


Joined: 07 Feb 2008
Posts: 126

PostPosted: Fri Mar 14, 2014 6:49 am    Post subject: Reply with quote

Saw this on ubuntu-server where there were plenty kernel files.

On gentoo, I try to stick to an overkilled 300MB /boot which has never failed me. 128MB as the handbook suggests is also just fine.
Back to top
View user's profile Send private message
666threesixes666
Veteran
Veteran


Joined: 31 May 2011
Posts: 1248
Location: 42.68n 85.41w

PostPosted: Fri Mar 14, 2014 7:17 am    Post subject: Reply with quote

im kinda curious as to why boot was created in the first place, why not just point loader @ /usr/src/linux/arch/etc/etc/vmlinuz?
Back to top
View user's profile Send private message
SirRobin2318
Apprentice
Apprentice


Joined: 24 Apr 2004
Posts: 241
Location: Strasbourg, france.

PostPosted: Fri Mar 14, 2014 11:34 am    Post subject: Reply with quote

Because your root file system might not be readable by your bootloader. Or it might be encrypted. But if you're using ext4, you can do without a boot partition.
Back to top
View user's profile Send private message
khayyam
Watchman
Watchman


Joined: 07 Jun 2012
Posts: 6227
Location: Room 101

PostPosted: Fri Mar 14, 2014 11:56 am    Post subject: Reply with quote

666threesixes666 wrote:
im kinda curious as to why boot was created in the first place, why not just point loader @ /usr/src/linux/arch/etc/etc/vmlinuz?

666threesixes666 ... because /usr is a secondary hierarchy for read-only user data, and need not be present at boot time (ie, it might be exported via NFS, or more recently it might be an LVM container within a dm-crypt volume). The Linux Filesystem Hierarchy doesn't require the linux kernel to be in /boot, it can be elsewhere, but as the bootloader is there it seems the logical place to house it. Also, /usr/src/linux/* is only present when the kernel sources are installed, most linux distributions don't install these, only the kernel headers and a kernel package.

best ... khay
Back to top
View user's profile Send private message
Anon-E-moose
Watchman
Watchman


Joined: 23 May 2008
Posts: 6095
Location: Dallas area

PostPosted: Fri Mar 14, 2014 12:09 pm    Post subject: Reply with quote

I've never done that. LoL.

But I made /boot to be appx 1 gig. And only keep at most the last 2 kernels.
Some of the space I put the files from sysrescuecd there and have a boot option in grub for it.
_________________
PRIME x570-pro, 3700x, 6.1 zen kernel
gcc 13, profile 17.0 (custom bare multilib), openrc, wayland
Back to top
View user's profile Send private message
Chiitoo
Administrator
Administrator


Joined: 28 Feb 2010
Posts: 2550
Location: Here and Away Again

PostPosted: Fri Mar 14, 2014 1:52 pm    Post subject: Reply with quote

Heh, not quite to that extent, but I have had my boot partition fill up at least once, when I was still only beginning my journey with Gentoo around 2010. It probably wasn't/isn't difficult at all when set to 32 MiB, as seen in the handbook-example.

Well, as was seen until late 2013, when it was apparently changed to 128 MiB.

That said, for new installs, I tend to have no separate partition for it (/boot).
_________________
Kindest of regardses.
Back to top
View user's profile Send private message
Silent-Hunter
Apprentice
Apprentice


Joined: 07 Jul 2013
Posts: 166

PostPosted: Fri Mar 14, 2014 8:24 pm    Post subject: Reply with quote

Ah yes, I installed mine in May or June of last year, so mine is 32. I'd change it, but I don't think it's worth it.
Back to top
View user's profile Send private message
TheLexx
Tux's lil' helper
Tux's lil' helper


Joined: 04 Dec 2005
Posts: 137
Location: Austin Tx

PostPosted: Mon Mar 17, 2014 3:00 am    Post subject: Reply with quote

Humm, my boot partition is only 50MB and each kernel is between 2 and 3 megs. If I get over 5 kernels I no longer use, I delete the oldest ones. The modules go into the root directory that is separate from boot. When I compile, I don't automate the kernel instillation. I manually copy the kernel from /usr/src/linux .... to the boot partition. I have kmh-bzImage-3.4.48-1 kmh-bzImage-3.4.48-2 and kmh-bzImage-3.4.79-1 in /boot. The kernels all run on (hostname) Kestrel, Merganser and Harrier I made two attempts at LTS kernel 3.4.48 and one attempt at LTS kernel 3.4.79 .
Back to top
View user's profile Send private message
Sansavarous
n00b
n00b


Joined: 15 Feb 2004
Posts: 22
Location: My computer.

PostPosted: Tue Mar 18, 2014 7:59 pm    Post subject: Reply with quote

I wouldn't say it was stupid, just inattentive...

What I did this last weekend was stuuuuuupid... trying to install x86 32bit on AMD64...

Four hours, searching, tweaking, and configuring trying to figure out why my 64bit kernel options wouldn't compile, then I looked at the name of the Stage3 I pulled down. :facepalm:
Back to top
View user's profile Send private message
steveL
Watchman
Watchman


Joined: 13 Sep 2006
Posts: 5153
Location: The Peanut Gallery

PostPosted: Wed Mar 19, 2014 12:10 am    Post subject: Reply with quote

Sansavarous wrote:
Four hours, searching, tweaking, and configuring trying to figure out why my 64bit kernel options wouldn't compile, then I looked at the name of the Stage3 I pulled down.

Lul that's good one :)

I've not run out of space on /boot (always had 128MB from beginning) but I have run out of space on /usr on at least 2 machines; it's why I wanted lvm, and was so determined not to be sold any nonsense about udev requiring initramfs. It doesn't, unless you needed an initrd before, in which case it's got nothing to do with udev in any case.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo Chat 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