CentOS 5 :: Specify Root Option For Kernel Command Of Grub Conf
Feb 12, 2010
I'm using 2 cloned disks with CentOs5.3 and I need to be able to control which one is booted. I can specify which disk in the BIOS but after stage 2 it is always running from disk 2. When I have puppy linux on one disk and CentOs on the other I can boot off of either as selected by the system BIOS so the BIOS is not the issue. I think it is how the root option is passed in the kernel command in the grub.conf.
kernel /vmlinuz-2.6.18-128.el5 ro root=/dev/VolGroup00/LogVol00
I think when the OS searches for the /dev/VolGroup00/LogVol00 share is locates 2 since the disks are clones and uses the last one found. On information I have found for the kernel command and the root option it appears CentOs uses it differently. CentOs uses a volume name as specified /dev/VolGroup00/LogVol00 instead of a partition designator /dev/hda2. Is there a different way to specify /dev/VolGroup00/LogVol00 in CentOS for the root option for the kernel command of grub.conf?
View 7 Replies
ADVERTISEMENT
Nov 20, 2010
my Setup is Fedora 14 x64 + radeon hd 4830 i've downloaded .run package from ati site with latest driver for x64 systems. installed it, but didn't edited grub.conf becouse i didn't understood anything there (probably didn't spent enough time to get things understand) Now i've lost possibility to enter my Fedora system. during boot it lost it's modern blue boot screen (with filling drop), it was replaced by standard old boot screen with triple-color stripe. after this boot screen monitor start blinking going on and off. and on last step i'm getting "Fedora 14 boot bla bla bla something" on screen. nothing works except Ctrl+Alt+Delete. system reboots showing successful daemons shutting sequence. How can i edit grub menu from initial grub screen is it possible to it's own 'e' option or 'c' from grub command line?
View 4 Replies
View Related
Jul 21, 2010
After I installed Linux OS(for example:SuSE10,redhat5),the [root] parmeter of [kernel] in created grub.conf seems that sometimes it's defined to device name.sometimes it's defined to Label or sometimes UUID. So ,I want to know what is that relative to? Hard disk type or OS version or both?
View 1 Replies
View Related
Dec 3, 2009
The latest update changed the default boot from 0 to 1 and added extra parameters to the new kernel boot line.
default=1
timeout=8
splashimage=(hd0,7)/boot/grub/splash.xpm.gz
# hiddenmenu
title Fedora (2.6.31.6-145.fc12.x86_64)
root (hd0,7)
[Code]...
View 1 Replies
View Related
Dec 23, 2010
after yesterday's update to kernel 2.6.35.10-72 my grub.conf didn't get updated and ll /boot shows that neither vmlinuz or initramfs exist for that kernel. uname -r though tells me I'm running 2.6.35.10-72.
How can I do that? and on another more reallystic matter how can I generate the missing files so I can manually update grub.conf?
View 2 Replies
View Related
Mar 19, 2011
I have installed Centos in my server and when I take, top -c command its not showing the "command" option correctly. Due to the same, I'm not able to correctly track down the file which causes excessive usage. For eg:
top - 09:30:29 up 72 days, 12:46, 2 users, load average: 0.21, 0.16, 0.15
Tasks: 122 total, 1 running, 120 sleeping, 0 stopped, 1 zombie
Cpu(s): 4.8%us, 0.7%sy, 0.0%ni, 93.5%id, 1.0%wa, 0.0%hi, 0.0%si, 0.0%st
[code]....
View 3 Replies
View Related
Apr 29, 2009
Is there an easy way to change just one option in the kernel? I need to set something from =M to =N I tried installing the kernel source rpm according to the centos wiki site, then changing the .config, make oldconfig etc. but the always build always fails.
View 7 Replies
View Related
Feb 16, 2010
Ubuntu Server 9.10I want to set up my dhcp server to also be my DNS server so do I skip these lines or point them at the same server that the config file is on?
View 4 Replies
View Related
Jun 24, 2011
I am learning Linux administration and I am new in this area. Currently I am trying to find out which drive has grub.conf file. Following commands giving me correct output (hd0,0):
find /grub/stage1
find (hd0,0)/grub/grub.conf
But root command gives me output (fd0). Why?
View 3 Replies
View Related
Mar 30, 2010
I have been using Wubi for a few weeks now and I am really impressed. I have endured a lot of problems with grub and kernel problems etc but now realise that its just the Wubi inside windows! I have it all set up with the cube to perfection and all drivers are running great after a bit of tweaking. So a bit of a lazy question really, can I install it properly onto my drive, and retain all the hard work I have put in setting it up? I have tried, but when it comes to selecting the drive that the Wubi is installed on it just says format with no backup option.
View 9 Replies
View Related
Feb 19, 2011
I just got a laptop (DELL PP06S) from a friend set up on kubuntu. He told me to download and run the updates packages if I had time. So so did I and now the computer stops on an error at boot and I can't log in at all to type any command. The error message coming up is:
ata1.00: exeption Emask 0x0 SAct 0x0 action 0x6
ata1.00: BMDMA stat 0x24
ata1.00: failed command: WRITE DMA
[code]....
And it seems to try that action over and over but I never get to log in and type any command. I got told to check the drive cables connections, which I did but it made no difference. I also got told that I could try to start with an older kernel, I tried all the different kernels available in the GNU GRUB but no success. The different options availables are:
Ubuntu, with Linux 2.6.32-26-generic
Ubuntu, with Linux 2.6.32-26-generic (recovery mode)
Ubuntu, with Linux 2.6.32-25-generic
[code]....
From my understanding these are the new and older kernels, is that right? I had to do the updates in 3 times so I guess the kernel from before then isn't in the list anymore. Every one of them shows the same error message and no way to get a console. So I can't type any command. Though, I found out that I can type commands in the GRUB, is there any way to change the kernel from the GRUB? If so what would be the commands?
View 3 Replies
View Related
Jan 21, 2011
I updated the kernel to 2.6.35.10-74.fc14.x86_64 and had to reinstall and rebuild the kernel module for my ATi driver as usual, so I edited the kernel arguments at the grub splash screen so that I could boot into single user mode and install the driver (i.e appending the relevant line with '1'). The interesting thing is, the system booted directly into single user mode as root when the system started up. No password was required.
View 6 Replies
View Related
May 18, 2010
I'm using Ubuntu 10.04 Lucid LTS. I have problem with my Ubuntu,Whenever I ran "sudo update-grub" command it did not detect my Ubuntu kernel nor Windows XP installation on another drive (I installed Ubuntu and Windows in different drive).It just display "Generating grub.cfg" and then "done". No "Found kernel..." message.
View 1 Replies
View Related
Jun 1, 2009
I've been scanning the apache2 docs for the past few days and have not come up with an answer my following issue:
In my httpd.conf file, at the very end, I have the line
Include conf/vhosts/vhost_*.conf
However, when I run apache checkconfig or try to start apache, it gives me the error:
httpd: Syntax error on line 993 of /etc/httpd/conf/httpd.conf: Could not open configuration file /etc/httpd/conf/vhosts/vhost_1.conf: Permission denied
It appears as if the Include line is correct - in terms of it grabbing the first virtual host conf file. However, I'm confused on the permissions. the /etc/httpd folder is owned by root:root, as are the subfolders. As a test, I chown'd the conf/vhost folder combination and all the vhost files to apache:apache to see if that made a difference, and it appeared to make no difference at all. The log files don't contain anything (assumed because apache isn't starting). If I place the contents of the vhosts in a singular vhosts.conf it works - with the permissions set to root:root. I'd like to avoid having to use one vhosts conf for the configuration I'm trying to achieve - as it would make my life a lot easier.
View 3 Replies
View Related
Aug 29, 2011
Howto write Grub into a root partition instead of MBR on Centos 5.6 using CentOS-5.6-i386-LiveCD?
View 1 Replies
View Related
Aug 11, 2010
I'm trying to setup a kickstart server to install CentOS over the network. The server is using pxegrub, and the relevant menu entry is:
title Kickstart CentOS 5 x86_64
kernel /kickstart/vmlinuz initrd=/kickstart/initrd.img ks=http://192.168.1.250/kickstart/prototype.ks text
View 3 Replies
View Related
Oct 21, 2009
I just noticed, on both of my CentOS 5.3 servers, within grub, root shows (fd0)device.map = (hd0) /dev/sda and nothing else.
View 4 Replies
View Related
Oct 29, 2009
I can cause the kernel to panic immediately with the following command. lvcreate --snapshot --name Snap --extents 100%FREE VolGroup00/LogVol00 The last line of the panic message is "<0>Kernel panic - not syncing: Fatal exception" If I create a snapshot of any other volume it works just fine. It only panics on LogVol00 which is my root fs.
I'm running 5.4 after update from 5.3. It didn't work with 5.3 either. This is a 32-bit guest running in VMWare Server 2.0.1 which is running on FC10 x86_64. I've tried the guest in both UP and SMP (2 cores) modes and observed no difference.
View 2 Replies
View Related
Apr 10, 2011
After upgrading from 2.6.18-194.32.1.el5 to 2.6.18-238.5.1.el5 EXT3-fs: Unrecognized mount option "mand" or missing value
View 1 Replies
View Related
Mar 2, 2010
i used opensuse 11.1 ...there is option for root user to create password for root...but for ubuntu i did not find anything like that...so how can i create root password....or how can i use root
View 1 Replies
View Related
Aug 6, 2010
i have configured my pc to run ntpd service. but i don't understand this line in ntp.conf:
Code:
restrict 0.asia.pool.ntp.org mask 255.255.255.255 nomodify notrap noquery
View 2 Replies
View Related
Nov 21, 2009
since i have installed the nvidia drivers i have lost the graphical boot and just had a bar at the bottom of the screen instead. i tried to get the graphical screen back by adding vga=795 to my /boot/grub/grub.conf but when i rebooted not only did i not get the graphical boot or the toolbar at bottom.
i got list of all the drivers and services it is starting with ok next to it. i have also since doing this lost the bit when restarting or shutting down getting the words restarting or shutting down and just get blank screen with flashing cursor. i removed the vga=795 and i still get the list of drivers/services loading.
how do i get the quiet option back. i have checked /boot/grub/grub.conf and it has the quiet in it.i have also tried running update-grub but get message command not found. i have attached the grub.conf file
View 3 Replies
View Related
Aug 31, 2010
I would like to modify the boot loader settings and triedo open the file grub.confHowever, it is said that the file could not be opened, as seen in the attachment.Tried to authenticate as 'root' before opening the file, but the problem still exist...
View 10 Replies
View Related
Apr 14, 2011
I am trying to set up a lamp server and I would like to change the ServerTokens option from full to prod but when I open /etc/apache2/apache2.conf it's no where to be found. Has the option been moved somewhere else? Same with setting ServerSignature from on to off. I'm starting to wonder if I even have the right conf file.
View 1 Replies
View Related
Mar 1, 2010
When I was configure xinetd service I tried to modify the includedir option in /etc/xinetd.conf to another directory. For example:
defaults
{
}
[code]....
View 2 Replies
View Related
May 25, 2010
We do use kickstart configuration file to customize the CentOS installation. In the partitioning screen, I do see a check box for encryption (encrypting the disk blocks).
I want to remove this checkbox in my kickstart configuration file. What is the option to use to get rid of this checkbox.
View 3 Replies
View Related
Mar 24, 2010
I'm just trying to figure out what is going on with FC12
Here is the error:
[root@localhost bigmac]# rkhunter --check
Invalid XINETD_CONF_PATH configuration option - non-existent pathname specified: /etc/xinetd.conf
View 1 Replies
View Related
Jul 3, 2010
I just recently installed a kernel, everything works fine after reboot except. When I use nano -w /boot/grub/grub.conf I get /boot/grub/grub.conf: No such file or directoryIs there something i have to do after installing a new kernel in Gentoo Linux.I can't access my /boot all that appears there is a symlink to /boot How can i see my kernels located in /boot.
View 3 Replies
View Related
Apr 11, 2011
I am running an application that requires use of my /etc/hosts file. In it, I have my machine name and its LAN ip address. The program creates a service on a specific port, then attempts to connect to it based on the host name. So my hosts file has to be correct.I added the nameservers to resolv.conf and now my application will not run. My guess is that the computer is checking the name servers first, timing out then checking the hosts file.Is there a way I can tell the system to check the hosts file first, then DNS. I thought it should behave that way by default, but it does not appear to.
View 1 Replies
View Related
Apr 19, 2011
Im am building a Linux distro. It will be very tiny and fast.
I only have a minimal linuxkernel (bzImage) who is 1,2 mb big. And then I have Busybox who is 174,6 kb big.
The commands in busybox is: cd, ls, mkdir, rmdir, wget, httpd, clear, rm, poweroff, halt, reboot, fdisk, mount, umount, free, and cp.
When I compiled the kernel i use initramfs/initrd function and point it to a folder where initrd/initramfs source is.
The kernel works OK with others initramfs/initrd files. But not with my own.
Quote:
Here is how the end of the kernelcomplie look like.
Quote:
Here is my init file who is the initrd/initramfs source.
Quote:
The initramfs folder contains "bin" (folder) and "init" a file. No more.
The problem is that the kernel cannot find/read init file.
View 4 Replies
View Related