Ubuntu Installation :: Restore Correct GRUB Boot Order After Removed XP Drive
Mar 11, 2010
I have an old Dell Dimension 4500 that, until recently, had 2 hard drives. One drive is running Xubuntu Koala and the other was running XP. I had set up Xubuntu to run LVM.
After needing XP again for a small project I tried reinstalling XP, got disk errors, took the drive out to just have Xubuntu, and now when I boot I get "Error loading operating system".
I have tried restoring GRUB from a Live CD with no help. Everyplace I look on the net talks about restoring GRUB after installing Windows on another drive. I'm trying to get GRUB working again after removing the XP drive.
View 9 Replies
ADVERTISEMENT
Jun 16, 2010
I have 6 hard drives that have 9.10 and 10.04 on them. Not as a dual boot, but some hard drives have different versions on them. When I have plugged the drives in a couple of weeks later, the grub is gone and system will not boot. I get like a grub 1.5 error and that is all the options I have. Does anyone one know why this happens? Nothing on the drives but the O/S to get rid of windows. All drives worked perfect until they were removed and installed later.
View 3 Replies
View Related
Sep 1, 2011
I'm running Ubuntu 11.04 and Windows 7 on a Dell Inspiron. On boot I get the GRUB menu listing Ubuntu (+ old versions) and Windows 7. However, if I boot Windows 7 all is fine until I reboot. On this next boot GRUB is gone and Windows boots. Ubuntu is still there, I can get into using my live-cd and 'repair' GRUB. After that, on booting GRUB is back and fine (including Windows 7). Does any one have an idea how to fix the booting/GRUB thing more constructive?
View 9 Replies
View Related
Feb 3, 2016
I've been using Debian for a few years but always on dedicated boxes and/or VMs.
Finally decided to dual boot Debian and Windows on my main Desktop PC.
Installed as I normally would using, however this time using a seperate drive (one for the existing Windows 10 install and the other for Debian), Debian install detects that windows has an EFI partition and sticks an entry in there, which is fair enough, and everything working fine. Then I spent some time configuring all my software and set it all up just the way I like it. I've rebooted Debian a few times to check it's working correctly and it is.
The issue arrives when I reboot and load into Windows 10. It boots fine.
However after a further reboot GRUB no longer loads... and the machine just boots directly into Windows 10.
After doing some further digging into my EFI partition (and reinstalling various times) it would appear that after a reboot Windows 10 deletes the entry GRUB creates in my EFI partition after EVERY reboot.
Done some googling and most people advise turning off 'fast boot' in Windows as it locks certain partitions to facilitate the machine going into hibernation, only to find that it's always been turned off on my machine (I recall due to a driver issue with my graphics card this had to be turned off when I installed Windows 10).
I've found this article on the Ubuntu forums : [URL] .... however I've tried their steps and windows is still doing a hostile takeover of my EFI partion after a reboot!
Any way to stop Windows 10 from interfering with my EFI files after a reboot? (without doing the obvious thing and kill Windows off).
View 4 Replies
View Related
Jun 18, 2011
Just installed 11.04 and do not know how to change the boot order in the new grub.
View 3 Replies
View Related
Aug 15, 2011
I have ubuntu 11.04 and windows vista installed on my pc. I have already set windows vista as my default os, but I'd like to put it at the top of the boot menu (currently it's in 4th).
View 2 Replies
View Related
Jan 31, 2010
I am upgrading a system to have encrypted disks, it's a two disk system, so I want the BIOS to look at /dev/hdb first to unlock it, then it should reboot, see that isn't a system disk and try to boot /dev/hda. Then that gets unlocked, and the system boots. After unlocking hdb I get a Grub error 17. I can't edit Grub to look at hda as on normal boot it hasn't been unlocked yet, so it can't see the file system at that point. I reformatted an old XP disk as hdb, and it worked fine, but I'd rather not install windows every time, just to reformat it as ext3. Is there a simple way of clearing the boot sector of hdb?
View 4 Replies
View Related
Nov 29, 2010
i am trying to change the boot order on the GRUB menu so that the countdown automatically starts on an older kernel. From what i can see all the solutions on the web want me to edit the /boot/grub/menu.lst file. The problem is that i don't have one. Someone also mentioned that if i don't have a menu.lst file then i should look for the grub.conf file. I don't have on of those either. The closest thing in /boot/grub is grub.cfg but that looks nothing like the descriptions i have heard of /boot/grub/menu.lst file
View 5 Replies
View Related
Jun 22, 2010
I had i a dual boot win. 7 and ubuntu 9.10,recently i had some problem in my windows os so i restored the c drive to factory settings since both operating systems where in c drive so when i tried to boot grub was showing problem.the information displayed was loading grub, the file does not exist rescue grub> so what should i do to restore grub so that i can boot again into windows 7 and ubuntu without loosing my data.
View 1 Replies
View Related
Jun 6, 2010
I am having WinXP installed, and also installed Ubuntu 10.04, after so i wanted to remove Ubuntu 10.04, so i removed partitions from XP, disk management tool. The Ubuntu installtion partition also got removed. But also my two more drives also removed with the removal of Ubuntu partition.
After that i had restored XP bool loader by reparing the Installation of XP.
Now any one can tell me how to restore my other two drives, which i manually did not removed.
View 1 Replies
View Related
Mar 11, 2011
A few days ago I installed my first Linux product, which is Debian 6.0, and I installed the GRUB booting device on my main boot record, as it was suggested that it was a harmless step to take. Unfortunately, some quirk in my system made GRUB believe that I had XP when in fact I have Vista, so the options I have now are to boot Debian or to boot XP which is not on my computer. In other words, I have to get rid of GRUB now, but I'm realizing that he's not such an easy customer to kick out. I have moved my Linux installation to another drive, but the old GRUB always stays in place, and my Vista is stuck there frozen for eternity. So after considering all kinds of possibilities, I have come to the conclusion that the easiest way to restore my original boot record would probably be to find its backup copy that I assume the installation program made, and to copy it back into the right address at the beginning of the disk. I don't have the Vista recovery CD, so I really have to do this manually. So now my questions are these: did the installation program make a copy of the boot track, and if so, where did he put it and under what name, and finally, what command can I use from within the Debian terminal, which is now my only tool left, to copy the content of thesaid file into the first 512 bytes of the hard drive? I know that would be a simple matter for any serious geek, I guess I must be a little rusty. Anybody feel up to it?
View 9 Replies
View Related
Jun 22, 2010
Edit: I have a Sony Vaio FJ170 laptop with Phoenix BIOS version R0060X6 & a broken DVD Drive. The BIOS doesn't support booting from USB (it does have 'External Drive Boot' option, but my USB stick doesn't get listed under boot devices in BIOS when connected to the laptop).
A few days ago I upgraded to Windows7, then installed Lucid through WUBI. With the help of another thread of mine (here), I changed the default boot option & timeout of Windows to zero to directly boot into Ubuntu. So far it was good. But recently I tried to get back to Windows for some reason but could not succeed as the F8 key no longer brings up the Window's Advance Boot Menu.
Is there another way to restore the dual boot menu timeout to get back to the Windows installation. Or even better, is there some way to make a fresh install of Windows & Ubuntu side-by-side without DVD drive. I am only 14 and absolutely new to Linux. The network booting methods given on the Internet were too complex for me to understand. I like Ubuntu but also need Windows for programming C++ & Photoshop CS4.
View 9 Replies
View Related
Jul 3, 2010
I used Windows to reformat my Ubuntu partition and now I can't boot anything. What's the best way to recover my netbook? I'm only able to use a 256 MB flash drive.
View 1 Replies
View Related
Sep 2, 2010
I have recently purchased a new laptop, which came with Windows 7 pre-installed. I immediately installed Ubuntu alongside it with a dual boot. At first it worked fine, but when I restarted after the first time I used Windows, I ended up with an 'Operating system not found' error. I was able to reinstall the Grub bootloader using an Ubuntu Live CD, which appeared to fix the problem, but the next time I loaded Windows 7 and rebooted, the problem reappeared I think the problem is that Windows 7, for whatever reason, is somehow removing or disabling Grub.
View 1 Replies
View Related
May 8, 2010
I have installed ubuntu 10.04 and kubuntu 10.04 on different partition (same hard drive). and window 7 on a different hard drive.
The boot menu order now is 1. kubuntu 2. memtest 3. window 7 4. ubuntu 10.04 kernel 2.6.32.22
I want to change to Code:
1. ubuntu 10.04 kernel 2.6.32.22 2. window 7 3. kubuntu 4. memtest
These are the files in my ubuntu /etc/grub.d:
Code:
/etc/grub.d$ ls
00_header* 10_linux* 30_os-prober* README
05_debian_theme* 20_memtest86+* 40_custom*
View 2 Replies
View Related
Jul 13, 2010
I want to change the default boot from Ubuntu to windows xp. What file do I need to edit to make that change? In other distros the file is grub.lst but I can not locate that file name in Ubuntu.
I can find the file /boot/grub/grub.cfg that looks like what I need but has a warning "DO NOT EDIT",
View 5 Replies
View Related
Mar 18, 2011
I am trying to change the default gnu grub boot order to first go to windows 7. I entered gksudo gedit /boot/grub/menu.lst and it opened up the file but the file was blank.It didn't show me the 5 or 6 possible choices.
View 8 Replies
View Related
Jan 15, 2011
I was trying to install Backtrack - Ubuntu dual boot with ubuntu pre-installed. I created another partition for backtrack but now grub doesn't point to the correct file in order to start Ubuntu, and so only backtrack starts. How can I correct it? I am able to mount my Ubuntu Partition and the files at /boot/ (in the ubuntu partition) mentioned at menu.lst at /boot/grub/ on the backtrack partition seem to exist... Does anybody know what should I do? (e.g. point menu.lst to the /dev/sda1/boot/IMAGES or something?)
View 5 Replies
View Related
Dec 13, 2009
I had my BIOS complaing that there were no OS. (worked since releaseday of 11.2).
partition setup:
sda1 : primary : swap
sda2 : primary : ext3 : Kubuntu
sda3 : primary : ext3 : opensuse (flagged as bootable)
sda5 : logical
sda6 : logical
opensuses GRUB is primary and Kubuntus is chainloaded.
The problem occurred after I tried to boot kubuntu for the first time since I installed opensuse. Kubuntu didn't boot. so I probably set up chainloading wrong. No big deal, this I can fix.
The big problem was that after trying to boot Kubuntu no OS was marked as "Boot" in MBR. This is VERY strange. somehow the boot-flag is removed!
After setting the boot-flag (with a live-CD) everything works again. I can reproduce this.
I've tried to find answers but could'nt find any.
Is GRUB supposed to remove the boot-flag when chainloading? have I found a bug?
View 9 Replies
View Related
Jan 21, 2011
I am trying to change the default boot in grub to the last OS, and cannot find the menu.lst file under the /boot/grub directory.
I have tried to use the locate command to find the menu.lst file, but it doesn't exist. I have grub 1.98 installed and was wondering if the file I need to edit might be under a different name.
I recently updated Ubuntu to 10.04 (lucid) Kernel linux 2.6.32-27-generic gnome 2.30.2
View 2 Replies
View Related
Aug 4, 2010
I just installed Ubuntu 10.04 onto my toshiba C655 iCeleron 900 2.20ghz 1GB RAM. I have win7 and I have a 4GB swap partition. How Do I change the Boot order in Grub? I saw instructions somewhere else to type sudo, etc in the command line and was getting access denies...
View 5 Replies
View Related
Feb 21, 2011
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, kernel 2.6.35.8
uuid18250e14-e47e-4bf9-a927-6456120575f8
kernel/boot/vmlinuz-2.6.35.8 root=UUID=18250e14-e47e-4bf9-a927-6456120575f8 ro quiet splash
initrd/boot/initrd.img-2.6.35.8
quiet
titleBackTrack 4 R2, kernel 2.6.35.8 (recovery mode)
uuid18250e14-e47e-4bf9-a927-6456120575f8
kernel/boot/vmlinuz-2.6.35.8 root=UUID=18250e14-e47e-4bf9-a927-6456120575f8 ro single
initrd/boot/initrd.img-2.6.35.8
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
View 2 Replies
View Related
May 12, 2011
I wanna change the boot order, right now Linux starts first, and I wanna configure GRUB to make Windows start first, how can I do this?
View 13 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
Apr 1, 2010
I tried looking this up. It seems that in Ubuntu, you need to edit /boot/grub/menu.lst. I tried that, and the file is not present in Debian "Squeeze". (Just trying it out on a different PC, In case you are confused by my other thread regarding Lenny) So what do I need to do to change the default OS to boot?
View 3 Replies
View Related
Jul 31, 2010
I'm trying to change the boot order in grub (menu.lst) but does not working.
My menu.lst:
# Modified by YaST2. Last modification on Qua Jul 28 22:45:21 BRT 2010
# THIS FILE WILL BE PARTIALLY OVERWRITTEN by perl-Bootloader
# Configure custom boot parameters for updated kernels in /etc/sysconfig/bootloader
[Code].....
View 9 Replies
View Related
Feb 13, 2010
I am a linux noob and that is the reason I want to boot my windows xp by default. Now kubuntu boots first. I've googled how to do this but the topics of other people with the same 'problem' were old or maybe incorrect. Because the official GRUB Ubuntu wiki says you should not change the /boot/grub/grub.cfg file manually. The first line on the .cfg file is also a warning: Do not edit this file. So it continued looking for a proper way to change the boot order. Then I found something about etc/grub.d and also etc/default/grub. The problem is I don't understand how to change the boot order using this.
View 9 Replies
View Related
Feb 11, 2010
I clone an drive with CentOs 5.3 from a drive connected to ATA0 device 0 of an ATA controller to an identical drive connected to the same ATA contoller ATA1 device 0. No matter what I do it boots from ATA1 device 0 and I need to be able to control which one it is booted from. When I have puppy linux on one drive and CentOs on the other drive I can control the boot thru the system BIOS either way no matter if puppy is in ATA 0 or 1. So its not a BIOS issue. It appears (to me) to be a grub configuration issue. Since the 2 drives are clones they both have VolGroup00. I think grub loads from the last VolGroup00 found.
Here is my grub.conf file:
# 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
# all kernel and initrd paths are relative to /boot/, eg.
# root (hd0,0)
# kernel /vmlinuz-version ro root=/dev/VolGroup00/LogVol00
# initrd /initrd-version.img
# boot=/dev/hde
default=0
timeout=5
splashimage=(hd0,0)/grub/splash.xpm.gz
hiddenmenu
title CentOS (2.6.18-128.el5)
root (hd0,0)
kernel /vmlinuz-2.6.18-128.el5 ro root=/dev/VolGroup00/LogVol00
initrd /initrd-2.6.18-128.el5.img
Here is the Device.map:
# this device map was generated by anaconda
(hd0) /dev/hde
View 3 Replies
View Related
Feb 3, 2010
I've seen many, many different solutions for how to change the GRUB boot order. Search no more. This is by far the easiest, safest way to do that.
Open your terminal and type in the following:
sudo apt-get install startupmanager
When that is done go to your control panel and you'll have a new icon that says Startup Manager. Every thing you'll need work with your GRUB menu.
View 1 Replies
View Related
Jul 21, 2010
I have a dual boot machine windows xp & Ubuntu 10.04. I want to use Grub 2 to boot an Ubuntu 8.04 32bit live cd image off my hard drive. I put a copy of the 8.04 iso in a new directory /boot/iso. I added the following lines to my grub.cfg.
menuentry "Ubuntu Live 8.04 32bit" {
loopback loop /boot/iso/ubuntu804.iso linux (loop)/casper/vmlinuz boot=casper iso-scan/filename=/boot/iso/ubuntu804.iso noeject noprompt --
initrd (loop)/casper/initrd.lz
}
[code]....
View 9 Replies
View Related