Ubuntu :: Boots Into Wrong OS When Chosen From GRUB
Apr 28, 2011
My soundcard seems to have problems working with a certain game in windows xp so I decided to create a different installation of windows xp to use with onboard sound drivers instead. I had a backup of my clean current install on a dvd, so thought I would use this to speed up the procedure. I have two hard drives - the sata has my normal windows boot on and my ext4 ubuntu installation. The id drive has only files on. So I decided to shrink the partion on the ide drive using gparted and then create a new primary partition. I then installed my backup to this newly created partition.
At first it did not appear in the boot manager. Then I did a sudo update-grub and it now does, however whichever windows installation I now select from the grub, it always seems to boot into the same (old) installation, rather than the new one I installed from a backup. How I can actually get it to boot into this new installation? It might be due to windows boot ini settings or disc / partition flags or whatever, as I tried fiddling with those.
(prior to this i had 8.10 and sound) added a lot of things through command lines,etc...and accidentally stumbled on the fact that the wrong device was chosen in the sound preferences... can someone explain to me what the settings should be? i have just done a clean install of lucid lynx 32 bit i386, no dual boot, just plain clean and fresh lucid lynx. under the output tab- this is where i have a choice between: Internal Audio (analog stereo duplex) USB Audio i know the usb is my speakers now...but what is that analog thing?
under the hardware tab- the internal audio can be analog stereo duplex or analog stereo output, analog stereo input, off, or analog surround with various levels of output from 4.1 to 7.1 the usb audio has only two choices: analog stereo output or digitla stereo duplex under the input tab- internal audio analog stereo is the only device listed choice of connector: microphone 1, mic 2, line in
at the moment i dont have my headphones plugged in, dont want to complicate things. but i am hoping to get skype working and be able to leave the speakers in and when i plug in headphones they will must the speakers automatically. if it doesnt work like that i wont die...but i would like to no have to disconnect the speakers just to use headphones, which is what people i know say they have to do.
I've setup a dualboot-system. SUSE 11.2 starts automatically and works well all the time.
But when I want to use XP (yeah, sometimes I do that...), in about 40% of all cases it won't be loaded when chosen in GRUB. Just a black screen without anything else.Then I need to restart and in the 2nd trial it works!
I have no other gripes but one minor problem; After the boot, the KDE4 desktop starts with a resolution of 1152x864 instead of 1280x1024 selected at display settings. Strangely, it seems to activate the correct resolution instantly when I enter the display settings menu that shows the intended resolution (no need to apply anything). Going to the settings menu is a bit bothersome after every boot.
A failed upgrade, from disk images, of Fedora 10 to 11 resulted in no GRUB bootloader main menu appearing on bootup (no WIN, no LINUX choices from which to boot). I am booted directly into the GRUB command shell...so, no WIN, no LINUX, nothing. And my understanding of GRUB shell commands is very low.I have 2 hard disks, WIN on the first, LINUX on the second. I believe GRUB Bootloader is on the first disk.Sadly, I have no external install media.An old grub.conf hardcopy indicates that root =/dev/sdb2, root (hd1,0), kernel /vmlinuz....olderversion...(relative to /boot),initrd /initrd...olderversion... (relative to boot). and WINDOWS on (hd0,1), with chainloader +1
I need to somehow get past this grub shell, and re-install/re-instate the grub bootloader, so it can boot normally.What grub command(s) must I use? I've played around with the commands, but with no success.I worry that if I can't resolve this, the whole machine may be useless.
I am very much new to the world of Linux, and I just wanted to try out the popular Ubuntu flavor alongside my existing Windows 7 installation. Things worked well at first and I seemed to have the dual boot setup working, until I was notified that there were updates available and advised to install them. I did so, but somewhere along the way something went terribly wrong. When it asked me to restart, and I did, nothing happened. I was not offered the choice of OS, and the screen simply sat there, blank.
I have a Toshiba Satellite Pro L510 with Windows 7, Ubuntu 10.10 and a 10.04 LTS minimal install. All booting fine with 10.10 grub at boot. I installed Xubuntu 11.04 on another partition, all went great BUT ... I was in a bit of a rush and when I got back to the machine and rebooted for the first time, 11.04 had installed a grub and taken control of boot. That is fine, everything boots okay, but I really didn't want this.
10.10 is my production install (10.04 just never played nice with this machine or I'd be using that, naturally) and is stable, tweaked to perfection, and staying where it is; 10.04 and 11.04 are 'experimental' for me and likely to be replaced or tweaked into oblivion anytime. Therefore, I want 10.10 to control grub, as it was doing before, which gives me the freedom to explore the other two installs without fear of bricking the machine.
How can I now take control away from the 11.04 grub and give it back to the 10.10 install at boot?
I used the Wubi installer to install the latest version (available from the website) on my second physical HDD. I rebooted my machine and used the Windows 7 bootloader to launch Ubuntu and it launched a GUI install. I wasn't sure how long it was going to take, so I left for about a half hour and when I returned I was back to my Windows 7 logon screen. Naturally, I assumed the install was a success and I rebooted my machine. When I boot again I get the Windows bootloader and I see my options for Windows 7 (which works properly) or Ubuntu. However, if I select Ubuntu I am brought to a command-line and there is an output at the top of the screen stating "Grub bootloader." At this point do I need to type anything to launch the GUI (I'm assuming Gnome) from this? How should I proceed from this point, reinstall?
I installed 9.10 with wubi and lately I had a boot problem with the result is that it boots to a grub prompt. I tried several commands, but no success. I thought I hosed the system. [URL]. Once I copied the new wublidr file over, that did it! Give it a shot, as it works.
After installing the 10.10 Maverick Meerkat, I decided to have a new partition and install Windows 7 on it for development purposes. So this is the method I worked with:
Partitioned the hard disk with gparted Formatted the drive in NTFS Installed Windows
Booted into Ubuntu 10.10 Live CD and re-installed grub on the MBR Now after restarting the system a grub command line boots up. I was able to boot into ubuntu with the following commands:
i installed ubuntu 10.10 to my external HDD and it works. Recently, i reinstalled windows therefore, there is no more grub menu when my computer boots. I tried to reinstall grub to my external HDD but it doesn't work.
I've just successfully installed Ubuntu 11.04 on my macbook pro, but when I boot, I just get a blinking cursor. I've tried the following to try to fix it, with nothing working:Press "Shift" to boot into GRUB (result: doesn't respond)Using liveCD, edit grub settings to allow for this (result: same as before).Chroot using liveCD to install required video packages (result: updates work, but installing new or upgradingexisting packages fails because it can't properly start jobs. I assume this is because it wants to use resources that would exist if the system were truly booted from the HD but the resources don't exist in the LiveCD environment)Chroot using LiveCD and try using jockey-text to install NVidia drivers as suggested on https://help.ubuntu.com/community/MacBookPro5-3/Lucid by command line instead of by GUI.Can't connect to certain sockets (the device files don't respond because they're not in the active system, I guess).
I just installed Windows 7 and it erased my Grub bootloader. I followed this tutorial: URL...And now when my computer starts up it goes to the Grub prompt: Code: grub>I guess I did not do the right partition but I'm having a lot of trouble getting it back to how it was where my computer at least loaded the Windows 7 loader.
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.
The ability to manually boot using the Grub command-line constitutes a big security risk in Linux, IMO.Any OS can be booted in this manner from a PXE-LAN, USB, or CD/DVD drive, circumventing BIOS-imposed boot restrictions. (Once a foreign OS is booted, of course, it can be used to access any part of an unencrypted hard drive.) Placing passwords or locking menu items (in the Grub configuration files) does not prevent a user from booting manually using commands entered at the grub command-line.
As it stands now, when presented with the Grub menu (or after bringing up a hidden Grub menu with the "ESC" key), a user only needs to hit "c" to enter the Grub command-line mode to facilitate any type of bootup whatsoever. (They can then enter manually the Grub commands to boot an OS on any device.) This is extremely insecure and allows any passerby to boot the computer with a few keystrokes and a bootable USB drive. How do I configure Grub so that it will require a password in order to enter the command-line mode (and thereby restrict boot options to the menu, which can then be password protected/locked) ?
My setup: a work laptop that has a corporate Win7 image, and to which I have added a few partitions to try various linux distributions. The MBR is governed by Lilo from the Slackware 13.37 installation in /dev/sda5. The MBR boots no kernel image directly, it only chainloads the boot sectors of partitions /dev/sda1, /dev/sda5, /dev/sda6 and /dev/sda7. The latter three are formatted ext4.The Win7 boot mechanism traditionally resides in /dev/sda1, and the linux distros are required to install their boot machines into their respective partitions.
What I am trying to say is, I installed Ubuntu 11.04 into /dev/sda7, and told the grub installer the same thing: install yourself into the boot sector of /dev/sda7. Kudos btw for the Ubuntu installer, it comes across as a very professional piece of software.
got four partitions, one for media storage, one with ubuntu 9.10 32bit, one with crunchbang lite 9.04 64bit and one swap partition. The partition with ubuntu has been formated from ext4 to fat32 (with nothing on it, obviously). Whenever I boot up the pc now, I get an "unknown filesystem" error and a grub rescue> prompt. When I try to boot up a live usb image from my usb stick I either get a "linux kernel not found" message (crunchbang lite 32bit) or "initial menu has no LABEL entries!" error (gparted live usb) which changes to "Could not find kernel image: vesamenu.c32" after a couple of seconds. save my media partition or, more importantly, my crunchbang lite partition (which has one single important file on it, I'd love to recover). If this is somehow not possible, then I'd at least like to get my system usable again by succesfully booting from usb. I'm fairly new to using linux. I tried some grub-rescue commands, but not even the "help" command worked,
I recently installed Kubuntu with the windows installer wubi. Everything has gone fine until today. When i turn on the pc i normally have a prompt to go to windows or kubuntu. I choose Kubuntu and it loads it up. But now it goes to a grub prompt and i have no idea how to fix this or get into Kubuntu.
Things i did before the last reboot that may have caused this.
I edited my swappiness to help speed things up at the advice of many websites.
Example: url
I changed it from 60 to 10. I did this by adding the line "vm.swappiness=10" to the end of sysctl.conf
I noticed that there was a # or something at the beginning of every line in sysctl.conf and i did NOT add it to my line. This is my guess as to why i am having problems.
The other thing i did was some bug updates. Something was popping up down by the clock area and it was asking me to do some bug updates of some sort. I said yes.
Any idea on how i can fix this? As of now i cannot get into kubuntu at all. It just gives me a grub command prompt.
I have a dual boot set up on my Dell Inspiron 1525 laptop I have Windows Vista originally installed and i installed RHEL 5 a while ago they used to sit happily together.However After upgrading RHEL 5 from 5.3 to 5.5 yesterday and configuring grub to boot into Vista by default it refuses to do that and boots into RHEL 5 by default.
The laptop used to boot straight into vista but i thought i,d learn how grub works by configuring it, after the rhel5 upgrade. But after changing the DEFAULT value from 0 to 1 and then back from 1 to 0 still grub only boots into RLinux RHEL 5 by default regardless. Can someone help me please i need to make my laptop boot straight into Windows Vista by default and not RHEL 5 This is what my grub.conf looks like
# grub.conf generated by anaconda # # Note that you do not have to rerun grub after making changes to this file # NOTICE: You have a /boot partition. This means that
Im a newbie having the opposite issue that seems that everyone is having for what Ive seen, I have Grub on the MBR, showing the splash screen fine (the background image also), and allowing me to boot Windows 7, but I get a cursor blinking for the eternity when trying to boot Fedora 13.My hardware is:
Quote:
-ASUS M4A89GTD PRO (AMD 890 FX AM3 Chipset). -Phenom 965 BE. -4Gb RAM. -3 x 250 Gb SATA Hard disks, first one alone for OS, and the other two in fake RAID1. -1 x 80 Gb IDE hard drive containing trash. -RADEON HD 4870 1Gb Graphic Card. -RME HDSP 9632 Soundcard
I installed Fedora 13 on a separate partition and it deleted all of my openSUSE entries in grub. Or the boot menu, whichever is correct. From another thread, I found these commands and tried it:
Code:
grub root (hd0,3) setup (hd0) quit reboot
hd0,3 contained one of my openSUSE installs. Everything went well and grub accepted all of these commands except quit. So I used esc and rebooted. The reboot brought up the grub shell again. I could find no way to boot anything. Then I used the 'repair installation' option from the 11.2 dvd and installed a new boot loader for /dev/sda2 which contains 11.2.
This was successful, so I went to the YaST bootloader tool and added /dev/sda3 (Milestone 5) and /dev/sda4 (Fedora) and rebooted. But these two partitions still boot into grub instead of loading the correct kernel.
I have one install (Slack 12.2) on /dev/sda11, and GRUB (GNU GRUB 0.97) boots it without a problem. I just installed a new Slack 13.1 on /dev/sda1, and GRUB fails to boot it as follows:Quote:
grub> root(hd0,0) > Filesystem id type ext2fs, partition type 0x83 grub> kernel /boot/vmlinuz root=/dev/sda1
I have two versions of Ubuntu on my computer - 10.04 and an earlier one that i no longer use. I'd like to free up the space that the old partition is taking, but the computer boots from the grub menu.lst of that old version. How can I make the boot process use the menu.lst in the 10.04 partition?
where is the boot process situated anyway and how can you get at it?
However, I think grub may have installed to my media drive and not my main HD.
Here is the output of fdisk -l:
Code:
dev/sda1 is my media drive and I think during setup grub-install may have been automatically run on /dev/sda1. If this is the case,
1) How can I remove grub from sda1 and install it on sdb? 2) Should it be on sdb1 or sdb2? 3) Can I change the naming so my main drive is sda and my media drive is sdb?
I have 2 partitions (sda1 & sda3). Both have Ubuntu installed on them. GRUB is using the boot/grub/menu.lst on sda3. How do I get it to use the boot/grub/menu.lst on sda1?
I wanted to install Debian 8.0 on my second hdd in my UEFI machine, but when I choose UEFI boot from USB, GRUB command line appears, and I cannot boot up the setup. I used Rufus to create the bootable USB stick, using the amd64 kde CD image. I tried several images and I deleted the Linux and Efi partitions from previous installation of Ubuntu . Also I deleted GRUB from the Windows 7 Efi partition.
In the UEFI setup fast boot and secure boot are disabled, and I don't seem to have the option to boot in legacy mode, if I choose the simple USB boot option (without "UEFI" in front) I get "please insert correct boot media, and press any key or reboot". I couldn't manually boot from GRUB command line, because it is showing that all the drives are empty, and if I type "boot" I get "please load the kernel first".
I installed Lenny on a computer and set up grub to boot windows by default with a timeout of 0 Is there a way to interrupt the boot process so I can boot linux? Or can I boot from a flash drive somehow? PS: nothing to do with topic, but I just found out that the top 24 supercomputers run linux , and more besides. That is way cool. check out [URL]..