Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Computer won't boot with newer kernels [solved]
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2  
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
Tony0945
Advocate
Advocate


Joined: 25 Jul 2006
Posts: 4146
Location: Illinois, USA

PostPosted: Sat Aug 22, 2020 2:47 pm    Post subject: Reply with quote

krinn wrote:
it's not a problem for you if your /boot isn't on its own partition, but some user use /boot on a partition

Ah! Yes, that is my setup and on all my machines (maybe not the old k6). But for Generic use you are absolutely correct. It should either warn in the beginning ("Warning! /boot is not mounted. Continue?") or maybe fail or just before make, automount boot. I prefer this former. Really, separate /boot is archaic on any BIOS newer than 10 or 12 years.

It was a very good comment. I just didn't understand it.
Back to top
View user's profile Send private message
ct85711
Veteran
Veteran


Joined: 27 Sep 2005
Posts: 1783

PostPosted: Sat Aug 22, 2020 3:54 pm    Post subject: Reply with quote

The key part to remember, /boot is NOT a partition/drive, /boot is only a directory. You can have /boot redirected to look somewhere else, but in the end /boot is still just a directory. So you can't really see if /boot is mounted or not, as it is ALWAYS there, as it is still just a directory.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 46364
Location: 56N 3W

PostPosted: Sat Aug 22, 2020 5:31 pm    Post subject: Reply with quote

ct85711,

A script can check /etc/fstab then check to see if /boot is empty.

A few paranoid users may have a separate boot and not list it in fstab.
It need not even be called boot but that's what make install expects.

Every time a better mousetrap is invented, mice get cleverer. :)
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
Tony0945
Advocate
Advocate


Joined: 25 Jul 2006
Posts: 4146
Location: Illinois, USA

PostPosted: Sat Aug 22, 2020 6:41 pm    Post subject: Reply with quote

NeddySeagoon wrote:
A script can check /etc/fstab then check to see if /boot is empty.

Code:
tony@MSI ~ $ mount|grep boot
/dev/sda1 on /boot/efi type vfat (rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
tony@MSI ~ $ grep boot /etc/fstab
#/dev/sda1   /boot/efi    vfat      relatime   1 2
LABEL=CT500MX_EFI   /boot/efi    vfat   relatime   1 2
Somebody could use that to determine if /boot is in fstab and if so, is it mounted. Maybe using awk?
Just a thought. Back when I did have a separate /boot (ext2), /etc/fstab mounted it "auto". Someone who needs to check and is adept at shell will maybe write one and post it here.
Back to top
View user's profile Send private message
Timmer
Guru
Guru


Joined: 24 Aug 2004
Posts: 366
Location: Duluth, MN, USA

PostPosted: Sat Sep 12, 2020 6:56 pm    Post subject: Reply with quote

Sorry for falling of the face of the planet. Life happened. But I've made some progress. I think the problem is with loading the Intel framebuffer driver. I enabled the vesa driver, and it leaves grub, but then hangs when switching to the Intel driver. If I take the Intel driver out of the kernel, completely then it finishes booting, but only to a tty (unsurprisingly).
Back to top
View user's profile Send private message
Timmer
Guru
Guru


Joined: 24 Aug 2004
Posts: 366
Location: Duluth, MN, USA

PostPosted: Mon Sep 14, 2020 1:34 am    Post subject: Reply with quote

Got it. It was this problem, and toggling the kernel option in the thread has me running again: https://bbs.archlinux.org/viewtopic.php?pid=1913970#p1913970
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Goto page Previous  1, 2
Page 2 of 2

 
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