Advance-topics/recover-from-a-failed-custom: Difference between revisions

From Snakeoil OS Reference
Jump to navigation Jump to search
No edit summary
No edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
{{DISPLAYTITLE:Recover From A Failed Custom Kernel}}{{TopicAdvancedTopics|float:right}}
{{DISPLAYTITLE:Recover From A Failed Custom Kernel}}{{TopicAdvancedTopics|float:right}}So you tried your hand in building your own custom kernel and it fails. Fret not as it is extremely easy to get it back to a working state. You just need to connect your keyboard and monitor back and change the boot sequence manually.


{{ManualNavigation|[[advance-topics|Advanced Topics]]|[[advance-topics/nf9c-bios-for-usb|NF9C BIOS Setup For USB]]|[[advance-topics/ubiquity-partitioning|Ubiquity Partitioning]]}}
== Mini SVGA/HDMI Monitor ==
<span name="more36"></span>If you like to experiment a lot, consider investing in a small LCD monitor (with SVGA and HDMI input), like the one shown below:
[[File:Small monitor.jpg|center|thumb|Small monitor]]
<span name="more36"></span>These monitors are compact and can be tucked away when not in use. (Above picture is provided as illustration only, it's not a recommendation).
 
<span name="more36"></span>Another approach is to spend the money and get a case with a built in monitor. The downside of a LCD case is the bulkiness, and the connection is not always internal (e.g. if your motherboard don't have a internal HDMI/VGA header you have to route the connection out externally). Given the price, this is not a practical solution, but it looks cool! Some motherboards support LVDS monitors but I havn't tried them yet.
[[File:Silverstone HTPC Case.png|alt=Silverstone HTPC Case|center|thumb|539x539px|Silverstone HTPC Case]]
 
=== Recovering From A Unsupported Kernel ===
<span name="more36"></span>Connect the monitor and keyboard, boot up the computer and hit any arrow key immediately until you see this screen. You only have a short window to do this, reboot the machine again if you are not quick enough.
[[File:Grub Main Boot Menu.png|center|thumb|731x731px|Grub Main Boot Menu]]
<span name="more36"></span>Once you see the screen above, make sure the entry "''Advanced options for Snakeoil GNU/Linux''" is selected (see example below), and hit the "''Enter''" key.You should see something like this.Select the first line from the list (''Linux 3.0.3-rt12snakeoil'' in the example) and press the "''Enter''" key.
[[File:Grub Default Kernel.png|center|thumb|759x759px|Grub Default Kernel]]
<span name="more36"></span>The machine should boot up fine now. Return to the Snakeoil menu, and select another working kernel.
 
== Free Edition ==
Login to the machine, remove the problem files, modify /etc/default/grub and remove the default line, and finish by running this command:<syntaxhighlight lang="bash">
sudo update-grub
</syntaxhighlight>{{ManualNavigation|[[advance-topics|Advanced Topics]]|[[advance-topics/nf9c-bios-for-usb|NF9C BIOS Setup For USB]]|[[advance-topics/ubiquity-partitioning|Ubiquity Partitioning]]}}
[[Category:Advanced Topics]]

Latest revision as of 09:43, 30 July 2020

So you tried your hand in building your own custom kernel and it fails. Fret not as it is extremely easy to get it back to a working state. You just need to connect your keyboard and monitor back and change the boot sequence manually.

Mini SVGA/HDMI Monitor

If you like to experiment a lot, consider investing in a small LCD monitor (with SVGA and HDMI input), like the one shown below:

Small monitor

These monitors are compact and can be tucked away when not in use. (Above picture is provided as illustration only, it's not a recommendation).

Another approach is to spend the money and get a case with a built in monitor. The downside of a LCD case is the bulkiness, and the connection is not always internal (e.g. if your motherboard don't have a internal HDMI/VGA header you have to route the connection out externally). Given the price, this is not a practical solution, but it looks cool! Some motherboards support LVDS monitors but I havn't tried them yet.

Silverstone HTPC Case
Silverstone HTPC Case

Recovering From A Unsupported Kernel

Connect the monitor and keyboard, boot up the computer and hit any arrow key immediately until you see this screen. You only have a short window to do this, reboot the machine again if you are not quick enough.

Grub Main Boot Menu

Once you see the screen above, make sure the entry "Advanced options for Snakeoil GNU/Linux" is selected (see example below), and hit the "Enter" key.You should see something like this.Select the first line from the list (Linux 3.0.3-rt12snakeoil in the example) and press the "Enter" key.

Grub Default Kernel

The machine should boot up fine now. Return to the Snakeoil menu, and select another working kernel.

Free Edition

Login to the machine, remove the problem files, modify /etc/default/grub and remove the default line, and finish by running this command:

sudo update-grub

 Main   Advanced Topics   NF9C BIOS Setup For USB   Ubiquity Partitioning