Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

Possible Duplicate:
How can I repair grub? (How to get Ubuntu back after installing Windows?)

I had Ubuntu installed. When I installed ubuntu I completely formated the hard disk and then I made 3 partitions, one for root, one for home, and one for data.I left 25 Gb unused. All partitions were ext 4. After some months now I have installed the Windows 8 in the free space(24GB) . Now it directly boots Windows 8 and does not ask for the choice between Windows 8 and ubuntu . I can only access the partition in which I have installed the Windows. I want it to ask for choice between Windows 8 or ubuntu or some other way to run ubuntu or to access the data in the other partitions . Because I have very imported data there. I'm using Hp Pavilion dv6 i3 . 320gig hard disk.

share|improve this question

marked as duplicate by Eliah Kagan, fabricator4, Uri Herrera, hhlp, fossfreedom Dec 25 '12 at 23:53

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

1 Answer 1

I think your win8 install put the win8 bootloader in sector 0 (the so-called MBR = master boot record,) and destroyed your grub loader there.

There is a story on linuxbsdos.com (google dual boot win7 linux) that may help you fix the windows boot-loader to boot your ubuntu system if you can get grub written in your ubuntu boot directory. (This will be chain loading from windows to grub.)

One good thing is that since your hp dv6 is pre win8, you probably do not have an uefi bios that would cause a lot of trouble.

share|improve this answer
    
PS. use a live cd or dvd to run knoppix or some such to get grub written in your otherwise inaccessible ubuntu boot directory. –  user38666 Dec 25 '12 at 22:56
    
PPS. You might also be able to use the live cd to overwrite the MBR with the grub stage1 bootloader. This will restore your ubuntu system but make your win8 system inaccessible. I wouldn't do any of this stuff until someone with more detailed knowlege can produce the line-by-line steps that need to be done. –  user38666 Dec 25 '12 at 22:59

Not the answer you're looking for? Browse other questions tagged or ask your own question.