Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Putting Grub on Short Bus to China
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
FastTurtle
Guru
Guru


Joined: 03 Sep 2002
Posts: 499
Location: Flakey Shake & Bake Caliornia, USA

PostPosted: Sun Jun 30, 2024 2:09 am    Post subject: Putting Grub on Short Bus to China Reply with quote

I finally got Gentoo installed and using the plain console after editing
Code:
/etc/default/grub
and uncommenting the single line for text console. Note that there is no longer any
Code:
nomodeset
for grub, it appears it needs that line uncommented out as it worked exactly as I wanted.

What it did on the reboot, no menu showed up and automatically started with the framebuffer enabled and everything was in the top left corner of the screen (small but readable) and I'm not sure how to fix it.

What I suspect I need to do is simply look at
Code:
/etc/default/grub
and see if something changed settings on me but I didn't run
Code:
grub-mkcfg -o /boot/grub/grub.cfg
so what's going on.

Rebooted and got a VFS Kernel Panic with unkown block 8:114? WTF I'm assuming this indicates that it's drive 8 and partition 114, which of course does not exist so Grub is halucinating just like ChatGPT an all the other AI

I May be able to fix it but I'm only going to give it one try before I nuke grub from orbit and switch to ReFind as it doesn't throw the kernel panics unless it actually has an issue. It sure as frog isn't a special snowflake like grub is.
_________________
AsRock B550 Phantom Gaming 4
128GB 3200 Mhz memory
1TB NVME as the boot disk
4x 4TB Sata - 2x 2TB Sata SSD - 4x 450GB SaS - 3x 900GB SaS - 72GB SaS for Gentoo system disk
LSI 9300-16i in HBA mode for all spinning disks
Radeon 6800 (Non XT) for GPU
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


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

PostPosted: Sun Jun 30, 2024 1:51 pm    Post subject: Reply with quote

FastTurtle,

Code:
unkown block 8:114
in major device 8, minor device 114.

Reading /usr/src/linux/Documentation/admin-guide/devices.txt

Code:
   8 block      SCSI disk devices (0-15)
                  0 = /dev/sda          First SCSI disk whole disk
                 16 = /dev/sdb          Second SCSI disk whole disk
                 32 = /dev/sdc          Third SCSI disk whole disk
                    ...
                240 = /dev/sdp          Sixteenth SCSI disk whole disk

                Partitions are handled in the same way as for IDE
                disks (see major number 3) except that the limit on
                partitions is 15.

so the kernel is being told to use a SCSI device for root.
It's left as an exercise for the reader to decode 114 to a drive and partition.

Grub has done its thing and loaded a kernel but not it seems not an initrd, or you should have been dropped to to a initrd provided shell to do some diagnostics.
_________________
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
Hu
Administrator
Administrator


Joined: 06 Mar 2007
Posts: 22618

PostPosted: Sun Jun 30, 2024 3:06 pm    Post subject: Reply with quote

Both GRUB and Refind are able to pass invalid options to the kernel, leading to a kernel panic. Were you expecting an initramfs to handle mounting root? Were you expecting the kernel to receive a valid root= line? What root= line did GRUB give it?
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