Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Problems booting with new kernel
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
austinramsay
n00b
n00b


Joined: 25 Oct 2010
Posts: 29

PostPosted: Sun Oct 20, 2013 7:50 pm    Post subject: Problems booting with new kernel Reply with quote

I just upgraded to kernel 3.11.6 from 3.10.7-r1. Once i reboot the kernel was loading fine but then it started throwing a couple errors but i couldnt really read them because it just went through so fast. It brought me to the login but it wasn't right, the hostname was unknown, the domain was unknown, and when i logged in it was acting kind of strange like just displaying the $ sign with no name or anything then id hit enter and then my username would finally pop up with the $. Also i found my /boot was not mounted and my root filesystem was read only until i remounted it manually. Is there anyway i can get those errors from a log file so i can post them on here? Or does anyone have an idea on whats wrong?
Back to top
View user's profile Send private message
Hu
Watchman
Watchman


Joined: 06 Mar 2007
Posts: 8982

PostPosted: Sun Oct 20, 2013 8:28 pm    Post subject: Reply with quote

If the errors were printed by the kernel, they will also be in dmesg. If they were printed by the init system, you may be able to record them using the OpenRC boot logging.
Back to top
View user's profile Send private message
bastibasti
Guru
Guru


Joined: 27 Nov 2006
Posts: 496

PostPosted: Mon Oct 21, 2013 9:57 am    Post subject: Reply with quote

Reason could be -as you wrote- that your root is mounted readonly,

like that /etc/mtab cannot be altered and /boot will not get booted.

However that would not give you the chance to wite any bootlog to a file.

What FS are you using for your rootfs?

If you add "rw" to your grub kernel command line your system should boot normally.

And please grab a live cd and run fsck on your partitions
Back to top
View user's profile Send private message
austinramsay
n00b
n00b


Joined: 25 Oct 2010
Posts: 29

PostPosted: Mon Oct 21, 2013 4:16 pm    Post subject: Reply with quote

That makes sense but why would it be setting it as read only? What would cause that? I can boot fine with the old kernel still its just the 3.11.6 thats giving me problems. Im using ext4 for my /boot partition and my root fs. How would i add rw into grub?
Back to top
View user's profile Send private message
Hu
Watchman
Watchman


Joined: 06 Mar 2007
Posts: 8982

PostPosted: Mon Oct 21, 2013 9:09 pm    Post subject: Reply with quote

The rootfs is usually mounted read-only, then switched to read-write later. Please post your bootloader configuration file.
Back to top
View user's profile Send private message
austinramsay
n00b
n00b


Joined: 25 Oct 2010
Posts: 29

PostPosted: Sun Oct 27, 2013 5:32 pm    Post subject: Reply with quote

Fixed by adding rootfstype=ext4 to my grub conf.
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
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