Ubuntu Installation :: Grub 2 Doesn't Use Boot Default?
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
ADVERTISEMENT
May 2, 2011
I think my Natty 64 bit install is missing a dependency for gk, even though it shows up install in Synaptic. I have also tried using Start up Manager and the changes I make there don't show up after restarting either. I just want to change the default boot to number 4, Windows. Any suggestions are welcome, but I have tried all the ones I've found on this forum so far and none have worked, including editing etc/grub/default and saving with sudo update-grub. That's when I get a "gk not found" error.
View 2 Replies
View Related
Jun 27, 2010
I just installed Ubuntu Server 10.04. When I reboot, it stops at a "grub>" prompt. I figured out that I can continue booting by entering these four commants:
set root=(hd0,1)
linux /boot/vmlinuz-2.6.32-21-generic-pae root=/dev/sda1 ro
initrd /boot/initrd.img-2.6.32-21-generic-pae
boot
I can't figure out, however, how to save these as the default so that the machine can boot without someone present to enter these commands. Running "grub-set-default" tells me "entry not specified." I don't see anywhere in /etc/default/grub that looks relevant.
How do I save my default grub settings?
View 2 Replies
View Related
Aug 9, 2010
I just got to finish installing ubuntu lastest version on my new netbook, im really exited about how powerful it can get. The thing is, I'm still keeping my old Windows 7 partition and data, and I want to access it faster, editing the grub options, to change the timer on it, and the default booting option.
View 6 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
Jan 18, 2011
I am a new Ubuntu user, and I am attempting to set Windows 7 64 bit as my default OS in the boot loader instead of Ubuntu 10.10. I have entered the command gksudo gedit /boot/grub/menu.lst into terminal, and the menu.lst file does open. However, this file appears to be completely blank, which does not seem to make sense and is preventing me from changing the boot order.
View 4 Replies
View Related
Jan 4, 2011
Ubuntu 10.10 doesn't boot at all. The liveCD only boots once every like 30 attempts, installing from liveCD froze, but the Alternate CD worked and installed ubuntu. Now when I try to boot into it using GRUB, it freezes at the beginning of the boot process.With normal boot it freezes at line: Starting AppArmor profiles Skipping profile in /etc/apparmor.d/disable: usr.bin.firefox.With recovery mode it freezes even before showing me anything
A little kinda like the liveCD, if I try like 30 times, it might manage to boot once in normal mode.That line keeps on repeating, the the xxx.xxx integer changes each time, and this goes on forever.I tried removing my floppy drive, but it didn't help.I tried to boot with fd0=noprobeThe one time it booted, when I restarted, it froze while trying to restart.
View 9 Replies
View Related
Apr 10, 2011
got myself a new pc, windows 7 installed.. i just got done installing ubuntu10.10. it said to finnish, i had to reboot.. ok, no problem.. i reboot, loading says uuid is not valid.. but, it loads 7 fine.. they are on the same drive, but different partitions. i only got a wireless usb keyboard and when it goes to the shell, it doesnt seen to recognize it.
View 9 Replies
View Related
Jan 20, 2009
I am trying to boot kubutu from FC10's grub. FC10 is in MBR, installed kubuntu without grub. Is that a problem for me now? I mean, should I need to install kubutu grub in order to boot from FC10 grub? I tried with these methods but nothing works:
title Kubuntu 8.10 Linux
chainloader +1
title Kubuntu 8.10 Linux
[code]....
View 4 Replies
View Related
Jan 1, 2010
My Wubi installation of Ubuntu (version 9.10, I think) that I recently installed was working fine at one point, but now it isn['t. I select Ubuntu instead of Windows from the Windows boot loader, but instead of getting the usual menu of different linux versions (I think 2, as I updated it at same point), and Windows, I get the GRUB command prompt instead.I've looked at th2e Wubi Guide (https://wiki.ubuntu.com/WubiGuide), and I've followed the instructions for "How can I access my Wubi install and repair my install if it won't boot?", but that reveals no problems.For the record, I'm fairly new to linux and ubuntu, but I'm good with computers generally. The main operating system on my computer is Windows Vista, but I'm currently typing this from a Live CD of Ubuntu 9.10. The virtual disk (root.disk), is currently mounted as vdisk, as indicated in the Wubi Guide.
Ideally I would like to get Ubuntu to load as it used to (with a menu). However, if there is a way to boot from the GRUB command line that would be good too. I'm not at all familiar with GRUB, and the commands I've tried (boot and linux, I think), get errors saying no kernel specified, or loaded, or something like that.
View 2 Replies
View Related
Dec 18, 2010
I have freshly installed Xubuntu on my HP compaq nx9010 laptop and grub doesn't boot system. Only minimal BASH-like line scripting is supported. How can I fix it?
View 9 Replies
View Related
Jun 7, 2010
I have an HP Pavilion m7480n PC with Windows XP installed on the C-drive. I successfully installed FC 12 onto the spare USB drive. When I rebooted the PC all I got was a blinking underscore at the extreme upper left position of a totally black screen. After a bit of experimenting I found that if I hit the F1 key during the boot process, go into the BIOS setup, do nothing within the setup, and press ESC to get out of the setup then the PC will go back into the boot cycle a second time. During the second time however a small text message appears with words to the effect "Press any key to enter GRUB..." after which the GRUB splash screen comes up with the choice for FC 12 or "Other" (referring to Win XP). At that point I can boot into either one.
View 4 Replies
View Related
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
Oct 13, 2010
I've just installed Fedora (F13) for the first time, on a new HDD, to give myself a dual-boot system. So currently I have:
So, at the appropriate stage in the install menu, there is an option for where to install GRUB, and a drop-down to choose which drive is the primary BIOS boot drive.
However, in both cases, no other drive except my new sdc is visible. So, I can install GRUB to MBR of sdc, or to first sector of boot partition - but no option to put it to my primary boot drive MBR on sda.
Likewise, in the GRUB configuration page, if I go to Add another OS, the only option it gives me is my new Fedora install. It doesn't list the Vista OS on sda at all.
The result is that I can boot to either OS by changing the boot drive priority in BIOS.
I guess my question is this:
- is this expected behaviour from the installer, meaning that I'll need to configure GRUB manually somehow? (gulp ) or
- did I do something wrong in the install process? or
- is this some weird bug manifesting itself?
View 12 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
Mar 21, 2011
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
View 19 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
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
Dec 10, 2010
I have ubuntu 10.10 running on my HP dv5 pavilion laptop So today i tried to reinstall grub on my pc .. i removed grub-pc and grub-common using synaptic then booted up with a live cd of ubuntu 10.04 i then mounted sda11 to mnt using sudo mount /dev/sda11 /mnt sda11 being my ubuntu directory containing the /boot then i installed grub to it using sudo grub-install --root-directory=/mnt /dev/sda it reported as installation finished.No error reported then i unmounted /mnt and checked for /boot/grub/grub.cfg seems like the file is missing so are the files in /etc/grub.d/ reinstall my grub back
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
Jul 2, 2011
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?
View 4 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
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
Aug 29, 2010
Due to my script error my boot/grub/menu.lst and etc/fstab files are ruined without being backed up first.
Anyone, the boot/grub/menu.lst and etc/fstab file of Ubuntu 10 LTS installed by default on HD (or whatever).
View 22 Replies
View Related
Jan 17, 2009
I am trying to install my laptop in a triple-boot configuration with Fedora 10, Windows XP and Windows 7 beta. I did already installed them in that order. This is how it is layed out on the harddisk:
Now i want to use grub to present a menu at boot so i can select an OS. Because I installed XP last it boots straight into XP. I've understood i should be able to do the following:
All goes well until the last step (grub-install). It gives an error stating that /dev/sda doesn't exist, which is correct; It doesn't. I do have the "device" listed outside of the chrooted environment.
My question is: How do I get /dev/sda available in my chrooted environment?
View 3 Replies
View Related
Mar 13, 2010
I am trying to change to boot order in grub, but I keep running into the same problem.I find instructs me to go to /boot/grub/menu however that file doesnt exist on my computer. in my /boot/grub directory file names go from memrw.mod to minicmd.com with nothing in between.I am using an up to date release of Karmic Koala.
View 2 Replies
View Related
Apr 21, 2011
The grub splash were you choose which os you want to load. Is there a way to change it and make it look like iuno.... lm5/6 or opensuse? Obviously I'd change the image. I just don't want to just change the image. How can I change it to boot windows by default instead?
View 2 Replies
View Related
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