Can not dual boot with Ubuntu.

The place to post if you need help or advice

Moderators: ChrisThornett, LXF moderators

Can not dual boot with Ubuntu.

Postby Narendra » Sat Aug 24, 2013 6:23 pm

Hello,
I am trying to reinstall Ubuntu 13.04 on a disk that already has Windows 7, A dual - boot.
But the installer on the ubuntu 13.04 Disk says:
The computer currently has no detected operating system. What would you like to do? If I install the Ubuntu, ithe Windows 7 will be wiped out.
Please advise where am I going wrong!

Thank you.
Narendra
Narendra
LXF regular
 
Posts: 324
Joined: Wed Mar 14, 2007 4:32 pm
Location: East Midlands, UK.

Postby RedWillow » Thu Aug 29, 2013 10:00 am

Interesting problem. I'm surprised you haven't had a response yet.

We'll need more information. Possible causes for what you are seeing are:

  • Irregularity in the partition table confusing the installer.
  • Residual RAID metadata confusing the installer (unlikely since you seem to have been able to install Ubuntu prior to this).
  • Failing hard drive.
  • HD cable has dropped off.
  • Something else.
I'm just speculating here - we'll need to investigate.

Questions:

  • Is your current installation of Ubuntu 13.04 working, and why do you want to re-install it?
  • Does Windows boot up OK?

For starters, either boot up Ubuntu from the permanent installation if it's working, or from a live CD/USB, and post the output of this terminal command:

Code: Select all
sudo fdisk -lu


EDIT
: just noticed this:

http://www.linuxformat.com/forums/viewtopic.php?t=16209

Since the possibility if a failing hard drive has already occurred to you, and since this could be a cause of what you are seeing here, this is what you do in Ubuntu 13.04. Open the Disks application. Highlight the hard drive you want to check in the left pane. Click on the cogwheel icon top-right and select SMART data and tests.
RedWillow
LXF regular
 
Posts: 719
Joined: Thu May 29, 2008 1:05 pm

Postby Narendra » Thu Aug 29, 2013 10:29 am

Code: Select all
narendra@narendra:~$ sudo fdisk -lu
[sudo] password for narendra:

Disk /dev/sda: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders, total 976773168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x4ff74ff6

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *          63   338842979   169421458+   7  HPFS/NTFS/exFAT
/dev/sda2       338843041   976768064   318962512    f  W95 Ext'd (LBA)
/dev/sda5       338843043   545069384   103113171    7  HPFS/NTFS/exFAT
/dev/sda6       545069448   766075589   110503071    7  HPFS/NTFS/exFAT
/dev/sda7       766076928   926597119    80260096    7  HPFS/NTFS/exFAT
/dev/sda8       926597133   976768064    25085466    7  HPFS/NTFS/exFAT

Disk /dev/sdb: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders, total 976773168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x0001c22a

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1           16126   976768064   488375969+   f  W95 Ext'd (LBA)
/dev/sdb5           16128   153597464    76790668+   7  HPFS/NTFS/exFAT
/dev/sdb6       153597528   194739929    20571201    7  HPFS/NTFS/exFAT
/dev/sdb7       194739993   256413464    30836736    7  HPFS/NTFS/exFAT
/dev/sdb8       256413528   287306459    15446466    7  HPFS/NTFS/exFAT
/dev/sdb9       287306523   348947864    30820671    7  HPFS/NTFS/exFAT
/dev/sdb10      348947928   390090329    20571201    7  HPFS/NTFS/exFAT
/dev/sdb11      390090393   431264924    20587266    7  HPFS/NTFS/exFAT
/dev/sdb12      431264988   482560469    25647741    7  HPFS/NTFS/exFAT
/dev/sdb13      482560533   585973864    51706666    7  HPFS/NTFS/exFAT
/dev/sdb14  *   688803003   804641639    57919318+   7  HPFS/NTFS/exFAT
/dev/sdb15      804647718   976768064    86060173+   7  HPFS/NTFS/exFAT
/dev/sdb16      585975808   672098303    43061248   83  Linux
/dev/sdb17      672100352   688801791     8350720   82  Linux swap / Solaris

Partition table entries are not in disk order
narendra@narendra:~$



Thank you very much for your reply.
The Windows 7 boots up Ok.
I have to 2 500 Gb hard drives on my computer and on one of the drives I had installed Windows 7 and Ubuntu 13.04.
Now, trying to install the ubuntu again it has installed on the other drive. But I want both the operating systems on the same drive.
The drives are Western Digital so I downloaded a programme from its website to diagnose the hard drives and both are perfect, no faults. I did Smart tests.
I am posting the results of $ sudo fdisk -lu

Please advise.
Thank you again.
Last edited by Narendra on Thu Aug 29, 2013 11:52 am, edited 1 time in total.
Narendra
Narendra
LXF regular
 
Posts: 324
Joined: Wed Mar 14, 2007 4:32 pm
Location: East Midlands, UK.

Postby RedWillow » Thu Aug 29, 2013 11:37 am

Two things. Please edit your post and put code tags around your terminal output in order to restore formatting. At the moment, it's making my eyes swim. Code tags thusly:

[code]
Your terminal output
[/code]

Second thing - have you tried choosing "something else" in the installer and simply telling it to install Ubuntu to sdb16 as the / (root) partition? Assuming, that is, that you want to overwrite the current installation.

Don't do that just yet. I'd like to check your fdisk output, but only after it doesn't give me terminal eye failure! :wink:
RedWillow
LXF regular
 
Posts: 719
Joined: Thu May 29, 2008 1:05 pm

Postby Narendra » Thu Aug 29, 2013 11:54 am

I did try 'Something Else' in the installer but it did not work, it did not show up the hard drive on which I wanted to install Ubuntu.
Narendra
Narendra
LXF regular
 
Posts: 324
Joined: Wed Mar 14, 2007 4:32 pm
Location: East Midlands, UK.

Postby towy71 » Thu Aug 29, 2013 12:51 pm

RedWillow I have put code tags on for Narendra :wink:

The drive setup looks ok but I'm wondering why Narendra has put to installs of whatever Windows on when one is more than enough lol :roll:
still looking for that door into summer
User avatar
towy71
Moderator
 
Posts: 4263
Joined: Wed Apr 06, 2005 2:11 pm
Location: wild West Wales

Postby RedWillow » Thu Aug 29, 2013 1:00 pm

towy71 wrote:RedWillow I have put code tags on for Narendra :wink:


Much obliged! I help staff another forum and if I had £5 for every time I've edited in code tags.... :)

towy71 wrote:The drive setup looks ok but I'm wondering why Narendra has put to installs of whatever Windows on when one is more than enough lol :roll:


There is certainly a sufficiency of ntfs partitions!

@Narendra, I might have missed something, but I can't see anything wrong with your fdisk output - not overlapping partitions, no extended outside the physical limit of the drive - the sort of things that can happen to a partition table and drive an installer crazy. Your out-of-order partitions don't matter.

Simple question, but it needs to be asked. When you say sdb didn't show up under something else, it's worth double-checking this. The something else window is quite small and you have - ahem - a lot of partitions. Are you sure you didn't just need to scroll down a bit? The now-you-see-it-now-you-don't scroll thingy is easily missed in Ubuntu.
RedWillow
LXF regular
 
Posts: 719
Joined: Thu May 29, 2008 1:05 pm

Can not dual boot with Ubuntu

Postby DavidMcCrossan » Thu Aug 29, 2013 1:27 pm

Greetings RedWillow/Towy.

I have just read your helpful responses to Narenda, and I harbour suspicions about my HHD, so I tried to find out more from the disk utilty, only to find SMART not enabled. Under Smart Tests I find the line is greyed out. The item is ST3200822AS (3.01), 200GB.

Can I try another sort of disk-checker which you may know of?

Any advice/help you can give would be gratefully received.

Best regards

David
DavidMcCrossan
LXF regular
 
Posts: 339
Joined: Fri Aug 19, 2005 9:46 am

Postby nelz » Thu Aug 29, 2013 2:09 pm

SMART needs to enabled in the computer's BIOS. Reboot and go into the BIOS settings and you'll probably find it is turned off.
"Insanity: doing the same thing over and over again and expecting different results." (Albert Einstein)
User avatar
nelz
Site admin
 
Posts: 8504
Joined: Mon Apr 04, 2005 11:52 am
Location: Warrington, UK

Postby Narendra » Thu Aug 29, 2013 3:20 pm

Thank you Towy, Redwillow, David and netz for helping me out.
I use windows for image editting only, for adobe photoshop and elements!

Simple question, but it needs to be asked. When you say sdb didn't show up under something else, it's worth double-checking this. The something else window is quite small and you have - ahem - a lot of partitions. Are you sure you didn't just need to scroll down a bit? The now-you-see-it-now-you-don't scroll thingy is easily missed in Ubuntu.


I am not sure now.But The Ubuntu is installed on the second drive. on the second drive now, I'll check it again when there is trouble again.
Thank you again.
Narendra
Narendra
LXF regular
 
Posts: 324
Joined: Wed Mar 14, 2007 4:32 pm
Location: East Midlands, UK.

Postby Narendra » Thu Aug 29, 2013 3:56 pm

Read on this post that there should
not be more than 5 partitions on a hard drive and I have many. May be that is the reason.

http://tinyurl.com/q7cy7kv
Narendra
Narendra
LXF regular
 
Posts: 324
Joined: Wed Mar 14, 2007 4:32 pm
Location: East Midlands, UK.

Can not dual boot with Ubuntu

Postby DavidMcCrossan » Thu Aug 29, 2013 4:14 pm

Thank once again, Neil.

Apologies Narenda, for hijacking your post.

Best regards

David
DavidMcCrossan
LXF regular
 
Posts: 339
Joined: Fri Aug 19, 2005 9:46 am

Postby towy71 » Thu Aug 29, 2013 7:44 pm

Narendra wrote:Read on this post that there should
not be more than 5 partitions on a hard drive and I have many. May be that is the reason.

http://tinyurl.com/q7cy7kv


On sda you have 2 primary partitions one of which is extended and has 4 logical partitions all of them Windows.

On sdb you have 1 primary partition which is extended and has 12 logical partitions 10 of them Windows 1 Linux and 1 swap partition.

All of that is fine and dandy ;-)

You can only have 4 primary partitions one of which can be an extended partition which can hold many logical partitions on which you can do just about everything*

Sadly I don't have multi partitions on my hard drive because the is only Linux onboard :wink: :lol:



*boot partitions need separate voodoo
still looking for that door into summer
User avatar
towy71
Moderator
 
Posts: 4263
Joined: Wed Apr 06, 2005 2:11 pm
Location: wild West Wales

Postby dandnsmith » Fri Aug 30, 2013 7:23 am

Sadly I don't have multi partitions on my hard drive because the is only Linux onboard


Why sadly?
The whole multi-partition thing started with Unix/Linux as a way to separate out 'fixed' bits from variable (and expanding) -so I had it right from my first install
Derek
dandnsmith
LXF regular
 
Posts: 314
Joined: Fri Apr 15, 2005 10:01 am
Location: Berks, UK

Postby towy71 » Fri Aug 30, 2013 8:56 am

dandnsmith wrote:Why sadly?
The whole multi-partition thing started with Unix/Linux as a way to separate out 'fixed' bits from variable (and expanding) -so I had it right from my first install

Cos I couldn't paste a tricky partition table just / /home /storage and swap
still looking for that door into summer
User avatar
towy71
Moderator
 
Posts: 4263
Joined: Wed Apr 06, 2005 2:11 pm
Location: wild West Wales

Next

Return to Help!

Who is online

Users browsing this forum: No registered users and 0 guests

cron