Ubuntu :: How To Make WinXp Default On Grub
Jan 21, 2010I want to make XP default and get that count down thing so while the countdown I can switch to ubuntu.
View 1 RepliesI want to make XP default and get that count down thing so while the countdown I can switch to ubuntu.
View 1 RepliesHere's today's problem: I upgraded to Ubuntu 10.04 and hope to have it run alongside Win XP PRO, which it had for months.
Only, when I select WinXP in GRUB, nothing happens. Oh the screen goes dark for a few seconds, but then the GRUB screen reappears. Ubuntu 10.04 functions correctly.
here are the contents of what I assume is grub.cfg code...
What I need to know is how to make GRUB load WinXP.
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].....
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 RelatedI 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 RelatedHow do I change the default OS on grub, and adding more time to make my choice?
View 3 Replies View RelatedBackground: 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...]
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.
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."
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 RelatedI 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 RelatedI 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]....
I installed karmic to a flash drive, and grub overwrote my winxp mbr. On boot it has an error that grub can't load and then shows the grub rescue prompt. I've tried fixboot and fixmbr and bootcfg /rebuild from the repair console with no luck. Grub loads if I leave the flash drive in, but it takes a long time.
The boot_info script provided this data:
Code:
Boot Info Summary:
=> Grub 1.97 is installed in the MBR of /dev/sda and looks for
(UUID=18f3e5ee-7ef2-4158-8b84-853630827dea)/boot/grub.
=> No known boot loader is installed in the MBR of /dev/sdb
=> Syslinux is installed in the MBR of /dev/sdc .....
I have two HDD, one of 80 GB with Lubuntu and a broken windows, the other HDD is 160 GB with another Win Xp, but it seems its windows boot loader is broken or the windows boot loader was essentially on the 80 GB HDD and was replaced by GRUB. GRUB only detect the WinXp on the 80 GB HDD. How can I make GRUB detect winXp on the 160 GB HDD?
View 9 Replies View RelatedI installed Ubuntu 11.04 on my laptop alongside WinXP. For some reason Grub hides my CD drive from WinXP but not Ubuntu. I can access the drive in Ubuntu, but it doesn't appear in WinXP at all.
I know there is a solution to this, but I can't remember what it is. Something to do with modifying grub.conf or something like that.
I have been a happy little GRUB user for a while now, but now I want to use GRUB to boot a physically separate WinXP hard drive, and I can't seem to do that. Normally GRUB is easy, (I even have a nice splash screen of my own making). Its a champion solution for booting into Ubuntu Linux on /dev/sda5 or Win XP on /dev/sda1.
My second HD which Linux recognizes as /dev/sdb, has a Win XP boot sector and Win XP in one partition.
Normally I boot off /dev/sda using GRUB, and from Linux I can mount and have access to /dev/sdb - that works well. Occasionally however, I need to boot the separate Win XP system on the second HD, and to do that I switch the boot drive in the BIOS, but lately that is getting to be a bit tedious.
Initially I though to give the additional boot choice to GRUB, I simply had to edit /boot/grub/menu.lst and point to the second HD (where /dev/sdb = hd1 in GRUB speak). Unfortunately, when I select the new choice, it simply boots Win XP off the first HD.
I'm confident GRUB does look at the first partion on hd1 as expected as I can induce an error by having hd1 disconnected, or write silly partion numbers into menu.lst. So if it does in fact find the first partion on hd1, why doesn't it boot? Why does it default to WinXP on hd0?
I have diligently tried physically swapping SATA drive cables and playing with bios switching and have messed about a fair bit with menu.lst to make sure I have drive and partition numbers right, but all to no avail. I have also tried changing rdisk(0) in boot.ini to rdisk(1) on the second drive when it is not the boot drive.
I'm afraid the only other thing I can think of is that the second hard drive requires a Linux boot sector if I am going to boot it up from GRUB, but somehow that doesn't make sense. Surely GRUB can work across physically separate drives, so I'm open to other ideas first.
I have Win7 installed in my notebook, after I install WinXP, after I install Ubuntu 10.10
I need WinXP to my project...
I re-install Grub2 with live CD and the WinXP doesn't show up...
So I re-install WinXP... Re-install Grub2 and WinXP doesn't show up again...
So I custumise Grub2 and I put one line for WinXP (doesn't work)
But Now, Win7 line in Grub2 boot WinXP
Code:
Boot Info Script 0.55 dated February 15th, 2010
============================= Boot Info Summary: ==============================
=> Grub 2 is installed in the MBR of /dev/sda and looks on the same drive in partition #6 for (,msdos6)/boot/grub.
[Code].....
I've got an old Dell Precision 670 which has a SCSI disk. I installed 10.04 and everything worked fine - I could boot into 10.04 from the GRUB menu. I later added an IDE disk and installed WinXP Pro on it.
When I ran 'sudo update-grub', Lucid discovered the IDE disk and added a WinXP Pro entry to the GRUB menu. Now, though I can still boot 10.04 from the GRUB menu, I can't boot WinXP - the screen goes blank, and I have to hit Ctrl-Alt-Del to restart.
For what it's worth, here are the results of using boot_info_script055.sh:
Code:
Boot Info Script 0.55 dated February 15th, 2010
============================= Boot Info Summary: ==============================
=> Windows is installed in the MBR of /dev/sda
=> Grub 2 is installed in the MBR of /dev/sdb and looks on the same drive in
partition #1 for /boot/grub.
[Code]....
early tl;dr: The fancy grub breaks on my wubi 10.04 install, can I force it to use the old grub?
When I rebuild grub.cfg (last time was yesterday for kernel update to .37), and shut down / reboot, grub breaks because it can't 'loadfont' and a few other errors which are related to the 'graphical' grub boot menu.
To fix this I have to boot into a live CD (also Ubuntu 10.04) and run the following:
Taken from [URL]
Code:
sudo fdisk -l
sudo mkdir /win
sudo mount /dev/sda1 /win
sudo mkdir /vdisk
sudo mount -o loop /win/ubuntu/disks/root.disk /vdisk
[Code]....
I know how to fix it but is there a way to skip having to do this on upgrades
(If I edit the grub.cfg before shutting down then this doesn't happen, obviously, but sometimes I forget and this is the result. I'd rather stop the problem at it's source than fight against the updater).
I have WinXP, Ubuntu 10.04 and Debian 6.0 installed on my Desktop.
After installing my latest distro, Debian 6.0 WinXP disappeared from my GRUB menu!
Relevant details are:
root@debian-peter:~# fdisk -l Code: Disk /dev/sda: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
[Code].....
I am running fedora 11 and I am configuring my menu.ist file. I attached the menu.ist file in txt extension. What I want is:
1- I want the first option to be Windows XP (which is on the second HD) and I want the text to be Windows XP instead of Other. This option should be the default (so if I didn't press anything it will boot from xp).
2- To remove the 2.6.29.4-167.fc11.i686.PAE kernel from the list and keep the 2.6.30.5-43.fc11.i586.img available as a second option.
3- Increase the countdown time to 10 seconds.
I've been trying to setup some installation partitions made with Debian and Windows Installation CDs/Images and everything works well with the Debian, but not Windows. This is a similar setup as some Laptop companies do by putting a hidden "recovery" partition.How do I get grub to boot say WinXp/Win9x or what have you?Is there a better alternative?
View 6 Replies View RelatedMy set up is internal hard drive Windows 7, external Ubuntu Karmic. The reason I have it this way, despite Linux being my main OS, is because my internal hard drive is 6 years old and half the capacity of my external new one. Have tried quite a few set ups with various Linux platforms, but have finally settled on above. As yet, I don't know Linux or Ubuntu all that well. Getting somewhere, but it's a steep learning curve.
Because of constant errors reinstalling WinXP - umpteen installations and it keeps crashing - the problems are with security updates and SP3 - I finally bit the bullet and intalled Win 7. I only need Windows for a few essential programs or I'd happily never look at it again, so it filled me with horror doing this, but I couldn't take the crashes any more. So, today, Win 7 installs just nicely. However, I can no longer boot my external Ubuntu hard drive. The error is, 'Grub loading stage 1.5... Grub loading please wait... Error 15'. I load up the live cd, but when I try to follow instructions given to other people with Error 15 (editing files, accessing root) I don't have permissions.
in maverick the default package installer (when I double click on a .deb) is Ubuntu Software Centre, how can I make the default package installer from lucid (was it called "dpkg"?) the default again? Ubuntu Software Centre is too slow and freezes every time I click on something, can it be replaced?
View 2 Replies View RelatedI 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]....
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 RelatedI'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.
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
I just installed Ubuntu Remix 10.04 on my wifes MSI U100 netbook. I did a dual boot just in case she had to get into Windows for something. I let the install automatically partion (did the side by side option). Anyway, Ubuntu works fine and imported all her documents and stuff. Problem is Windows XP won't boot. The first time I tried to boot Windows XP I got a message saying the hardware had changed and I had to select safe mode, normal boot, last known good, etc... I booted normally. I got the splash screen followed by a quick flash of BSOD and a reboot. I does this no matter how I try to boot Windows (safe, command prompt, etc). Anyone have any idea what the problem is?
View 3 Replies View RelatedSo I have 2 ide hdds but whenever they are both connected, grub gets stuck at GRUB loading stage 1.5. how can I resolve this problem?
both are Maxtors with ext4 fs. primary is 20 gb and secondary 80 gb.
Jumpers are set to cable select.
Boot order in bios is correct. (primary first, secondary isn't in the list at all)