Ubuntu Servers :: Grub To Automatically Boot - Wont Automatically Select One
Feb 28, 2011
I am having trouble getting grub to automatically boot into ubuntu server. When I turn on my server the grub menu shows up and shows me the choices. They all work fine except that grub wont automatically select one. This wouldn't be too much of a problem but this is a headless server and I can't boot into ubuntu without a keyboard. I tried looking through the grub 2 documentation but nothing seemed to work when I edited the conf file.
I have used CentOS for a while and have never run into this issue. I searched all over and didn't see a similar issue anywhere, I did an install of CentOS as a server (no GUI) with only the base. Partition is /boot ext3, size of 100MB. The rest of the drive is partitioned as / with ext3. This is being done on a CompactFlash card of 32GB in size. The BIOS sees it as an IDE drive.
When the install completes and the system reboots, the grub stops at the grub> prompt. There is no menu for OS options. If I do the following commands: grub>root (hd0,0) grub>kernel /vmlinuz-2.6.18-194.el5 root=LABEL=/ grub>initrd /initrd-2.6.18-194.el5.img grub>boot
I am running a dual-boot with Ubuntu (10.10) and Windows 7. Recently I edited my /boot/grub/grub.cfg file to only show one version of Ubuntu (as opposed to several kernel versions) and Windows, simply by commenting out all other menu entries. My question is if I can edit GRUB to just boot a specific entry automatically.
I tried removing all other menu entries, but GRUB still showed the menu with only one entry. I've also considered just setting the timeout to either 0 or 1 second, as this would basically achieve the same thing.
I just want to ask if there is a way to make grub bootloader automatically boot to ubuntu every start up. And only make the bootloader appear when I press a certain key(ie. F7) so that I can boot to windows when I do not want to boot on Ubuntu.
I have read some stuff but none seemed to work such as putting default=saved and in the window (other) section putting savedefault. hmm I know I can just specify the number after default but that breaks when a new kernel is installed. so any way to always make windows the default choice (so my wife will stop moaning
I having really bad problem can't select user for Automatically Login here is a picture as proof what is my problem ! As we see i can't select user in login as image is in attachment ! if somebody knows how to bypass it trout terminal i will be glad to fix this problem my self any way thanks for attention !
I installed opensuse 11.2 today on my external hard drive and everything is running great, but I want to see if I can make a modification to the way my computer boots. I share this computer with others and they are not going to be happy to have to wait for the boot menu to start when they turn on the computer in order to choose which OS to run (Especially since if they do not make a choice it auto runs opensuse after a few seconds).
What I would like is if opensuse can be "out of sight, out of mind" and only load when I put in the live cd and then choose to boot from my external...... is it possible to do this?I am not a computer wizard and do not work in the industry.
what to do for lock automatically slackware 13 if not used for n minutes ?What can i do to start automatically the ktorrent (a bittorrent program for linux) on system starts on slackware 13 ?
I would like to have "only one" operating system to be installed, and that's "Ubuntu". So as I have only one operating system installed, I "don't need" the GRUB boot-loader to appear at the computer start to choose an appropriate operating system.I want to achieve something similar as when I had only Windows - after the computer start, Windows started automatically - so I want the same with Ubuntu - "after the computer start, Ubuntu should boot automatically" - is this possible?P.S.:Of course, when the Linux kernel is updated, I want "that new kernel" to boot.
I can't even begin to type how angry I am. (mainly at my inability to do something for myself) I tried to cleanup Grub 2. I heard Start-up Manager was the safe option. I installed it from Synaptic opened it up, it didn't offer me any way to cleanup my boot menu so I closed and uninstalled it. What I do remember is it has a default OS option. I dual boot with Win 7 (for school and work). When I restart my computer it now goes automatically to Ubuntu. I don't even get the option of choosing.
I've tried several guides, lost and recovered grub 2, and now I'm stuck with the same problem 2 hours later. This is the one I thought had the best chance of working, but no luck[URL]..
how do I uninstall Java? Tried with Synaptic and apt-get remove, but uninstalling sun-java6 automatically adds default-jre (openjdk) and uninstalling openJdk automatically installs sun-java ... but I don't want ANY Java on my machine - am I missing something? Already thought I maybe have a package that requires SOME kind of Java, but how do I find out?
I'm sure there is a thread on this somewhere, but after looking though the first 100+ search results, I can't seem to find it.
After a kernel update today, I noticed that new kernels are not being added to my grub menu.lst (so consequently, I was running an older kernel).
Any obvious reason why this would happen (kernels being installed normally, with yum update)? I thought the whole process was supposed to be automagic.
Would it have anything to do with the fact that I just kept my F11 menu.lst, and added a F12 kernel to it when I installed F12 (to a separate partition), then eventually (today, finally) removed the f11 kernels from it?
I installed Ubuntu as a dual boot to play with a while ago, but I really don't have time to be testing it right now, so I'm wanting to set the GRUB menu to automatically pick Windows 7 instead of me having to hang around waiting for the menu to pop up and hitting the right buttons when I'm barely conscious.
Someone linked me here: [URL] and I found the menu.lst file, but when I opened it to edit the default, it was blank ... is the file elsewhere now or something? Do I not have access rights to the file? What's going on, what do I do?
I have recently installed Ubuntu 10.10 and it's working fine. The only problem I have is that grub is not showing and I automatically come across the login screen.
I'm trying to automatically remove some of the old GRUB entries that pile up after a few updates and just want to leave live 2 or 3 there along with my Win7 entry. I was looking and saw that there is a utility for Ubuntu but I couldn't find anything for Fedora.
I'm new to Ubuntu (at least on server distributions). I used debian versions for a long time and thought, to try ubuntu LTS 10.0.4, because of the long time support cycle. I had problems, to install this distribution on a x86 platform (used with ASUS P4B533-v), because of kernel panic after installation. So I used a trick to get it running. I installed Ubuntu LTS 8.04 and compiled a kernel 2.6.34 and made a distupgrade. All went o.k. and is now running as a productive system.
My question now belongs to the used pid folder /var/run. I'm using some self compiled programs and had to create a separatly folder (e.g. /var/run/stunnel). My problem is, after rebooting the system, the folder is deleted automatically! Never saw this issue on other distributions. Is there any reason why? Of course, I can write a section in my init script, searching for existing folder and if not, creating it ...
I'm looking for way to automatically backup a few machines to my server. Does anyone know a good guide to set this up? I want it to pull the files from the machines at a certain time every week.
I have two shares in total and there are also two external hard drives. The server is used by two different organisations that are not supposed to have access to the data of the other one(at least not as normal users).he script I need should run in the background of the server and when a drive is plugged in, it should check, which organization the drive belongs to, and depending on who the drive belongs to, backup the respective share.When the drive belong to neither, it should just do nothing.Unfortunately, I have no clue about scripting and so this makes writing a script like that, at least for me, impossible.So I wanted to know if somebody could name some good websites for learning to write such a script or give tips.
How can I uninstall grub? I have have dual boot between Gentoo and Ubuntu and I want to use the grub, that is on Gentoo partition, as its my main system. I would not care about it as it takes almost no space, but Ubuntu automatically restores its own bootscreen after updates. This is annoying... How to get rid of it?
i am succesfully installed TeamSpeak 3 server and now i want to startup it automatically without screen daemon and on every startup on linux ubuntu 9.10 i am using this command for start the TS3 server:./ts3server_linux_amd64 dbplugin=ts3db_mysqlin home/user/Desktop/ts3server_linux_amd64
Is it possible to configure a cron script to update the packages in /var/cache/apt-cacher/packages? When a client machine updates a package, apt-cacher checks that it's cached package is up-to-date, and downloads a new version if it is not.
I'd like apt-cacher to check it's cached packages every night and download any updated ones, on the premise that since it exists in the apt-cacher cache, someone has that package installed and is going to want to update it. Is this possible? Does apt-cacher do this anyway, and I haven't noticed?
I know that you can use wget and cron to schedule downloads on a regular basis, I just don't know how. I wanted to download videos from this website:eed/M...?subshow=false but I don't exactly know how.
Anyone know how to stop the pureftpd starting up automatically? I've tried the usual in /etc/init.d/pureftpd but it still starts and I need to log in and close it in the admin UI or in terminal.
I am on Ubuntu 10.04, running Squid 2.7.STABLE7 Squid refuses to start on my machine unless I give it the -D argument (disable initial DNS tests). I think this is because my machine is offline while I'm testing it, so no DNS server. how to set Upstart to start Squid with the -D argument?
I'm currently writing a script that will update the software packages on six ubuntu servers so I don't have to go in and update them manually constantly. Problem is, I'm not sure which command I should use to do this the most effective and safe way. Currently, I use sudo apt-get upgrade -y on my own machine, though I can see how this could be dangerous on production servers. I was in the IRC chat and I was told aptitude safe-upgrade is something I may want to look into. Is there a way I can only update security related stuff instead of everything? What do you guys suggest would be the best way going about this? Another issue I can foresee is certain packages that have an interactive prompt. While apt-get upgrade -y takes care of most of this, MySQL would fail with this as it opens up it's own prompt. Anyway I could make my script skip these types of prompts, so I can go back and update them later manually?