CentOS 5 :: Centos 5.4 Grub Timeout Value Not Working?
Apr 15, 2010
pulled up an old clunker and put centos 5.4 on it the other day. well the grub spash screen appears but i have to manually hit enter to select a kernel.at the /boot/grub/grub.conf file and timeout=5. this is a new install. so I tried changing that value to 0 and it does boot the kernel immediately but never displays the splash screen. so something is not right I assume. btw I see a message (loading stage 2) for about 20 seconds as the computer boots and I have never seen that message on my ubuntu machine, so I wonder if something is off there.
I am running Ubuntu 10.10. Grub timeout is not working and I have to press enter every time I switch on the computer after the Grub menu loads. Here is my /boot/grub/grub.cfg file
# # DO NOT EDIT THIS FILE # # It is automatically generated by grub-mkconfig using templates # from /etc/grub.d and settings from /etc/default/grub[code]......
Just installed kubuntu 10.4 on a netbook (dual booting with WinXP) but by default grub just boots directly into kubuntu. When editing /etc/default/grub I have tried setting the timeout to 10, 100 and now its at -1 (which should be sit there forever)I then run update-grub which generates the new config reboot and the same thing happens, it immediately boots to kubuntu. I see the menu appear for a split second, but no matter how fast i try, i cannot see to hit any button fast enough to kill the timeout so i can switch to XP.
I have an RHEL 4 server now running 2.6.9-89.0.18. After installing the kernel and rebooting to make this the current kernel, the grub menu to choose the kernel failed to offer a countdown and did not choose the kernel as it should have. I had to manually select the kernel.I inspected the grub.conf file and could not find any clue as to why it didn't work. The timeout directive is there, and the syntax matches other systems we have with the same kernel and OS.Can anyone provide any insight as to what else (other than a typo on the conf file) would cause this?The only difference between the way the kernel update (and the subsequent changes to the grub conf file) took place was a manual install of the RPM on the affected system, versus pulling it down from RHN using up2date.
Yesterday I upgraded from 10.04 to 10.10 (x86_64). The upgrade itself succeeded, but now after booting I have to press enter in the grub OS list. grub.cfg looks like this:
Code:
# If you change this file, run 'update-grub' afterwards to update # /boot/grub/grub.cfg.
[code]...
Why do I have to press enter to have grub boot the default entry? How can I get grub to start the default entry automatically, without showing the menu? BTW: entries in the list are default:
Code:
Ubuntu, with Linux 2.6.35-22-generic Ubuntu, with Linux 2.6.35-22-generic (recovery mode) Memory test (memtest86+) Memory test (memtest86+, serial console 115200)
I have centos 5.3 server and the problem is the ssh timeout time set to 10 minutes of inactivity. I want to set the timeout to 1 hour, how can I set the timeout time?
The problems I was having earlier: [URL]seemed to be solved.
I was not getting any error messages after restart. I should have powered down fully, but did not think that it would make a difference. :(
The same issue is again occurring, but after shutdown ONLY and only on the first boot. After the first boot, a system restart will not cause any error messages. (I have rebooted at least ten or twenty times to make sure)
But after a system shutdown, the first boot hangs up and I get the
"Red Hat nash version 5.1.19.6 starting hdb: timeout waiting for DMA hdb: drive not ready for command"
errors five or six times before each boot. Also the system boots very slowly the first time.
I used the getinfo.sh all command and posted the info to the suggested site here: [URL]
Is it possible this could be a hardware issue? This is an old salvaged HDD. Ive changed everything I c an think of in the BIOS with no results.
I have used the hdparm -d /dev/hdb command and verified that dma is not being used on initial boot or after a shutoff but IS being used after a reboot...
here are the HDD settings /dev/hdb: multcount = 16 (on) IO_support = 0 (default 16-bit) unmaskirq = 0 (off)
One person using our DNS servers reported a very curios problem. When he tries to access [url] he gets a timeout error. I tried loading the site using chrome, firefox and ie8 and I get the same results.
I am a complete novice when it comes to Linux, but want to learn, and installed CentOS5 on an old P4 Dell I had lying around. Dell Dimension 8100 BIOS is version A02 Install seemed to go fine, but when I power up I get the following message
Red Hat nash version 5.1.19.6 starting hdb: timeout waiting for DMA hdb: drive not ready for command
this happens a few times each, then CentOS finally loads.
If Im understanding this right, DMA is direct memory access. Is it possible the hard drive, motherboard etc does not support this?
I'm trying to install a dual booting machine with OpenSUSE v11.1 32bit and CentOS v5.2 64bit. I installed OpenSUSE first and allowed it to install and configure grub in the MBR and after that I wanted to proceed with CentOS v5.2. The installation went fine with two notable exceptions:- when I had to configure grub installation parameters, CentOS offered me only 2 solutions: either install it on the MBR of the first hard disk or not installing it at all. Other distributions are more flexible allowing you to install it in the boot sector of the root partition for example. Because I didn't want to ruin the existent grub onfiguration, I reluctantly accepted not to install it for CentOS assuming that I could manually configure the entry later in grub's menu.lst file.
- when I was presented with the options for software components installation, I've clicked on virtualization category/function because I intend to use the machine as a VMware host. There was no guidance on screen at that point and I blindly assumed that by choosing the virtualization function I would get necessary tools and drivers that will help me further on. It seems that this was a wrong move as you can see it below.
After completing the installation, I tried to search for a template or guiding on how the menu entry in menu.lst should look like but the grub directory was empty, not surprisingly because I've told CentOS earlier not to install it. Using the files in the /boot directory from the CentOS installation I tried to improvise a menu entry but it's not working. The boot stops with famous Error 13: Invalid or unsupported executable format. Using the file command to check what kind of files I'm trying to load as kernels I'm getting :
marte:~ # file /mnt/vmlinuz-2.6.18-92.el5xen /mnt/vmlinuz-2.6.18-92.el5xen: gzip compressed data, from Unix, last modified: Tue Jun 10 19:20:51 2008, max compression
I just upgraded by box from Fedora Core 9 to Centos 5.2. Finally!I have a 500GB SATA drive, it's partitioned into three equal size slices, hda1 through 3. The old Fedora was on hda1, I installed the new Centos on hda3. I instructed the installer to write the MBR to /dev/hda, not /dev/hda3. Fdisk says I have sector 0 unused.First, the system wouldn't boot - it just looped through the BIOS, rebooting over and over again. The BIOS sees the disk, but it never loaded Grub. I tried re-running grub-install /dev/hda, and not I get a Grub Error 17 after stage 1.5 loads.
I can boot from rescue OK, the grub.conf man menu.lst look fine, it's pointing to "root (hd0,2)". It's either the BIOS that can't find the MBR, or the MBR can't find Grub.When I looked at the disk with fdisk after the install, hda1 was still marked bootable, hda3 was not, so I swapped bootable flags but that has not made a difference. I also appended the new grub to the old grub thinking I could get the MBR (if it is there) to load the old grub and thence find the new Centos, but that didn't work either.Mobo is an old Shuttle AK35.Any ideas? Did I mess up by not telling the system to put the MBR on /dev/hda3? Is there a way to fix this without reinstalling?
Ive installed centos freebsd and mandriva but i want to manage grub from my centos and y create successfully a boot load for freebds. But for mandriva it just doesnt work... so how can a create a boot load entry for mandriva from grub centos?
3 partitions (in order): Windows 7, CentOS and shared data partition.
I need to increase the size of the Windows 7 partition (c:windowswinsxs seems to be something not easily remedied).
GParted didn't work in moving things around (bad sector) so I wiped out its partition (# 2 out of 3) and I was able to increase the size of the Windows 7 partition (I can reinstall CentOS easily and not much work lost).
Except ... no more grub menu (unsurprising). This incantation does allow me to boot into Windows 7.
Is there any way of rebuilding the grub menu short of reinstalling CentOS (5.5)?
I am having a problem with 5.4 that I did not have with 4.5. The problem happens only sometimes but in specific instances. Basically a summary of the problem is that certain network transactions timeout. The specific instances are with wget, rpm, http. The problem usually, but not always, occurs with pptp stuff. (NOT running pptp but getting pptp stuff). For instance, the following command, which finishes in seconds on non-5.4 OS's: wget [URL] downloads about 20% then gets stuck. About 5 minutes later it downloads another 20% and then gets stuck, etc. The same thing with rpm: rpm -ivh [URL] waits about 3 minutes and then gives an error. I think it does the same thing as the wget but wget will keep trying, while rpm gives up. The error from rpm: Retrieving [URL] ..five minutes later:
I can wget the above as I mentioned before and install it that way. Before I do it, yum works fine. Afterwards, yum exhibits the same behavior of timing out (because it is using the pptp repository). Also visiting the pptp web site from Firefox times out on certain pages. I originally thought it was some problem with the pptp site, but I notice that log into hotmail.com. Does the same thin (fine on other operating systems). A view with Wireshark on the wget (pptp) shows the my machine receiving a reassembled TCPPDU from 216.34.181.96 (Sourceforge), sending an ack, receiving a reassembled PDU, sending an ack, receiving, sending followed by the 5 minutes or whatever of nothing. Then sourceforge sends an RST and a SYN and the process is repeated.
When I put the machine directly on an AT&T IP connection (12.147.X.Y) everything worked fine. Same with Comcast on a direct link. The times I am having problems is when our router is hooked up to a Comcast IP (70.88.X.Y) and assigns 192.168.5.X addresses to our machines. So when I was doing the above from 192.168.5.27 going through the router through Comcast is when I had the problem. So it is probably something with the router, but it is hard to figure out since CentOS 4.5 and Fedora do not exhibit this behavior, nor does 5.4 on most sites (mail.yahoo.com for instance). I did verify, at least from what I could, that ICMP type 3 and 4 are not being blocked. If they were, the same problem would happen on other op systems. And I was able to ping, albeit just locally, but we looked at the router settings and ping was not blocked.
I have Centos 5.1 and im a total newbie. I have managed to get it running with Apache and PHP but after I install mysql it fails to start with the above error. I have removed it as well using YUM and reinstalled it but it still will not start.
I'm trying to get the options for rotate timeout to work and it does not.Timeout always seems to defaults to 1 sec no mater what value I set it to, which is fine but still the option does not work.I'm setting these according to the manpage for resolv.conf, please Let me know if I'm missing somethingHere is my resolv.conf file
I was having a problem on my squid server whereby 1 website would timeout daily and return a nscd not found error: [url]....There may be other sites but this is the only one I know of. A selection of other sites still work correctly, which is the strange thing.I have found that by restarting the dns cache everything works again: /etc/init.d/nscd restart.I never know quite when this will timeout so it is not very good for people accessing that site on the server.
I have a VPS running on centos-5-x86 and mysql server went down two days ago this is my mysql server log
110602 18:28:09 mysqld started InnoDB: The log sequence number in ibdata files does not match InnoDB: the log sequence number in the ib_logfiles! 110602 18:28:14 InnoDB: Database was not shut down normally! InnoDB: Starting crash recovery.
I installed following this guide but not install a boot loader, because only use this disk (hdd) with centosAfter the installation, restart and I have the following message "missing operating system"any suggestions to solve this problem?or centos can not install without grub?
I've installed a new fresh Centos 5.5 ..and after a lot of work..something starts to work (X now works with the new ATI HD5145 using ATI drivers) but i've a serious problemThe ethernet controller JMC250 JMicron PCI EXPR. doesent work at all so my notebook is out of the world !!!Here is some infos:rpm -q centos-release
i am trying to get centos 5.4 installed and bootable on my 16gb flash drive, with persistent overlay using and ext3 formatted drive.i want to be able to boot into centos and be able to have all updates from yum, etc, saved when shutting down for my situation i cannot use vfat.
I installed CentOS. NetworkManager successfully installed and launched. I can ping any IP from terminal but I can't open any site in browser except 127.0.0.1 I can't open IP of the modem 192.168.1.1 in browser also.
first of all, ill provide you with the package name i got [URL]...i went to /usr/src/redhat/SOURCES/bwbar-1.2.2 did ./configure ; make
then i get this problem : [root@server bwbar-1.2.2]# ./bwbar ./bwbar: /usr/local/lib/libpng12.so.0: no version information available (required by ./bwbar) i have installed libpng & libpng-devel
[Code]...
after looking around a bit i thought it would be better to get the sources from kernel.org directly and try to compile that one, but then i found it to have the exact same error. would be very nice if someone could direct me to a solution for this. i have the bwbar already installed on another server which runs CENTOS 4 , i installed it there AGES ago , so i dont really remember what was my method back then.
the CENTOS 5 server dose not like me installing bwbar on it for some reason. maybe its bwbar's fault?, im no coder so i hope anyone that got a clue could check this out for me.
i have installed latest skype-2.0.0.72-centos.i586.rpm from the skype website. i have installed it at a datacentre which runs in headless mode the procedure i followed to start skype is
it seems the skype not working as i was unable to see this user's status as logged in from another skype account on a different system the architecture is: CentOS release 5.3 (Final) uname -r : kernel- .6.18-128.1.6.el5 uname -a: Linux localhost.localdomain 2.6.18-128.1.6.el5 #1 SMP Wed Apr 1 09:19:18 EDT 2009 i686 i686 i386 GNU/Linux
I installed the latest version of Centos 5.4.It came with Xen version 3.0.2 I think.I am running it on a Dell R510. It supports hardware virtualization.I was able to virtualize Windows XP and Windows 2003 server on it by selecting the install from DVD option.I was having problems trying to get a PCI DekTek card seen by the virtualized Windows domains so I tried to upgrade XEN to 3.4.2.I used the repos available from Gitmo and it went easy.
The only problem is now that when I try to create a "New virtual host" it only allows me to use HTTP, FTP option and not the iso or DVD option. They are greyed out. I was wondering if anyone has had this problem and might know a work around for the Xen 3.4.2 problem. Perhaps a better location for the kernel or something.
Agere got purchased by LSI and now LSI tech support claims there is no Linux driver for this card even though the literature clearly states the availability of a Linux driver.I have installed the firewire driver mentioned in other forum posts from ELRepo.
I installed CentOS 5.3 on my Shuttle SS-31T with SiS 190 network adapter. While booting the message "Bringing up eth 0 [ OK ]" appears. After booting it isn't possible to surf to an internet location (p.a. www.google.com). It's also impossible to ping other machines in the network. After typing ifconfig everything seems to be ok.
ipv6 is turned off IP : 192.168.0.3 Subnet : 255.255.255.0 Gateway : 192.168.0.1