LinuxQuestions.org
Help answer threads with 0 replies.
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 01-02-2015, 10:15 AM   #1
drainingthoughts
LQ Newbie
 
Registered: Dec 2014
Posts: 19

Rep: Reputation: Disabled
Gparted partitioning specifics


My goal is to dual boot ubuntu and windows 7

I backed up my files

wiped my hard drive

hard drive is 931.51 GiB

what partitions do i need for linux?

sources vary with swap root boot home

this source has a bunch of other stuff... what do you think of it?
http://www.linuxtopia.org/online_boo...hap3sec14.html

does it matter what order they are in?

how large should each partition be?

what file system should each partition be?

should they be primary, logical, extended?

should i use unallocated space for windows, or should i delegate a partition to it before installing windows?

if so, how would i format that partition?

does it matter what order i put the space for windows?

can i triple boot with ubuntu, windows 7 and mac?

if so how?

i know there are many sources on all these topics, but they seem controversial.
 
Old 01-02-2015, 10:24 AM   #2
drainingthoughts
LQ Newbie
 
Registered: Dec 2014
Posts: 19

Original Poster
Rep: Reputation: Disabled
also, when i was trying to determine my ram to determine the space needed for swap i tried

free

and the total was 2911192

then i tried

free -m

and the total was 2842

which one should I go with?

what is the unit for each?
 
Old 01-02-2015, 11:09 AM   #3
Head_on_a_Stick
Senior Member
 
Registered: Dec 2014
Location: London, England
Distribution: Debian stable (and OpenBSD-current)
Posts: 1,187

Rep: Reputation: 285Reputation: 285Reputation: 285
You should probably give more space to Windows.

I would advise keeping it simple and just use a single root partition + swap for GNU/Linux.

You can always backup your home folder separately to provide most of the advantages of a dedicated partition without having to worry if you are going to run out of space thanks to your Steam games.

The guide you have linked is very old -- it talks kernel 2.2 (I'm on 3.18 atm)...

See man free for details on the flags you have used -- you have 3GiB and you are unlikely to actually use any swap unless you are video editing or using VMs.

2GiB of swap would probably be enough for almost any situation.
 
Old 01-02-2015, 12:56 PM   #4
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,508

Rep: Reputation: 2491Reputation: 2491Reputation: 2491Reputation: 2491Reputation: 2491Reputation: 2491Reputation: 2491Reputation: 2491Reputation: 2491Reputation: 2491Reputation: 2491
You need a / (root) filesystem partition and it is probably a good idea to have swap. The size depends upon the use of the computer.

15-25GB should work for the filesystem partition. You can create other partitions later for data.
The default filesystem on many current Linux systems is ext4 but that is also your choice.
Windows needs to have at least the boot files on a primary partition. It doesn't matter with Linux.
 
Old 01-02-2015, 01:33 PM   #5
vincix
Senior Member
 
Registered: Feb 2011
Distribution: Ubuntu, Centos
Posts: 1,240

Rep: Reputation: 103Reputation: 103
You should also consider the fact that you can see ntfs in Ubuntu, whereas you cannot see ext in Windows, so maybe that's also one of the reasons why you should make the Windows partitions bigger.

Do you have a mac, is this why you're asking about Mac OS?

If you do, then you'll probably need boot camp to boot either in Windows or Mac OS. For Linux I think you can install it directly. And yes, you can have basically as many OSs as you want, so you can triple boot.

If you don't specify that you have a Macintosh, then people assume it's a normal PC.
 
Old 01-02-2015, 09:02 PM   #6
drainingthoughts
LQ Newbie
 
Registered: Dec 2014
Posts: 19

Original Poster
Rep: Reputation: Disabled
I have a normal pc, but i was curious about mac for flavor purposes.

so it doesn't matter what order the partitions are in?

i deleted the /home partition

now i just have
swap: 2.87 GiB
/:20 GiB
ntfs(for windows): 55 GiB
unallocated: 852.76:GiB

What should I do with the unallocated space?

is the ntfs partition the right move?
 
Old 01-02-2015, 09:24 PM   #7
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,508

Rep: Reputation: 2491Reputation: 2491Reputation: 2491Reputation: 2491Reputation: 2491Reputation: 2491Reputation: 2491Reputation: 2491Reputation: 2491Reputation: 2491Reputation: 2491
You can create data partitions from that space to share or access from either Linux or windows. You will need to format it ntfs as Linux systems can access ntfs while a default windows install won't recognize the partition much less be able to read or write to it.
 
Old 01-02-2015, 10:06 PM   #8
drainingthoughts
LQ Newbie
 
Registered: Dec 2014
Posts: 19

Original Poster
Rep: Reputation: Disabled
swap: 2.87 GiB
/:20 GiB
ntfs(for windows): 55 GiB
/data: 852.76:GiB
 
Old 01-03-2015, 02:21 AM   #9
vincix
Senior Member
 
Registered: Feb 2011
Distribution: Ubuntu, Centos
Posts: 1,240

Rep: Reputation: 103Reputation: 103
Quote:
Originally Posted by drainingthoughts View Post
swap: 2.87 GiB
/:20 GiB
ntfs(for windows): 55 GiB
/data: 852.76:GiB
If you dual-boot Linux/Windows, then the first partitions should be ntfs and classicaly they're primary partitions. Linux is better off with logical partitions (you can easily create more partitions in the future; that's why, usually, the first ext partition starts with /dev/sda5 - this is the first logical partition).

So, for instance, you may start with 700GB for Windows partitions (primary) and the rest to linux (logical). As far as linux partitioning is concerned, you could have a 2GB swap (that's generally enough anyway) and, depending on how you want to organise your system, you can also have a separate partition for /boot and even a separate one for /home. And of course the main partition, / (root).

Last edited by vincix; 01-03-2015 at 02:23 AM.
 
Old 01-03-2015, 04:58 AM   #10
drainingthoughts
LQ Newbie
 
Registered: Dec 2014
Posts: 19

Original Poster
Rep: Reputation: Disabled
i ended up having

ntfs for windows

ntfs for data

ext4 for root

swap


i installed windows 7

the keyboard doesnt work

i installed ubuntu

the mouse didnt work on the live cd

when i restarted after installing ubuntu it went straight to windows 7

how do i make it so i can boot from either one?
 
Old 01-03-2015, 06:17 AM   #11
jross
Member
 
Registered: Apr 2014
Distribution: Xubuntu 14.04
Posts: 164

Rep: Reputation: Disabled
First, what version of Ubuntu? I would recommend 14.04, the long term support.

Ubuntu has a great installer that works very well for beginners. Given your situation, I would start all over. So first install the Windows 7 again. Here's an easy video tutorial for a basic dual boot:
https://www.youtube.com/watch?v=SeSaVzyPY8k

Since you decided not to go with home partition etc. just let ubuntu do it's thing (it will automatically do the partitions for you and knows what swap space to create. Better to just start out easy and get it done!

Make sure and do MD5 sumcheck on disc.

Note: I would not check mark "download updates" during the install: it can take a long time and hang the installation (but do check install third party (or whatever they call it). Of course, as soon as you install make sure and run the updater.
 
Old 01-03-2015, 07:52 AM   #12
drainingthoughts
LQ Newbie
 
Registered: Dec 2014
Posts: 19

Original Poster
Rep: Reputation: Disabled
ive been researching this, and it seeems like a common thing

i saw a tutorial of someone using easybcd to correct it

the only issue is i dont think i have all the drivers installed for windows

the keyboard doesnt work

it also doesnt recognise the usb wifi receiver

im not sure if the cd/dvd drive works either

means i cant connect to the internet to download easybcd

and it wont read a thumb drive

can i put the necessarry drivers and/or easy bcd on a dvd?
 
Old 01-03-2015, 08:49 AM   #13
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,508

Rep: Reputation: 2491Reputation: 2491Reputation: 2491Reputation: 2491Reputation: 2491Reputation: 2491Reputation: 2491Reputation: 2491Reputation: 2491Reputation: 2491Reputation: 2491
If it boots to windows, you didn't install the Ubuntu Grub bootloader. The link below is to an excellent tutorial on installing Linux, specifically Ubuntu 14.04 and towards the bottom is a section on "Bootloader Setup". Give it a read.

http://www.dedoimedo.com/computers/u...all-guide.html

The link below is to the Ubuntu site and explains several methods of installing Grub2.

https://help.ubuntu.com/community/Gr...talling_GRUB_2

I haven't used EasBCD in years but I think it just downloads a folder with a number of files so you should be able to put that on a CD or DVD and then copy to windows. It would be easier to reinstall Grub properly since EasyBCD is basically a GUI used to modify the boot files on windows and is a modification of Grub4Dos which in turn is a modification of Grub to run on windows.
 
Old 01-03-2015, 09:49 AM   #14
vincix
Senior Member
 
Registered: Feb 2011
Distribution: Ubuntu, Centos
Posts: 1,240

Rep: Reputation: 103Reputation: 103
Quote:
Originally Posted by drainingthoughts View Post
the only issue is i dont think i have all the drivers installed for windows

the keyboard doesnt work

it also doesnt recognise the usb wifi receiver

and it wont read a thumb drive

can i put the necessarry drivers and/or easy bcd on a dvd?
Are you sure the windows iso is from a safe source? If you've downloaded it randomly form somewhere, the iso might be broken or something. Windows 7 should recognise common keyboards, no matter how new the computer is (maybe wireless keyboards are a problem in this respect), let alone thumb drives (although if it's usb 3.0 windows might not have the driver). In my opinion, there is a problem with the windows iso (cd, stick, whatever) or, worse, with the computer itself, rather than just drivers that aren't installing properly.

As far as the wifi is concerned, it's rather common for windows not to identify it, so yes, you need to obtain the driver manually.

Moreover, make sure you install Linux after you install Windows, otherwise the windows bootloader will overwrite grub and will boot directly in Windows. So that's a must.

Last edited by vincix; 01-03-2015 at 09:51 AM.
 
Old 01-06-2015, 08:49 AM   #15
drainingthoughts
LQ Newbie
 
Registered: Dec 2014
Posts: 19

Original Poster
Rep: Reputation: Disabled
i'm sure the windows iso is from a safe source

i dl the installation exe from the linksys website so wifi works now

the only drivers i need now are the ethernet and usb 3 or serial bus controller for windows and non usb 3 usb for ubuntu

also, i can't find system or administration in ubuntu

i've tried search/windows key type: system>administration

system settings comes up

but no system or administration

i have a gigabyte motherboard

when i look at devices in windows it doesnt specify the kind in any way

and like i said, no system in ubuntu to check there

any ideas?
 
  


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
GParted partitioning options, align to cylinder or to MiB ? james2b Linux - Newbie 7 01-28-2014 03:17 AM
By cancelling a GParted partitioning operation, I've lost my OS Mark_in_Hollywood Linux - Newbie 4 04-16-2008 06:08 PM
repartitioning assistance - making one partitioning from two with gparted Nishtya Linux - Newbie 3 02-24-2008 06:54 PM
LXer: Partitioning with GParted LXer Syndicated Linux News 0 08-07-2006 11:03 AM

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

All times are GMT -5. The time now is 12:40 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