LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 04-29-2008, 02:02 PM   #1
danne123
Member
 
Registered: Apr 2006
Distribution: Slackware 11.0, Gentoo 2006.1
Posts: 102

Rep: Reputation: 17
New linux system


Hello,

I gonna install ubuntu linux on a 160 gb harddrive. I was thinking to split the harddrive in two. 80 gb for windows XP and 80 gb for ubuntu. What do you guys think of that?

And how shall I build linux partition? 20 gb for /root, 5 gb for swap, or what would you suggest?
 
Old 04-29-2008, 02:14 PM   #2
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian stable
Posts: 5,877

Rep: Reputation: 350Reputation: 350Reputation: 350Reputation: 350
If it were my machine, I'd probably give swap 1 gig, / would get 12-14 gig (depending on how much software I intend to install), and the rest in /home.
 
Old 04-29-2008, 02:18 PM   #3
danne123
Member
 
Registered: Apr 2006
Distribution: Slackware 11.0, Gentoo 2006.1
Posts: 102

Original Poster
Rep: Reputation: 17
How about logical and primary partition?
 
Old 04-29-2008, 02:26 PM   #4
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian stable
Posts: 5,877

Rep: Reputation: 350Reputation: 350Reputation: 350Reputation: 350
In your windows partition is a primary partition, you could create an 80 gig extended partition, and make your logical partitions for Linux inside the extended partition.

You can have up to 15 logical partitions inside the extended partition.

If you make all partitions primary, then you run into the 4 partition limit of the MBR. You could have only windows xp, linux root, linux /home, and swap partitions on the entire drive.
 
Old 04-29-2008, 02:31 PM   #5
danne123
Member
 
Registered: Apr 2006
Distribution: Slackware 11.0, Gentoo 2006.1
Posts: 102

Original Poster
Rep: Reputation: 17
With your suggestion, what kind of partition would you set for each?
Boot - primary etc...

Last edited by danne123; 04-29-2008 at 02:33 PM.
 
Old 04-29-2008, 02:40 PM   #6
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian stable
Posts: 5,877

Rep: Reputation: 350Reputation: 350Reputation: 350Reputation: 350
Windows would be the first partition on the drive: primary, bootable.
Then the extended partition, which is just a container for the logical parititons.
Then I'd probably make the Linux partitions in this order:
swap : logical
/ (root) : logical, bootable
/home : logical

Of course, opinions vary on how to set up a partition scheme. That's mine.
 
Old 04-29-2008, 03:03 PM   #7
danne123
Member
 
Registered: Apr 2006
Distribution: Slackware 11.0, Gentoo 2006.1
Posts: 102

Original Poster
Rep: Reputation: 17
Thanks, now linux is installed.

First next week will I get my copy of windows. I heard that there is a problem if you first install linux and after that windows. What shall I do to fix that problem?
 
Old 04-29-2008, 03:15 PM   #8
johnsfine
LQ Guru
 
Registered: Dec 2007
Distribution: Centos
Posts: 5,286

Rep: Reputation: 1181Reputation: 1181Reputation: 1181Reputation: 1181Reputation: 1181Reputation: 1181Reputation: 1181Reputation: 1181Reputation: 1181
Quote:
Originally Posted by danne123 View Post
I heard that there is a problem if you first install linux and after that windows. What shall I do to fix that problem?
I assume you have a bootable liveCD version of Linux.

After installing Windows, you can boot that CD and use it to reinstall Grub for dual boot of Windows and Linux.
 
Old 04-29-2008, 03:23 PM   #9
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian stable
Posts: 5,877

Rep: Reputation: 350Reputation: 350Reputation: 350Reputation: 350
When you install windows, it will overwrite the MBR with it's own bootloader, and Linux will not be bootable. Be careful during the installation of windows that is doesn't delete/reformat your Linux partitions because they're not windows partitions.

After windows is installed, use your Linux installation cd to boot into Linux, open a console, su to root, and run grub-install to restore the grub bootloader to the MBR (there's plenty of documentation around on how to do that).

Then, also as root, you will have to edit /boot/grub/menu.lst to make a menu entry for windows (there is also plenty of documentation for that).

If you want the windows partition mounted when you boot Linux so that you can view files in windows, you will have to make an entry to /etc/fstab.

For future reference, in researching Linux questions, www.google.com/linux is your friend. You will probably not have any problems that have not already been discovered and solved. Plus, using google first, you will often have the solution to your problem faster than waiting for someone on a bulletin board to respond to a question.

Last edited by bigrigdriver; 04-29-2008 at 03:24 PM.
 
Old 04-29-2008, 03:46 PM   #10
trashbird1240
Member
 
Registered: Sep 2006
Location: Durham, NC
Distribution: Slackware, Ubuntu (yes, both)
Posts: 463

Rep: Reputation: 31
Quote:
Originally Posted by danne123 View Post
Hello,

I gonna install ubuntu linux on a 160 gb harddrive. I was thinking to split the harddrive in two. 80 gb for windows XP and 80 gb for ubuntu. What do you guys think of that?
100% Ubuntu and 0% Windows, but that's just me

Quote:
And how shall I build linux partition? 20 gb for /root, 5 gb for swap, or what would you suggest?
Out of 80 GB:
10 GB /root
1 GB swap
the rest in /home

Joel
 
  


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
linux server system cannot resolve name, but windows system no problem? hocheetiong Linux - Newbie 1 04-07-2008 12:16 AM
linux server system cannot resolve name, but windows system no problem? hocheetiong Linux - Newbie 3 04-06-2008 08:28 PM
How to share files from a windows system to linux system vijaya_svk Linux - Software 3 02-10-2008 03:16 AM
Installing a packaging system when making a linux system from scratch idamlaj Linux - Software 1 03-01-2006 03:01 PM
Why Linux is best Operating System for Learning/Doing System Programming ? ubaid_t General 6 03-21-2004 03:10 PM


All times are GMT -5. The time now is 06:48 AM.

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