General :: Looking For Way To Make Grub Keep Its Default Boot Under Kernel Updates ?
Sep 29, 2010
Possible Duplicate:Make grub keep its default boot under kernel updates.I have just installed Linux with my windows 7 pre-installed and i got it working fine. Since i use windows 7 more than linux, i would like to have "Windows 7" option on the top of "Linux" option.
"When i have turn on my computer, the first thing i see is an Option asking me whether i want to use windows 7 or Linux and there's a countdown timer below it which is 10seconds countdown and if i don't select it on time, it will automatically select the first choice which at the moment i've got Linux pre-set as my first choice."
View 7 Replies
ADVERTISEMENT
Jan 30, 2010
I dual-boot my machine and I want it to default to boot into windows so that whenever I restart the machine remotely from my home it will be able to get back into Windows (instead of Ubuntu).
The problem is that every time Ubuntu upgrades the kernel, I have to reset the default boot item of grub back to windows. This is because the grub menu loader uses positions i.e. 6 for default OS to boot. And when Ubuntu installs a new kernel it changes that order.
I am looking for a way to configure grub to remember its default boot item under kernel updates.
View 2 Replies
View Related
Aug 13, 2010
I recently upgraded to Ubuntu 10.04 from earlier versions. I have a dual boot system with Windows 7. Grub was set to boot Windows by default Things were working fine. I decided to upgrade to Grub2. It seemed like a good idea at the time. Now when booting up,the name at the top of the Grub menu is 1.98, which is Grub 2. When I run grub-install -v, it comes back grub-install (GNU GRUB 0.97) which is not Grub2. Now when I boot up, Ubuntu 10.04 is the default. I have to manually choose Windows if I want to use that system. I have been unable to change the boot order following instructions from this site. Any Way changing the boot order to make Windows 7 the default. I am using a Toshiba Satellite.
View 5 Replies
View Related
Mar 31, 2010
I installed Windows XP Pro and RedHat Linux Enterprise 5 on my PC for my purpose. The PC is used by other family members too and they need only Windows OS for browsing. It is becoming problem for them to reboot after the PC enters into Linux by default. I am still learning Linux and I want to edit the /boot/grub.conf file to make Windows as default OS to boot. The following is the content of my grub.conf file (FYI):
#boot=/dev/sda
default=0
timeout=10
splashimage=(hd0,5)/grub/splash.xpm.gz
[code]....
View 4 Replies
View Related
Mar 27, 2010
I'm remote from my system and so have to wait 2-3 days before I can get access directly, but I've noticed that when the kernel updates automatically (or forced by me), the next reboot stops at the grub page awaiting confirmation of the kernel I want to boot. grub.conf doesnt seem significantly different from that of fedora (my previos distro for this machine) and even has the default lines and times spec'd, so I can't see what's holding it up. Any ideas how I can prevent this so I can have my system auto-updating the kernel AND safe to reboot remotely?
View 1 Replies
View Related
Mar 9, 2010
I'm currently running Karmic 9.10 in dual boot with Windows 2000. My computer has automatically updated and installed kernels 2.6.31-17, -19 and -20 (They show up in Synaptic as installed).
However, the newest kernel choice in my GRUB menu is 2.6.31-16-generic (followed by -15 and -14). These all start without any errors.
Question: Why haven't the newer updates shown up in GRUB for booting purposes?
Could it be a question that I didn't answer correctly some time back about accepting or not accepting an update or change in GRUB?
How can this be changed? The new kernels do not show up in Start-Up Manager either.
View 9 Replies
View Related
Oct 2, 2010
A recent kernel upgrade broke nvidia and the network card. I figured out how to get the grub boot menu, but am having trouble figuring out how to set the default kernel to boot. I believe there used to be a file called /boot/grub/menu.lst that one could edit, but it doesn't appear to exist now.
View 2 Replies
View Related
Aug 31, 2010
I have Windows 7 and Ubuntu 10.04 dual-booted on my machine. grub was aautomaticlu installed as the primary loader. Soon i want to nuke my ubuntu partition but i know that will delete grub. Can i remove grub or at least make Windows boot loader default.
View 2 Replies
View Related
Oct 30, 2010
I currently have both Ubuntu 9.10 and Vista installed, and would like the Grub to boot to Windows as default selection. Unfortunately, I did not remember which OS I installed in the first place, and even could not find the menu.lst either.
View 2 Replies
View Related
Mar 25, 2010
I have Ubuntu 9.10 64 Bit, and I also have Windows 7, and I want to make Win7 boot first and without having to manually choose it every time I restart, for my non-linux using family. I have tried the guides where it says you have to edit the "menu.lfg(or whatever it is)" and I don't have that file. I have looked, it's not there, the closest I found was "grub.cfg" and I can't make any sense out of it. I'm not unfamiliar with computers, I'm just relatively new to Ubuntu, and want to make the best out of it I can, I love it. I've tried going into GRUB, and and editing the Win7 Loader, but it doesn't work.
View 4 Replies
View Related
Jul 24, 2011
I would like to boot the Linux kernel alone and run busybox, not including a GUI.
How can I do that? How can I make a custom bzImage, initrd.img and how can I change the file structures in that images?
View 2 Replies
View Related
Oct 4, 2010
I'm trying to install MS Windows from my Linux box. Because I have no CD drives nor USB ports, I can't use any live media to boot the computer and install Windows from the installation disk. So I've created a FAT partition and copy DOS files on that, so that I can boot this partition and install Windows from there. But the problem is I still haven't able to get it to boot.
Here's the output of fdisk -l code...
I created the partition by using cfdisk to format it as type 0B: WIN95 FAT32, and made dos filesystem on it using:
Code:
mkfs.msdos /dev/hda1
But when I reboot and select the DOS entry in GRUB, it tells me that:
"This is not a bootable disk. Please insert a bootable floppy and press any key to try again."
what I'm missing or doing wrong here? Do I need to change something on the MBR of hda1 etc...
View 4 Replies
View Related
Feb 17, 2011
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.
View 3 Replies
View Related
Jul 26, 2010
I've been having a problem on my AMD based machine, 4cpu, gigabyte ga-ma78gm-s2h Mobo, 8GB mem, two 2 terabyte Sata HDs.One thing I've found is that any kernel after 2.6.32-17 has a randomness at boot time whether the system will completely boot or not.
For instance just today I downloaded and installed 2.6.32-24
It fails to boot (I've tried cold boot, warm boot).Running its repair also fails to completely boot.My experience is that if I keep trying it "may" eventually boot but I believe there was some change after 2.6.32-17-generic that's causing the problem.Because as with 2.6.32.23... which also fails to complete bootup many times... eventually my guess is that 2.6.32.24 will also boot "sometimes".But why does 2.6.32.17 always boot for me? Something changed and its not my setup.
View 1 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
Aug 29, 2010
I unfortunately remove "some" softwares on my OpenSuse10 (preinstalled on my laptop, without cd driver) cause I was running out of space on hd. Icons starts to dissappear ...
Then I have only the Grub 0.97 shell that appears and to use to solve the problem... tried to boot kernel, but said that it "must be loaded before boot".
In the Grub 0.97 black window I have two lines :
I press "b", to boot with the First line : kernel (hd0,2)/boot/vmlinuz ... but the window turns blue and said "all data would be lost", so it shut down the system automatically to avoid this.
I press "e" to edit the command in the boot sequence for the same line, but don't really know what to tell Grub to do.
I must get my important datas back on my hd before "Restore to factory settings" (the last option). Any solution ?
Maybe it is a step on a solution ?
From [url] I downloaded linux kernel 2.6.27.27 on a usb memory stick. Could it be useful ? how to ?
View 9 Replies
View Related
Jan 31, 2010
In my Red Hat 7.2 , the /boot/grub/grub.conf has the following data :
But when I reboot my Red Hat server , I don't see the Grub menu to say edit the boot kernel .
View 15 Replies
View Related
Jul 14, 2011
How to make Windows Boot Manager automatically open GNU GRUB and then with GNU GRUB automatically boot Linux Ubuntu 11.04.
View 1 Replies
View Related
Jun 7, 2010
I recently installed Squeeze. I noticed there are 2 main kernels installed. One first one at the top is 2.6.32-trunk-686 and the other is 2.6.32-3-686. At the time, I did not know or think much about it. Now when I try to get linux headers to compile drivers, I am not finding them. I also read some problems with trunk kernels.
How can I assign the 2.6.32-3-686 kernel to be the default in grub? Is it OK to use it as the main kernel?
Do I need to upgrade the trunk kernel to rid of trunk or just don't use it?
View 9 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
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
Mar 4, 2011
I am dual booting Windows and Ubuntu 10.10. I installed StartUp-Manager so that I could easily make Windows my default OS upon Startup.I did a sudo apt-get update / sudo apt-get upgrade and now I have a new kernel. This moved Windows down in the list, so now MemTest86 is the default OS upon Startup.I want to make Windows the default always, not just until the next Kernel upgrade comes through.
View 3 Replies
View Related
Mar 11, 2015
Background: I am dual booting Debian and Window 7. Wanted to make windows-loader default and hide grub if possible. Google search took me here: [URL].... (third answer, about editing grub)
Make Windows (ANY variant) the default Grub2 menu option.
Description: This sets Windows as the default boot option, and (with NO user action) the PC will auto-launch Windows on startup.
STEPS:
A. sudo update-grub #List your current menu items
B. Edit setup file
sudo gedit /etc/default/grub
GRUB_DEFAULT=âWindows 7 (loader) on /dev/sda1â³ #Set the boot default to your Windows boot partition
[WARNING: Just setting 'GRUB_DEFAULT=n', will NOT work after kernel updates, etc.
Save the file and close.]
sudo update-grub
Question: I must have done something wrong, for update-grub (as root) now gives this: "/usr/sbin/grub-mkconfig: 6: /etc/default/grub: 2: not found"
What should I do now to make grub as it was in the beginning?
[By the way, it's been very difficult to get Debian related pages...]
View 7 Replies
View Related
Feb 18, 2010
I have been trying to edit grub to make windows vista the default but whne i got to the menu.lst it is blank. I use this from the official guide gksudo gedit /boot/grub/menu.lst and it still comes up blank as well as sudo gedit /boot/grub/menu.lst
View 2 Replies
View Related
Jul 6, 2010
How do I change the default OS on grub, and adding more time to make my choice?
View 3 Replies
View Related
Apr 17, 2010
I started another thread about this to get help booting into openSUSE after Fedora rewrote my bootloader and deleted all other entries. I managed to fix it but I never did find out why the following commands caused my system to boot to the grub shell instead of the grub menu.
Code:
grub
root (hd0,3)
setup (hd0)
quit
reboot
Can anyone explain to me why these commands caused my system to boot directly to a grub shell? It's as if there were no /boot/grub/menu.lst files for it to use, but after I got everything back to normal, the files were still there.
If it helps, this is how the drive was setup before and now, except Fedora was on /dev/sda4 and has since been deleted.
Code:
Device Boot Start End Blocks Id System
/dev/sda1 1 262 2104483+ 82 Linux swap / Solaris
/dev/sda2 263 13316 104856255 83 Linux
/dev/sda3 * 13317 14621 10482412+ 83 Linux
View 6 Replies
View Related
Jan 5, 2010
I tried to do my parents a favor by installing Ubuntu 9.10 alongside WinXP on their PC -- same configuration I have on my desktop at home. The install went fine, but since I made a poor buying decision on purchasing a MSI motherboard in the past, Ubuntu immediately crashes after boot (other MSI board users having the same issue, no help from MSI).
The computer tries to boot Ubuntu by default unless something else is selected from the boot menu. How do I change the boot preference from default (choice 0) to WinXP? I tried manually changing this (editing the grub.cfg file), but the file said not to edit, that it's generated by something else...How do I have WinXP load by default instead of the broken Ubuntu?
View 8 Replies
View Related
Jun 7, 2010
I have installed ubuntu 10.04 64 bit in April and it has worked flawlessly. However, today I ws prompted to install Kernel updates. Now when I try to boot it continually cycles between a black screen and the NVIDIA logo.
Yes I have been using the nvidia drivers previously but without incident till now.
I have tried crtl-alt-f1 but this does not stop the cycling.
View 1 Replies
View Related
Sep 28, 2010
My laptop's ubuntu partition has been a bit sluggish to boot lately, and I'd like to swap to a verbose boot so I can see if there are any processes I can eliminate to improve speed. E.g. my slackware install was waiting for an 8 second timeout initially, but I was able to stop it.
View 7 Replies
View Related
May 20, 2011
I have a desktop pc with three hard drives:
160 gb with windows XP
500 gb used for data and archives
40 gb with Ubuntu 10.04 and Zorun 4
Grub currently defaults to boot Ubuntu I want to make changes to boot XP as default. What file(s) do I need to edit to make necessary changes? In the older distros I knew how to edit "menu.1st" to get this done. The newer distros must have a different structure because I can not find a menu.1st file.
View 5 Replies
View Related