Debian Configuration :: Use Grub2 To Boot Windows XP

Mar 28, 2010

how to use Grub2 to boot Windows XP and Linux.

[code]...

there were no entries in the Grub 2 menu after booting. I don't really understand the numbering of hd0,0 to like sda, but I changed "root (hd1,0)" to "root (hd0,0)" if Windows is on hd0, but after rebooting, I still didn't see it. I read somewhere that Grub2 starts partitions at 1, but wasn't sure that was true because in menu.lst they start with 0 sometimes. know entry-level steps to solve this?

View 3 Replies


ADVERTISEMENT

Debian Configuration :: Grub2 Won't Boot Windows 7 ?

Oct 27, 2010

I upgraded a while back to Windows 7. I run two separate HDDs, with debian on sda and windows on sdb. Everything worked fine, up until i upgraded to windows 7. The installer forced me to unplug sda. After installing I repositioned the HDDs and was stuck with a "NTLDR is Missing" message. After removing the search -fs--uuid tag from grub.cfg, Windows 7 booted for a good 0.5 sec and then rebooted. All that flashed was the "Starting Windows" page. I see similar bugs reported in the launchpad, but nothing that directly parallels this.

Here's my windows entry in grub.cfg:

Changing ${root} to (hd1) makes no difference. Also, I've been using Windows 7 for moths now without a problem, it's only when I try and boot it form grub2 that I get a problem. Physically removing sda lets Windows 7 boot fine.

View 3 Replies View Related

Debian Configuration :: Grub2 Multi Boot With XP ?

Jun 29, 2011

I recently upgrade my grub to grub2 and had problem to boot debian. After trying to fix it myself, I played around with grub-image-ntldr, my debian now works ok, but I cant boot my XP anymore.

Now when I try to boot XP, I got "No grldr" message. If I copy my ntldr and rename it to grldr, my XP will boot ok. So it seems that when I try to boot XP it doesn't chainload ntldr anymore, it is looking for grldr.

I tried to change "chainload +1" to "chainload /ntldr", it complains about invalid signature. Does anyone knows why my grub now using grldr instead of ntldr?

View 2 Replies View Related

Debian Configuration :: After Upgrading To 2.6.26-2-i686 GRUB2 Cannot Boot

May 26, 2010

I Upgraded the system to 2.6.26-2-i686 doesn't boot:

error message on Grub is:

View 1 Replies View Related

Debian Configuration :: (GRUB2) Grub_env_find Not Found - Boot Fails

Mar 26, 2010

My evil nemesis Grub2 has decided to make a move on me again! So I rebooted a few minutes ago and got this:

Welcome to Grub
error the symbol 'grub_env_find' not found
Entering rescue mode

View 9 Replies View Related

Ubuntu Installation :: Grub2 Can't Load Window 7 After Recovered Grub2 Using Live Cd To Boot Windows 7

Mar 7, 2010

i initilally installed ubuntu 9.10 then installed windows 7 ,then i recovered grub2 using livecd as told in the post [URL] i did "sudo update-grub" and got windows 7 menu entry but when i select that entry windows 7 does not load but the grub2 is reloaded again.
i cant boot to windows 7.

Windows 7 have 100 mb partition "System Reserved" the grub2 points to that partition but still windows 7 not loaded.

sudo fdisk -l
Disk /dev/sda: 320.1 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x3c3a81f5

[Code]....

View 3 Replies View Related

Ubuntu Installation :: Grub2 Dosn't Save Windows As Last Selected + Boot Into Cdrom From Grub2?

May 17, 2010

I went through so many post but I haven't found the proper answer yet hope you have an Idea1. Grub2 saves only Linux OS as last selected no Windows OS2.It is possible to boot into a cdrom (drive)?

View 2 Replies View Related

Debian Configuration :: Linux Encryption On Dual Boot Windows

Sep 3, 2015

I've a Lenovo G50-80T with W8.1. I want to install Debian 8.1 in dualbooting mode. I've done this other times without problems. But this time I want encrypt the Linux partition (not the Windows partition). I'll use dm-crypt to do that. I want to know if this way is secure for protect the data on Linux partition or if I need encrypt the entire drive.

View 3 Replies View Related

Debian Configuration :: Removing Windows From Dual-boot Config?

Apr 7, 2011

I'm currently dual-booting Squeeze & Windows XP on a machine i use frequently.

In my experience on the desktop, i now see no reason to have Windows XP as a boot option, & wanted to try & avoid a full re-installation of Debian in order to remove XP (merging it's partition with / ).

I have a checklist that i put together, but wanted to be sure this was all correct before going forward.

1. Perform full back-up of all data.

2. Boot into Debian, through GUI -

System Tools > Disk Utility

- Select HDD (80GB Hard Disk)
- Select windows partition ( /dev/sda1 )
- Format /dev/sda1 to Ext4 Filsystem

3. Boot Live CD

- Use gParted to extend /dev/sda2 (was 38GB, will extend to 78GB)

4. Remove XP from the boot menu.

( Note: My ~ folder is on the same physical drive as / (same volume), but i actually store all Media on a separate physical drive which is formatted in NTFS. I plan on reinstalling XP using a virtual hard disk, & sharing that with the virtual machine.Here is a screenshot of my Disk Utility - [URL]

View 6 Replies View Related

General :: Grub2 - Can't Boot Into Windows Anymore - How To Get Windows To Reappear

Mar 14, 2011

I just installed CrunchBang Linux and it's great! But I can't boot into windows anymore. I'm sure it didn't delete my Windows partition-it's mounted. My linux partition is /dev/sda1 Windows is /dev/sda2

Code:

sudo update-grub
Found linux image: ....
Found initrd image: ....
Found linux image: ....
Found initrd image: ....
done

how I can get Windows to reappear? I've had bad luck with Grub in the past and I don't want to fight it on my own...

View 9 Replies View Related

Debian Configuration :: Changing Fonts In GRUB2?

Aug 12, 2010

After removing a hard drive I (thought I)wasn't using, GRUB failed to load(turns out stage1 was on that drive) and it refused to install to a new drive(even after I kexec'd into the system - which was fun, considering the LiveCD used a different name for the hard drive). I finally threw in the towel and installed GRUB2, which worked after removing a second, incorrect root=. However, I can't find out how to switch the font from the fugly default to something that doesn't try to gauge my eyes out with a rusty spoon.

View 1 Replies View Related

Debian Configuration :: Squeeze: GPT Support In Grub2?

Feb 14, 2011

I have just upgraded from Lenny to Squeeze, and followed the D-I recommendation to upgrade to Grub2. However, the server will no longer boot - giving a 'missing operating system' error, so it's not getting very far in the boot loader process. I have read, in various location that Grub2 supports GPT, but my efforts to fix the situation have met with little success.

I have managed to boot the system using SuperGrub2 (recovery live cd) and can start up successfully from there. However, when I try to fix the grub installation using the Debian wiki recommendation, I'm met with:

<host>:/# grub-install /dev/sda
/usr/sbin/grub-setup: warn: This GPT partition label has no BIOS Boot Partition; embedding won't be possible!.

[code]....

The attached disk is 4.5TB of RAID 5 disk behind an Adaptec 5405 if that's useful.

View 9 Replies View Related

Debian Configuration :: Show Grub2 Menu Only Upon Request?

Mar 23, 2010

Daily updated Debian Testing Because Debian is the only operating system on this laptop and I keep at least two working kernels, I would like to hide Grub2's menu unless I press a key (like one could do with Grub). I can hide the menu if the line GRUB_TIMEOUT=0 is in /etc/default/grub but it doesn't appear after pressing SHIFT, which is a threat if the system cannot boot the selected kernel. Right now, the timeout is set to one second. I've read Grub2's documentation and [URL] and tried various combinations, but I haven't been able to make this work.

View 1 Replies View Related

Debian Configuration :: Grub2 And Copying Old Lenny Installation

Jul 21, 2010

I just got a new hard drive and figured I might as well do an installation of Squeeze (and was previously using Lenny). That went fine, and then I decided that I should copy over my old Lenny installation to the new disk -- mostly to have a working backup without bothering to do a new installation on a partition of the new drive. My partition scheme was a smaller /boot partition and then a much larger / partition with everything else standard (and a much larger /data partition rather than storing everything under /home). So I copied /boot over to a new partition on the new disk, and the same with /. That was done from the Squeeze installation, so the Lenny install wasn't active at the time. I modified all the appropriate entries in /etc/fstab to use UUIDs rather than partition numbers and ran an update-grub.

It detected everything on the old and new disks without a problem. When I went to try and boot up the transferred Lenny installation, it hung on trying to activate the root file system (I've forgotten the exact messaging). Not entirely unexpected, mind you. I went and took a look at the grub.cfg file. It does list that the transferred Lenny is on partition sda8 (correct), it has the correct uuid for the boot partition... but it seems to be setting the root incorrectly. Specifically, the root is still set for the old disk (though in its new position of hd1 instead of hd0), and the "linux" line sets a root for the old device. Or more specifically, this is the menu entry I get, with a few // comments.

menuentry "Debian GNU/Linux, kernel 2.6.26-2-amd64 (on /dev/sda8)" {
insmod part_msdos
insmod ext2
set root='(hd1,msdos2)' // <------ This position is the *current* location of my old Lenny disk/partition
search --no-floppy --fs-uuid --set [the correct /boot UUID]
linux /vmlinuz-2.6.26-2-amd64 root=/dev/sda5 ro vga=795 // <----- that root=/dev/sda5 line is what it was on the old device.
initrd /initrd.img-2.6.26-2-amd64 }

The odd thing there is that it sets the root according to the *current* position of the old install disk (maybe some trickery with detecting the correct UUID before setting the root), but the "linux" line refers to the *old* partition. The two lines will never match up no matter what. Now if I edit grub.cfg manually, I can make it boot (and run) normally, as I've verified. For example, I made a couple manual changes to do this:

menuentry "Debian GNU/Linux, kernel 2.6.26-2-amd64 (on /dev/sda8)" {
insmod part_msdos
insmod ext2
set root='(hd0,msdos3)' // <----------- First hard drive, partition sda3 is where I put /boot
search --no-floppy --fs-uuid --set [the correct /boot UUID]
linux /vmlinuz-2.6.26-2-amd64 root=UUID=[the correct / UUID] ro vga=795 // <--- Changed it to the UUID here; could be /dev/sda8 instead
initrd /initrd.img-2.6.26-2-amd64 }

And that works perfectly, the installation works just fine. Of course, the problem is that those changes will/would be lost every time I run an update-grub. So my question, in a nutshell, is how can I configure things so that update-grub sets things properly to the new devices? Or in other words, where in the copied installation are the variables I need to change? I did note one thing odd -- the existence of a vga=795 line. For the new Squeeze installation, I'm using gfxpayload and there's no vga=anything line anywhere. My old installation, of course, had its own grub installation where I did use vga=795 to set the console resolution properly.

So my first guess was that update-grub (for Grub2) was pulling config information out of the Lenny /boot/grub folder (grub legacy). Unfortunately I tried several changes there and it made no difference. Then I deleted the entire /boot/grub folder entirely from the copied Lenny installation and ran update-grub again (the Squeeze grub version). It changed absolutely nothing. That's very confusing for me, since I have no clue where it could be getting vga=795 from, *except* the now-deleted Lenny /boot/grub folder. Where in the copied Lenny installation, I can change something to make it so that update-grub picks up the correct information?

View 4 Replies View Related

Ubuntu :: Grub2 Won't Boot Windows 7?

Oct 27, 2010

I upgraded a while back to Windows 7. I run two separate HDDs, with debian on sda and windows on sdb.Everything worked fine, up until i upgraded to windows 7. The installer forced me to unplug sda and make sdb primary. After installing I repositioned the HDDs and was stuck with a "NTLDR is Missing" messageAfter removing the search -fs--uuid tag from grub.cfg, Windows 7 booted for a good 0.5 sec and then rebooted. All that flashed was the "Starting Windows" page. I see similar bugs reported in the launchpad, but nothing that directly parallels this Here's my windows entry in grub.cfg:

Code:
menuentry "Microsoft Windows 7 Ultimate (on /dev/sdb1)" {
insmod ntfs

[code]....

View 6 Replies View Related

Ubuntu :: Grub2 Won't Boot Windows 7 ?

Nov 18, 2010

I've installed Xubuntu 10.10 on a very new EeePC 1201HA. The netbook came preconfigured from the OEM with the disk split into two Windows partitions of about the same size, one with Windows 7 starter. I removed the second partition (Which was just empty) and have installed a series of different distros since then, to try and gauge their support for the 1201HA hardware. I finally settled on Xubuntu, which can support most of the laptop's features with some tweaks.

However, after this last install, and a Grub config change needed to make the framebuffer work on this hardware, I'm unable to boot Windows 7.Grub shows it on the menu normally, but when I select the Windows 7 entry, I get the message 'Reboot and select proper Boot device or Insert Boot Media in selected Boot device and press a key,' which I understand isn't from the OS but rather a BIOS message which implies there is no loader.

I've tried using the Windows 7 system restore to do everything short of rewriting the Windows bootloader to the MBR (Which would, of course, remove Grub and thus not solve my problem, as I couldn't load Ubuntu from it). I attempted to fix the boot sector on the partition with the system restore tools, to no avail. And because this is a netbook with no optical drive, I'm unable to reinstall from a disk.

View 9 Replies View Related

Slackware :: Grub2 Cannot Boot Windows 7

Dec 9, 2010

menuentry "Windows 7 (loader) (on /dev/sda1)" {
insmod part_msdos
insmod ntfs
set root='(hd0,msdos1)'
search --no-floppy --fs-uuid --set 3850d16450d12980
chainloader +1
}

This is automatically generated after installed ubuntu 10.10. It shows black screen with a flashing cursor after press enter.
Grub 0.97 also does this with:
title win7
fallback 2
find --set-root --ignore-floppies /bootmgr
chainloader /bootmgr
savedefault --wait=2

But the weird thing is my usb stick can boot windows 7 successfully with the same configuration. Whats wrong with that? How can I do with grub.cfg?

View 1 Replies View Related

Fedora :: Install Grub2 While Still Being Able To Boot Into Windows Or F13?

Nov 13, 2010

I posted recently about some problems with grub2(http://forums.fedoraforum.org/showthread.php?t=254100)
I ran grub-install, it installed fine and when I rebooted it worked, only I was presented with a command line with the message that "Minimal command-line editing is still supported etc". I'm dual-booting with Windows and F13 and I couldn't boot into either of them so I had to reinstall F13 and replace grub. How do I install grub2 while still being able to boot into Windows or F13?

View 2 Replies View Related

General :: Make Grub2 Boot Into Windows 7?

Jan 30, 2010

I had Windows 7 installed on my system, then I installed Debian testing with grub2 as its boot manager.Initially I couldn't see windows entry in grub at all, so I ran:aptitude install os-prober kcpuload update-grub Now I can see the entry, but when I select it I get only Win7 system restore, instead of the the real thing. Any ides how to make it work?

EDIT: I tried the suggested approach to add a new file to /etc/grub.d, which generated an entry in grub.cfg, but it does not appear in the grub menu on boot :(

I have this:
grzes:/home/ga# cat /etc/grub.d/11_Windows
#! /bin/sh -e
echo Adding Windows >&2
cat << EOF
menuentry "Windows 7″ {

[Code]...

View 1 Replies View Related

Ubuntu Installation :: Grub2 Won't Boot The Windows

May 3, 2010

I have a asus eeepc 1101ha. With Karmic,it would boot into w7 without problems.I installed Lucid on another partition,and after that the w7 grub entry would leave me with a blinking cursor in the left top corner, and hang.

I booted with the w7 dvd, ran bootrec.exe to restore mbr and bootmgr, and the booted into w7 to confirm. It was working. Then I booted with the live dvd, mounted the lucid partition, and installed grub. Now choosing the w7 entry would ask for the boot media, and pressing any key would bring me back to the grub menu. Lucid and karmic boot without problems.

Installing grub from karmic now gave the same error. Running update-grub didn't change anything.As I had to use w7, I booted again from the dvd, and restored again mbr and bootmgr. Booted into w7, used it, then once again to the live cd, to reinstall grub, and once again the w7 entry in grub makes grub ask for the boot media.I've attached my boot info script.Ah, I also played with the bootable flag for the /dev/sda1 partition, but it didn't change anything.

View 1 Replies View Related

Ubuntu :: Windows 7 Keeps Changing The MBR On Boot (grub2)?

Jun 6, 2010

I installed Ubuntu in my new notebook. It originally comes with Windows 7 installed on it.Everything works nice however every time i boot into Windows7 the grub menu doesn't work any more. i can't boot into windows or ubuntu any more. How do I stop this? Its rather annoying to have to boot, chroot and fix this problem everytime.

View 1 Replies View Related

Ubuntu :: Grub2 Won't Boot Windows XP / Solution For This?

Jun 26, 2010

Windows has some files I need and when I try to boot it hangs at a black screen with a blinking cursor.

I checked grub.cfg and this entry was in there code...

View 9 Replies View Related

Ubuntu :: Windows 7 Not Wanting To Boot With Grub2

Oct 12, 2010

I have grub2, and windows 7 and ubuntu show up on the start up menu.

When you hit windows 7, it starts all the way to the ending of the flags, and just restarts.

I have tried chkdsk c: /f /c Restoring windows 7 boot, and then grub menu Creating a custom menu entry. Nothing works.

Here is my boot info script, results:

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 #5 for /boot/grub.

[Code].....

View 9 Replies View Related

Ubuntu Installation :: Grub2 Cannot Boot Windows 7?

Dec 10, 2010

menuentry "Windows 7 (loader) (on /dev/sda1)" {
insmod part_msdos
insmod ntfs
set root='(hd0,msdos1)'
search --no-floppy --fs-uuid --set 3850d16450d12980
chainloader +1
}

This is automaticly genarated after installed ubuntu 10.10. It shows black screen with a flashing cursor after press enter. Grub 0.97 also does this with:

title win7
fallback 2
find --set-root --ignore-floppies /bootmgr
chainloader /bootmgr
savedefault --wait=2

But the wierd thing is my usb stick can boot windows 7 succesfully with the same configuration. Whats wrong with that? How can do with grub.cfg?

View 9 Replies View Related

Ubuntu Installation :: Grub2 Won't Boot Windows Xp

Jan 3, 2011

ok so sounds like everyone elses issue that i`ve seen on here but i had it all working properly until i booted into ubuntu and updated grub somehow and when it told me to reboot all i got was a grub rescue error.

Now i got ubuntu 10.10 installed to try and fix the grub 2 error but now cant get it to boot windows from the menu.

View 5 Replies View Related

Debian Configuration :: Squeeze Grub2 Made Console Font Green

Apr 1, 2010

After an update on squeeze about a week or two ago, my console font turned green. I'm not exactly sure of the timing, because I switch between lenny and squeeze, and some time passed between the update and the reboot in squeeze.

During the update, I was asked if I wanted to keep my altered /etc/grub.d/00_header or take the package maintainer's version. I took the PM's version, knowing I'd lose my edit (set gfxpayload=1024x768x16). When I add that line to the new 00_header, run update-grub and reboot, the console font is the size I want, but it's a dull green. Reminds me of my first computer. How do I get it back to white and keep the 1024x768 resolution?

Currently booting with grub-legacy and chainloading grub2. If I boot entirely with grub-legacy, and pass vga=791, the console font will be white. It doesn't matter which kernel I use. Currently, I'm running 2.6.32-3-686. Same behavior exists if I use 2.6.30-2-686. If I use 1024x768x8 I get a dull gray instead of dull green.

View 4 Replies View Related

Ubuntu :: How To Set Windows As Default Boot Option In GRUB2

Apr 3, 2010

I managed to set up my laptop to dual-boot Windows XP SP3 and Ubuntu 10.04. How do I set the Windows to be the default boot option at startup (GRUB2)?

View 3 Replies View Related

Ubuntu Installation :: 10.04 / Windows XP Dual Boot (using Grub2)?

May 12, 2010

I recently installed Ubuntu 10.04 on my dual boot system and noticed that my boot options were changed. I typically have Windows XP as the default OS. Here are the steps that worked for me to get Windows XP as the default boot using Grub2.During my initial Window XP install I had partitioned my hard drive into 3 partitions:

Code:
Partition 1: NTFS format (Windows XP installation) in Linux it is called /dev/sda1
Partition 2: NTFS format (Data for Windows XP) in Linux is is called /dev/sda5

[code]....

View 6 Replies View Related

Ubuntu :: Updated Grub2 Cannot Boot Windows Partitions?

Jul 12, 2010

I updated Grub2 and now I cannot boot my Vista or Windows 7. I am running Ubuntu 10.04. I updated because Grub2 was not updating to the newer kernels that were being installed. Now the new kernel is showing in the boot menu, boots fine into Ubuntu, but my Windows installs won't boot. Current installed version is grub-install (GNU GRUB 1.98-1ubuntu6).

View 4 Replies View Related

General :: Windows - Change The Order Of All Boot Entries In GRUB2 Not Just The First?

Jun 19, 2011

It's quite easy to change the default boot entry through etc/default/grub. However, this only allows for the first entry to be changed. I want to be able to move all the entries in any order I like. What is the best/easiest way to do this?

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved