Sunday, March 29, 2015

Default OS after Fedora installation

grep menuentry /boot/grub2/grub.cfg
This will display all your grub entries

Highlight the entry you want to default to - for example Windows 7 (loader) (on /dev/sda1) Right click and choose copy


vi /etc/default/grub
Change the entry


GRUB_DEFAULT="Windows 7 (loader) (on /dev/sda1)"
i.e. paste the entry you want (including the quotes)

Save, then type

PS: Having this "Windows 7 (loader) (on /dev/sda1)" is enough.

grub2-mkconfig -o /boot/grub2/grub.cfg

thats it and this worked for me.


Tuesday, March 17, 2015

32GB restriction on microsd cards

Why there is a restriction on smartphone saying that it support microsd of size upto 32 GB.

Because specs says so::

Currently, microSD cards have a maximum capacity of 32GB as this is a limitation imposed by version 2 of the SD Specifications: “High Capacity SD Memory Card: More than 2GB (This version of specification limits capacity up to and including 32GB)”.

console access to VM

On the virtual machine, add ‘console=ttyS0‘ at the end of the kernel lines in the /boot/grub2/grub.cfg file(by executing the following grubby command):

# grubby --update-kernel=ALL --args="console=ttyS0"
NOTE: ssh to VM (or) use virt-manager and run the
above command. 

Now, reboot the virtual machine:
# reboot


virsh create /etc/libvirt/qemu/YOUR_VM.xml

virsh list
// output
// say is the domain.

Now, connect to the virtual machine’s console (here

# virsh console
#virsh console <ID number>