View previous topic :: View next topic |
Author |
Message |
austinramsay n00b
Joined: 25 Oct 2010 Posts: 53
|
Posted: Sun Oct 20, 2013 7:50 pm Post subject: Problems booting with new kernel |
|
|
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 |
|
|
Hu Moderator
Joined: 06 Mar 2007 Posts: 21624
|
Posted: Sun Oct 20, 2013 8:28 pm Post subject: |
|
|
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 |
|
|
bastibasti Guru
Joined: 27 Nov 2006 Posts: 581
|
Posted: Mon Oct 21, 2013 9:57 am Post subject: |
|
|
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 |
|
|
austinramsay n00b
Joined: 25 Oct 2010 Posts: 53
|
Posted: Mon Oct 21, 2013 4:16 pm Post subject: |
|
|
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 |
|
|
Hu Moderator
Joined: 06 Mar 2007 Posts: 21624
|
Posted: Mon Oct 21, 2013 9:09 pm Post subject: |
|
|
The rootfs is usually mounted read-only, then switched to read-write later. Please post your bootloader configuration file. |
|
Back to top |
|
|
austinramsay n00b
Joined: 25 Oct 2010 Posts: 53
|
Posted: Sun Oct 27, 2013 5:32 pm Post subject: |
|
|
Fixed by adding rootfstype=ext4 to my grub conf. |
|
Back to top |
|
|
|