Ubuntu, Kubuntu, debian based systems can't detect Windows Vista
Hi!
I would like to ask for your help. I have problem with Ubuntu, Kubuntu related to not detecting Windows Vista in grub. I run update-grub or update-grub2 and see that on generated cfg there is Windows Vista, also when i use sudo os-prober the same list is being generated with Windows Vista but as soon as i reboot, see purple grub with available systems to boot, there is no Windows Vista. I think that it is related to call 30_os-prober in /etc/default/grub or /etc/grub.d/ (im on Windows right now, can't check it). The only way of starting Windows is not from grub but by hitting F8 and selecting hard disk with it. Could you help me? I tried to find a solution, few have the same problem but running os-prober in my case didn't helped at all. Thanks. Here are the outputs of update-grub, update-grub2 and os-prober Code:
firekage@deusex:~$ sudo os-prober Code:
firekage@deusex:~$ sudo update-grub Code:
firekage@deusex:~$ sudo update-grub2 |
Your output above shows windows on sdc1 and windows likes to be on the first drive so you should be able to boot by mapping the drive. Add the following to your windows menuentry in grub.cfg:
set root=(hd2,1) drivemap -s hd0 hd2 Reboot to test it and if it succeeds, copy the windows entry to /etc/grub.d/40_custom and run update-grub. |
Quote:
Could you explain setting root here? I'm not familiar with this kind of naming devices (i know windows letters naming devices and linux naming devices /dev/sdXY, but here are propably msdos and i dont understand how to use it in future). Why i need it on the first "disk" - it worked on plain install. BTW - what "mapping" drive here means? This is the output from /boot/grub/grub.cfg Code:
### BEGIN /etc/grub.d/30_os-prober ### |
Everything you have posted suggests to me that Ubuntu can see the Windows Vista install just fine and even includes it in your grub.cfg.
When you see the GRUB screen have you tried pressing an arrow key (to stop the timer) then looking for and entry named something like "Other OSs"? Also, does Slackware show up on the GRUB menu you see? |
In your first post, you indicate you are seeing a purple screen on boot which means it is Ubuntu. Is the grub.cfg file you posted from Ubuntu? If so, you should see this for windows:
Quote:
The reference to set root is from the menuentry in grub.cfg. In Grub Legacy, it was: root (hd0,0) or whatever drive/partition. So I would suggest that your change the line in your windows entry by adding this line below the current set root='(hd2, msdos1)': drivemap -s hd0 hd2 so that your entry looks like this: Code:
menuentry "Windows Vista (loader) (on /dev/sdc1)" --class windows --class os { Quote:
http://sourceforge.net/projects/bootinfoscript/ |
Quote:
|
Quote:
Quote:
Quote:
|
I'm not sure what you mean in your last post about not understanding the part in code. On each menuentry line, there is a section in double quotes and that part and only that part is what you should see on your boot menu. Reading over your posts, I guess I misread and your problem is not just that you can't boot but that you don't even see the windows entry as an option on boot, is that correct?
The menuentry lines in grub.cfg should show up on the boot menu and in the grub.cfg file you posted, you have two Slackware entries with vista between them and four Ubuntu entries. You should see all of them in that order if the default is set to zero. If you use the down arrow key, you should see all the entries. The only scenario I can think of that would explain this is that you are running update-grub or editing the grub.cfg file in Kubuntu when you have the Ubuntu Grub in the master boot record - seeing the purple screen would indicate that as with Kubuntu it would be a blue screen. The only suggestion I would have if you haven't resolve this issue is to go to the link I posted earlier and download and run the bootinfoscript, posting the results here. Read the instructions, there is a link in the Description box on the site. |
You could also copy/paste the entry in the grub.cfg file to /etc/grub.d/40_custom if the down button doesn't reveal the entry that should be on your screen menu.
You will need to run update-grub to get that into the grub.cfg file. Will be the last entry on your screen menu. |
Quote:
You can either make a live CD with Boot Repair, or you can install Boot Repair to your working Ubuntu system. Note that since you can already boot Ubuntu, you do not need to boot from an Ubuntu live CD. You should be able to add that PPA to your Ubuntu system and run Boot Repair from your working Ubuntu install. |
Quote:
Quote:
Quote:
Quote:
---------- Post added 06-11-13 at 03:47 PM ---------- Quote:
|
Quote:
There is somethinfg more. In this quoted part there is "drivemap -s hd0 hd2" but earlier You suggested me to write something different: Quote:
BTW - after update-grub with added lines posted above, they dissapear. Update - either way, it doesen't work. Tried both of them. I will post bootscript. |
Here is my boot-repair log, could you check it?
http://paste.ubuntu.com/5767574/ I added also something here; http://ubuntuforums.org/showthread.p...1#post12692161 Quote:
|
Up.
|
I think you inadvertently mislead us.
You appear to have 3 GRUB installs and one LiLo install. So, which hard drive's MBR is being booted and which instance of GRUB are you seeing? |
All times are GMT -5. The time now is 05:13 PM. |