Replace grub with burg (graphical boot-loader)

Most of this post is a rip off of this post. So…. why did I make a new one? Well… my blog deals with solutions to problems I encountered while following existing instructions or if I had to mash up more then one instructions to get to my goal. You know…. simplifying the process for you guys :-).

So, why would you want to switch grub with burg? Well, function wise, grub don’t have any problems. It’s just PLAIN UGLY! With burg you can have a boot-loader graphically interesting as the next few samples:

So, lets get to the main course of this post…. installing and configuring grub!

first, open up the terminal (Ctrl + Alt + T). Then, run the next 3 commands:

sudo add-apt-repository ppa:danielrichter2007/grub-customizer
sudo apt-get update
sudo apt-get install grub-customizer
This will add the right repository, update the programs list, and then install grub-customizer (which we'll use to edit which systems will be shown in BURG.
Next, run the next 3 commands as well:
sudo add-apt-repository ppa:n-muench/burg
sudo apt-get update 
sudo apt-get install burg burg-themes
1st one will add the burg repository needed, the next will update the repository list of available programs, and the 3rd will install burg & burg-themes.
Now, if you just use gksu grub-customizer or sudo update-burg, you may encounter the problem I got, which basically tells you grub-customizer/burg didn't find your hard-drive.
The Error looks something like this:
Generating burg.cfg ...
/usr/sbin/burg-probe: error: cannot stat `/boot/burg/locale'.
No path or device is specified.
Try `/usr/sbin/burg-probe --help' for more information.
To fix this, simply run the next command in the terminal:
sudo burg-install "(hd0)"
This will integrate the Hard Disk into your burg installation. sometimes the value should be different then hd0 but usually this is what you need to add.
Now, open grub-customizer using:
gksu grub-customizer
enter your password when prompted to, and then grub-customizer will ask:
BURG found
click on Yes. This will open the grub-customizer tool. here you can choose which operating systems will be shown on grub. I followed the advice from the original instructions: "I usually untick Ubuntu (recovery mode) because it’s not something i want in my normal boot". It made sense to me but you're more then welcome to leave them there. You can also change the default OS by going to preferences->general and under default entry select the OS you want. Under visibility you can change how long the boot screen will hold until choosing himself (change the timeout parameter). Another important aspect is to change the resolution. This can be done under preferences->appearance. Check the "custom resolution" check-box and select your preferred resolution. 
When you finished setting everything, click on save and exit grub-customizer.
next, run
sudo burg-emu
a window will open up. This is how your grub will look like. The default theme isn't an eye candy so to change it simply click F2 and choose the theme you want.
Here are a few commands GRUB emulator supports (and the real one too I guess): 
  • t – Open theme selection menu
  • f – Toggle between folding mode
  • n – Jump to the next item with the same class
  • w – Jump to the next Windows item
  • u – Jump to the next Ubuntu item
  • e – Edit the command of current boot item
  • c – Open a terminal window
  • 2 – Open two terminal windows
  • h – Display help dialog (only available in sora theme)
  • i – Display about dialog (only available in sora theme)
  • q – Return to old grub menu
  • F5/ctrl-x – Finish edit
  • F6 – Switch window in dual terminal mode
  • F7 – List the folded boot items
  • F8 – Toggle between graphic and text mode
  • F9 – shutdown
  • F10 – reboot
  • ESC – quit from the current popup menu or dialog
When you close the window it will automatically save the settings you selected.
Next time you’ll boot, you’ll see a new graphical boot-loader!
Enjoy! 🙂

Posted in Uncategorized | Tagged , , , , , , , , | Leave a comment

Access Windows 7 Files from Ubuntu 12.04

This is a common problem. You just installed Ubuntu 12.04 on your computer. After you did all the initial setup, you need a file from your windows 7. but… wait… I can’t see my NTFS windows partition! so most of us just email the file to ourselves and keep on going… but for people who needs a more permanent solution, I’ll show you how to excess your Win7 partition files easily: first, open the terminal (Ctrl + Alt + T) and then type:

sudo fdisk -l

When prompted, insert your password. The output will be something like this:  This is the information about all your physical drivers and their partitions. On this snapshot you can see I have 6 partitions. When comparing to the windows partition manager (start menu -> right click on my computer -> manage -> go to the Disk Management tab) you can see:

You can see my Win7 partition is the 3rd from the left. This usually means the equivalent in the fdist list is sda3.

Problems & Solutions

The last column in the fdist -l table should be the partition’s format type. If you want to mount your windows partition (in my case sda3), the partition type can’t show up as “unknown”. If that what you see (like in the picture above) follow the next steps:

  1. If you’re running your Ubuntu partition as a VM (Will make a tutorial on how to do that later), then start over while running your actual partition. You can’t excess your Win7 files while running Ubuntu in a VM inside Win7 (OS-ception :-P). The right way to do that if that’s what you’re looking for is installing VMware tools (or the equivalent tool in Oracle VM VirtualBox).
  2. First you need to install GParted Partition Editor. You can do that by typing the next command in the terminal (if you already have GParted installed, you can skip this step):

sudo apt-get install gparted

When prompted, insert your password. After installation is complete, you need to run GParted. Use the following command in terminal:

gksu gparted

GParted will open up (with a graphical interface).

Sometimes, just openning GParted can fix the problem. run (in another terminal instance) sudo fdisk -l again and check if now you see the system as NTFS. If not, right click on the Win7 partition and click on ‘check’. The GParted window should split in two and look something like this:

click on the green check mark at the top () and click apply. This should fix the problem. (close GParted ofc)

Now, if you want to mount the Win7 partition permanently, run this command in the terminal:

sudo apt-get install ntfs-config

This will install a tool called NTFS configuration tool. after you finished installing, run this command:

sudo ntfs-config

This will open a configuration window. check here if you want to be able to write to the Win7 partition.  Caution: I think it’s not recommended to enable write operations on the drive since you don’t want to accidentally destroy one of your Win7 OS files.

If you have any errors you guys encountered while following those instruction or maybe you got any suggestions or requests, you’re more then welcome to comment 🙂

Cya at the next post!

Posted in Uncategorized | Tagged , , , , , , , , | Leave a comment