LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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 07-11-2015, 04:46 AM   #1
Teahaven
LQ Newbie
 
Registered: Jul 2015
Posts: 5

Rep: Reputation: Disabled
How to install Ubuntu on a laptop (intended to dual-booting with Win 7)


As I go through the installation process by using, I want to have my Windows 7 intact. So go through the "installation type" stage and saw

Quote:
dev/sda
dev/sda1 ntfs 314mb
dev/sda2 ntfs 476947mb
dev/sda3 ntfs 17472mb
dev/sda4 ntfs 5370
Now I'm lost. Could this mean that "sda" represents Windows 7?

And there's another one

What does this configuration "Device for boot loader installation" do?

Thank you.
 
Old 07-11-2015, 05:07 AM   #2
273
LQ Addict
 
Registered: Dec 2011
Location: UK
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 7,680

Rep: Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373
How many "drives" show up in Windows? How many physical hard drives has the machine got? What have you done, if anything, to prepare the hard drive[s] for the install?
What you see there shows one hard drive (which Linux calls device sda, it would call the next it finds sdb and so on) with 4 partitions labelled 1 to 4 which are all formatted to Microsoft's NTFS. At a guess the first partition is a boot partition to allow recovery, the next will show up as "C" in Windows and the next is either "D" in Windows or a recovery partition -- if it's "D" in Windows then the last partition will likely be a recovery partition if there is no "D" in Windows then the last partition may just be free space awaiting use as a recovery or similar. That's just a guess, mind you.
What you need to do is either create some free space on the hard drive shown to install Linux on or install a second hard drive to do so. How you do this depends really on what you see from Windows, whether you are bothered about keeping recovery partitions for Windows and how much data you have under Windows and where that is stored (i.e. is it on the "C" or "D" drive). Usually the safest way to make room for Linux is using Windows partitioning tools to remove an unused "D" drive. Otherwise it may be necessary to resize the existing Windows drive[s] in which case you need to be even more careful and may need to do things like defragment them first depending upon how much use the machine has had.
I did try to find an install guide but this one seems very lacking:
https://help.ubuntu.com/community/WindowsDualBoot
This seems potentially a little more helpful:
http://lifehacker.com/5403100/dual-b...erfect-harmony

Remember though, back up data and "Measure twice, cut once." (as my old woodwork teacher used to say) -- in other words learn what's on your system and plan things out before jumping in and installing. The process is mostly very logical and is straightforward once you get used to the terminology used.
 
Old 07-11-2015, 07:16 AM   #3
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,510

Rep: Reputation: 2491Reputation: 2491Reputation: 2491Reputation: 2491Reputation: 2491Reputation: 2491Reputation: 2491Reputation: 2491Reputation: 2491Reputation: 2491Reputation: 2491
Based on the information you posted, the first partition (sda1) is probably the windows boot partition and sda2 is the system partition, usually referred to as "C" in windows. The others are probably data partitions (sda3) and a recovery partition (sda4) which means you would need to delete one of them and resize/shrink another (either sda2 or sda3) as you seem to be using the BIOS/MBR system to boot which only allows 4 primary partitions.
 
Old 07-11-2015, 10:31 AM   #4
Teahaven
LQ Newbie
 
Registered: Jul 2015
Posts: 5

Original Poster
Rep: Reputation: Disabled
Would there be a way to reduce the size dev/sda2 without "unallocated" chunk of space? I tried it and it failed.
 
Old 07-11-2015, 10:51 AM   #5
273
LQ Addict
 
Registered: Dec 2011
Location: UK
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 7,680

Rep: Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373
Quote:
Originally Posted by Teahaven View Post
Would there be a way to reduce the size dev/sda2 without "unallocated" chunk of space? I tried it and it failed.
That's not what you should be doing, at least until you know what you just asked. Simply put you cannot use sda2 to install Linux to as it stands -- you would have to at the very least reformat it and may have to remove it then create a new partition. As I mentioned you should look in Windows and find which drives you have and what is on them -- without that information nobody on here can help you.
 
Old 07-11-2015, 01:58 PM   #6
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,510

Rep: Reputation: 2491Reputation: 2491Reputation: 2491Reputation: 2491Reputation: 2491Reputation: 2491Reputation: 2491Reputation: 2491Reputation: 2491Reputation: 2491Reputation: 2491
Reducing the size of any of the windows partitions isn't going to help if you are using MBR as you are allowed only 4 primary partitions which you already have. You would need to delete one of them and with the info you have posted, there is no way we can tell which you might use.
 
Old 07-11-2015, 06:01 PM   #7
maples
Member
 
Registered: Oct 2013
Location: IN, USA
Distribution: Arch, Debian Jessie
Posts: 814

Rep: Reputation: 265Reputation: 265Reputation: 265
To figure out what partitions Windows is using and for what:

Boot into Windows and login with an admin account.
Open the Start menu
Right-click "Computer"
Click "Manage"
On the left panel, click "Disk Management" (under "Storage")

You should now be at a screen that shows the partitions of your hard drive. From there, you can figure out which partitions are for what. If you're unsure, screenshot it and upload it here.
 
Old 07-11-2015, 11:16 PM   #8
Teahaven
LQ Newbie
 
Registered: Jul 2015
Posts: 5

Original Poster
Rep: Reputation: Disabled
I just installed it on VMware Player.
 
Old 07-12-2015, 12:17 AM   #9
JaseP
Senior Member
 
Registered: Jun 2002
Location: Eastern PA, USA
Distribution: K/Ubuntu 18.04-14.04, Scientific Linux 6.3-6.4, Android-x86, Pretty much all distros at one point...
Posts: 1,802

Rep: Reputation: 157Reputation: 157
OK,.. So you installed it on a VM (not a "real" installation). Your Linux installation should run fine, but be crippled by whatever Microsoft overhead is in place...
 
  


Reply



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
Ubuntu installed OVER my old OS not dual boot as intended dmac257 Ubuntu 5 05-12-2014 05:29 PM
[SOLVED] I've installed Ubuntu 12.10, but wish to install Win 7 as dual boot. Lhd303 Linux - Newbie 2 03-14-2013 02:20 PM
[SOLVED] Need some clarity while dual booting Win Xp with Ubuntu Mubinali Ubuntu 14 04-27-2012 04:15 AM
Installing IDE HD on computer with SATA - dual boot XP - Ubuntu intended Nermi Linux - Hardware 4 02-10-2010 09:37 PM
Need Help Dual Booting Fedora Core on a Win XP Laptop beubanks7507 Linux - Enterprise 4 01-31-2006 08:12 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:51 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
Open Source Consulting | Domain Registration