Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Gentoo runs out of memory while extracting the stage 3...
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
iliketofrolic666
n00b
n00b


Joined: 30 Aug 2007
Posts: 4

PostPosted: Thu Aug 30, 2007 4:32 am    Post subject: Gentoo runs out of memory while extracting the stage 3... Reply with quote

I searched for this and I couldn't find anything relevant...



I am using the minimal install cd for gentoo (x86).


This is what I did step by step:

1) Downloaded stage3-x86-2007.0.tar.bz2 with links
2) cd /mnt/gentoo
3) tar xvjpf stage3-x86-2007.0.tar.bz2


On step three I get errors saying that I ran out of memory, how do I fix this?
Back to top
View user's profile Send private message
Telexen
Apprentice
Apprentice


Joined: 09 Oct 2005
Posts: 189

PostPosted: Thu Aug 30, 2007 4:36 am    Post subject: Reply with quote

It sounds like you're not extracting it to the drive you're installing on, you're actually extracting it to a folder that's part of the livecd root filesystem in memory.

did you mount your formatted hard disk to /mnt/gentoo?
Back to top
View user's profile Send private message
sLumpia
Tux's lil' helper
Tux's lil' helper


Joined: 10 Jul 2006
Posts: 120
Location: troller land

PostPosted: Thu Aug 30, 2007 4:45 am    Post subject: Reply with quote

yes, i experience this once :oops:
you must mount your gentoo partition first, then you can extract the stage.
_________________
I love it
Back to top
View user's profile Send private message
iliketofrolic666
n00b
n00b


Joined: 30 Aug 2007
Posts: 4

PostPosted: Thu Aug 30, 2007 12:47 pm    Post subject: Reply with quote

Telexen wrote:
It sounds like you're not extracting it to the drive you're installing on, you're actually extracting it to a folder that's part of the livecd root filesystem in memory.

did you mount your formatted hard disk to /mnt/gentoo?

No, how do I do that?

mount hda???


Thanks for the help
Back to top
View user's profile Send private message
sLumpia
Tux's lil' helper
Tux's lil' helper


Joined: 10 Jul 2006
Posts: 120
Location: troller land

PostPosted: Thu Aug 30, 2007 2:13 pm    Post subject: Reply with quote

just follow the handbook :wink:
Handbook says wrote:

# mount /dev/hda3 /mnt/gentoo
(For an ext3 partition:)
# mount -t ext3 /dev/hda3 /mnt/gentoo
# mkdir /mnt/gentoo/boot
# mount /dev/hda1 /mnt/gentoo/boot

_________________
I love it


Last edited by sLumpia on Thu Aug 30, 2007 2:18 pm; edited 1 time in total
Back to top
View user's profile Send private message
iliketofrolic666
n00b
n00b


Joined: 30 Aug 2007
Posts: 4

PostPosted: Thu Aug 30, 2007 2:14 pm    Post subject: Reply with quote

lun4 wrote:
just follow the handbook :wink:
Handbook says wrote:

# mount /dev/hda3 /mnt/gentoo
(For an ext3 partition:)
# mount -t ext3 /dev/hda3 /mnt/gentoo
# mkdir /mnt/gentoo/boot
# mount /dev/hda1 /mnt/gentoo/boot

Sorry I didn't see that in the hand book : - ( or at least not by the stage 3 install instructions. Thanks a lot for helping, I'll try it when I get home from work.


So I need three partitions then? (two ext3 and one swap?)
Back to top
View user's profile Send private message
sLumpia
Tux's lil' helper
Tux's lil' helper


Joined: 10 Jul 2006
Posts: 120
Location: troller land

PostPosted: Thu Aug 30, 2007 2:23 pm    Post subject: Reply with quote

it depends on your partition scheme. but if you just follow the handbook, then yes.

btw, don't forget mark add solved for this thread
_________________
I love it
Back to top
View user's profile Send private message
mrhex
n00b
n00b


Joined: 27 Aug 2007
Posts: 15

PostPosted: Thu Aug 30, 2007 3:22 pm    Post subject: Reply with quote

i ran into this exact problem also, but it was my own fault. i forgot to
Code:
cd /mnt/gentoo
before i fetched the stage3 archive and untared it.

If u read the handbook or as i did the http://www.gentoo.org/doc/en/gentoo-x86-quickinstall.xml (quck install.. yeah right haha lol)
u will see if u follow all steps

That you should partition the boot, swap and intended / drive

ie. in the example below sata drive 1 is used. I used hda so i changed sda1,2,3 to hda1,2,3.

Code:
/dev/sda1               1          12       96358+  83  Linux
/dev/sda2              13         110      787185   82  Linux swap / Solaris
/dev/sda3             111       72943   585031072+  83  Linux


after which you should create the filesystems and activate the swap.

Code:
(ext2 is all you need on the /boot partition)
livecd ~ # mke2fs /dev/sda1

(Let's use ext3 on the main partition)
livecd ~ # mke2fs -j /dev/sda3

(Create and activate swap)
livecd ~ # mkswap /dev/sda2 && swapon /dev/sda2


Then youre supposed to mount the appropriate directorys to the partitions.

Code:
livecd ~ # mount /dev/sda3 /mnt/gentoo
livecd ~ # mkdir /mnt/gentoo/boot
livecd ~ # mount /dev/sda1 /mnt/gentoo/boot


set your system time/date to get the most up to date stuff later on.

Code:
livecd ~ #date MMDDhhmmYYYY


THEN cd to /mnt/gentoo and fetch the stage3

Code:
livecd ~ # cd /mnt/gentoo
livecd gentoo # links http://www.gentoo.org/main/en/mirrors.xml
(Pick a mirror, move to the releases/x86/current/stages directory highlight the
stage3 of your choice, probably the i686 stage3 and press D to download it)

(Or download it directly with wget without choosing a nearby mirror)
livecd ~ # cd /mnt/gentoo
livecd gentoo # wget ftp://gentoo.osuosl.org/pub/gentoo/releases/x86/current/stages/stage3-i686*tar.bz2
Back to top
View user's profile Send private message
iliketofrolic666
n00b
n00b


Joined: 30 Aug 2007
Posts: 4

PostPosted: Fri Aug 31, 2007 5:39 pm    Post subject: Reply with quote

I got passed this problem, but I ran into another problem. I don't think Gentoo is for me, I am going to install Xubuntu instead. It "just works", I have put too many hours into this...thanks for your help though
Back to top
View user's profile Send private message
Telexen
Apprentice
Apprentice


Joined: 09 Oct 2005
Posts: 189

PostPosted: Fri Aug 31, 2007 9:48 pm    Post subject: Reply with quote

Good luck.

If "just works" is what you want, then Gentoo isn't designed for your needs.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
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