I have accidentally changed the grub timeout to 0 seconds. My default boot is also set to windows xp so there is currently no possible way to boot into ubuntu. how to change the grub timeout without needing to startup into Ubuntu.
Im trying to run a headless box but grub has no time out so it sits until I plug in a keyboard and hit enter. I have tried to put a timer on using 'startup-manager' but this seems to be ignored.
When it boots I get GNU GRUB version 1.99~rc1-13ubuntu13 and a list of operating systems. Unless I hit enter it will wait forever.
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]......
I just installed kubuntu 910 via cd iso. now i want to change the default grub timeout. It says i dont have permission to edit etc / default /grub so what do i do? i dont know how to login as root user.
I am trying to edit grub so that it doesn't timeout the menu. I've found a lot of solutions to this where I edit menu.lst. However, this file is blank when I open it. I just upgraded to Lucid and kept a lot of my old grub settings (I had customized it somewhat). Also, I am not sure if I have grub or grub2. How can I figure this out?
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.
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 been unable to locate an answer to the below.Just installed 10.10 server and noticed that during boot each time the Grub Menu pops up. I have to manually press a key on my keyboard each time to get through this menu. This is a big problem as this is going to be administered remotely. here is my /boot/grub/grub.cfg file
Code: # DO NOT EDIT THIS FILE # # It is automatically generated by grub-mkconfig using templates[code].......
Now, It seems to me that with the settings above that menu should time out after a few seconds but it is not. I must press enter each time.how I can get this damn thing to timeout after a few seconds?
I have an Alienware M11x r2 laptop running Windows 7-63 and Ubuntu 10.10 Unity installed.It was all fine and dandy until I changed my grub timeout to 1 sec (or perhaps 0, its been so long i can't remember!) to reduce the waiting time until an OS boots.My grub was set to boot to Windows 7 as default.Now when I boot up I cannot halt the boot process not matter what key I press (e.g SHIFT).I am doomed to forever boot into Windows. Its been months and I had written off my Ubuntu OS but I am tempted to try and fix this one more time.Since I cannot access the Ubuntu installation AT ALL I cant use the usual ways to increase the timeout on the grub menu (yes I have searched the forums far and wide).
Is there ANY way of changing the grub menu parameters without actually booting into Ubuntu Unity? Can I modify the timeout settings using a live cd or usb boot?
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.
I set the default os to boot as windows 7 with a timeout of 1 second. I thought that this would be enough time to switch os ubuntu when i need to, but I am unable to. How can i reset the timeout to 3 seconds? I also cannot view the ubuntu partition within windows because of ubuntu's file system.
I am running Lubuntu 10 from a USB drive. Despite this, I believe this question pertains to any other variant as well. Running from the USB drive with a persistent directory, there is no boot options file that I can locate. As an example, for an installed version, the file /boot/grub/menu.lst can be changed to make boot options permanent.
Is there any way I can do something similar when booting from a USB live version? Specifically, I want to add "vga=799" to the options without typing it in at every launch.
Or is the only option for something like this actually installing to a USB drive instead of just running the live version?
recently I have been trying to create the perfect custom ubuntu .iso to write to a usb drive so i could carry around a live cd version of my current desktop operating system. I have 2 problems...
1: using various tools like Remastersys, Ubuntu Customization Kit, and Ubuntu's own LiveCDCustomization tutorial I have managed to install most of the packages that I want.... Truecrypt is not in the repos and i would very much like it on my custom live cd. while in chroot i tried using wget to download it then extract and install it, but i got a 404 error so it did not seem to be connecting to the place to download it. is there a workaround to getting truecrypt to install into my extracted squashfs? would it be possible to download the packages to my desktop then copy them over to my chroot squashfs to be installed?
2: I have not been able to customize the default appearance of the desktop environment like the background, icons,colors, window border, panels, applets, and so on.... Ubuntu's tutorial states that I need to edit .xmls in /etc/gconf but i do not understand how to edit those to get what I want. LiveCD creates a new user with default settings everytime it is started so its a matter of editing the files that control the settings of a new user.
i have this problem and i may need professional help; it appears smb4k made my /etc/sudoers file writable (according to log), hence, any sudo command will coerce this error:
Code: ubuntu@ubuntu~$ sudo any sudo: /etc/sudoers is mode 0640, should be 0440 sudo: no valid sudoers sources found, quitting i wanted to boot into recovery console and chmod 0440 /etc/sudoers, but it's a live system - it doesn't have a recovery mode. [URL].. How would i mount the live system from another liveCD?
I am new to linux, but need to do the following: 1.) Use a basic ubuntu 9.04 distro 2.) On boot run an existing .sh script
I would like to make a thumbdrive with a live cd version that will auto run to desktop and execute the .sh script. I am looking for pointers on accomplishing this. I have found ways to get the live cd to run on USB, but it still involves clicking the "run without changing your system link" and I cannot figure out how to run the script on start up.
I own an HP Envy 14 [url]. Letting Ubuntu (or any Linux) attempt to boot into a Live CD without changing any parameters results in a black screen, but with everything else working (for Ubuntu, that means the login sound is played). I've discovered that putting nomodeset in the kernel line will allow me to get so far as a command line, but I can't startx from here (I get "Screen(s) found, but none have a usable configuration."). I think my issues have something to do with the dual/switchable graphics in my laptop.
I accidentally set "timeout" to 0 in /boot/grub/menu.lst . have dual booting Debian and WinXP.The default is WinXP.I am not able to reconfigure it. what should I do?
I'm using lucid x86_64. I tried changing the grub menu resolution and it works fine on 1024x786 and 1280x1024 but since my monitor is a widescreen lcd i tried the native resolution which is 1440x900 which gives a message "Frequency out of range" during boot after bios post. but then after 10 secs ubuntu boots w/o any problems...also I get the same problem with 1280x800 so i'm guessing it doesn't support wide screen resolutions...is there a workaround?
How can I install grub after changing partitions with a partition live cd (gparted), since the old grub is no longer working. Usual reinstall won't work here, it'll just reinstall with all the wrong pointers to partitions.
I've seen previous threads about this, but they're rather old and I can't seem to apply their solution to the latest (10.04) stable release of Ubuntu.
What's the "best" way of changing the default option in the bootloader? I'd rather set it to "Windows 7" for the time being as it's what I use at work.
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.
Is there a way to do an install from the iso image to a new disk (USB or whatever), without changing the grub settings on the systems existing hard drive? Every time I try to do a full install to a USB stick, it hoses grub on my hard disk, even though I specify the partitioning during the install, and leave /dev/sda untouched. This has happened now with both Karmic and Lucid.
I am currently doing a tri-boot (using refit) with Linux, Windows, and OS X. I was wondering if it was possible to change up the boot loader for Linux. I basically wanted grub to not pop-up and just boot the default version of Ubuntu. Also the boot loader comes up with the options to boot Windows and OS X and I was wondering if it would be possible to remove those from the list as well?
I just want to confirm something before I mess with the bootloader. It kind of scares me to rewrite my MBR. It appears that the grub version that comes with Ubuntu 10.10 drives its menu generation from /etc/grub.d/* when you execute update-grub. If I want to put windows first in the list, could I just rename "30_os-prober" to something like "09_os-prober" and run update-grub? My reason for this is every time Ubuntu updates the kernel, it adds 2 new entries to grub's boot menu. It's easy enough to remove these via the Synaptic Package Manager, but that means for at least 1 boot cycle, my default OS gets messed up (Windows). I have to leave it as the default for others that use the computer, even though I prefer Ubuntu.
I'm working my way through my Linux self-education and I'm hitting a slight road block. After consulting forum posts here and elsewhere, I have tried to alter my grub boot order by editing my menu.lst file found in /boot/grub. I don't seem to be having any luck. Changing the default [value] doesn't seem to work, nor does the savedefault. Below is a copy of my file.
Code: # menu.lst - See: grub(8), info grub, update-grub(8) # grub-install(8), grub-floppy(8), # grub-md5-crypt, /usr/share/doc/grub # and /usr/share/doc/grub-doc/.
default 4 # Set the default entry to the entry number NUM. Numbering starts from 0, and # the entry number 0 is the default if the command is not used. # You can specify 'saved' instead of a number. In this case, the default entry # is the entry saved with the command 'savedefault'. # WARNING: If you are using dmraid do not use 'savedefault' or your # array will desync and will not let you boot your system. default0
## timeout sec # Set a timeout, in SEC seconds, before automatically booting the default entry # (normally the first entry defined). timeout10 ## hiddenmenu # Hides the menu by default (press ESC to see the menu) #hiddenmenu
# Pretty colours #color cyan/blue white/blue ## password ['--md5'] passwd # If used in the first section of a menu file, disable all interactive editing # control (menu entry editor and command-line) and entries protected by the # command 'lock' # e.g. password topsecret # password --md5 $1$gLhU0/$aW78kHK1QfV3P2b2znUoe/ # password topsecret # examples
# titleWindows 95/98/NT/2000 # root(hd0,0) # makeactive # chainloader+1 # titleLinux # root(hd0,1) # kernel/vmlinuz root=/dev/hda2 ro # Put static boot stanzas before and/or after AUTOMAGIC KERNEL LIST ### BEGIN AUTOMAGIC KERNELS LIST ## lines between the AUTOMAGIC KERNELS LIST markers will be modified ## by the debian update-grub script except for the default options below ## DO NOT UNCOMMENT THEM, Just edit them to your needs
## ## Start Default Options ## ## default kernel options ## default kernel options for automagic boot options ## If you want special options for specific kernels use kopt_x_y_z ## where x.y.z is kernel version. Minor versions can be omitted. ## e.g. kopt=root=/dev/hda1 ro ## kopt_2_6_8=root=/dev/hdc1 ro ## kopt_2_6_8_2_686=root=/dev/hdc2 ro # kopt=root=UUID=18250e14-e47e-4bf9-a927-6456120575f8 ro ## default grub root device ## e.g. groot=(hd0,0) # groot=18250e14-e47e-4bf9-a927-6456120575f8
## should update-grub create alternative automagic boot options ## e.g. alternative=true ## alternative=false # alternative=true ## should update-grub lock alternative automagic boot options ## e.g. lockalternative=true ## lockalternative=false # lockalternative=false
## additional options to use with the default boot option, but not with the ## alternatives ## e.g. defoptions=vga=0x317 resume=/dev/hda5 # defoptions=vga=0x317 ## should update-grub lock old automagic boot options ## e.g. lockold=false ## lockold=true # lockold=false ## Xen hypervisor options to use with the default Xen boot option # xenhopt=
## Xen Linux kernel options to use with the default Xen boot option # xenkopt=console=tty0 ## altoption boot targets option ## multiple altoptions lines are allowed ## e.g. altoptions=(extra menu suffix) extra boot options ## altoptions=(recovery) single # altoptions=(recovery mode) single
## controls how many kernels should be put into the menu.lst ## only counts the first occurence of a kernel, not the ## alternative kernel options ## e.g. howmany=all ## howmany=7 # howmany=all ## should update-grub create memtest86 boot option ## e.g. memtest86=true ## memtest86=false # memtest86=true
## should update-grub adjust the value of the default booted system ## can be true or false # updatedefaultentry=false ## should update-grub add savedefault to the default options ## can be true or false # savedefault=false ## ## End Default Options ## splashimage=18250e14-e47e-4bf9-a927-6456120575f8/boot/grub/splash.xpm.gz
titleBackTrack 4 R2, memtest86+ uuid18250e14-e47e-4bf9-a927-6456120575f8 kernel/boot/memtest86+.bin quiet ### END DEBIAN AUTOMAGIC KERNELS LIST # This is a divider, added to separate the menu items below from the Debian # ones. titleOther operating systems: root
# This entry automatically added by the Debian installer for a non-linux OS # on /dev/sda1 titleWindows Vista/Longhorn (loader) root(hd0,0) savedefault makeactive chainloader+1
I moved my NTFS partition with XP and after restarting got the grub> prompt. ls,grub-install and mount are not recognized. find /boot/grub/stage1 (hd0,2,a)
how can I recover? my *nix is osol and I have grub 0.97 (legacy)
I have both a osol and ubuntu cds, but it seems I should be able to load from the grub prompt.
I do need to change or edit this white Ubuntu logo on the black background that comes right after GRUB and before my xsplash is played. How do I do that? Where is that picture saved in the system?
I have edited my xsplash the way I want it by changing the pictures in /usr/share/image/xsplash but cant find a way to edit this other bootup screen.
After much searching and trying of more complicated methods for changing the GRUB-PC background image, i found method that seems to work. The simplest one! I installed grub2-splashimages, which created a new folder in /usr/share/images, called grub. From there it appears to be as simple as adding the image of your choice, then adding "GRUB_BACKGROUND=/usr/share/images/grub/your_image" to "/etc/default/grub" file, the running "update-grub", of course.
Only problem is it doesnt work for the image i really want. So my question: What qualities should an image have if it is to be successfully used as a GRUB-PC (GRUB 2?) background? I have read that you do not need to resize the image anymore, indeed i tried resizing it to match the size a default image form the "/usr/share/images/grub" folder , and saving it with the extension .tga in Gimp and it did not work. The image i want to use is quite large, it is also black and white/grey-scale and in the .png format.