I think Corona688 meant that grub.conf would be something like:
Code:
title Centos
kernel (hd0,0)/centos/kernel-2.6.12-r10 root=/dev/hda5
title Fedora
kernel (hd0,0)/fedora/kernel-2.6.12-r10 root=/dev/hda6
title Redhat
kernel (hd0,0)/redhat/kernel-2.6.12-r10 root=/dev/hda7
You will need a subdirectory for each distro so that each can have its own kernel. Remember that the extended partition is broken into logical partitions. You can put anything into logical partitions. As long as grub stage1 is installed in the MBR and stage 1.5 is installed in the hidden sectors, stage 2 can be anywhere. I even created a tiny (logical) partition at the very end of a 100 GB and booted from that.
Hello,
Can anyone please explain HOW Crontab i.e. job scheduling daemon works in Fedora and CentOS or any Linux platform(Ubuntu)....
What are the points that i have to take care of if have to include a script to be run at a specific scheduled time.
URGENT reply requested. Please help (1 Reply)
Hi,
I have installed VirtualBox, downloaded CentOS 5.5 and created a VirtualMachine where i have installed the 'server' versión of CentOS 5.5
As I installed Virtual Box a new network device appeared '192.16.1.250' in my 'real' machine. I was unable to reach my webserver so i istalled CentOS once... (5 Replies)
Hi, I want to install the wmii window manager on my redhat. is there any package for it? anybody has any idea?
I googled it but did not find a good answer.
thanks.
Double post, continued here (0 Replies)
Hi,
can i say technically there is no difference in:
package management (installation/removal/updating)
commands
between redhat and fedora?
in redhat if I am not a official subscriber, I can never do commands like:
yum search/update/install... unless I have the license
how does... (4 Replies)
Hello,
I have following problem. I have Centos 5.8 ( Final ) on Virtual Box.
I noticed very strange behavior of the terminals when resizing them.
My default shell is tcsh .
Let's assume that we have trial script try.csh with text in it:
#! /bin/tcsh -f
# Trial script
echo... (4 Replies)
Guide on how to disable ipv6 for Centos and RedHat
1) Edit /etc/sysconfig/network-scripts/ifcfg-eth0 and change:
NETWORKING_IPV6=yes to NETWORKING_IPV6=no
2) Edit /etc/modprobe.conf and add these lines:
alias net-pf-10 off
alias ipv6 off
3) Stop the ipv6tables service:
... (0 Replies)
Hi
I have a linux box and need to access from windows graphically
# uname -a
Linux pc-l416116 2.6.18-155.el5 #1 SMP Fri Jun 19 17:06:47 EDT 2009 i686 i686 i386 GNU/Linux
What components do I need to install on Linux and windows to do that?
TIA (6 Replies)
HI,
I have a Centos linux box and there is interface connect to internet.
I stop the iptables in this box .
After a few day , I find the linux box have been hacked and install some perl script into the box .
Could anyone tell me how the hacker can login into the centos box without knowing... (1 Reply)
Hello my dears,
I preparing system running linux. I found that team is advantage than bond with the option "load-balancing for LACP support" and some minor advantages.
8.3. Comparison of Network Teaming to Bonding - Red Hat Customer Portal.
But what exactly meaning of this option I don't... (1 Reply)
Discussion started by: tien86
1 Replies
LEARN ABOUT DEBIAN
linux::distribution
Linux::Distribution(3pm) User Contributed Perl Documentation Linux::Distribution(3pm)NAME
Linux::Distribution - Perl extension to detect on which Linux distribution we are running.
SYNOPSIS
use Linux::Distribution qw(distribution_name distribution_version);
if(my $distro = distribution_name) {
my $version = distribution_version();
print "you are running $distro, version $version
";
} else {
print "distribution unknown
";
}
Or else do it OO:
use Linux::Distribution qw(distribution_name distribution_version);
my $linux = Linux::Distribution->new;
if(my $distro = $linux->distribution_name()) {
my $version = $linux->distribution_version();
print "you are running $distro, version $version
";
} else {
print "distribution unknown
";
}
DESCRIPTION
This is a simple module that tries to guess on what linux distribution we are running by looking for release's files in /etc. It now looks
for 'lsb-release' first as that should be the most correct and adds ubuntu support. Secondly, it will look for the distro specific files.
It currently recognizes slackware, debian, suse, fedora, redhat, turbolinux, yellowdog, knoppix, mandrake, conectiva, immunix, tinysofa,
va-linux, trustix, adamantix, yoper, arch-linux, libranet, gentoo, ubuntu, scientific, oracle enterprise linux and redflag.
It has function to get the version for debian, suse, fedora, redhat, gentoo, slackware, scientific, oracle enterprise linux, redflag and
ubuntu(lsb). People running unsupported distro's are greatly encouraged to submit patches :-)
EXPORT
None by default.
TODO
Add the capability of recognize the version of the distribution for all recognized distributions.
AUTHORS
Alexandr Ciornii <alexchorny@gmail.com>, <http://chorny.net> Alberto Re, <alberto@accidia.net> Judith Lebzelter, <judith@osdl.org>
COPYRIGHT AND LICENSE
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.5 or,
at your option, any later version of Perl 5 you may have available.
perl v5.14.2 2012-03-18 Linux::Distribution(3pm)