Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Get help on partitioning here [Part 1]
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2, 3, 4 ... 9, 10, 11  Next  
This topic is locked: you cannot edit posts or make replies.    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
Ryllharu
n00b
n00b


Joined: 15 Nov 2004
Posts: 1
Location: American Empire

PostPosted: Tue Nov 16, 2004 12:03 am    Post subject: Reply with quote

I'm real new to Linux and I was wondering if the fdisk partitioner is destructive or does it work like Partition Magic and just make a partition with free space and leave the rest alone?
Back to top
View user's profile Send private message
Herrscher
n00b
n00b


Joined: 20 Nov 2004
Posts: 27
Location: Germany

PostPosted: Sun Nov 21, 2004 10:35 am    Post subject: Reply with quote

Ryllharu wrote:
I'm real new to Linux and I was wondering if the fdisk partitioner is destructive or does it work like Partition Magic and just make a partition with free space and leave the rest alone?


AFAIK it is very destructive!!!
Back to top
View user's profile Send private message
staninnyc
n00b
n00b


Joined: 21 Nov 2004
Posts: 1

PostPosted: Mon Nov 22, 2004 1:06 am    Post subject: More newbie questions on partitions Reply with quote

As with many people, I want to dual boot between Windows XP and Gentoo. I also want to do this non-destructively, which means I need to keep my existing NTFS partition.

My first preference is to keep the NTFS partition as the first partition. As a second choice, I could create an initial FAT16 partition before the existing NTFS partition with PartitionMagic. This is recommended by I have been using my old laptop as a test platform and had a bad experience with this. I purchased DiskMagic and use it exactly once. After the reboot it got an error and I lose the disk. So much for my $70! Also, I am not clear what the advantage is with this configuration as there does not seem to be any restriction on the location of partitions anymore.

So here are my questions with Option 1.
1. Since NTFS is the first partition, this means the MBR will be on this partition and therefore GRUB will be installed there with Windows NT. Is this OK?
2. The installation instructions say that when using fdisk you should set the bootable flag for the boot partition. In this configuration, should both the NTFS partition and Linux bootable partition be marked as bootable?
3. What does the bootable flag do anyway? I thought the BIOS loads GRUB from the MBR and the GRUB configuration file tells it the location of the installed O/Ss. What role does the bootable flag play?

With Option 2, I am unclear how to create the initial partition.
4. I will likely try again to use DiskMagic, which means that fdisk will not be the program creating the FAT16 partition. Is this OK?
5. Do I then run mke2fs on an existing FAT16 partition?

Thanks in advance,

Stan
Back to top
View user's profile Send private message
Wampas
n00b
n00b


Joined: 16 Nov 2004
Posts: 48

PostPosted: Thu Nov 25, 2004 2:03 am    Post subject: Reply with quote

ultraslacker wrote:
A week ago I did 'rm -rf /tmp' and promptly rebooted. I still don't know what I was thinking...


hahahaaaaaa :lol: :lol: :lol: 8O
_________________
Fujitsu Amilo 1425 | P-M725 dothan @1.60Ghz | Intel i855PM | 80GB ATA8MB | Radeon Mobility 9700 128M | Intel AC'97 | 512MB
XP1800+ | MSI KT3 Ultra | Leadtek GF4 TI4200 64MB @ 300/550 | AC'97 | 40GB | 1GB DDR
Duron 1100 GF2MX 32MB | 2x40GB| 512MB
Back to top
View user's profile Send private message
MickKi
Veteran
Veteran


Joined: 08 Feb 2004
Posts: 1100
Location: 51:45:20N, 0:40:44W

PostPosted: Sun Nov 28, 2004 4:55 pm    Post subject: Re: More newbie questions on partitions Reply with quote

Hi staninnyc,

staninnyc wrote:
So here are my questions with Option 1.
1. Since NTFS is the first partition, this means the MBR will be on this partition and therefore GRUB will be installed there with Windows NT. Is this OK?
The MBR is at the beginning of the disk (right before the first partition) - don't confuse this with a partition's boot sector.

staninnyc wrote:
2. The installation instructions say that when using fdisk you should set the bootable flag for the boot partition. In this configuration, should both the NTFS partition and Linux bootable partition be marked as bootable?
No. It is better that only one partition is flagged as bootable (for M$Windoze's sake, which gets confused with two flags). If you have a FAT16 as your first partition, have that flagged as bootable because WinXP would install there its boot loader (NTLDR).

staninnyc wrote:
3. What does the bootable flag do anyway? I thought the BIOS loads GRUB from the MBR and the GRUB configuration file tells it the location of the installed O/Ss. What role does the bootable flag play?
My understanding is that the boot flag tells the boot loader (GRUB, LILO, NTLDR, etc.) which partition is marked as active for booting, so that the boot loader can go to the boot sector of that active partition and read it to find the location of the OS files in the given partition. So the active flag will point the boot loader to locate the first part of the default operating system's:
    1. kernel loader program;
    2. or the kernel itself (when the boot loader can load directly the OS - e.g. Linux can be loaded directly by Grub);
    3. or a "boot manager program" if the boot loader is going to chainload the OS using a different boot loader (e.g. ntldr can chainload lilo, or grub and vice versa) and read that into memory.

staninnyc wrote:
With Option 2, I am unclear how to create the initial partition.
4. I will likely try again to use DiskMagic, which means that fdisk will not be the program creating the FAT16 partition. Is this OK?
I don't know what DiskMagic is. What's wrong with FDISK?
Code:
# fidisk /dev/hda
The number of cylinders for this disk is set to xxxx.
There is nothing wrong with that, but this is larger than 1024,
and could in certain setups cause problems with:
1) software that runs at boot time (e.g., old versions of LILO)
2) booting and partitioning software from other OSs
   (e.g., DOS FDISK, OS/2 FDISK)

Command (m for help): n
"n" of course stands for new partition. Then you choose primary and set the size, e.g. +50M and then you set the partition type "t". Check "l" (that's L low case, for list) to see that FAT16 is type 6. When you're done admiring your handiwork set the active boot flag by pressing a and finally press w to write the table to disk. Any alternative partition creation tool like parted, qtparted, etc. will do the same job. You can use Knoppix which has a load of them. :)
staninnyc wrote:
5. Do I then run mke2fs on an existing FAT16 partition?
. . . and promptly hose any previously installed M$Windoze files? 8O Also, if you want to later install a FAT16 system like M$DOS, or FreeDos you won't be able to do so. A FAT16 first partition is only really needed if you are going to use it for installing M$DOS. Instead, you can install WinXP in your first partition, after you have created the partitions with the sizes you want. Don't forget that if the linux boot partition is /dev/hda2 then it's:
Code:
 grub> root (hd0,1)
and you can safely install grub in the MBR:
Code:
grub> setup (hd0)
Which you can then use to chainload ntldr to boot WinXP.

Good luck,
_________________
Regards,
Mick
Back to top
View user's profile Send private message
Slammed
n00b
n00b


Joined: 03 Dec 2004
Posts: 3
Location: CT

PostPosted: Fri Dec 03, 2004 2:20 am    Post subject: Reply with quote

Hello People :D

I am experimenting with Linux and I am about to install Gentoo on my Laptop
I have a 30gb HD with XP installed I want to dual boot
there is 18.9gb left on the drive can you please help me set up with Fdisk thanks

P.s I am a big NOOB so you might have to break it down abit but I do know about Fdisk LOL
_________________
That's right, a FREE iPod mini.

Would you like an IPOD?
www.freeiPods.com/default.aspx?referer=7231158
Back to top
View user's profile Send private message
Echtelion
n00b
n00b


Joined: 26 Jul 2004
Posts: 20

PostPosted: Fri Dec 03, 2004 9:09 pm    Post subject: Reply with quote

About fdisk just follow the Installation Handbook carefully: it is very well writen.

You can only have 4 primary partitions in a disk, all others must be logical inside one extended. I will assume that you have only one *indows partition and some unpartioned space. Create the following partitioning scheme:

/dev/hda1 : primary : (some space) : *indows : (already exists)
/dev/hda2 : primary : 128M : /boot : boot partition
/dev/hda3 : primary : (double your memory) : swap : swap space
/dev/hda4 : primary : (rest of your disk space) : / : main linux partition

Good luck!
Back to top
View user's profile Send private message
JMM
n00b
n00b


Joined: 24 Nov 2004
Posts: 19

PostPosted: Fri Dec 03, 2004 10:08 pm    Post subject: Reply with quote

Gentoo isn't exactly the easiest distro to start with...
But if you make it through, you'll be that much smarter.

Windows XP partitions the entire drive as NTFS by default, so you'd have to resize the Windows partition first. SystemRescueCD (google it) has qtParted on it, which is able to do that. Defragging first would be a good idea.
Back to top
View user's profile Send private message
pengie
n00b
n00b


Joined: 17 Dec 2003
Posts: 74
Location: Australia

PostPosted: Mon Dec 06, 2004 12:22 am    Post subject: partition help Reply with quote

Viewing my partion table

Code:


Disk /dev/hda: 60.0 GB, 60011642880 bytes
255 heads, 63 sectors/track, 7296 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device        Boot      Start     End      Blocks        Id   System
/dev/hda1     *            1      5384    43246948+     7    HPFS/NTFS
/dev/hda2                6022    6084        506047+    82    Linux swap
/dev/hda3                6085    7296      9735390      83    Linux
/dev/hda4                5385    6021      5116702+     f     W95 Ext'd (LBA)
/dev/hda5                5385    6022      5116701       b     W95 FAT32

Partition table entries are not in disk order.


My question is this

type mount /dev/hda3 /mnt/gentoo
type mkdir /mnt/gentoo/boot
type mount /dev/hda1 /mnt/gentoo/boot

what should I do on this part if my hda1 is my windows partition? And does it matter if my partition entries not in order?

Still confuse in installing stage 3.
Back to top
View user's profile Send private message
Slammed
n00b
n00b


Joined: 03 Dec 2004
Posts: 3
Location: CT

PostPosted: Mon Dec 06, 2004 12:48 am    Post subject: Reply with quote

JMM wrote:
Gentoo isn't exactly the easiest distro to start with...
But if you make it through, you'll be that much smarter.

Windows XP partitions the entire drive as NTFS by default, so you'd have to resize the Windows partition first. SystemRescueCD (google it) has qtParted on it, which is able to do that. Defragging first would be a good idea.



Thanks for the info is there a distro you could sugjest to me instead ??
_________________
That's right, a FREE iPod mini.

Would you like an IPOD?
www.freeiPods.com/default.aspx?referer=7231158
Back to top
View user's profile Send private message
pengie
n00b
n00b


Joined: 17 Dec 2003
Posts: 74
Location: Australia

PostPosted: Mon Dec 06, 2004 1:11 am    Post subject: Reply with quote

Also when I run this command

We will now extract the stage tarball of your choice. We will do this with the GNU tar tool. Make sure you use the same options (-xvjpf)! In the next example, we extract the stage tarball stage3-<subarch>-2004.2.tar.bz2. Be sure to substitute the tarball filename with your stage.
Code:

Code Listing 10: Extracting the stage tarball
 
# tar -xvjpf /mnt/cdrom/stages/stage3-<subarch>-2004.2.tar.bz2


I got an error
Code:
tar: Error exit delayed frome previous errors


when it reaches "./root/.keep" :?:
Back to top
View user's profile Send private message
SinMinister
n00b
n00b


Joined: 13 Dec 2004
Posts: 2
Location: right here, in front of the PC

PostPosted: Mon Dec 13, 2004 7:52 am    Post subject: Reply with quote

hello all,
I have a problem, I installed gentoo as per the instruction booklet, i.e. 3 partitions, one for boot, one for swap and one for root. However, as I had windows installed (and wanted to keep it :) ) I used Partition Magic to create the boot and swap partitions before the windows one, and the root after. When I was installing gentoo, fdisk gave me this configuration:
hdc1 - ntfs
hdc2 - linux boot
hdc3 - linux swap
hdc4 - linux

The problem occurs when I try boot into gentoo, it starts loading then an error comes up saying that it cannot read the fs from the root partition. Furthermore, windows does not boot either. The Windows XP splash come up, but then goes into a blue screen of death.

I tried editing the grub configuration at boot time, but nothing helps. What have I done wrong, and is there a way to fix it without doing a format?
_________________
er?
Back to top
View user's profile Send private message
SinMinister
n00b
n00b


Joined: 13 Dec 2004
Posts: 2
Location: right here, in front of the PC

PostPosted: Mon Dec 13, 2004 10:22 am    Post subject: Reply with quote

hello?
_________________
er?
Back to top
View user's profile Send private message
jeffix
n00b
n00b


Joined: 09 Dec 2004
Posts: 59
Location: Paris, FR

PostPosted: Tue Dec 14, 2004 1:57 pm    Post subject: Reply with quote

Quote:
used Partition Magic to create the boot and swap partitions before the windows one, and the root after

Quote:

hdc1 - ntfs
hdc2 - linux boot
hdc3 - linux swap
hdc4 - linux


well there seems to be sth odd here... What do you call the partitions in your bootloader's .conf ?
How did you supposedly achieve what you have done in PM (placing boot 'before' win) ?
I think PM may have interfered in Win's own bootlader, so Win would throw a blue screen when directed to by the MBR's grub. You may want to examine how your disk looks like when booting from PartitionMagic recue CD (or the free QTparted clone available at www.sysresccd.org).
By the way, how come your hard disk is named hdc ? Is that its name in the LiveCD environment ? One other issue is Windows not naturally being able to boot from sth else than primary master. Would WinXP boot correctly from /that/ disk before your Gentoo install ?
How's your grub.conf look like ?
Back to top
View user's profile Send private message
jensa
n00b
n00b


Joined: 16 Dec 2004
Posts: 12

PostPosted: Thu Dec 16, 2004 6:09 pm    Post subject: Reply with quote

Hi, I currently have Suse installed on my amd64 computer but would like to switch to Gentoo, but before I start deleting my system I would like to check if anybody sees a problem with the way I was planning to do the switch.

You see when I installed my current distro I made a clean installl (erased entire harddrive before installing) and chose to use three partitions \boot \swap and \
(The reason for this was that I did not want to estimate how much space my \home would take because I constantly add new huge video files, but I also frequently install new big programs so I stuck with just one partition for everything.)

Anyway, my plan was to create a directory \video where I keep all the videofiles I would like to keep when I switch to gentoo. After what I understand, I can then install gentoo (stage 2) by just mounting my old \ from the live-CD and delete my old \bin \usr \var \home etc and proceed with the installation as usual (of course not repartitioning).
After the install is finished I would have my new gentoo system and a directory \video where all my old videofiles are.

Does anybody see a problem with this? I really wouldnt like to loose all my personal video-files.

Thanks.
Back to top
View user's profile Send private message
shashir
n00b
n00b


Joined: 31 Dec 2004
Posts: 18

PostPosted: Sat Jan 01, 2005 12:47 am    Post subject: Reply with quote

Things to remember while partitioning:

Keep /home partition the largest
Keep / (the root partition) the second largest
/tmp is not necessary, but if you want keep it around 1-2 gigs
_________________
Favorite Distros: Slackware, Gentoo
Back to top
View user's profile Send private message
xgregx
Apprentice
Apprentice


Joined: 17 Dec 2004
Posts: 181
Location: Cheshire, CT

PostPosted: Thu Jan 06, 2005 6:33 pm    Post subject: Reply with quote

How do you create extended partitions? I know how to do it in fdisk, but I don't think I'm doing it the right way, because I'm ending up with weird sizes and running out of primary spaces. Do you need to create a primary, then create the extended off of it? I know you can only make 4 primaries. So should I create 3, then use the last one to create the extendeds? I'm not sure. I like to have different files systems for:
/
/boot
/usr
/var
/home
/tmp

Let me know, any help is appreciated. Thanks.
Greg :)
_________________
Half-life/Source/Urban Terror/Unreal control panel -> www.opengamepanel.org
Linux user #347899
Gentoo has USE flags for a highly configurable system.
Microsoft has SUE flags to stifle innovation
Back to top
View user's profile Send private message
taipan67
l33t
l33t


Joined: 04 Dec 2004
Posts: 866
Location: England (i'm told...)

PostPosted: Sun Jan 16, 2005 4:04 pm    Post subject: Reply with quote

I thought i'd post my experiences with Linux installations, & particularly Gentoo installations, as it provided some profound lessons that no other distro did, & i hope they may help others...

To help readers decide if this post is worth persevering with, the points covered are:-

1. Partitions & directories aren't the same thing.
2. Related instal-errors.
3. Sizing of seperate partitions for /boot & other directories.
Note: MS Windows not used, so no specific dual-booting advice.


Partitions & directories aren't the same thing.

With every other distro i've played with (& that's practically all of them), the partitioning tool used prompts the user to name each partition as they go along. The first big lesson i learned with Gentoo is that the partition table has nothing to do with what's stored on it, until those partitions are mounted into the directory tree. As far as Linux is concerned, each partition is just a device-file, & what's stored on them is governed by the '/etc/fstab' file, & the 'mount' command.

Related instal-errrors.

In an earlier post, someone had an error during a 'Stage tarball extraction', when they ran out of disk-space. I think this would've been because the tarball was trying to extract itself into only what the user had intended to be their / (root) partition, & not using the ones intended for /usr, /var, & so on.

As i said in the first section, Linux looks for it's files (EVERYTHING is a file, including all harddrives & their partitions) in a known location within the directory-tree. If /usr is on a seperate partition, Linux will know this from reading the '/etc/fstab' file.

Unfortunately, this directory-tree is created during installation by extracting the 'Stage tarball', & /etc/fstab doesn't exist yet. That's why (following the handbook) we use 'mkdir' to create points to mount our extra partitions at. Then, if we've made, for example, a /usr directory, & mounted a partition at that point, the 'Stage tarball extraction', & more notably the 'Portage snapshot extraction' will be installed on the intended partition.



Sizing of seperate partitions for /boot & other directories.

I won't offer any particular guidelines on this issue, i'll just list some of my personal settings, which may assist in your deliberations...

When i created my partition table, i wanted to install Gentoo & 'Linux From Scratch', & be able to share all user settings between the two. So i created this configuration:-

Code:
Disk /dev/hda: 81.9 GB, 81964302336 bytes
16 heads, 63 sectors/track, 158816 cylinders
Units = cylinders of 1008 * 512 = 516096 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/hda1   *           1          75       37768+  83  Linux
/dev/hda2              76        1068      500472   82  Linux swap / Solaris
/dev/hda3            1069      158816    79504992    5  Extended
/dev/hda5            1069       20910    10000336+  83  Linux
/dev/hda6           20911       40752    10000336+  83  Linux
/dev/hda7           40753      158816    59504224+  83  Linux



In human-speak, that's 512Mb of swap on /dev/hda2, 10Gb each for the / (root) of each of the two seperate directory-tree's on /dev/hda5 & /dev/hda6, 38Mb for a shared /boot directory on /dev/hda1, & everything else for a shared /home directory on /dev/hda7.

The main reason for this last section, though, is this; Everyone has a different opinion about how big a standalone partition for /boot should be. Mine's 38Mb, & as of this moment four different kernels only occupy 35% of that space! (I did have six, but the least-useful ones went the way of the dodo). Food for thought... :roll:

I hope these points help to alter (or should i say correct?) people's perceptions of their system, as they have done for me. If anyone requires clearer explanation, i'll do my best. And of course, if anyone more knowledgeable can correct any errors i've made, then so much the better for the entire community. :D
_________________
"Anyone who goes to see a psychiatrist should have their head examined!"
Back to top
View user's profile Send private message
biohazzard
n00b
n00b


Joined: 20 Jan 2005
Posts: 27
Location: Lost in chaos!

PostPosted: Thu Jan 20, 2005 6:54 pm    Post subject: Reply with quote

Personally I use cfdisk over fdisk, starting out on Linux I found that it was much easier and alot more simple. I used to have two partitions, Windows XP, and a somewhat blank ntfs. I wanted to dualboot Linux so all I did was move over any files I wanted from the ntfs over to the Windows XP partition, then I booted Linux and ran cfdisk and scrolled down the second partition (the ntfs one) and deleted it. This turned it into unpartitioned space so then I made three partitions, my Linux (~8GB), my swap (~700MB), and a vfat for transfering files between Linux and Windows (~2GB). I didn't and still don't see a HUGE reason to make a separate partition for /boot but I am considering making /home boot on it's own partition. Anyway, I'd recommend cfdisk over fdisk to anyone starting new to Linux or partitioning in general.
Back to top
View user's profile Send private message
sirsleepsalot18
n00b
n00b


Joined: 21 Jan 2005
Posts: 1
Location: Chicago, IL

PostPosted: Fri Jan 21, 2005 9:26 pm    Post subject: Still A Few Questions... Reply with quote

sandeep wrote:
Hi,
Yes you can install gentoo after installing XP.

you should go for atleast these 3 partitions one each for boot, swap and "/". Having /home on a seperate partition is also a good option.
For partitioning, You can use any partitioning utility like fdisk.
You can even use disk-management tool of XP to partition.

However please remember to
1. Prepare suitable file systems before installation. You can safely use mke2fs for boot, mkswap for swap and mkreiserfs for /.
2. Install grub on the MBR of the disk from where the XP is booting, ususlly hd0 for grub.


After reading every post I still have some questions.

1. I keep reading about putting /home on it's own partiton due to the possibility of reinstalling Gentoo later on so it would be that of convenience. Many people said that n00bs should not make /home in its own partition to keep it simple. I like having convenience and I do think that I will most likely reinstall Gentoo down the line, I was wondering though, could I just back up my /home files on a DVD and then work from there after the reinstall?

2. If I was to be daring and make a seperate /home directory, how would I do that in the install? I thought that mounting the file system made all of the directories automatically.

3. As far as formatting is concerned, which one do you recomend the / partition be? I was thinking reiserfs? Is there a personal favorite that enjoy would like to suggest and why they enjoy it?

4. I am going to install Gentoo on two machines. First is my desktop and second is a laptop that I just purchased.

Desktop Specs (Custom Built):
-AMD Athlon 64 3200+ 2.0 GHz
-1024 MB of RAM
-ASUS K8VSE Deluxe Motherboard
-ATI Radeon 9800 256 MB Graphics Card
-3 Hard Drives
- 80 GB -NTFS Windows XP
- 40 GB - Blank Going to put Gentoo there
- 200 GB -NTFS Media

Laptop Specs (ASUS M5Np):
-Intel Dothan 725 1.6 GHz 2MB
-512 MB of RAM
-Embedded Intel 855GME internal graphics,
64MB VRAM shared for display cache with IntelR DVMT technology
-60 GB Hard Drive

My question is, I know that I should have swap space, but how much, some people say just 512 MB and other say 2x Memory? Here is some background on what I will be doing so you can help me. I am a Computer Animation student and I do some digital editing also. I have to run CPU intense programs like Maya and XSI so I might need the extra memory. The reason I am doing this on a Linux box is because that is what some major companies in the industry use to do Computer Animation on and I just love Linux also. I tried using Fedora, but I didn't like their package management. Gentoo seems to be the best distro for having an efficient machine and that is what I always look for.

Thank you all for your help. Any thoughts are appreciated.
Back to top
View user's profile Send private message
taipan67
l33t
l33t


Joined: 04 Dec 2004
Posts: 866
Location: England (i'm told...)

PostPosted: Sat Jan 22, 2005 12:04 am    Post subject: Re: Still A Few Questions... Reply with quote

sirsleepsalot18 wrote:
1. I keep reading about putting /home on it's own partiton due to the possibility of reinstalling Gentoo later on so it would be that of convenience. Many people said that n00bs should not make /home in its own partition to keep it simple. I like having convenience and I do think that I will most likely reinstall Gentoo down the line, I was wondering though, could I just back up my /home files on a DVD and then work from there after the reinstall?

Personally, i use a seperate partition for /home because i dual-boot two different Linux installations, & want to be able to easily access my files from either system without allowing write-access to anything else. I don't see any reason not to use a DVD-backup system, but check the forums for issues regarding DVD-burning under Linux - i'm not yet familiar with the software available, but i do know a 'keycode' is required by 'cdrecord-proDVD'.

sirsleepsalot18 wrote:
2. If I was to be daring and make a seperate /home directory, how would I do that in the install? I thought that mounting the file system made all of the directories automatically.

I tried to explain this in my earlier post here (it's hard to find words that make sense to everyone). After formatting, we first 'mount' whichever partition is going to house our / (root) filesystem-tree, then create 'mount-points' under that first one for any additional partitions we intend to use.

In the handbook example, a seperate partition is used to house the /boot directory. This is done by first creating the /boot mount-point, then mounting the partition at that point.
Code:
mount /dev/hdb3 /mnt/gentoo
mkdir /mnt/gentoo/boot
mount /dev/hdb1 /mnt/gentoo/boot

...The same process is adapted to any other directories which are going to be housed on seperate partitions. Then we create the rest of the filesystem-tree by extracting our stage-tarball.

sirsleepsalot18 wrote:
3. As far as formatting is concerned, which one do you recomend the / partition be? I was thinking reiserfs? Is there a personal favorite that enjoy would like to suggest and why they enjoy it?

That's a really subjective one... I used to use ext2 for my seperate /boot, & reiserfs for everything else without any grumbles. I've just started investigating reiser4, but unless you want to get into experimental kernels, or applying patches manually, it would be more prudent to wait for Gentoo to include it in the stable releases... :wink: In your specific case, it may be worth considering an additional stand-alone partition formatted with 'ntfs', so you can share files with XP. I'm afraid that's an area i have no experience with...

sirsleepsalot18 wrote:
I know that I should have swap space, but how much, some people say just 512 MB and other say 2x Memory?

The philosophy i followed was "Double your ram if you have 256Mb or less; Equal your ram if you have more", which means i have 512Mb of swap alongside my 512Mb of ram, & my processor max's out long before i run out of memory!

One other piece of my mind...

When installing your desktop-system, have a good look at this FAQ, regarding ATI-drivers. I can't use them for my antique card, but for you, i think they'll be a must! :D ...And that will influence how you configure your kernel.
_________________
"Anyone who goes to see a psychiatrist should have their head examined!"
Back to top
View user's profile Send private message
jetoo
n00b
n00b


Joined: 01 Feb 2005
Posts: 12

PostPosted: Tue Feb 01, 2005 7:28 pm    Post subject: Reply with quote

Hi all,

I just discovered gentoo and wanted to install it on my laptop with windows already installed... but i got a small problem partitioning.

Quote:


boot start end blocks id system
hda1 * 1 3010 24 177 793+ 7 HPFS/NTFS
hda2 3011 3648 5 124 735 f W95 Ext'd (LBA)
hda5 3011 3648 5 124 703+ 7 HPFS/NTFS



i got that kind of partition, but when i try to add an hda3 primary for / partition or /boot, it says that there's no space allocated.

how can i fix that?

thx for the help
Back to top
View user's profile Send private message
jetoo
n00b
n00b


Joined: 01 Feb 2005
Posts: 12

PostPosted: Tue Feb 01, 2005 9:20 pm    Post subject: Reply with quote

(can't edit the post)

the right message is: no free sectors available.

what does it mean?
Back to top
View user's profile Send private message
taipan67
l33t
l33t


Joined: 04 Dec 2004
Posts: 866
Location: England (i'm told...)

PostPosted: Tue Feb 01, 2005 10:59 pm    Post subject: Reply with quote

jetoo,

It looks like the reason you can't create another partition is that your hard-drive is fully allocated.

The 2nd partition, hda2 is an 'extended' partition, which uses all of the remaining disk-space, & it is completely used up by hda5, which is a 'logical' partition (probably known to you as your D: drive).

If you want to install Gentoo on that hard-drive, you're going to have to shrink a partition or two. Now, i'm afraid i haven't used Windows for an awfully long time, & i can't remember how to do that. Backtrack through the thread, & i'm fairly sure you'll find a post about the process.

How much space you need to free up depends on what you want to install. I have an almost complete installation of:- Xorg; Gnome; OpenOffice; Gimp; Mozilla; a couple of media-players; a couple of CD-writers; some p2p stuff; ...taking up about 4Gb. That's not including the /home directory, where i keep my movies & mp3's. You also need to allow an additional 3-4Gb for Portage to use as temporary storage during builds.
_________________
"Anyone who goes to see a psychiatrist should have their head examined!"
Back to top
View user's profile Send private message
jetoo
n00b
n00b


Joined: 01 Feb 2005
Posts: 12

PostPosted: Tue Feb 01, 2005 11:21 pm    Post subject: Reply with quote

thanx for the answer.

Actually, i've got 2 windows partitions (one with the OS and one with data), i also have one last free partition.
so i'm sure i can install gentoo on the free partition right?
how can i make the free partition (about 4gb) to be available for gentoo?
Back to top
View user's profile Send private message
Display posts from previous:   
This topic is locked: you cannot edit posts or make replies.    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Goto page Previous  1, 2, 3, 4 ... 9, 10, 11  Next
Page 3 of 11

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum