View previous topic :: View next topic |
Author |
Message |
JoiNtBoY n00b
Joined: 14 Oct 2013 Posts: 3
|
Posted: Mon Oct 14, 2013 12:07 am Post subject: problem istalling gentoo |
|
|
so i use the gazelle guide to install gentoo, and i reached the part when i need to emerge portage, to make the system bootable. when i type this command: emerge-webrsync, i get an error, just like in this post:
https://forums.gentoo.org/viewtopic-t-972288.html
now i have tried the solution, and i was able to download the .tar.xz file, but when i type: tar xvjf portage-latest.tar.xz -C /usr
all i get is an error saying:
bzip2: (stdin) is not a bzip2 file.
tar: Child returned status 2
tar: Error is not recoverable: exiting now
how can i solve it? |
|
Back to top |
|
|
Hu Moderator
Joined: 06 Mar 2007 Posts: 21633
|
Posted: Mon Oct 14, 2013 12:11 am Post subject: |
|
|
Remove the j from your tar options. You are using an xz archive, not a bzip2 archive. |
|
Back to top |
|
|
Clad in Sky l33t
Joined: 04 May 2007 Posts: 887 Location: Germany
|
Posted: Mon Oct 14, 2013 8:28 am Post subject: |
|
|
Alternatively
mkdir /usr/portage
and use emerge-webrsync. _________________ Kali Ma
Now it's autumn of the aeons
Dance with your sword
Now it's time for the harvest |
|
Back to top |
|
|
cwr Veteran
Joined: 17 Dec 2005 Posts: 1969
|
Posted: Mon Oct 14, 2013 10:51 am Post subject: |
|
|
In fact, the current tar can handle .xz files - you need the command "tar xJf whatever"
Will |
|
Back to top |
|
|
GFCCAE6xF Apprentice
Joined: 06 Aug 2012 Posts: 295
|
Posted: Mon Oct 14, 2013 10:58 am Post subject: |
|
|
I fixed that error in my post, I had to go look on a mirror 'cause I couldn't remember the correct name for current snapshots and glanced the .xz at the bottom of the page
@Clad in Sky
Is that enough? Apparently doing that and creating the /usr/portage/profiles/repo_name with 'gentoo' will work. Don't quote me on that though. |
|
Back to top |
|
|
JoiNtBoY n00b
Joined: 14 Oct 2013 Posts: 3
|
Posted: Mon Oct 14, 2013 1:55 pm Post subject: |
|
|
okay... so that worked with no errors. i kept using the gazelle guide to install gentoo, and reached the reboot. after the reebot the machine is still not bootable, and when i load from the livecd and try to use the emerge command, i get another error of -bash: emerge: command not found. i think something was wrong with making the system bootable, but i received no error following what you guys said. |
|
Back to top |
|
|
Clad in Sky l33t
Joined: 04 May 2007 Posts: 887 Location: Germany
|
Posted: Mon Oct 14, 2013 6:24 pm Post subject: |
|
|
The machine not booting can have several causes. Could you tell us where the boot process hangs? Right at the beginning (you probably didn't (correctly) install a boot loader then/ messed up installing ona UEFI machine (I did only 2 days ago))? After choosing an entry in the boot loader (especially when using GRUB, you probably got its awkward notation wrong)? After decompressing the kernel (something wrong with your kernel setup then, please post output here)? During open-rc script (please post which step isn't completed)?
In my experience people can be very helpful here.
As for booting the live CD and emerging - did you repeat the chroot steps in the handbook and mount /proc and /sys and /dev from the live environment before. I'm not really sure what the gazelle handbook is you're referring to. If this is your first Gentoo install, I recommend using the, well, standard handbook. _________________ Kali Ma
Now it's autumn of the aeons
Dance with your sword
Now it's time for the harvest |
|
Back to top |
|
|
JoiNtBoY n00b
Joined: 14 Oct 2013 Posts: 3
|
Posted: Tue Oct 15, 2013 4:34 am Post subject: |
|
|
well i don't really know linux, but i didn't see any errors while following the steps. this is the guide: https://github.com/WhatCD/Gazelle/wiki/Gazelle-installation
i checked, double checked' and triple checked every command before hitting enter, and i got no errors back when i did it. can you give be the easiest gentoo installation guide you know? |
|
Back to top |
|
|
Clad in Sky l33t
Joined: 04 May 2007 Posts: 887 Location: Germany
|
Posted: Tue Oct 15, 2013 8:16 am Post subject: |
|
|
I've always been successful with
http://www.gentoo.org/doc/en/handbook/handbook-amd64.xml
It's not as short as the Gazelle Book and doesn't focus on installing Gentoo in a VM, but it is comprehensive and explains what you're doing a bit better.
This part is essential whenever you want to do anything with your (not yet) bootable Gentoo:
Gazelle Guide wrote: |
Getting into the chrooted environment
Execute the following commands, following the instructions mirrorselect provides: mirrorselect -i -o >> /mnt/gentoo/etc/portage/make.conf mirrorselect -r -i -o >> /mnt/gentoo/etc/portage/make.conf`
Copy the /etc/resolv.conf file:
cp /etc/resolv.conf /mnt/gentoo/etc/resolv.conf
Remount necessary file systems:
mount -t proc none /mnt/gentoo/proc
mount --rbind /sys /mnt/gentoo/sys
mount --rbind /dev /mnt/gentoo/dev
Enter the new environment:
chroot /mnt/gentoo /bin/bash
source /etc/profile
export PS1="(chroot) $PS1"
Yay, we're now on our own! Time to make this system bootable.
|
_________________ Kali Ma
Now it's autumn of the aeons
Dance with your sword
Now it's time for the harvest |
|
Back to top |
|
|
|