Ubuntu :: Can't Find /etc/default/grub?
May 30, 2010
I'm trying to fix my booting problems on 10.04 by following this guide. Except the grub file is not in /etc/default. Grub is definitely installed (0.97 legacy) and the computer boots ok-ish so it must be somewhere.
View 2 Replies
ADVERTISEMENT
May 29, 2010
I have already had Vista installed on another drive and from what i've read on the webs you get to dualboot if you install ubuntu after vista. when i did install it (i installed on a blank hdd with no partitions, choosing the "erase entire disk" option since for some reason default option was attempting to eat a part of my windows 1 gb drive instead of using disk i specially made for it) and the grub 2 loaded for the first time, there was NO option to run vista. only 2 linux (normal and recovery) and 2 memtests. I've ran linux and went to google this. I found that i should add something to some config files in /etc/grub.d/From reading the readme file i understood i could add my own files that are named like NUMBER_SOMENAME and insert code into them. Because it said:Quote: For example, you can add an entry to boot another OS as01_otheros, 11_otheros, etc, depending on the position you want it to occupy inthe menu; and then adjust the default setting via /etc/default/grub. But then i found a file 40_custom that said:
Code:
#!/bin/sh
exec tail -n +3 $0
[code]....
View 9 Replies
View Related
Apr 13, 2011
I'm currently setting up a dell server with hardware raid 1 on sas 6r. i got 4 sas installed on the server and configured to raid 1 as stated below,
array 1:
slot 0 & 1
array 2:
slot 2 & 3
during the installation, the installer detect the array 2 as sda and array 1 as sdb.. so i proceed with installation on array 2. after completed the installation, the first reboot lead me to a 'grub-rescue" prompt. by following the guide at url Mode, i've noticed that the boot folder has changed to (hd1,1), which i believe it has changed to sdb1. default root device shows that prefix=(hd0,1)/grub.
View 3 Replies
View Related
Nov 12, 2010
I've been trying change the default OS in GRUB. I changed the value for GRUB_DEFAULT in etc/default/grub. However, when I run update-grub, I get the following error:
/etc/default/grub: 19: e: not found
View 7 Replies
View Related
Nov 1, 2010
I got ubuntu 10.04 lucid lynx along with windows (dual boot) and using Grub. On my computer, I have my C:/ (programs) and D:/ (data). I've never used my D:/ before that day that I've lost my windows partition on my grub menu. I usually use my D:/ with windows. The first time I used my D:/ to store data with linux, I lost my windows option in my grub menu. I'm not sure what I did wrong but I do want to restore my windows option in my grub menu.
After "fdisk -l",
I checked in /boot/grub and there is no menu.lst to modify. how I can get back my windows option in my grub menu ?
View 24 Replies
View Related
Jan 31, 2010
I've trawled the internet but can't seem to find the exact same issue, so I've made a new thread. So, I installed Ubuntu onto a 160gb drive. I have other drives in the system, but I disconnected them so that the system drive would be sda. Ubuntu installed perfectly with no issues whatsoever. I connected the other drives in the system, and again it booted up perfectly (although I can't remember whether the 160gb drive remained as sda or became sdd). Then I attached some extra drives temporarily to do some data shuffling.
This moved my system drive to become sdf. My computer booted fine multiple times like this, but when I was finished with the drives I rebooted and suddenly everything broke. For some reason my ubuntu installation showed up in the GRUB twice, and neither of them booted. So, I popped in the Live CD (which I'm using to type this post), and decided to update the grub. I chrooted into my system drive and ran update-grub, but it simply returned something like this:
[Code]....
View 7 Replies
View Related
Dec 16, 2010
I updated yesterday and now when I start my laptop it goes in to grub rescue mode. I have booted from a 'live cd' and thought I could repair grub from there. In gparted however the partition with ubuntu (sda1) is seen as unknown file system, in terminal when I list the partition table it shows up as FAT16 type. When I try a grub-install it gives this error message:
[Code]....
View 9 Replies
View Related
Jun 5, 2009
I've got myself the curious situation where, when I boot the system, I can get grub to start, but it always drops to the prompt.
I can run:configfile /grub/menu.lst
and this brings up the menu with no problems, and from there I can boot the system to either linux or windows. What I don't understand is why it wont go to the menu in the first place?As far as I can tell, grub/Kubuntu got confused when installing, as each of the hd#,# settings in the menu.lst have needed tweaking to let the system boot. (e.g. windows is actually hd0, but the original install had it at hd2. Likewise linux is on hd1, but the menu.lst had it at hd0). I've happily tweaked these to make the system boot, but would appreciate any help in convincing grub to actually load the menu without me having to use the prompt.
View 7 Replies
View Related
Aug 27, 2010
When I installed Ubuntu 10.04 a few days ago, what appeared was a page with software categories down the left side and a menu bar along the top. I've since learned that the default desktop has two menu panel, one at the top and one at the bottom and that the top panel contains three menus - Applications, Places, and System.Could someone please tell me how to find this default desktop, it's got to be there somewhere!?
View 9 Replies
View Related
May 5, 2011
I notice that 11.04 Natty has changed the grub boot menu such that older kernels are stored in a submenu under an older kernels menu item. This seems to cause either grub or startupmanager to miscalculate which is the default. For example I have just two linux kernels plus a windows OS. Setting windows to be the default via the startupmanager sets
Code:
GRUB_DEFAULT=6
in /etc/default/grub.
This ends up /boot/grub/grub.cfg as a line that reads:
Code:
set default="6"
When I reboot I find the GRUB is defaulting to the first menu item. If I manually edit the line in /etc/default/grub to read
Code:
GRUB_DEFAULT=5
and then
Code:
sudo grub-update
Then grub boots with the last entry (windows) as the default.So it looks like grub doesn't count items in sub menus whereas startupmanager does so sets a wrong value. Not sure if it is grub or startup manager that is in the wrong here.
View 4 Replies
View Related
Jul 19, 2010
How do I change the default operating system in Grub? I'm running Ubuntu and Windows 7.
View 3 Replies
View Related
Jun 20, 2010
I am sure there is some website/archive/repository of the official and default wallpapers of the common distros and all their past releases....especially Ubuntu, Mint, Fedora etc
Where can I find this all in one place?
View 4 Replies
View Related
Jan 21, 2010
I want to make XP default and get that count down thing so while the countdown I can switch to ubuntu.
View 1 Replies
View Related
Feb 7, 2010
I recently installed Karmic, and want to change the default Grub entry to Windows XP. Having done some research and tried things out, I am a bit confused. I have edited etc/default/grub so that it has GRUB_DEFAULT=6 (to correspond to my XP installation) and GRUB_TIMEOUT="3", but after running sudo grub-mkconfig the grub.cfg file still says set default="0".
View 9 Replies
View Related
Feb 22, 2010
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.
View 7 Replies
View Related
May 17, 2010
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.
View 2 Replies
View Related
Jun 28, 2010
I'm trying to configure GRUB to boot XP preferentially- my wife insists. Having looked up the GRUB manual I see that I can set this using the default command.
The problem is, when I go to my grub command line default is not a recognized command. If I hit TAB for a list of commands, it isn't there.
I think I'm using some 0.9x version of GRUB, since the partitions etc seem to be numbered starting at 0, not 1.
While I'm at it, I was just going to play around and figure this out, but: the menu interface lists five versions of Ubuntu (all those weird kernel variations) then XP. So would XP be default 1 or default 5?
View 3 Replies
View Related
Jul 21, 2010
I have Lucid on my laptop. Unfortunately, with the various 2.6.32 kernels neither hibernate nor suspend work, so I've installed and use the last 2.6.31 kernel that came with Karmic.Now, I'd like to set it as default, so that I don't need to actively choose it when I boot. The problem is that I can't find a way to set Grub (version 2.0, or 1.96rc, can't remember) to pick the 2.6.31 kernel and if I try to uninstall the 2.6.32-23 kernel synaptic says that linux-generic and linux-headers will also be uninstalled (not just the parts specific to 2.6.32-23).
View 2 Replies
View Related
Oct 22, 2010
I've been using 10.04 for a few months without any problems, but today, I tried to boot into Ubuntu and just got a black screen. I tried the tutorial on this site, and it worked.
I have to do this after every reboot unless I edit the /etc/default/grub file (the second part of the tutorial). I'm not sure how to go about doing this since the article is very vague.
View 3 Replies
View Related
Jan 27, 2011
I Just updated my 10.04 LTS system, which dual boots Windows XP. Prior to the update the default was to boot to XP, now it is to Memtest.
I tried to edit /etc/default/ grub and make the default be 14 instead of 12, which would be XP, but Ubuntu, (using gedit), refused to accept my change.
I don't have a problem scrolling around to pick XP, or the latest Linux kernel to boot, but my wife sure does. How can I make Ubuntu/Grub default to to XP ?
View 2 Replies
View Related
Apr 30, 2011
I upgraded my wife's dual boot netbook (Ubuntu/Win7) from 10.10 to 11.4. Windows was set as the default OS in Grub v 1.98 via startupmanager in 10.10 and that's the way I want it to be again. After the 11.4 upgrade, Ubuntu 11.4 is set to defualt and even though I changed the default in startupmanager it always defaults to Ubuntu on boot. It's interesting to note that when I go back in to startupmanager to see what's up after reboot, it still has Win 7 selected.
Also, the choices in startupmanager look a little different from what shows up in grub. Grub shows just the latest version of ubuntu (and recovery mode), the memtest stuff, windows, and "previous versions of ubuntu" while startupmanger just lists all three ubuntu version w/recovery options, memtest stuff, and Win 7. If I do sudo update-grub in terminal, it lists the available options just like startupmanager does.
Bottom line, Win 7 will boot if manually selected, but I can't set it to default, and this is my wife's netbook so she wants it put back I just remembered and I don't know if it would matter or not. I did the original Ubuntu install first, then win 7. I used a windows program called easyBCD to get back the ability to choose which OS on startup. When I upgraded 10.10 to 11.4, Grub is back in charge. If I manually select Win7 to boot in grub, that easyBCD selection menu will pop up for a sec,offereing windows or ubuntu.Could this be confusing startupmanager and not letting my changes take effect?
View 1 Replies
View Related
Mar 28, 2010
I have downloaded Fedora 12. How do I find out what the default shell is been used? I wish to determine a user's default shell.
View 3 Replies
View Related
May 1, 2010
im trying to open my NAT on my PS3, and it's asking for my primary DNS, secondary DNS, and default router. how will i find these on ubuntu? i got my ip and subnet mask, just need the other three.
View 1 Replies
View Related
Nov 17, 2010
I tried to play a mpg file on a clean ubuntu 10.4 system which I guess laundhed totem movie player....it asked to me to download and install some packages which I accepted but unfortunately the quality of the movie isnt good (very black and red for all colors)...I want to un-install what I accepted previously and install the extended extra package found here:URl...
and hopefully that will set this as my default encoders and work better....however I dont know what I installed previously.does someone know what it was and how to un-install it?If there is another decoder anyone recommends for playing movies that would help as I am still at this point not sure the restricted-extras will fix my video.
View 2 Replies
View Related
Feb 7, 2010
I was wondering how I can make Windows XP the first and default option on my Grub 2. I use Ubuntu 9.10 through a semi-dedicated partition on my second hard drive, if that helps. I use Grub 2 just cause I have a grub.cfg file, and here it is.
Code:
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by /usr/sbin/grub-mkconfig using templates
[Code].....
View 4 Replies
View Related
Feb 11, 2010
Althought /etc/default/grub has GRUB_DEFAULT=6, after grub-update nothing changes and the default menu entry is still the first. Can someone tell me how to change the Grub default menu entry?
View 6 Replies
View Related
Feb 26, 2010
I loaded Kubuntu 9.1 and got a mess in the Grub 2 Boot Menu, which I can't correct.
I get extra choices in the Boot menu, and the first few, which are supposedly for Kubuntu Karmic Koala all put me in a shell, which ends in a black screen, then shows up a shell once I hit "enter". Then I just have a "intramfs" (?) prompt.
So I went into Grub2 to change it, and it refuses to do it. All I get is a screen full of error messages every time I try, with no change. Apparently it is looking to access drive sdb8, which is non-existent. I DO have a drive sda8, though.
So with all the wonderfulness of the indirect system to change Grub 2 how am I supposed to set it right? The old Grub worked fine, and just took simple changes to the menu.lst file.
Can't somebody write a program that lets Grub 2 be changed from within the program, rather than all this running around trying to find what file to change, and how to get the change to work?
Just to be clear, here are the errors as they show up when grub-update is flailing around:
"error: cannot open '/dev/sdb' while attempting to get disk size
error: cannot open '/dev/sdb' while attempting to get disk size
Generating grub.cfg
error: cannot open '/dev/sdb' while attempting to get disk size
[Code].....
View 9 Replies
View Related
Apr 26, 2010
I have just installed Ubuntu 9.10 on a laptop previously running 8.10
I am unable to change the default OS in Grub from Ubuntu 9.10 as I cannot find /boot/grub/menu.lst.
How do you change the default OS in this newer version of Grub.
View 9 Replies
View Related
May 25, 2010
I'm extreemly new to Ubuntu and installed 10.04 onto a partition this morning. When I boot up my PC a menu called GRUB comes up and the list of OS's has ubuntu 1st. If I dont change my selection to vista it automatically boots into ubuntu. How can I change the order or default booting OS? I have seen other people talk about it but I'm not sure if it's up to date.
View 2 Replies
View Related
Sep 9, 2010
I want to remove the default boot time from grub, I created /boot/grub/menu.lst, but I'm unsure what I can put in here to remove the countdown.
View 9 Replies
View Related