Linux Configure Netconsole To Log Messages Over UDP Network

Posted on in Categories CentOS, Debian Linux, File system, FreeBSD, Gentoo Linux, GNU/Open source, Hardware, kernel, Linux, Linux distribution, Linux Log Management, Security, Sys admin, Tips, Troubleshooting, Ubuntu Linux last updated July 2, 2008

Linux netconsole kernel module allows dmesg output to be transmitted via the syslogd network. It is kernel-level network logging over udp allowing debugging of problem where disk logging fails and serial consoles are impractical. This is a step-by-step mini howto about netconsole configuration under Red Hat, CentOS, Fedora and Debian Linux.

Shell Script: Create Linux Bootable USB Sticks

Posted on in Categories Howto, Linux, Linux desktop, Linux distribution, Perl last updated February 27, 2008

This may come handy, from the project page:

Mk-boot-usb is a perl script to create multiple-bootable usb sticks (usb keys / usb flash drives). It wipes out an entire usb stick, partitions it, creates file systems on it, installs grub, and installs a minimal linux on it. Mk-boot-usb is meant to speed up and lower the barrier of entry for creating bootable usb sticks. The usb stick will immediately become bootable (using the minimal linux), and more useful distributions can then be installed into other partitions manually simply by (1) copying any Live CD into each partition (2) modifying grub’s configuration file.

=> Mk-boot-usb: a Script to Create Multiple-Bootable USB Sticks

Related: How to Create Bootable Linux CD

How to: Upgrade Fedora Linux From 32-bit System to 64-bit Version w/o Reinstalling Server

Posted on in Categories Howto, Links, Linux, RedHat/Fedora Linux, Tips last updated January 13, 2008

This small guide may come handy…

From the article:

One great thing about Linux is that you can transplant a hard disk from a machine that runs a 32-bit AMD XP processor into a new 64-bit Intel Core 2 machine, and the Linux installation will continue to work. However, if you do this, you’ll be running a 32-bit kernel, a C library, and a complete system install on a processor that could happily run 64-bit code. You’ll waste even more resources if your new machine has 4GB or more of system memory, and you’ll be forced to either not use some of it or run a 32-bit Physical Address Extension (PAE) kernel. Cross-grading to the 64-bit variant of your Linux distribution can help you use your resources more wisely. A disclaimer: changing the architecture of your Fedora installation from 32 to 64-bit isn’t recommended or supported in any way. Perform this at your own risk after creating a suitable backup.

=> Upgrade from 32-bit to 64-bit Fedora Linux without a system reinstall [linux.com]

Linux Calculating Subnets with ipcalc and sipcalc Utilities

Posted on in Categories CentOS, Debian Linux, FreeBSD, Howto, Linux, Networking, RedHat/Fedora Linux, Suse Linux, Sys admin, Tips, UNIX last updated November 19, 2007

If you need to calculate subnet under Linux use an IP Netmask/broadcast calculator called ipcal. You can calculate IPv4 or IPv6 address. Supported features:

=> Multiple address and netmask input formats.
=> Retrieving of address information from interfaces.
=> Classfull and CIDR output.
=> Multiple address and netmask output formats (dotted quad, hex, number of bits).
=> Output of broadcast address, network class, Cisco wildcard, hosts/range, network range.
=> Output of multiple types of bitmaps.

=> Output of a user-defined number of extra networks.
=> Multiple networks input from commandline.
=> DNS resolutions of hostnames.
=> Compressed and expanded input addresses.
=> Compressed and expanded output.
Continue reading “Linux Calculating Subnets with ipcalc and sipcalc Utilities”

Download of the day: Fedora 8 CD / DVD ISO

Posted on in Categories Download of the day, Linux, Linux desktop, RedHat/Fedora Linux last updated November 8, 2007

Fedora 8 has been released ( jump to download link ). The Fedora Project is a Red Hat sponsored and community supported open source project. Its goal is the rapid progress of free and open source software and content. It offers cutting edge softwares for desktop usage. The latest version of the popular Linux distribution has a lot to offer users and developers.

New in Fedora 8

This release includes significant new versions of many key components and technologies.

=> This release features GNOME 2.18 and KDE 3.5.8.

=> NetworkManager 0.7 provides improved wireless network management support.

=> PulseAudio is now installed and enabled by default. PulseAudio is an advanced sound server compatible with nearly all existing Linux sound systems. PulseAudio allows for hot-switching audio outputs, individual volume controls for each audio stream, networked audio, and more.

=> Compiz Fusion, the compositing window manager that re-merges Compiz and Beryl, is installed by default for 3D effects.

=> OpenOffice.org 2.3, with many new features, is available as part of Fedora 8.

=> Laptop users benefit from the “quirks” feature in HAL, including better suspend/resume and multimedia keyboard support.

=> Fedora 8 features a 2.6.23 based Linux kernel.
Fedora Desktop Screenshots
(click to enlarge, more screenshots @ Fedora Website)

=> See Fedora 8 release notes.

Download link – ( Download Fedora )

You can download Fedora via the web/ftp server or via BitTorrent (recommended).

Fedora 8 DVD ISO download

= > Visit mirror to download Fedora ISO images (32 bit DVD ISO ~ 3.2 GB)

= > Visit mirror to download Fedora ISO images (64 bit DVD ISO ~ 3.2 GB)

Fedora 8 Live CD ISO download

=> Use 32 bit Live CD (700M) if internet connection is slow or you just want to see how Fedora works. You can install fedora from Live cd.

Fedora 8 DVD ISO BitTorrent download

=> Download from BitTorrent i386 32 bit DVD (requires a BitTorrent client)

=> Download from BitTorrent 64 bit DVD (requires a BitTorrent client)

All other downloads options and mirrors are mentioned here.

Fedora Linux add MP3, Java, DVD Playback and multimedia support

Posted on in Categories Download of the day, Howto, Linux, Linux desktop, Linux distribution, RedHat/Fedora Linux last updated September 3, 2007

Copyright/IP laws prevent shipping multimedia and mp3 software(s) and technologies/plugins with Linux distribution. Fedora is no exception to this rule. All you have to do is add few repos and you are ready to go.

Fellow Linux blogger James has published an excellent shell script hack (Fedora Feather) that adds MP3 and multimedia support to Fedora Linux:

Tired of manually adding support for mp3, dvd and Java to your fresh Fedora installs? This script will automatically do all of that.

=> Download Fedora Feather

Fix a dual boot Windows Vista and Linux problem

Posted on in Categories Howto, Linux desktop, RedHat/Fedora Linux, Troubleshooting, Ubuntu Linux, Windows last updated November 22, 2006

How do you fix a dual boot system if you had to reinstall Windows Vista and you can no longer boot to Fedora Core 6 (FC6) or Fedora Linux ? Nobody wants to reinstall FC 6 or Fedora Linux again!

Almost all versions of Microsoft Windows (including XP, Vista and old versions) overwrite GRUB bootloader in MBR (master boot record). As a result Windows boot loader becomes a new boot loader and GRUB will not appear on screen (you will not able to see GRUB menu options).

But don’t worry you can easily fix the problem. Please note that if you are using Debian or Ubentu Linux just follow these instructions. Following instuctions are Fedora Linux only and should work with RHEL / CentOS too:

Step # 1: Boot from Fedora Core Linux 1st CD or DVD

Set BIOS to boot from CD/DVD rom. At boot: prompt type command linux rescue
boot: linux rescue

Just follow on screen instructions, when prompted let installer search Linux installation. If the search operation is successful, your old Linux installation will be available at special directory called /mnt/sysimage.

Step # 2: Prepare system for GRUB reinstallation

Type the following commands at shell prompt:
# chroot /mnt/sysimage
# cd /boot/grub

chroot command allows to run rest of all *COMMAND* with root directory set to NEWROOT called /mnt/sysimage. Without chroot environment you will not able to restore GRUB on Fedora Core 6.

Step # 3: Find out your GRUB bootloader installation location

If you have only one IDE hard disk default should be /dev/hda. You can use any of the following command to determine your device name:
# grep '#boot' grub.confOuput:

#boot=/dev/sda

Above output clearly point out that /dev/sda device where my GRUB bootloader was previously installed.

You can also try out fdisk -l command to list partitions and disk information:
# fdisk -l

Step # 4: Reinstall GRUB

Use grub-install command to install GRUB on your drive /dev/sda
# grub-install /dev/sda

Please note that if above command returned any error return with –recheck option to probe a device map even if it already exists
# grub-install --recheck /dev/sda

Step # 5: Reboot system

Exit from chrooted environment and reboot Linux:
# sync;sync;exit;exit
# reboot

Now GRUB will be able to boot both Windows Vista and Fedora Core 6. In UNIX/Linux dd command can be used to backup and restore the MBR 🙂