View previous topic :: View next topic |
Author |
Message |
iliketofrolic666 n00b
Joined: 30 Aug 2007 Posts: 4
|
Posted: Thu Aug 30, 2007 4:32 am Post subject: Gentoo runs out of memory while extracting the stage 3... |
|
|
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 |
|
|
Telexen Apprentice
Joined: 09 Oct 2005 Posts: 189
|
Posted: Thu Aug 30, 2007 4:36 am Post subject: |
|
|
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 |
|
|
sLumpia Tux's lil' helper
Joined: 10 Jul 2006 Posts: 120 Location: troller land
|
Posted: Thu Aug 30, 2007 4:45 am Post subject: |
|
|
yes, i experience this once
you must mount your gentoo partition first, then you can extract the stage. _________________ I love it |
|
Back to top |
|
|
iliketofrolic666 n00b
Joined: 30 Aug 2007 Posts: 4
|
Posted: Thu Aug 30, 2007 12:47 pm Post subject: |
|
|
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 |
|
|
sLumpia Tux's lil' helper
Joined: 10 Jul 2006 Posts: 120 Location: troller land
|
Posted: Thu Aug 30, 2007 2:13 pm Post subject: |
|
|
just follow the handbook
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 |
|
|
iliketofrolic666 n00b
Joined: 30 Aug 2007 Posts: 4
|
Posted: Thu Aug 30, 2007 2:14 pm Post subject: |
|
|
lun4 wrote: | just follow the handbook
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 |
|
|
sLumpia Tux's lil' helper
Joined: 10 Jul 2006 Posts: 120 Location: troller land
|
Posted: Thu Aug 30, 2007 2:23 pm Post subject: |
|
|
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 |
|
|
mrhex n00b
Joined: 27 Aug 2007 Posts: 15
|
Posted: Thu Aug 30, 2007 3:22 pm Post subject: |
|
|
i ran into this exact problem also, but it was my own fault. i forgot to 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 |
|
|
iliketofrolic666 n00b
Joined: 30 Aug 2007 Posts: 4
|
Posted: Fri Aug 31, 2007 5:39 pm Post subject: |
|
|
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 |
|
|
Telexen Apprentice
Joined: 09 Oct 2005 Posts: 189
|
Posted: Fri Aug 31, 2007 9:48 pm Post subject: |
|
|
Good luck.
If "just works" is what you want, then Gentoo isn't designed for your needs. |
|
Back to top |
|
|
|