1.

Solve : help adding grub2 windows 7 boot entry??

Answer»

the title is somwhat self-explanatory, but when i boot into grub, there is no windows option.
i went into terminal and did the following:
Code: [Select]sudo fdisk -l /dev/sdai then found that my windows partition is /dev/sda1.
i then did the following:
Code: [Select]sudo nano /etc/grub.d/11_windows


echo "adding windows" >&2
cat<< EOF
menuentry Windows 7 {
set root=(hd0,1)
chainloader +1
}
EOF

after that i put in
Code: [Select]sudo chmod a+x /etc/grub.d/11_windows
all of this went off normally, but then when i input
Code: [Select]sudo update-grubit returns: "/usr/sbin/grub-probe: error: cannot stat 'aufs' "
how do i fix this?

i am multi-booting ubuntu with windows 7 x64
I am running ubuntu off of the LIVE disc b/c the usb drive that it should be on isn't working for the moment,and Win7 is running off a RAID-0  600GB array on the first partition.
Quote from: special.ed711 on July 02, 2011, 03:08:07 PM


i am multi-booting ubuntu with windows 7 x64
I am running ubuntu off of the live disc b/c the usb drive that it should be on isn't working for the moment,and Win7 is running off a RAID-0  600GB array on the first partition.

I'm confused. Do you have Ubuntu installed on an internal hard drive? Are you talking about the grub menu on the live cd?ubuntu is not installed for all intents and purposes, therefore I am running off the live cd.
how would i GO about editing the grub menu on the internal hard drive so there is a windows entry?There are dozens of articles on different forums about how to DUAL boot different versions of Linux with different versions of Windows. Most of these articles will indicate that there are potential problems. Few of them ever tell you there's an easy way to do it and avoid the problems. Here's a method that works very well, is very simple, the not very elegant or attractive.
Most computers, desktops or laptops, have an option in the BIOS to boot either the first or second hard drive in the system, or even the CD-ROM. What you can do is set this up so that Windows Is on the first drive, which is PROBABLY called dry zero. The other operating system you want can be set up on the next try, which issued a call drive one.
Both installations are done absolutely independently of each other, without one being aware of the other. Thereafter they restructure machine it will automatically start up Windows unless you the option to have a boot menu , set option on my laptop is the F12 key. There I can select either the first or the second drive or even the CD-ROM. So when I want to play with Linux I remember to do that. If I'm not thinking about Linux, I'll just go ahead and let the thing go into Windows.
Now what is disappointing about this incident does not have a nice attractive menu that you can get either from Windows or from grub. It is just an ugly little boot menu that is part of the built-in BIOS of your system. Use it and your life will be boring. Nothing will go wrong. You have two separate operating systems on two separate drives.
Of course, many people don't like that. That's why we have forums like this so we can tell people how to do it the hard way. But I thought you or somebody  might like to know there is an easy way.

And yes, I do not how to do it the hard way.  Been thee, done that.


Quote from: Geek-9pm on July 03, 2011, 12:25:06 AM
Been thee, done that.

You've been me and "done that"? That's scary! Why wasn't I informed? Should I call the FBI?
Quote from: special.ed711 on July 02, 2011, 11:37:48 PM
ubuntu is not installed for all intents and purposes, therefore I am running off the live cd.
how would i go about editing the grub menu on the internal hard drive so there is a windows entry?

You can't. You will need to have some flavor of Linux installed to edit grub.

Do you just want to restore the Windows boot loader? Quote from: SALMON Trout on July 03, 2011, 12:57:48 AM
You've been me and "done that"? That's scary! Why wasn't I informed? Should I call the FBI?
Won't matter. I an on the FBI's 'least wanted' list. 

Back to topic. EASUS Partition Manger is now free.   Sorry about the late post, but long story short, I took your advice. I just restored the windows boot loader and from here I'll either get another internal hdd or just run ubuntu in a VM on windows
Anyhow, thanks a million for all the help, guys. Quote
ubuntu in a VM on windows
Lately, I do that now on the laptop. Much easier. Fun, too.


Discussion

No Comment Found