PDA

View Full Version : [ubuntu] Windows "missing operating system" after Ubuntu 12.10 instal?



jp1016
December 24th, 2012, 03:35 AM
Hi, I used rEFIt to install Ubuntu 12.10 on my macbook pro, which also had windows 7 on it. Now when I try to use the windows partition, it displays the message "missing operating system" on a black screen. If there's any other information needed I'll post more.

Any help is appreciated! Thanks!

fdrake
December 24th, 2012, 03:38 AM
Hi, I used rEFIt to install Ubuntu 12.10 on my macbook pro, which also had windows 7 on it. Now when I try to use the windows partition, it displays the message "missing operating system" on a black screen. If there's any other information needed I'll post more.

Any help is appreciated! Thanks!
you have to fix the win partition with a windows cd. select the part that says repair windows or something like that..

jp1016
December 24th, 2012, 03:50 AM
Now if I have lost that cd, is there anything I can do :confused:

Bucky Ball
December 24th, 2012, 04:11 AM
Thread moved to Installation & Upgrades


Try Boot Repair ...

https://help.ubuntu.com/community/Boot-Repair

I don't know what rEFIT is but that may negate Boot Repair working.

Are you positive you haven't wiped Windows in the process of installing? If you can boot from the LiveCD, open Gparted and post a screen shot of your hard drive partitioning.

You can also open a terminal and post the output of:


sudo blkid

jp1016
December 24th, 2012, 04:36 AM
I can see all my windows files from my mac osx finder. Do I use that terminal code in OSX or Ubuntu?

jp1016
December 24th, 2012, 04:36 AM
I also created a recovery disk using a different laptop? Will it work? and how do I boot into the cd on my mac?

Bucky Ball
December 24th, 2012, 04:46 AM
Have you tried Boot Repair??? Create a bootable disk or run it from the Ubuntu liveCD (it will install to that from Software Centre).

You run that code in a terminal in Ubuntu. Who knows, could work in the terminal in Mac, too ...

fdrake
December 24th, 2012, 04:50 AM
I also created a recovery disk using a different laptop? Will it work?

NO recover cd are configurated only for that spec hardware


and how do I boot into the cd on my mac?

in order to boot from cd/usb you have to select the boot device from the bios. I do not have a mac but if you google around i am sure you'll find a way.

jp1016
December 24th, 2012, 06:34 AM
Well I tried Boot Repair, and it uninstalled grub, and I reinstalled it onto the same linux partition. Was I supposed to continue without installing it again? What should I do now.

Bucky Ball
December 24th, 2012, 07:30 AM
Boot Repair shouldn't uninstall grub unless you ask it. Sure it didn't just install it somewhere else? In Linux lingo, in a straightforward setup, it should be on the beginning of sda, first drive.

Boot Repair should rewrite your grub with any OSs it detects then write it to the correct place ...

jp1016
December 24th, 2012, 07:43 AM
Well I clicked the recommended step that said it would fix most problems, and well the message is stil being displayed. What should I do now?

jp1016
December 25th, 2012, 03:31 AM
Please help :o!

Bucky Ball
December 25th, 2012, 04:25 AM
If anyone could help I'm sure they would. Realise that it is now xmas day in many parts of the world and people will be in and out or absent for the next 24/48 hours.

I understand your frustration ...

jp1016
December 26th, 2012, 12:16 AM
If anyone could help I'm sure they would. Realise that it is now xmas day in many parts of the world and people will be in and out or absent for the next 24/48 hours.

I understand your frustration ...

Did sorta forget about that :(

Well I've now tried booting from a recovery disk made on a different computer, which as previously mentioned, did not work. Also retried the boot repair with the same results. I uninstalled rEFIt.

oldfred
December 26th, 2012, 05:55 AM
I do not know Macs, but there are some threads with good & not so good results.

http://ubuntuforums.org/showthread.php?t=995704

See posts by trogdor1138 (you may want to search for others)
http://ubuntuforums.org/showpost.php?p=12390285&postcount=6

YannBuntu
December 27th, 2012, 12:34 AM
Hello

Well I tried Boot Repair, and it uninstalled grub, and I reinstalled it onto the same linux partition. Was I supposed to continue without installing it again? What should I do now.

Please run the Recommended Repair then indicate the URL that will appear.

jp1016
January 1st, 2013, 06:53 AM
The link given was:

http://paste2.org/p/2677514

YannBuntu
January 1st, 2013, 10:47 PM
The link given was:

http://paste2.org/p/2677514

GRUB recognized your ext4 partition as ext2, which is strange. I reported the bug here: https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1095142

However, GRUB seems to be in your PBR, so rEFIt (or rEFInd) should be able to chainload to it.

Please install rEFInd, and tell us what you observe.

jp1016
January 3rd, 2013, 06:06 AM
After reinstalling rEFIt what should I try?

YannBuntu
January 3rd, 2013, 11:43 PM
After reinstalling refit, just reboot and check if you can access the GRUB menu.
If you can't, try with Refind instead of Refit.

jp1016
January 4th, 2013, 12:41 AM
I tried with both rEFIt and rEFInd, and I cannot access the grub loader menu. It says something about it being missing?

YannBuntu
January 4th, 2013, 12:54 AM
ok.
Please run Boot-Repair --> Advanced options --> "GRUB location" tab --> select "Place GRUB into: sda" --> Apply.
Tell me the new URL that will appear.
Then reboot and tell what you observe.

jp1016
January 4th, 2013, 01:35 AM
I tried that an I got the message:

"GPT detected. Please create a BIOS-boot partition (>1mb unformatted filesystem, bios_grub flag). This can be performed via tools such as Gparted."

YannBuntu
January 4th, 2013, 06:38 PM
via Gparted, reduce your sda4 partition in order to make 1MB free space between sda3 and sda4.
Then in this space, create a 1MB unformatted partition with bios_grub flag.
Then run Boot-Repair --> Place GRUB into sda.

jp1016
January 6th, 2013, 01:05 AM
Actually, I tried booting into Ubuntu via rEFInd and could find the GRUB menu, I just couldn't boot into my mac osx partition or windows partition from that menu...

YannBuntu
January 6th, 2013, 01:11 AM
Can you boot MacOS and WIndows from Refind?

jp1016
January 6th, 2013, 03:24 AM
Mac os yes, windows no. I can't boot into windows from any bootloader, they all say its missing the os.

YannBuntu
January 6th, 2013, 12:30 PM
Where you able to boot Windows before installing Ubuntu? if yes, how?

jp1016
January 6th, 2013, 05:24 PM
I did by holding down option, using the bootcamp bootloader, and choosing windows.

YannBuntu
January 6th, 2013, 08:47 PM
Then you should reinstall Bootcamp and check if you can still access WIndows from it.

jp1016
January 6th, 2013, 10:58 PM
Do you mean reinstall windows? I tried using a repair disk and nothing happened..

oldfred
January 7th, 2013, 04:23 PM
Windows needs to be in the first four partitions, so it is MBR in hybrid partition configurations used by Macs to boot Windows.

http://www.rodsbooks.com/gdisk/hybrid.html

jp1016
January 8th, 2013, 01:04 AM
Windows needs to be in the first four partitions, so it is MBR in hybrid partition configurations used by Macs to boot Windows.

http://www.rodsbooks.com/gdisk/hybrid.html

I'm a bit confused about this, but in specific what makes them "flaky and dangerous"? Will creating a hybrid MBR allow me to boot all three os?

oldfred
January 8th, 2013, 01:54 AM
I think the issue is each does not know about the other.

Most partition tools then do not know that you have to keep them in sync, so it is up to the user to know what he is doing and not use anything that can get the two out of sync.

jp1016
January 9th, 2013, 11:51 PM
So in the case of the user not knowing what he is doing (me), how do I fix it...:(

jp1016
January 11th, 2013, 11:58 PM
bump?

oldfred
January 12th, 2013, 12:34 AM
I do not know Macs.

But I thought the whole idea of hybrid was so you could install Windows in MBR mode as that seems to be the only way it works with Macs. And Ubuntu will boot from a gpt drive so it does not have to be MBR or can be beyond the first 4 partitions.. And hybrid only syncs the first 4 partitions so Windows has to be in sda1 thru sda4 or the primary in MBR.

You need to reverse the locations on the drive of Windows & Ubuntu. How did you get Windows out of the primary partitions? I do not know if somehow you renumbered them, if so reverse that. Otherwise it looks like a lot of reinstall?

jp1016
January 12th, 2013, 01:09 AM
I typed the command diskutil list, and here's what I got:

/dev/disk0
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *250.1 GB disk0
1: EFI 209.7 MB disk0s1
2: Apple_HFS Macintosh HD 192.4 GB disk0s2
3: Apple_Boot Recovery HD 650.0 MB disk0s3
4: Microsoft Basic Data 10.0 GB disk0s4
5: Linux Swap 1.1 GB disk0s5
6: Microsoft Basic Data BOOTCAMP 45.7 GB disk0s6
/dev/disk2
#: TYPE NAME SIZE IDENTIFIER
0: Apple_partition_scheme *17.3 MB disk2
1: Apple_partition_map 32.3 KB disk2s1
2: Apple_HFS Flash Player 17.3 MB disk2s2

Did I mess something up?

oldfred
January 12th, 2013, 01:51 AM
Afraid I do not know more than what I have posted. And I do not know your Mac tools on how to fix anything. I only read on hybrid configurations as I was trying to understand gpt partitions from the rodbooks site.

jp1016
January 12th, 2013, 09:04 AM
Has no one else had this happen to them? I'm a bit confused as to why this happened in the first place.

oldfred
January 12th, 2013, 04:52 PM
I probably should have moved you to the Apple sub-forum initially. May be best just to end this thread and start a new one there. Then users familiar with Macs should respond.

You can also search forum or review posts in Apple sub-forum.

Just append site:ubuntuforums.org to your search term
OR:
http://www.googlubuntu.com/

jp1016
January 15th, 2013, 12:30 AM
Well I made a new thread there, but its been two days and no responses :o

Bucky Ball
January 16th, 2013, 04:52 AM
Bump the thread. All good after twenty four hours and quite acceptable. Simply type:

bump

... which will get it back to the top of the list. ;)