Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
PORTAGE_BZIP2_COMMAND setting is invalid: 'bzip2'
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
xsilentmurmurx
Apprentice
Apprentice


Joined: 23 Oct 2009
Posts: 224

PostPosted: Sun Nov 25, 2012 10:34 pm    Post subject: PORTAGE_BZIP2_COMMAND setting is invalid: 'bzip2' Reply with quote

Hello everyone

I am trying to install Gentoo on my laptop using a Fedora 17 live CD.

I followed the steps in the Installation docs found on the Gentoo website as well as the handbook, but when i reached the step for chrooting and env-update, i received the following error:

Code:
localhost / # env-update
PORTAGE_BZIP2_COMMAND setting is invalid: 'bzip2'
PORTAGE_BZIP2_COMMAND setting from make.globals is invalid: 'bzip2'
>>> Regenerating /etc/ld.so.cache...


How do I go about fixing this issue so I dont get this error any more and I can continue with my installation smoothly?

All help is GREATLY appreciated!!!!

also an unrelated question

I have Windows 7 already installed on the laptop and I want to set up my grub in such a way that if gentoo is not chosen by the user during the GRUB menu, the system will automatically boot into Windows 7. Here is my partition layout:

Code:
[root@localhost gentoo]# fdisk -l /dev/sda

Disk /dev/sda: 250.1 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders, total 488397168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xac03e4ef

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1              63    29366819    14683378+  27  Hidden NTFS WinRE
/dev/sda2   *    29366820    29575664      104422+   7  HPFS/NTFS/exFAT
/dev/sda3        29575665   404516699   187470517+   7  HPFS/NTFS/exFAT
/dev/sda4       404516700   488397167    41940234    5  Extended
/dev/sda5       404518748   404723547      102400   83  Linux
/dev/sda6       404725596   411017051     3145728   82  Linux swap / Solaris
/dev/sda7       411019100   488397167    38689034   83  Linux


sda1 is the hidden partition, sda2 is the recovery partition, sda3 is the main Windows 7 Partition (The C:/ partition) and Sda5 is /boot, sda6 is swap and sda7 is /root which are all for Gentoo.

What should I do in my grub.conf file to make Windows 7 boot by default if no one chooses anything from the menu?


Thanks for ALL of your help!

oh! one last question, will it be possible for me to install X, LXDE, and wireless adapter drivers all through the chrooted environment or do i have to boot into the new environment before?
Back to top
View user's profile Send private message
BillWho
Veteran
Veteran


Joined: 03 Mar 2012
Posts: 1576
Location: US

PostPosted: Sun Nov 25, 2012 11:50 pm    Post subject: Reply with quote

xsilentmurmurx,

Did you make any changes to /usr/share/portage/config/make.globals or override it make.conf :?:

The entry should be PORTAGE_BZIP2_COMMAND="bzip2"

For grub to default to win set the default variable to whatever windows is :wink:
_________________
Good luck :wink:

Since installing gentoo, my life has become one long emerge :)
Back to top
View user's profile Send private message
xsilentmurmurx
Apprentice
Apprentice


Joined: 23 Oct 2009
Posts: 224

PostPosted: Tue Nov 27, 2012 12:54 am    Post subject: Reply with quote

BillWho wrote:
xsilentmurmurx,

Did you make any changes to /usr/share/portage/config/make.globals or override it make.conf :?:

The entry should be PORTAGE_BZIP2_COMMAND="bzip2"

For grub to default to win set the default variable to whatever windows is :wink:


Hey there

I tried the PORTAGE_BZIP2_COMMAND="bzip2" in make.conf but that didnt work either!

how do i set the default to windows in grub?

Sorry for all of the questions, im still learning!
Back to top
View user's profile Send private message
BillWho
Veteran
Veteran


Joined: 03 Mar 2012
Posts: 1576
Location: US

PostPosted: Tue Nov 27, 2012 1:26 am    Post subject: Reply with quote

xsilentmurmurx wrote:
how do i set the default to windows in grub? ,


Just follow the boot loader setup page here

Code:
# Which listing to boot as default. 0 is the first, 1 the second etc.
default 1

title Gentoo Linux 3.4.9
# Partition where the kernel image (or operating system) is located
root (hd0,0)
kernel /boot/kernel-3.4.9-gentoo root=/dev/sda3

title Windows XP
rootnoverify (hd0,5)
makeactive
chainloader +1

The above will default to Windows XP
_________________
Good luck :wink:

Since installing gentoo, my life has become one long emerge :)
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