LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Gentoo
User Name
Password
Gentoo This forum is for the discussion of Gentoo Linux.

Notices

Reply
 
LinkBack Search this Thread
Old 09-07-2011, 06:27 PM   #1
igsen
Member
 
Registered: Mar 2009
Location: Phil. Is.
Distribution: Ubuntu 10.04, Debian 6
Posts: 78

Rep: Reputation: 15
How to partition my disk?


I will try gentoo for the first time.
This is how my disk looks like

Code:
# fdisk -l
Disk /dev/sda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 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: 0x000a78bb

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1       14593   117216768    7  HPFS/NTFS
/dev/sda2           14594       19458    39071745    5  Extended
/dev/sda5           14594       19252    37422080   83  Linux
/dev/sda6           19252       19458     1648640   82  Linux swap / Solaris
What I want to do is get some space on ntfs partition and install gentoo from there. I know I can do that by gparted but what I want are figures as to how much disk space and what kind of sytem will I use for that space.
Can somebody please design a partitioning scheme for me to try.
I have burned the minimal install x86 cd and ready to fdisk my drive.

Last edited by igsen; 09-07-2011 at 09:08 PM.
 
Old 09-07-2011, 06:43 PM   #2
andrewthomas
Senior Member
 
Registered: May 2010
Distribution: Arch, Gentoo, Slackware
Posts: 1,441

Rep: Reputation: 228Reputation: 228Reputation: 228
The first thing that you need to do is to shrink your windows partition from within windows.

http://www.howtogeek.com/howto/windo...windows-vista/

http://www.howtogeek.com/howto/windo...uacy-problems/

Then you can use GParted to expand your extended partition to encompass the newly-created free-space.

Then, you can create an ext4 partition (out of the free-space in the extended partition) to house gentoo (you can use your existing swap partition.)
 
Old 09-07-2011, 08:35 PM   #3
igsen
Member
 
Registered: Mar 2009
Location: Phil. Is.
Distribution: Ubuntu 10.04, Debian 6
Posts: 78

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by andrewthomas View Post
The first thing that you need to do is to shrink your windows partition from within windows.

http://www.howtogeek.com/howto/windo...windows-vista/

http://www.howtogeek.com/howto/windo...uacy-problems/

Then you can use GParted to expand your extended partition to encompass the newly-created free-space.

Then, you can create an ext4 partition (out of the free-space in the extended partition) to house gentoo (you can use your existing swap partition.)
Wow! that was a lightning fast reply indeed.Thank you.
Unfortunately, xp has no facility to resize partition. Anyway, gparted will take care of that.
I'll try to create an ext4 partition and use the existing swap. I'll report back...
 
Old 09-07-2011, 08:47 PM   #4
andrewthomas
Senior Member
 
Registered: May 2010
Distribution: Arch, Gentoo, Slackware
Posts: 1,441

Rep: Reputation: 228Reputation: 228Reputation: 228
Quote:
Originally Posted by igsen View Post
Unfortunately, xp has no facility to resize partition.
Yes it does (see edit.) But GParted will do the job alright.

EDIT: OK, XP does not. I guess that I have not had an XP install in so long that I was not remembering correctly.

Last edited by andrewthomas; 09-07-2011 at 09:03 PM.
 
Old 09-07-2011, 09:55 PM   #5
igsen
Member
 
Registered: Mar 2009
Location: Phil. Is.
Distribution: Ubuntu 10.04, Debian 6
Posts: 78

Original Poster
Rep: Reputation: 15
My partitioning after gparted.
Code:
# fdisk -l

Disk /dev/sda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 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: 0x000a78bb

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1       11488    92274688    7  HPFS/NTFS
/dev/sda2           14594       19458    39071745    5  Extended
/dev/sda3           11488       14593    24941568   83  Linux
/dev/sda5           14594       19252    37422080   83  Linux
/dev/sda6           19252       19458     1648640   82  Linux swap / Solaris

Partition table entries are not in disk order
I will now to proceed to my first gentoo install.

Last edited by igsen; 09-07-2011 at 09:58 PM.
 
Old 09-08-2011, 07:33 PM   #6
igsen
Member
 
Registered: Mar 2009
Location: Phil. Is.
Distribution: Ubuntu 10.04, Debian 6
Posts: 78

Original Poster
Rep: Reputation: 15
...my installation was not successful. I had problems with networking, I suspect. Need to do more research.
 
Old 09-08-2011, 07:53 PM   #7
andrewthomas
Senior Member
 
Registered: May 2010
Distribution: Arch, Gentoo, Slackware
Posts: 1,441

Rep: Reputation: 228Reputation: 228Reputation: 228
What problem are you having with networking?

post the output of

Code:
rc-update show
During previous installs /etc/init.d/net.eth0 did not exist.

I have had to link /etc/init.d/net.eth0 to /etc/init.d/net.lo

Code:
ln -s /etc/init.d/net.lo /etc/init.d/net.eth0
Of course, you need to compile your network driver into your kernel.

http://www.kernel-seeds.org

is a great resource for kernel compilation.
 
Old 09-09-2011, 02:30 AM   #8
igsen
Member
 
Registered: Mar 2009
Location: Phil. Is.
Distribution: Ubuntu 10.04, Debian 6
Posts: 78

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by andrewthomas View Post
What problem are you having with networking?

post the output of

Code:
rc-update show
During previous installs /etc/init.d/net.eth0 did not exist.

I have had to link /etc/init.d/net.eth0 to /etc/init.d/net.lo

Code:
ln -s /etc/init.d/net.lo /etc/init.d/net.eth0
Of course, you need to compile your network driver into your kernel.

http://www.kernel-seeds.org

is a great resource for kernel compilation.
I was not able to download stage 3 tarball because I cant connect to the net.Hardware configurations maybe.
I need more preparations... but I'm not giving up.
 
Old 09-09-2011, 05:57 AM   #9
andrewthomas
Senior Member
 
Registered: May 2010
Distribution: Arch, Gentoo, Slackware
Posts: 1,441

Rep: Reputation: 228Reputation: 228Reputation: 228
Your Ubuntu installation has internet access,no?

Download the stage3 tarball and the portage-latest from your Ubuntu install.

Mount your Gentoo partition and copy the files over with sudo.
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
USB flash disk partition disappeared as well as partition table openmind Linux - Newbie 3 02-17-2011 05:20 PM
Advice on whether to clone/re-partition/re-install OR wipe disk/re-partition/use VM linus72 Linux - Newbie 6 04-16-2009 02:41 AM
Copy files from partition to partition too slow, SATA hard disk.What should I do£¿ Ryanlee Suse/Novell 20 10-31-2005 07:30 AM
Reclaim disk partition from hard disk installation EStester Linux - Enterprise 2 03-09-2005 11:46 AM
Reclaim disk partition from hard disk installation EStester Linux - General 1 03-09-2005 11:25 AM


All times are GMT -5. The time now is 07:33 AM.

Main Menu
 
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
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration