General :: How To Configure Grub (First Option WinXP)
Oct 29, 2009
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.
my Setup is Fedora 14 x64 + radeon hd 4830 i've downloaded .run package from ati site with latest driver for x64 systems. installed it, but didn't edited grub.conf becouse i didn't understood anything there (probably didn't spent enough time to get things understand) Now i've lost possibility to enter my Fedora system. during boot it lost it's modern blue boot screen (with filling drop), it was replaced by standard old boot screen with triple-color stripe. after this boot screen monitor start blinking going on and off. and on last step i'm getting "Fedora 14 boot bla bla bla something" on screen. nothing works except Ctrl+Alt+Delete. system reboots showing successful daemons shutting sequence. How can i edit grub menu from initial grub screen is it possible to it's own 'e' option or 'c' from grub command line?
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?
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?
I 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 was using Win Xp ,and i installed Ubuntu ,I used to get an option to select windows or Ubuntu before,I formatted Windows and now am not able to find the grub menu where iI could select Ubuntu,.How to get the grub enabled?
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.
Here'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 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.
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.
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).
My 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.
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.
I have yet to find any coherent instructions anywhere on earth on this and I am wondering if its ever actually been done before. Assuming I have root partitions on /dev/hda1, /dev/hda2, /dev/hda7. How would I do it? What would I type in the terminal?
For some time I have been using Clonezilla to backup/restore linux installations. I would like - instead to USB-key that is always not to be found, to somehow "move" the clonezilla (on a USB stick). What I have tried to is to make a separate partition to install this on, copied all the files on the USB -key to that partition, and then make a new entry in GRUB via yast. Then I point to the new wmlinus and initramfs. I would have been much surprised if something link this was working after first shot. But it was also not working after the 80. shot.
Okay on /dev/sda sda1 is windows xp sda2 slackware /boot /system files sda3 slackware swap sda5 Centos LVM
Now my question is when I install CentOS grub did not automatically setup the slackware partition and I have to configure it manually. This is my grub.conf file
[root@centos ~]# cat /boot/grub/grub.conf # 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,4) # kernel /vmlinuz-version ro root=/dev/VolGroup00/LogVol01 # initrd /initrd-version.img # boot=/dev/sda default=0 timeout=5 splashimage=(hd0,4)/grub/splash.xpm.gz hiddenmenu title CentOS (2.6.18-92.el5) root (hd0,4) kernel /vmlinuz-2.6.18-92.el5 ro root=/dev/VolGroup00/LogVol01 rhgb quiet initrd /initrd-2.6.18-92.el5.img title Slackware root (hd0,1) kernel /vmlinuz-generic-2.6.29.6 title Other rootnoverify (hd0,0) chainloader +1
While connecting to session manager: Authentication Rejected, reason : None of the authentication protocols specified are supported and host-based authentication failed.
bash: /boot/grub/menu/lst: No such file or directory
I hope anyone of you can help me build autofs5_5.0.4-3.2_amd64.deb and autofs5-ldap_5.0.3-3_amd64.deb-packages with a modified source for debian testing. The trouble is, the packages from the repositories do not work with our ldap server. I know that using the configure option DISABLE_MOUNT_LOCKING might solve it. But I (a) fail to build the modules and (b) am not sure if I put the compile option in the right place. I dont have much experience with building deb packages, maybe someone can give me a hint.
I can't figure out the syntax on the apt-cdrom command.
My CDROM is flaky, but have a portable CDROM attached to a usb.
Here's the output of lsusb: Code: Select allroot@home:/etc/apt/apt.conf.d# lsusb Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 009 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 004 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 007 Device 002: ID 04b3:310b IBM Corp. Red Wheel Mouse
[Code] ....
Here's the output of df: Code: Select allroot@home:/etc/apt/apt.conf.d# df Filesystem 1K-blocks Used Available Use% Mounted on /dev/sda1 464279312 4089292 436582932 1% / udev 10240 0 10240 0% /dev tmpfs 1619088 9132 1609956 1% /run tmpfs 4047716 164 4047552 1% /dev/shm
[Code] ....
Here is my modified fstab: Code: Select allroot@home:/etc# cat fstab # # Use 'blkid' to print the universally unique identifier for a # device; this may be used with UUID= as a more robust way to name devices # that works even if disks are added and removed. See fstab(5).
[Code] ....
Here is my configure file: Code: Select allroot@home:/etc/apt/apt.conf.d# cat config.usb.cdrom Acquire::/dev/sr1::/media/bill;
Here is my command and output: Code: Select allroot@home:/etc/apt/apt.conf.d# apt-cdrom -d=/media/bill -c=config.usb.cdrom add Using CD-ROM mount point /media/bill/ Unmounting CD-ROM... Waiting for disc... Please insert a Disc in the drive and press enter
[Code] ....
There must be something simple that I have missed.
I downloaded GnuBG (Gnu Backgammon) from repos. Despite enabling sound it remains silent.Can anyone confirm it's a problem on my side? I can't see any option to configure the sound output or anything.
How do I configure PAM to use the remember option for the passwd. It should remember the last 10 passwords and shouldnt allow the user to use the same old passwords. Here is what I have configured but doesnt work
#%PAM-1.0 # This file is auto-generated. # User changes will be destroyed the next time authconfig is run. auth required pam_env.so auth required /lib64/security/pam_tally.so deny=2 onerr=fail even_deny_root_account unlock_time=5 auth sufficient pam_unix.so likeauth nullok
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?
I have installed opensuse 11.2 and then installed Kiwi-ltsp (Two network cards installed). Client system is booting from ltsp server using PXE boot method. But in client system full server is loaded. is there any option to configure/create new image with few applications (Openoffice and browser is enough)?
I have been mucking around with Linux on and off for a while now, but this is the first time I have used a Debian distro. I have to say, it's been a pleasurable experience with it all going easily from install to now. I installed it to my external WD 1tb drive. It worked first up not a worry in the world. I have 2 internal drives also and when the installation of Debian was finished I had a GRUB with all operating systems duly noted. I was able to choose at start up between my Windoze 7 on HD0 and my PCLOS on HD1 and my Debian on HD2. (sda, sdb, sdc).
I noticed today as I was booting into Debian that the Windoze option was gone from the GRUB. I thought I'd put my trusty GRUB disc in, reboot and have the issue sorted in no time, as I have in the past. No such luck. After trying almost every option on the super grub disc I have a list of errors, 15 file not found, error 6 mismatched, error17 can not mount and error 12 invalid device. The only thing I can crank up now is windoze and whilst I have had a pretty good experience with win 7, I would like to have the option of choosing between the 3.
I have Windows XP as well as Ubuntu in my desktop. I would like to temporarily disable XP for a month or so, so that One cannot see Windows XP appearing in the grub menu list or during the boot. Is there is any option to edit the grub menu?
I just had a thought of something I would like to do But I'm not entirely sure how to do. I have a desktop dual booting Karmic and server 2003. Mostly I boot into Ubuntu but when i have to boot into server I usually forget to scroll down and select my Windows partition.
What I want to do is have a script where I can specify a one time boot option. As in, I want to run a script, have it reboot my computer and tell grub to boot into Windows server 2003, but not effect future reboots or cold boots. Is there any way to achieve this?