View previous topic :: View next topic |
Author |
Message |
Silent-Hunter Apprentice
Joined: 07 Jul 2013 Posts: 166
|
Posted: Fri Mar 14, 2014 5:16 am Post subject: I did something stupid, but hilarious |
|
|
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 |
|
|
666threesixes666 Veteran
Joined: 31 May 2011 Posts: 1248 Location: 42.68n 85.41w
|
Posted: Fri Mar 14, 2014 6:48 am Post subject: |
|
|
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 |
|
|
hydrapolic Tux's lil' helper
Joined: 07 Feb 2008 Posts: 126
|
Posted: Fri Mar 14, 2014 6:49 am Post subject: |
|
|
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 |
|
|
666threesixes666 Veteran
Joined: 31 May 2011 Posts: 1248 Location: 42.68n 85.41w
|
Posted: Fri Mar 14, 2014 7:17 am Post subject: |
|
|
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 |
|
|
SirRobin2318 Apprentice
Joined: 24 Apr 2004 Posts: 241 Location: Strasbourg, france.
|
Posted: Fri Mar 14, 2014 11:34 am Post subject: |
|
|
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 |
|
|
khayyam Watchman
Joined: 07 Jun 2012 Posts: 6227 Location: Room 101
|
Posted: Fri Mar 14, 2014 11:56 am Post subject: |
|
|
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 |
|
|
Anon-E-moose Watchman
Joined: 23 May 2008 Posts: 6098 Location: Dallas area
|
Posted: Fri Mar 14, 2014 12:09 pm Post subject: |
|
|
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 |
|
|
Chiitoo Administrator
Joined: 28 Feb 2010 Posts: 2572 Location: Here and Away Again
|
Posted: Fri Mar 14, 2014 1:52 pm Post subject: |
|
|
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 |
|
|
Silent-Hunter Apprentice
Joined: 07 Jul 2013 Posts: 166
|
Posted: Fri Mar 14, 2014 8:24 pm Post subject: |
|
|
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 |
|
|
TheLexx Tux's lil' helper
Joined: 04 Dec 2005 Posts: 137 Location: Austin Tx
|
Posted: Mon Mar 17, 2014 3:00 am Post subject: |
|
|
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 |
|
|
Sansavarous n00b
Joined: 15 Feb 2004 Posts: 22 Location: My computer.
|
Posted: Tue Mar 18, 2014 7:59 pm Post subject: |
|
|
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 |
|
|
steveL Watchman
Joined: 13 Sep 2006 Posts: 5153 Location: The Peanut Gallery
|
Posted: Wed Mar 19, 2014 12:10 am Post subject: |
|
|
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 |
|
|
|