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.

I installed ubuntu 12.04 by formatting the drive that had windows 7. The installation went fine but after I rebooted It asks me for a windows 7 disk repair disk and doesn't even look to recognize any other system. I entered the try ubuntu mode and the drive is there. The amount of space in the drive is 120GB and the drive has 119,24 in ubuntu. I can't find the drive that windows 7 use to boot anywhere. I runned boot repair but that does not seem to be the case it still does the same problem. I have a desktop.
I installed ubuntu but the boot seems messed up. I still sees windows 7 as a boot option and ubuntu doesn't boot. How can I reset the whole boot system in some way?

share|improve this question

closed as unclear what you're asking by Braiam, Danatela, Warren Hill, waltinator, BuZZ-dEE Apr 24 at 19:59

Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question.If this question can be reworded to fit the rules in the help center, please edit the question.

    
It's all guesswork without more information. Download the Boot Info Script (sourceforge.net/projects/bootinfoscript) and run it from a Linux emergency system. The script produces a file called RESULTS.txt that contains lots of information on how the disk is partitioned and what boot loaders it contains. Post a link to the script here. –  Rod Smith Dec 8 '12 at 4:42

2 Answers 2

Is this a laptop? Make and model?

It's always handy to have a Gparted live on USB or CD. It is probably part of Ubuntu Live CD as well. Fire it up and check that there's no other partitions.

enter image description here

Note you can select disks on right hand side /dev/sdX:

enter image description here


Edit1:

The difference in sizes are because of GB vs GiB (Gigabyte vs Gibibyte).

GB  is 1,000,000,000 bytes or 10⁹
GiB is 1,073,741,824 bytes or 2³⁰

GB : 128 × 109 bytes = 128,000,000,000 bytes
GiB: 128,000,000,000 ÷ 230 = 119.20929 bytes (or 120 GiB)

Since GParted uses GiB the size is correct. 128 GB == 120 GiB or 119.24 GiB as shown in Ubuntu (a few bytes diff due to conversions) – and:

In some cases1 a few bytes are used by HDD as further firmware for the disk and S.M.A.R.T data: statistics modifications, bad sector map etc. (Meaning SMART is part of (all) HDD's but should do not affect reported size.)

$ sudo smartctl -i /dev/sdb
smartctl 5.43 2012-06-30 r3573 [i686-linux-3.5.0-19-generic] (local build)
Copyright (C) 2002-12 by Bruce Allen, http://smartmontools.sourceforge.net

=== START OF INFORMATION SECTION ===
Model Family:     Seagate Barracuda (SATA 3Gb/s, 4K Sectors)
Device Model:     SA2000DM003-9XN234
Serial Number:    ABCDEF124
LU WWN Device Id: 5 000c50 030303ac
Firmware Version: CC4C
User Capacity:    2,000,398,934,016 bytes [2.00 TB]
Sector Sizes:     512 bytes logical, 4096 bytes physical
Device is:        In smartctl database [for details use: -P show]
ATA Version is:   8
ATA Standard is:  ATA-8-ACS revision 4
Local Time is:    Fri Dec  7 03:19:01 2012 CET
SMART support is: Available - device has SMART capability.
SMART support is: Enabled
share|improve this answer
    
I have a desktop. I have a 128GB drive but the Gparted shows only 120. –  Atladica Dec 7 '12 at 19:43
    
You do not have any CD's, USB-disks etc. attached and it still asks for Windows 7 repair? And you specified to format/use entire disk on install? By "try ubuntu mode" you mean Ubuntu Live from install medium? –  Sukminder Dec 7 '12 at 20:32
    
I installed ubuntu but the boot seems messed up. I still sees windows 7 as a boot option and ubuntu doesn't boot. –  Atladica Dec 7 '12 at 20:35
    
The MBR is messed up. It is weird and messed up that your install did not fix this. Using Boot-repair as well! One go would be to use GParted: 1. delete partition. 2. Install fresh. or try something in the lines of this: ubuntuforums.org/showthread.php?t=2001733 –  Sukminder Dec 7 '12 at 20:49
    
up vote 1 down vote accepted

The drive was so messed up that I needed to open a terminal and format it all the files inside even the boot history. That didn't work neither with Gparted nor boot repair.

share|improve this answer

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