Fedora Windows Dualboot Uefi

On my Lenovo IdeaPad Yoga I have a dualboot installation with Windows 8 and Fedora 18. My setup works fine with UEFI, however I'd prefer to boot Windows 8 out of grub. So here is a small tutorial on how to add your windows installation to grub.

  1. Install the following packages:

sudo yum install grub2-efi os-prober shim

Your UUID

Your first step is to find out the right UUID for the Windows partition. One way to do this is:

sudo gdisk -l /dev/sda

Then you should see something like this:

Number Start (sector) End (sector) Size Code Name
1 2048 616447 300.0 MiB 2700 Basic data partition
2 616448 821247 100.0 MiB EF00 EFI system partition
3 821248 1083391 128.0 MiB 0C01 Microsoft reserved part
4 1083392 204802047 97.1 GiB 0700 Basic data partition
5 204802048 205211647 200.0 MiB EF00 EFI System Partition
6 205211648 206235647 500.0 MiB 0700
7 206235648 222357503 7.7 GiB 8200
8 222357504 327215103 50.0 GiB 0700
9 327215104 500117503 82.4 GiB 0700

In my case the Windows EFI partition is the first one, but if you are not sure, you can mount the EFI system partition and look if 'tree' prints out this:

.
└── EFI
├── Boot
│ └── bootx64.efi
└── Microsoft
└── Boot
├── BCD
├── BCD.LOG
├── BCD.LOG1
├── BCD.LOG2
├── bg-BG
│ ├── bootmgfw.efi.mui
│ └── bootmgr.efi.mui
├── bootmgfw.efi
├── bootmgr.efi
├── BOOTSTAT.DAT
├── boot.stl
...

Now it's time to get the UUID of this partition. You can do this with:

sudo blkid /dev/sda2

This gives you something like:

/dev/sda2: UUID="B8EA-3088" TYPE="vfat" PARTLABEL="EFI system partition" PARTUUID="9c0c3f2e-82a2-428d-9366-90f8c4580652"

Update your grub config

You can now add your UUID to grub. Edit /etc/grub.d/40_custom and add the following lines. Replace "your_UUID" with the UUID from the previous step.

menuentry "Windows" {
  insmod part_gpt
  insmod fat
  insmod search_fs_uuid
  insmod chain
  search --fs-uuid --no-floppy --set=root your_UUID
  chainloader (${root})/efi/Microsoft/Boot/bootmgfw.efi
}

The Rebuild

And finally you can rebuild the config with:

grub2-mkconfig -o /boot/efi/EFI/fedora/grub.cfg

Cloud9 Ide

Cloud9 is an online development environment for writing, running and debugging Javascript, Node.js, PHP, Python, Java and Ruby applications. It’s often referred of as Google docs for code. It's a really really cool tool with a very good Integration of github and bitbucket. So you can edit your repositorys online with a nice IDE. You can also debug your Projects so it's a good thing for editing your repositorys. Reasons to use Cloud9:

  • if you aren't at home or on a foreign computer
  • if you haven't installed git
  • if you won't to clone the repository (I think that isn't a reason)
  • if you haven't installed a good IDE

I can only recommend this tool.

Archiveroom

###Explore your GitHub archive data in 3D!

A short time ago I was made aware of a realy cool thing from a colleague. That was http://archiveroom.net/ the website. There you can create a graphical version of your git repository with just a few clicks, if it is hosted on Github. There are all events that affect a repository as a block in a 3D world shown. Each event type is assigned a color and an icon. These are then displayed on the block. TThese blocks are stacked one above the other and next to each other. There is a three-dimensional image of the repository through which you you can navigate virtual.

This is a really cool thing and you can set up it with just a few clicks. If you want to try it, i can olny recommend it. A guide with all necessairy steps can be find at the bottom of the homepage.

Jekyll 1.0

Wenn ihr das lest hat die umstellung auf auf jekyll 1.0.2 geklappt. Darum hab ich den git post hook angepasst und möcht ihn euch natürlich nicht vorenthalten.

true

Auch das was ihr hier oben seht ist neu den mit jekyll 1.0.2 ist eine einfach gist integration gekommen. Allerdings hat die Integration probleme gemacht, da wir ein pygment theme hatten das die gist furchtbar aussehen liess.

Idea Pad Yoga With Wlan

I bought a new Lenovo Ideapad Yoga laptop and the first thing I did was installing Fedora. Fedora works nice on it, touch screen works out of the box \o/, though the card reader doesn't work but I don't use it, so it's ok for me. But a big problem is that there is no RJ45 Ethernet plug, only W-LAN and this doesn't work out of box. So I search and found some creepy sources for it but they all fail to compile so I wrote the author of these drivers and he told me that it's on Github. Conclusion: I'm too stupid for google.

If you take the source from Github it compiles fine on my laptop. So start with cloning the repo doing:

git clone https://github.com/lwfinger/rtl8723au.git

And compile and install it with:

make && sudo make install

After a restart you should have W-LAN. You need to do this step every time you update your kernel! You may need one of these packages to compile if you don't have them already.

make gcc kernel-header kernel-devel patch

Driver quality

The drivers are really stable and I have no problems, no connection losses. And I tested the speed with netio and it's a bit slower than the windows drivers but I think most people, including me, can live with that. In the table you can see the speed differences between the Linux and windows drivers.

packet size Fedora 18 (TCP) Windows 8 (TCP) Fedora 18 (UDP) Windows 8 (UDP)
Receiving from client, packet size 1k 6919.15 KByte/s 7439.19 KByte/s 7834.33 KByte/s 8996.88 KByte/s
Sending to client, packet size 1k 4100.83 KByte/s 6174.82 KByte/s 11.19 MByte/s 11.20 MByte/s
Receiving from client, packet size 16k 7644.62 KByte/s 8564.73 KByte/s 8770.21 KByte/s 9020.33 KByte/s
Sending to client, packet size 16k 4455.27 KByte/s 7974.70 KByte/s 11.32 MByte/s 11.42 MByte/s
Receiving from client, packet size 32k 7878.99 KByte/s 8494.75 KByte/s 10.15 MByte/s 10.94 MByte/s
Sending to client, packet size 32k 3990.65 KByte/s 8145.11 KByte/s 11.44 MByte/s 11.46 MByte/s