Ubuntu :: Windows 7 Deletes Grub2?

Aug 26, 2010

I booted into Windows 7 three times this summer and each time I did, upon restart grub was missing. In fact, the computer couldn't find any operating system, and displayed an error "No Module Name Found".

how to make windoze not commit suicide and delete grub?

I have a Dell Studio 1557.

:~$ uname -a
Linux dell-monsters 2.6.32-24-generic #41-Ubuntu SMP Thu Aug 19 01:38:40 UTC 2010 x86_64 GNU/Linux
:~$ sudo fdisk -l

[Code].....

View 2 Replies


ADVERTISEMENT

Ubuntu :: Windows Deletes GRUB Each Boot?

Nov 7, 2010

Each time I boot into Windows 7 on my dual-boot setup (the other OS being Ubuntu Maverick), the computer is no longer able to boot. I can use Windows fine that once, but after shutting down and restarting it simply loops during boot in the pattern OEM screen, power off, power on, OEM screen, power off, power on... you get the idea.

I have read that this is due to Windows (or a program inside Windows) "fixing" the Master boot record (MBR) each time it loads - and in doing so, deleting GRUB. Thing is: on my other laptop the exact same dual-boot setup works fine. My problem laptop is a Samsung R780. My guess is that it's a specific program on my laptop, as oppose to Windows in general, which is doing it, so I was hoping that you could help me either identify the problem program or secure the MBR against Windows writing to it (if that is possible).

I can, of course, fix GRUB each individual time it is destroyed by installing it again using the Ubuntu live CD, but this is obviously not a permenant solution as, upon the next boot of Windows, it is destroyed again.

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

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

Ubuntu :: Grub2 Can't Detect Windows XP

Jan 17, 2010

As the Title states, "update-grub" does not detect the windows xp partition on /media/sda1. And, when I attempt to mount it from teminal nothing happens, and from nautilus I receive the following error: "Error mounting: mount exited with exit code 2:
mount: only root can mount /dev/sda1 on /media/sda1" I am root.

View 9 Replies View Related

Ubuntu :: 10.10 Grub2 Cannot Detect Windows 7

Oct 10, 2010

I've searched quite a bit and cannot find a solution to why using update-grub cannot detect my windows 7 partition Here is a log of the bootinfo script(hopefully it pastes correctly...)

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 #1 for (,msdos1)/boot/grub.

[code].....

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

Ubuntu :: Grub2 Not Booting Windows?

Dec 5, 2010

So to make things short, here's my situation: I was having the "no module found" problem, because dell software kept on messing with the MBR So I restored the MBR using Windows recovery and deleted the dell software Re-installed ubuntu 10.10 off the liveCD ~Then I had problems getting GRUB2 boot menu to show at boot, but i fixed that~ Now I'm having the problem where whenever I try to boot into windows 7 through GRUB2 instead of booting windows I just get:

"bootmgr is missing"

Note: I can still boot into Ubunutu 10.10 just fine.

View 9 Replies View Related

Ubuntu :: Windows 7 Reboots GRUB2?

Feb 17, 2011

I installed Ubuntu 10.10 on my computer from a USB. I did not use wubi to install ubuntu. The computer already had Windows 7 installed. According to gparted, Windows 7 is installed in sda1, linux swap space is in sda2. Then sda3 is shown as a drop down menu containing sda5, where linux is installed. A picture to show this is attached . sda4 is a recovery partition that came with the computer.

The problem is that Windows 7 sometimes boots, and sometimes it does not boot. Most of the times it does not. Ubuntu boots perfectly. The process to boot is the usual, turning on the computer, wait for grub to load. If I pick Windows, it goes to the splash screen (which is by the way not the usual windows 7 splash screen, it resembles more the vista splash screen, picture attached. I do not know the reason, and I have no idea if it has anything to do with the problem) About 80% of the time, it simply reboots a few seconds after the windows splash screen is shown. The reboot takes me back to the usual HP splash screen, then grub again. The other 20% of the time, it boots normally and works perfectly well.

Right after I installed ubuntu Windows was shown in grub as installed at sdb1. I updated grub and now it is shown as sda1. I already tried some grub custom entries for loading Windows differently, but they all present the same problem. Please do not discard a custom entry as a solution, as the source I used for these custom entries was not entirely trustable.

I also tried popping in the windows installation disk and trying a system repair, but apparently no errors were found.

Reinstalling grub using Ubuntu live cd (booted from a USB) did not work either...

View 9 Replies View Related

Ubuntu :: Grub2 Won't Load Windows?

May 16, 2011

i installed ubuntu / under /dev/sda1, then installed Win7 under /dev/sda2, as primary. Extended partition and its logicals are for data.

After Win7 installation, i can restore the grub2 for ubuntu, with grub-install and update-grub2. It can even probe the NTFS partition under /dev/sda2. But at restart, when i tried to go to Win7 selection, it does nothing, screen goes black, blank, with a single cursor blinking.
Some data:

Ubuntu Natty 11.04

From /etc/grub/grub.cfg:

Code:

menuentry "Windows 7 (loader) (on /dev/sda2)" --class windows --class os {
insmod part_msdos
insmod ntfs
set root='(/dev/sda,msdos2)'

[Code].....

View 3 Replies View Related

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

Ubuntu :: Grub2 Does Not Detect Windows XP On U9.10 / Make It Possible?

Apr 2, 2010

I installed Ubuntu 9.10 yesterday on my computer. I had Windows XP and Windows 7 (I deleted the Windows 7 partition and installed Ubuntu 9.10). However, after installing Ubuntu, I couldn't access the grub boot menu. So I googled, and I found out how to make the menu show up again. That was okay. But Windows XP didn't show up. So I googled a bit more, searched the forums, and I added the following entry to my 40_custom file code...

As far as I know, that should work. The uuid I entered there is the one that gparted told me was the uuid of the partition. However, this isn't working. I get a disk read error when I try to boot my Windows XP.

According to my gparted, my Windows XP drive is inside an extended partition? I wonder if that has any influence on why I'm getting the disk read error, or anything. It's either that, or my 40_custom entry is wrong. I've been trying to sort this out for a while now, and I'm afraid I'm not getting anywhere with it.

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 :: 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 :: Grub2 No Longer Shows - Only Windows

Jul 15, 2010

i am dual booting windows 7 and ubuntu 10.4 lucid, i just reinstalled the Grub2 after my windows erased it, and now it boots into grub2 but i can only boot into my windows7 loader, ubuntu is not even listed as an option for me to boot into its just a bow with the win7 loader. How can i get the grub2 to load ubuntu back again? i followed the guide on this site to reinstall the Grub2 and set up the dual boot. [URL] edit: i can find plenty of info for getting windows back into grub, but none about getting ubuntu back

View 8 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 :: 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

Ubuntu :: Recover Grub2 After Reinstalling Windows 7?

Feb 28, 2011

I am trying to recover Grub2 after reinstalling Windows 7 on my computer (which always takes over everything). I downloaded the Ubuntu 10.10 image from here and have mounted the image using the given instructions.

After restarting my computer, changing the boot order, etc., the computer reboots and hangs at "Verifying DMI Pool Data............" I have done everything correctly, so what exactly is causing this problem? Should I restore Grub2 in some different way, then?

View 2 Replies View Related

Ubuntu :: Windows 7 Doesn't Show Up In GRUB2?

Apr 9, 2011

So, as the title says Windows 7 doesn't show up in GRUB2's selection menu, but it does show my Windows XP professional option that I had before Linux and then reinstalled. After searching very long for the problem in Linux and GRUB2 I decided to boot into XP, witch gave me the option for Windows 7 or older versions of Windows -> so I eventually can boot to it! So here is the real question: How can I make an entry for Windows 7 and for Windows XP? This is because I'd like to use a theme for GRUB and it would be to stupid to make GRUB look nice if I then come to a stupid screen of the Windows loader!

View 9 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 :: 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 :: Booting Windows From Grub2 Without Chainloading?

Jun 4, 2010

if it is possible to boot windows without the chainload option. I don't have xp on the first partition and I don't want to load xp bootloader on the first partition because it will overwrite grub2. All I want to do is boot xp directly from grub, is this not possible? Can't I just load the kernel like I do with linux? I've never had luck with getting grub2 to load xp, P.S. grub version is 1.97 from ubuntu 9.1 install

View 9 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 :: Grub2 No Longer Booting Into Windows Properly

Mar 22, 2010

so after my upgrade to 10.04 I'm experiencing a puzzling problem with Grub2. It can load everything fine except for XP. I have XP on a separate partition, it is detecting fine and the grub.cfg file is created withou a problem when I the appropriate commands to update and upgrade grub. What happens is that I select Windows XP from the list and it goes to a black screen where a cursor in the top left corner blinks 3-5 times and then immediately kicks me back to the Grub menu. I can do this forever but the grub menu just gets reloaded every time. Any ideas?

Here is the windows portion of my Grub.cfg:

### BEGIN /etc/grub.d/30_os-prober ###
menuentry "Microsoft Windows XP Professional (on /dev/sda2)" {
insmod ntfs

[code]...

Here is my boot.ini on the ntfs partion I am trying to boot into

[boot loader]
timeout=30
default=multi(0)disk(0)rdisk(0)partition(2)WINDOW S

[code]...

View 7 Replies View Related







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