Ubuntu Installation :: Grub2 Does Not Recognize Windows 7

Feb 28, 2010

I have 2 hard drives, first drive (hd0) is for data, second drive (hd1) is for the OS's. Windows 7 was installed on (hd1) a few months ago and wiped out GRUB. But today, I decided to go back to Ubuntu. I performed a fresh install of 9.10 x64 to (hd2), GRUB2 works and finds Ubuntu (both the newly installed x64, and the previous x86 versions), but it does not see Windows 7. The only goal I have right now, is to make Windows 7 bootable, once again.

My "sudo fdisk -l" (typing manually, so skipping the Blocks)
Device Boot Id System
/dev/sdb1 83 Linux -- where x64 9.10 is
/dev/sdb2 f W95 Ext'd (LBA)
/dev/sdb5 83 Linux -- where x86 9.04 is
/dev/sdb6 83 Linux -- /home
/dev/sdb7 82 Linux Swap / Solaris
/dev/sdb8 87 HPFS/NTFS -- Windows 7

Things I've tried so far:
1) Automatically finding Windows: sudo update-grub2
2) Reinstalling grub via Live CD (9.10): sudo grub-install --root-directory=/media/(where sdb1 - x64 Ubuntu is) /dev/sdb
3) Forgetting Ubuntu altogether and fixing boot using Windows 7 - bootrec.exe /fixmbr; bootrec.exe /rebuildbcd

Now, number 3 is interesting, I found out that where Windows is installed, /dev/sdb8, is a logical partition, and cannot be made active (bootable). This led me to try number 4:

4) Updating /etc/grub.d with custom 40_Win7 file, and making it bootable (the GRUB makeactive, GRUB2 parttool command):
echo "Adding Win 7 to Bootloader" >&2
cat << EOF
menuentry "Windows 7" {
insmod ntfs
set root=(hd1,8 )
parttool (hd1,8 ) boot+
chainloader +1
} EOF

When I update grub.cfg after trying #4, it gives me the "not a primary partition" error. So now I am confused. Windows 7 was able to boot previously from this very partition, and I don't think installing 9.10 would change a partition type from primary to logical. So, why can't it boot? More importantly, what can I do to boot Windows 7?

View 9 Replies


ADVERTISEMENT

Ubuntu :: Grub2 Doesn't Recognize Windows 7

Sep 1, 2011

I installed windows 7 after I installed linux. I got grub reinstalled but windows doesnt show up in the grup menu. So I run in linux sudo update-grub, but this doesnt find my windows system.

Here's my fdisk -l

Code:

Device Boot Start End Blocks Id System
/dev/sda1 1 8511 68358144 83 Linux
/dev/sda2 8511 8572 487425 5 Extended

[code]....

View 8 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 Installation :: Grub2 Doesn't Recognize The UUIds - Invalid Signature

Aug 11, 2010

I have /dev/sda with Squeeze and Win 7 on it, and /dev/sdb with Squeeze. I've managed to get Grub 2 to boot from /dev/sdb1, but only by disabling /dev/sda from being a boot option in the BIOS. When it is available to boot, and lower priority than /dev/sdb, grub does not recognize the UUIds of the disks. So, I've disabled it for now and can boot from /dev/sdb no problems. Trouble is I cannot get Win7 to boot. Grub prints:

error: no such device: f0903a3a903a081c
error: invalid signature

When I boot into Squeeze and run 'blkid' I can see that:

/dev/sda1: LABEL="System Reserved" UUID="F0903A3A903A081C" TYPE="ntfs"

The Grub entry for Win 7 is:

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

I don't understand how Grub 2 cannot recognize the UUIds. Can Grub 2 to be made to work with volume labels or just plain old /dev/... descriptions? Maybe I should give grub-legacy a go.

View 9 Replies View Related

Ubuntu Installation :: 10.10 Upgraded To 11.04 Within Windows Xp - Fails To Recognize Windows Partitions

May 1, 2011

I have 10.10 installed within my Windows Xp.All was fine.Then,I upgraded to 11.04.Boot screen etc is fine .Log in is automatic in Classic.Unity & Compiz not supported.Now,again everything is fine except that my xp partitions are not recognised and hence I can not mount them and access them.

View 5 Replies View Related

Ubuntu :: Getting GRUB2 To Recognize Moblin And Actually Boot Into It?

Jan 7, 2010

Right, I've made some progress in regards to this. Moblin is now on the GRUB2 boot menu thanks to a sudo update-grub. But for some strange reason, it comes up with this the scenario in the first image when I go into its entry.

I tried doing some stuff to the /etc/default/grub, but that didn't even help. The second image shows the contents of /etc/default/grub.

I would really like Moblin to work. I am so close to getting it to work, yet so far because I can't even boot into it

View 3 Replies View Related

Ubuntu Installation :: 10.04 Can't Recognize Windows Partition / Sort It?

Apr 29, 2010

This is my first time to post a thread.I'm not native English-speaker,so my English is poor.And I wish you can understand what I mean.
I have used wubi for months.Today I decide to install Ubuntu 10.04 on my harddisk.I create a liveUSB to install 10.04.But the problem during installing is when partition detecting,the windows partition can't be detected.It shows 'Ubuntu' on /dev/sda1,but in fact it is the windows partition.I ignore it and go on.After all done,10.04 can work well,but windows can't be booted.
Then I try to use 9.04 CD to install,and it shows 'Widows NT/2000/XP' on /dev/sda1 correctly.At last,both 9.04 and windows xp can be booted.
Is it the problem involving the difference between CD and liveUSB,or 10.04 and 9.04?
Can you tell me why and give me a hand?

View 2 Replies View Related

Ubuntu Installation :: GRUB 2 Does Not Recognize Or Boot Into Windows XP?

Oct 13, 2010

i can't boot up my win XP after installing Ubuntu 10.10.

I decided to replace my Vista partition with Ubuntu 10.10 so i redo my partitions and split the current Vista partition to a swap and root partition and install Ubuntu 10.10

Everything went well and i got Ubuntu up and running. However, i realize that GRUB 2 didn't recognize my existing windows partition. I double-check on grub.cfg and see that the default os_prober didn't recognize my XP partition either.

After search on the internet for a while, i found many similar issue where most are fix when manually adding the entry yourself so i decided to add an entry 11_XP under /ect/grub.d/ for windows XP and confirm that the new entry are added to the update grub.cfg file before restarting

Code:
### BEGIN /etc/grub.d/11_XP ###
menuentry "Windows XP" {
set root=(hd0,5)
insmod chain
drivemap -s (hd0)

[Code].....

View 3 Replies View Related

Ubuntu Installation :: Windows 7 Is Not Booting Through Grub2?

Apr 4, 2010

I have windows 7 in RAID 0 and installed Ubuntu 9.10 to another Sata drive. Ubuntu is working fine but if I try to boot windows in the Grub2 loader it goes do error and lets my to restart. I have finish the windows system recovery and setup repair several times and it won't find any problems. I can't get to windows loader.

Code:

Boot Info Script 0.55 dated February 15th, 2010
============================= Boot Info Summary: ==============================
=> Windows is installed in the MBR of /dev/sdb
=> Grub 2 is installed in the MBR of /dev/mapper/pdc_chfbjcefbd and looks for
(UUID=c859191e-3279-4ecc-a569-4dfc8e1789b3)/boot/grub.

[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 Installation :: 10.4 - Windows 7 And Grub2 (No Path Specified)

Jul 17, 2010

After installing ubuntu 10.4 netbook remix edition to my laptop, I then found that GRUB hadn't installed at all, and it went straight to windows 7 each time. So I rebooted from my live-usb and got into the terminal, and typed

Code:
sudo grub-install /dev/sda5

Which then gives me
Code:
No path or device is specified.
Try `/usr/sbin/grub-probe --help' for more information.
Auto-detection of a filesystem module failed.
Please specify the module with the option `--modules' explicitly.

View 2 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

Ubuntu :: 10.04 Not Listed In Grub2 After Windows Installation

Jul 22, 2011

i was dual booting windows 7 and ubuntu 10.04 with grub2 as the boot loader then I had to reinstall windows because of some issues, during the installation I had to DELETE the partition windows was installed on then create a new one, this was the ONLY Primary partition in the hd and it was the partition grub2 installed on.

After the installation finished, i loaded an ubuntu live cd and reinstalled grub2 using the graphical tool "boot-repair", it worked and windows 7 appears on the list but ubuntu does not!. I tried sudo update-grub2 (found a tutorial to make this command work in Live CD) but the problem still exists. I also tried booting using the command line (set root=(hd0,1)....etc) but it doesn't work, windows boots when the value is set to 1 but when I try 2 I get an error.

Is there a way to verify that the ubuntu installation is still working and how can I make it appear on grub2 if it's still working. As I said the deleted windows partition was the only Primary partition and the / & /boot & /home & swap were all logical, do I need to set / partition to be Primary in the installation?

part of fdisk -l:

Code:

Disk /dev/sda: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

[code]....

View 5 Replies View Related

Ubuntu Installation :: 10.10 Maverick - Grub Won't Recognize My Windows Partition / Fix It?

Oct 17, 2010

I had Windows 7 ultimate installed on my netbook and installed Ubuntu 10.10 using the 'Install alongside other OS's' option which put windows onto another partition and created one for ubuntu.

Anyway I've tried reinstalling the grub but I never get a grub boot menu when I boot it up and the grub won't recognize the windows install

View 6 Replies View Related

Ubuntu Installation :: Restore Grub2 After Windows Reinstall?

Jan 19, 2010

My friend recently re-installed WinXP on his laptop, but I'm having trouble getting Grub2 working. I followed a guide online, but when I booted it back up again, I got a Grub prompt instead of a boot menu.

View 4 Replies View Related

Ubuntu Installation :: 10.04 Upgrade - Grub2 And Windows Partitions

May 7, 2010

I upgraded from 9.10 to 10.04 (no fresh install, an upgrade). During the upgrade, the installer asked me for the harddisks and partitions to include. I gave him the following ones:

Harddisk 1
1. Windows XP
2. Windows 2000

Harddisk 2
3. Ubuntu 10.04

After the installation was complete, I could only start Ubuntu. Both Windows versions just showed a flashing cursor at the left upper top screen. No HDD activity! How can I get WinXP and Win2000 selectable within grub2?

View 2 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 Installation :: Skip Windows Loader Using GRUB2?

May 22, 2010

I would like to have some entries in GRUB2 so that I can directly boot Windows XP and Seven without having to load the Windows bootloader (so I would like to avoid one step, now is:load GRUB2 --> then Windows loader --> then Windows boots. I would like it to be: load GRUB2 --> then Windows boots). s this possible?This is what I have now in my grub.cfg

Code:
cat << EOF
menuentry "Windows Operating Systems (XP & Seven)" {

[code]....

View 5 Replies View Related

Ubuntu Installation :: Dual Booting Windows Without Having To Use GRUB2?

Jun 13, 2010

The Problem, installing ubuntu over top of windows and vice versa causes the windows boot menu to forget about ubuntu.The Solution:1. Using bcdedit from within windows to edit the boot menuClick Start -> Type Cmd.exe run it in elevated mode (as an administrator) by right clicking it and selecting "Run As Administrator" Inside the console type bcdedit, notice that the ubuntu boot entry is still there, for example i use three o/s , windows 7 professional x64, windows 7 ultimate x64 and Kubuntu and it looks like this

Windows Boot Manager
--------------------
identifier {bootmgr}

[code].....

View 1 Replies View Related

Ubuntu Installation :: Windows Not Booting From GRUB2 After Upgrade?

Jul 18, 2010

My girlfriend upgraded from Karmic 9.10 to Lucid 10.04 when the upgrade became available. She did it from Update Manager as opposed to a clean install.

I have no idea what she did, or how the process works (I installed from a Live CD on my own computer) and ever since she did it, she hasn't been able to boot into Windows XP from GRUB2.

GRUB2 loads up fine, with Ubuntu and Windows listed. It'll boot into Ubuntu with no problems. Selecting Windows will just re-load GRUB2.

I've tried re-installing GRUB2 but that hasn't worked. My lack of imagination means I have no idea what to type in to Google, or the forum search.

View 5 Replies View Related

Ubuntu Installation :: Windows Does Not Show Up On Grub2 Bootloader

Jul 19, 2010

I'm relatively new to Ubuntu, I've installed it in Virtual Box and through Wubi on other computers but this was the first time that I've done a live install on my production computer. I had problems from the get go, I was using a Live CD of 10.04 (64 bit AMD) to install it and when it got to the part about choosing a partition no drives would show up at all. Eventually after some searching around, I discovered that Using an Alternate install CD would work. I did that, installing Ubuntu into one of the free partitions I had set up prior to this. Eventually my system turned on but the monitor went to sleep so I had to hit E on the grubmenu and change something to nomodeset (or something like that) so that I could see the screen. I installed Compiz and it was all good from there.

Except for One issue, I cannot boot Into windows at all, it doesn't show up on the bootloader even though the partition shows up in Gparted. I've tried updating Grub2 with no results, here are the results of Sudo fdisk -l
Disk /dev/sda: 400.1 GB, 400088457216 bytes
255 heads, 63 sectors/track, 48641 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x1549f232 .....

View 9 Replies View Related

Ubuntu Installation :: Remove Windows Entry From Grub2?

Aug 17, 2010

Ive installed a fresh copy of ubuntu onto my laptop, dual boot with 7. Everything runs smoothly except the grub. So in grub i have an entry of vista loader. I have removed the ubuntu recovery mode and the memtest entry so now i have 3 entries

Ubuntu
vista loader
7 loader

How i can remove the vista loader? PS i have never had installed vista onto my system i bought it brandy new with 7 pre-installed.

View 8 Replies View Related

Ubuntu :: Windows Or Some Software Damage Grub2 Installation

Sep 17, 2010

I installed Ubuntu 10.04 LTS currently. This is my first experience with Linux and it was installed together with Windows XP on my laptop, a Compaq nx6320 (HP). After first running Ubuntu and then Windows the MBR (Master Boot Record) on my hard drive was damaged and I couldn't start my computer again. All my information and work gone? MBR and Grub can of course be recreated and things don't need to be so bad. You maybe will reinstall Windows and Linux and destroy all your data..

I can temporary fix my system until the problems is solved. The latter will probably be a better Grub(2) that can protect it self from being destroyed by Windows or any other code that write data to MBR. From different forums I can see that many people already is very upset and disappointed with Ubuntu because of the actual problems. Can Ubuntu and its supporters afford this to go on much longer?

View 1 Replies View Related

Ubuntu Installation :: Installing Grub2 From A PC Running Windows?

May 13, 2011

In short, what I'd like to find is a workaround to install Grub2 onto a USB stick, from a PC running Windows, without using a GUI. After searching, I don't find any way to install Grub2 from Windows. I do have a nice little MS-DOS batch file that installs syslinux onto a USB stick. It's simple, fairly fool-proof, and I'd like to convert it to install Grub2.Did find an example of running grub-install without actually installing anything: grub-install --grub-setup=/bin/true /dev/sdaSo, IFAIKT, this just creates the Grub2 'boot.img' file, and maybe also modifies the 'core.img' file? Is that right? If so, then a little DOS utility to write a USB's MBR using the boot.img should work, yes?

However, I notice the boot.img file is 512 bytes. As I understand it, a drive's partition table is included in that space. I'd like to take that boot.img and use it to install Grub2 on any arbitrary USB stick, without altering the existing partition table. If I snip off the last 72 bytes so the image is only 440 bytes, it seems like this should work (assuming that every USB stick will have Grub2 installed in the /boot/grub subdirectory).If this sounds right, is there a DOS-based MBR update utility that you would recommend? I find several, such as MBRUtility, MBRWizard, and MBRFix, among others

View 4 Replies View Related

Ubuntu Installation :: GRUB2 Does Not Show Windows-XP In The Menu?

May 18, 2011

GRUB2 does not show Windows-XP Pro in the menu anymore.

Probably already posted before; however each case usually is somehow different. I use Ubuntu only occasionally to learn how it works.

After the latest update using Update Manager, quite a few packages were installed without any problem. However GRUB2 does not show the Windows-XP(Prof) partition in the menu anymore. Now I can't boot Windows because I can't select what is not shown.

1. This what I get with command "sudo fdisk -l" (in the present situation)

georges@PC1:~$ sudo fdisk -l
[sudo] password for georges:
Disk /dev/sda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

[Code]....

It is already the second time that GRUB2 changes the menu items as it pleases, messing up the bootmenu. How can I repair the bootmenu in order to be able to boot Windows-XP, as before the updates ?

The current Ubuntu version is now 10.4 LTS The current GRUB version is "GNU GRUB version 1.98 Ubuntu10"

View 9 Replies View Related

Ubuntu Installation :: Windows Boot Disk Won't Recognize Empty Partition / Fix It?

Nov 16, 2010

I've had Ubuntu 10.10 installed for a while and I recently cleared a partition to install Windows XP. However, when I load from the Windows XP boot CD, I get "7379one MB disk 0 at ID 0 on ?Bus 0 on atapi(Setup cannot access this disk)". I've tried just about everything

View 4 Replies View Related

Ubuntu Installation :: Fixing Grub2 Boot Changes To Windows Drive?

May 3, 2010

I just installed Ubuntu 10.04 LTS on an external hard drive (USB connected) and I can no longer boot my Windows XP(SP3) from my internal C Drive. Grub gives me the list of boot choices, but when I choose the C drive, I just get these error messages:

GEOM ERROR
For Realtek RTL8139(X)/8130/810X PCI fast ethernet controller v2.13 (020326)
Client MAC ADDR: 00 13 D3 07 FD F5 GUID: FFFFFFFF-FFFF-FFFF-FFFF-FFFFFFFFFFFF
PXE-E53: No boot filename received
PXE-NOF: Exiting PXE ROM

(The version of Grub is 1.98-lubuntu5). I don't have a Windows System CD to boot from, but is there something I can do from within Ubuntu itself?

View 9 Replies View Related

Ubuntu Installation :: Fix The Process After Choosing Windows Boot In Grub2?

Jun 9, 2010

I have a dell Inspiron 5150. I had perfect windows XP home installation, and decided to dual boot with Ubunutu 10.04. I copied the whole C:/ to external drive, installed ubuntu, installed windows, repaired Grub2, but now, Grub2 looks something like this.

[Code]...

View 9 Replies View Related







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