Fedora and Linux Blogs

I know the trend now is “status updates”, but I still enjoy reading blogs more. And I’ve been doing lots more reading and far less writing lately.

I thought I might share the Fedora and Linux blogs that I enjoy. (Sorry I don’t have an OPML link).

Fedora

CentOS / Red Hat related

Linux miscellaneous

If you don’t know about Planet Fedora its a great place to peruse through some blogs. The volume is way too high to subscribe.

There are few other Fedora/Linux blogs but they either seem dead or their authors have moved onto other things. Right now, I like my mix of technical snippets as well as general Fedora discussion – especially from the people who put their dedicated effort into it.

ps. Even though I generally don’t read many “Howto” style blogs, I am always interested in recommendations.

Google Wave

I have a dozen Google Wave invites left. Use my contact form with your email and I’ll send you an invite.

Pretty cool, but too bad it eats up 99% CPU and 15% of my memory with Fedora 3.5 in Linux! Maybe 20% ram …

11/27: 1pm EST Still 8 left.

Boot Failure When Fedora 12 Grub Installs to non-MBR Partition

I prefer to keep Windows on the MBR. So I install grub to a separate partition. I then allow the Windows Loader to chainload grub (example).

I noticed a problem with the Fedora 12 Anaconda Installer. If I chose to install grub to the First sector of boot partition instead of the MBR, I get an un-bootable system.

It is easy to see the problem if you compare fdisk output. (I reduced the output for clarity)

Before I installed Fedora 12 32-bit to /dev/sda10

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1        2089    16779861    7  HPFS/NTFS
/dev/sda4            6268       36479   242677890    f  W95 Ext'd (LBA)
/dev/sda10          23762       25589    14683378+  83  Linux
/dev/sda14          34076       36192    17004771   83  Linux
/dev/sda15          36193       36478     2297263+  82  Linux swap / Solaris

After I installed Fedora 12:

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1               1        2089    16779861    7  HPFS/NTFS
/dev/sda4            6268       36479   242677890    f  W95 Ext'd (LBA)
/dev/sda10  *       23762       25589    14683378+  83  Linux
/dev/sda14          34076       36192    17004771   83  Linux
/dev/sda15          36193       36478     2297263+  82  Linux swap / Solaris

The boot flag is set to the wrong partition.

To fix this problem

Just boot with a CD/DVD, choose “Rescue” mode and run fdisk at the shell to change the boot flag. If you need more help, details follow:

  1. Boot with the system using your Fedora DVD or CD#1.
  2. Select “Rescue installed system”. (Select the proper settings, networking is not necessary)
    At the “Rescue” screen, you can “Skip” the mounting of your installed system.
    At the “First Aid Kit quickstart” menu, Select “shell”.
  3. At the shell prompt, use fdisk (BE CAREFUL!)
    bash-4.0# fdisk /dev/sda
    
    Command (m for help): a        (toggle bootable flag)
    
    Partition number (1-15): 10    (the partition you installed Fedora)
    
    Command (m for help): a        (command needs to be run twice)
    
    Partition number (1-15): 1     (the partition with MBR)
    
    Command (m for help): p        (verify everything looks correct)
    
    Command (m for help): w        (write table to disk and exit)
    
    The partition table has been altered!
    Calling ioctl() to re-read partition table.
    Syncing disk.
  4. Reboot.

I doubt this will affect many people since most people choose to install Fedora directly to the MBR. However I am reporting here in case someone else might find this useful. I noticed this a few days ago on Fedora 12-Beta 64-bit, but I had been too busy to check the bug reports. Will do that soon.

If you run into this problem (or similar) please leave a comment or contact me.

UPDATE: Should be fixed for Fedora 13. Bug 533658

Fedora 12 Released

It’s that time of year again, the Fedora Project announced the release of Fedora 12.

This release has received a great deal of polish, and with that plenty of media and documentation to go along with it.

Please see what’s new in Fedora 12. Some of the highlights include:

  • Optimized performance – The 32-bit packages have been compiled for i686 systems
  • Faster updates – The yum-presto plugin is default and RPM has updated its compression format
  • More comprehensive networking and broadband support
  • Next-generation (Ogg) Theora video
  • Bluetooth on-demand
  • Moblin graphical interface for netbooks
  • Gnome 2.28
  • KDE 4.3 (with updated “Air” theme)
  • Better webcam support
  • Better tablet support
  • Improvements to Virtualization

There is also available a condensed form of the release notes in 1 page, also in PDF.

As always, you can download Fedora 12 using the standard mirrors or using the Torrent (recommended).

When reading through all the information and documentation, it is easy to tell that a great deal of polish went into this release! Happy installing.

NT Bootloader Update

This post really has no purpose other than just a snapshot for me.

My current c:\boot.ini:

[boot loader]
timeout=15
default=c:\linux3.bin
[operating systems]
multi(0)disk(0)rdisk(0)partition(1)\WINNT="Microsoft Windows 2000 Professional" /noexecute=optin /fastdetect
multi(0)disk(0)rdisk(0)partition(3)\WINDOWS="Microsoft Windows XP Professional" /noexecute=optin /fastdetect
c:\linux1.bin="[ sda7]  Fedora 11   (32)  [06/2009]"
c:\linux2.bin="[ sda8]  Fedora  9   (32)  [05/2008]"
c:\linux3.bin="[ sda9]  Fedora 11   (64)  [06/2009]"
c:\linux4.bin="[sda10]  Fedora 10   (32)  [11/2008]"
c:\linux5.bin="[sda11]  CentOS 5.3  (32)  [07/2009]"
c:\linux6.bin="[sda12]  OpenSuSe 11 (32)  [10/2008]"

That F9 and F10 will be replaced with F12 (beta at the moment). I might even drop in a Ubuntu Karmic Koala in there somewhere (if I get the time).

I know, I really need to retire my Windows 2000!
I think I also need to repartition that system!

Or best idea: I should get a new computer that supports KVM and switch to virtualization instead of this octuple-boot nightmare !!!

Time to start saving …

CentOS 5.4 Released

Well CentOS is officially released. Now the mailing list whining can be stopped … until at least 5.5!

For new installs grab an ISO. For upgrades (which is generally safe), just run:

# yum update

Or if you want to be very careful:

# yum clean all
# yum update glibc\*
# yum update yum\* rpm\* python\*
# yum clean all
# yum update
# shutdown -r now

Just read the Release Notes for more specifics, or the RHEL 5.4 Docs.

Please note that CentOS does not have a perfectly fixed release schedule. It is typically 6-8 weeks after RHEL is released. People wanting updates can follow CentOS (Karanbir Singh) on Twitter.

(As a quick note, yesterday Fedora 12 Beta was released.)

Default Xorg Resolution

Recent versions of Linux and the Xorg X-Windows system have been engineered to require very little configuration settings to properly detect graphics options and display resolutions. In most cases graphics should “just work”.

The Xorg system stores all its configuration options in the file: xorg.conf. Many distributions including Fedora and CentOS keep this file in the /etc/X11/ directory. In the past this file would contain a great deal of information that was not easy to setup. However as of recent releases, this file is not required for graphics to work correctly. Both Fedora and CentOS will provide a very minimal xorg.conf file if required.

Typically the proper resolution for your display will be detected at run time. While this is great for most users, it often leads to strange resolutions or blank screens depending on your monitor or LCD screen.

EDIT: If you have NO file at all, on the Fedora wiki is: How to create xorg.conf. This works for both Fedora and CentOS.
There are two solutions if you have no xorg.conf. As ‘root’ run either of the following:

# yum install system-config-display
# system-config-display --noui

-OR-

# yum install xorg-x11-server-Xorg
# Xorg -configure
# cp xorg.conf.new /etc/X11/xorg.conf

Whenever I install Fedora or CentOS with the X-server, I typically edit /etc/X11/xorg.conf and add the following Section (or at least the missing parts):

Section "Screen"
        Identifier "Screen0"
        Device     "Videocard0"
        DefaultDepth     24
        Subsection "Display"
                Viewport   0 0
                Depth     24
                Modes     "1024x768"
        EndSubSection
EndSection

The Modes line will control the resolution. You should put the proper resolution for your display. You can also add mutiple modes if you monitor supports it. For example:

Modes     "1280x1024" "1024x768" "800x600"

If you have an LCD and Xorg does not properly detect the resolution, set the mode to the maximum resolution your LCD supports. If you have a standard CRT monitor that Xorg detects higher resolutions (with poor refresh rates) set the mode to the resolution you are comfortable. Also, if you have a CRT you can set multiple modes, then using either Gnome or KDE you can pick a resolution you prefer.

Note: This does NOT apply to everyone (most people will find the defaults correct), however many people have reported that setting a fixed resolution is helpful. Especially for some LCD’s which just seem to go blank.

For more information run man xorg.conf

Edit: 11/23/2009