Showing posts with label Boot. Show all posts
Showing posts with label Boot. Show all posts

Tuesday, April 24, 2012

How to restore / reinstall grub

If you install another operating system and by mistake you messed up, and you now feel that restoring the grub is a good option OR you install some thing, and found some operating system missing on system boot, then here are the steps to restore the grub:

Step 1: open a terminal, and gain root access, you can also use "sudo"

Step 2: run $os-probe
this will give you all the operating system present on your machine.

Step 3: $grub2-mkconfig -o /boot/grubX/grub.cfg
replace X with the version of grub you are having , in some cases it is grub and grub2 depending upon the different operating system you installed

Step 4: $grub2-install /dev/sda
this will install grub in MBR (Master Boot Record)

Use the above commands at your own risk, they always works for me. (triple boot: fedora 17B, Debby Sqeeze, and Windows 7)

Sunday, November 7, 2010

How to change Plymouth Theme OR How to change Boot theme in Fedora ?

In fedora, the themes which we see at the boot is controlled by plymouth. Here is a step by step tutorial for changing the boot theme:

Step 1: go to the terminal and run (under su or sudo)
$yum install plymouth-plugin* plymouth-theme*

Step 2: Now we got some extra themes, lets check out which one we got:
$ ls -1 /usr/share/plymouth/themes/
charge
details
fade-in
script
solar
spinfinity
text

Step 3: Time to activate one of them (I like solar)
$plymouth-set-default-theme solar

Step 4: After setting the default theme, we will have to update the initrd by:
$/usr/libexec/plymouth/plymouth-update-initrd

This will take a little time. After this , reboot and see the difference.