LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-18-2015, 06:14 PM   #1
dg53L'i
LQ Newbie
 
Registered: Dec 2015
Posts: 3

Rep: Reputation: Disabled
Failed at Installation, No OS detected


Hello everyone, I attempted to install Ubuntu on my laptop alongside Windows 7 and made some foolish mistakes. In the ubuntu installation I messed with the partitions on my hard drive (not really sure how this works), and now when I start the computer, it says 'No Operating System detected.'

I booted up the computer using a bootmed disc, and I can access the computer's harddrive and all of the files on it. Heres the condition of the partitions using sudo fdisk -l. I'm just trying to be able get back into Windows. Any help is appreciated. By the way, I foolishly did not create a system image or backup disks.

Thanks!

ubuntu@ubuntu:~$ sudo fdisk -l

Disk /dev/sda: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0x18fe6357

Device Boot Start End Blocks Id System
/dev/sda1 1 5 40128 83 Linux
Partition 1 does not end on cylinder boundary.
Partition 1 does not start on physical sector boundary.
/dev/sda2 6 2588 20744180+ 7 HPFS/NTFS
/dev/sda3 * 2588 121602 955975680 7 HPFS/NTFS

Disk /dev/sdb: 32.0 GB, 32015679488 bytes
255 heads, 63 sectors/track, 3892 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x8f5d5a3d

Device Boot Start End Blocks Id System
/dev/sdb1 * 1 3893 31262720 7 HPFS/NTFS
ubuntu@ubuntu:~$
 
Old 12-18-2015, 08:07 PM   #2
BW-userx
Senior Member
 
Registered: Sep 2013
Location: MID-SOUTH USA
Distribution: Void Linux / Slackware 14.2
Posts: 2,063

Rep: Reputation: Disabled
Quote:
Originally Posted by dg53L'i View Post
Hello everyone, I attempted to install Ubuntu on my laptop alongside Windows 7 and made some foolish mistakes. In the ubuntu installation I messed with the partitions on my hard drive (not really sure how this works), and now when I start the computer, it says 'No Operating System detected.'
if windows is still there, two things you can do is see if it is a MBR fix to get windows running again, then reinstall Linux, or re install linux the right way this time and see if that fixes it.

No Operating System detected


How To Fix "This computer currently has no detected operating systems" Install Ubuntu & Windows 8
 
Old 12-19-2015, 06:49 AM   #3
ondoho
Senior Member
 
Registered: Dec 2013
Posts: 4,176

Rep: Reputation: 833Reputation: 833Reputation: 833Reputation: 833Reputation: 833Reputation: 833Reputation: 833
i guess that sdb is some sort of usb stick that isn't relevant for the problem at hand.

leaves sda.

1TB, most of it for windows (ntfs).
the Linux partition seems pretty small to me, are you sure it's at least 5GB?

my guess (just a wild guess) is that you accidentally installed linux on a small boot partition needed for efi booting.
if you still need your windows, you MUST fix that first.
if you only need the data, looks like all of it is recoverable.

is your laptop an efi / secure boot laptop?
 
Old 12-19-2015, 06:08 PM   #4
dg53L'i
LQ Newbie
 
Registered: Dec 2015
Posts: 3

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by ondoho View Post

my guess (just a wild guess) is that you accidentally installed linux on a small boot partition needed for efi booting.
if you still need your windows, you MUST fix that first.
if you only need the data, looks like all of it is recoverable.

is your laptop an efi / secure boot laptop?
Looking in setupact.log it says BIOS. The computer does have an option for a secure boot though. Not sure if that is helpful or not. How would you recommend fixing the small partition?

If I remember correctly, I think you are right about trying to install on a partition that was too small. One of the partitions was too small so I tried to change the size, but wasn't really sure what I was doing.
 
Old 12-19-2015, 06:32 PM   #5
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: PCLinux, Slackware
Posts: 6,869

Rep: Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247
If you have the windows 7 install disk, try the methods at the links below. If you don't have the disk, good luck.

http://superuser.com/questions/51355...rved-partition

http://www.tomshardware.com/forum/28...eted-partition
 
Old 12-19-2015, 08:39 PM   #6
dg53L'i
LQ Newbie
 
Registered: Dec 2015
Posts: 3

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by yancek View Post
If you have the windows 7 install disk, try the methods at the links below. If you don't have the disk, good luck.

http://superuser.com/questions/51355...rved-partition

http://www.tomshardware.com/forum/28...eted-partition
Yeah, don't have the install disk. Thanks though!
 
Old 12-20-2015, 06:26 AM   #7
ondoho
Senior Member
 
Registered: Dec 2013
Posts: 4,176

Rep: Reputation: 833Reputation: 833Reputation: 833Reputation: 833Reputation: 833Reputation: 833Reputation: 833
what do you want to do now?
install linux and screw windows, or recover windows first and hopefully install linux later?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] SvSSL handshake failed: SSL error:Key usageviolation in certificate has been detected sanjay87 Linux - Server 2 03-22-2012 04:38 AM
Ubuntu 7.0.4 install failed due to no hard drive detected koheesio Ubuntu 3 05-28-2007 07:00 AM
SATA not detected during installation sachin_malik Linux - Hardware 1 11-06-2006 10:23 AM
Hard drive no longer detected after failed Ubuntu install Peepsalot Linux - Hardware 9 05-29-2006 11:52 PM
No modules detected in installation ar1 Linux - Newbie 1 11-30-2003 08:38 PM


All times are GMT -5. The time now is 12:13 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration