Rabu, 4 Mei 2011

Ubuntu 11.04 - freezes during or after booting the system

If you install Ubuntu on 11.04, or other distros with latest Linux kernel, or if you update to latest kernel (2.6.38 and +), you might experience freezes during or after booting the system. If system boots without freezing, your wired connection is going up and down constantly. This is related to either power management of the PCIe bus bug, BIOS issues or most possibly a driver (JMicron) related bug. The fix for this is to add 'pcie_aspm=off' to your kernel boot options.

On Ubuntu is in the /etc/default/grub file, it should look like this:
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash pcie_aspm=off".

On other systems, find the kernel boot options and add 'pcie_aspm=off' to it. I am guessing that the NP8150 and NP8170 are also susceptible to this problem as well.

Happy Linuxing!

Isnin, 2 Mei 2011

Fedora installation using ISO/Grub2

n an Ubuntu intstallation, I created a directory called iso. I copied the iso into it. I then mounted the iso with -o loop and copied over isolinux/vmlinuz and initrd.img to the same directory containing the iso image. So, in my Ubuntu / partition, I have a directory called iso containing F14.iso, initrd.img and vmlinuz.

I then booted into an old Fedora install (that I was planning to overwrite.) The Ubuntu partition was /dev/sda6. So, I added to the old Fedora grub.conf

title Fedora Boot
root (hd0,5)
kernel (hd0,5)/iso/vmlinuz fromiso=/iso/f14.iso
initrd (hd0,5)/iso/initrd.img

ISO Booting with Grub 2

Need to unmounted the /isodevice,

using sudo umount -l -r -f /isodevice