Overclock.net › Forums › Software, Programming and Coding › Operating Systems › Linux, Unix › Summer Project: Install Gentoo on My Laptop
New Posts  All Forums:Forum Nav:

Summer Project: Install Gentoo on My Laptop - Page 5

post #41 of 49
Thread Starter 
Quote:
Originally Posted by adramalech707 View Post

you should really need try out system rescued and chroot in with a stage 3 install untaring the stage 3 in the root directory and make sure to copyover the resolve.conf
I tried, but the system rescuecd wouldn't boot for some reason. So i've been installing gentoo through a ubuntu livecd all this afternoon (and so far, it's gone quite well).

Update:
I've gotten to the point of compiling the kernel, configured and compiled the kernel, installed it, and am now making a initramfs (not entirely sure if i need this or not). I'm going to try to get to a point where I can shutdown and native boot the laptop tonight, but that might be a pipe dream at the moment.
Router
(12 items)
 
  
Reply
Router
(12 items)
 
  
Reply
post #42 of 49
Quote:
Originally Posted by stumped View Post

I tried, but the system rescuecd wouldn't boot for some reason. So i've been installing gentoo through a ubuntu livecd all this afternoon (and so far, it's gone quite well).

Update:
I've gotten to the point of compiling the kernel, configured and compiled the kernel, installed it, and am now making a initramfs (not entirely sure if i need this or not). I'm going to try to get to a point where I can shutdown and native boot the laptop tonight, but that might be a pipe dream at the moment.

As long as your not going back and doing a Stage 2 install, meaning where you recompile your core install with your updated use-flags. I find I like the Stage 2 install but it will take time, like over night plugged in time... thumb.gif

Yea any live distro works well... I just like SystemRescueCD... now the hardest part will be once your in your system and you have it setup and grub 2 is installed and running correctly, I would would wait till tomorrow to do a

First do a emerge --sync
emerge --update --deep --with-bdeps=y --newuse world <--perform this with --newuse when you update useflags in /etc/make.conf
emerge --update --deep --with-bdeps=y world <--this would be the normal update for the system with current use-flags unmodified from last modifications.
You can use the --pretend to see what will be installed, but usually I just do an --ask so it will ask before installing so I know what will happen, but sometimes --pretend flag is useful.

Also... if you want to get rid of old stuff that is junking up your system you can do a depclean like this:
Code:
emerge --update --deep --newuse world
emerge --depclean
revdep-rebuild

The revdep-rebuild is key to this process and make sure you have gentoolkit package installed. Depclean will remove all dependencies that can be removed.

**EDIT**

I am really thinking of going back to Gentoo ~amd64 build on my desktop in dual boot with my Arch Linux install.. However I will need a bigger SSD and have a huge partition for portage on a HDD. I miss Gentoo lol drunken.gif
Edited by adramalech707 - 6/16/13 at 10:16pm
Intel build
(17 items)
 
  
CPUMotherboardGraphicsRAM
i7 860 gigabyte p55-ud6 gigabyte gv-n560oc-1gi Corsair Vengeance CMZ8GX3M2A1600C9 
Hard DriveHard DriveHard DriveOptical Drive
Crucial M4 WD Caviar Black WD Caviar Black LiteOn Lightscribe 24x 
CoolingOSMonitorMonitor
Thermaltake Frio Extreme CLP0587 Arch Linux x86_64 samsung 2243swx ASUS vs-248H-p 
KeyboardPowerCaseMouse
moditek led flex Seasonic 860Watt Platinum Antec Lanboy air razor death adder 
  hide details  
Reply
Intel build
(17 items)
 
  
CPUMotherboardGraphicsRAM
i7 860 gigabyte p55-ud6 gigabyte gv-n560oc-1gi Corsair Vengeance CMZ8GX3M2A1600C9 
Hard DriveHard DriveHard DriveOptical Drive
Crucial M4 WD Caviar Black WD Caviar Black LiteOn Lightscribe 24x 
CoolingOSMonitorMonitor
Thermaltake Frio Extreme CLP0587 Arch Linux x86_64 samsung 2243swx ASUS vs-248H-p 
KeyboardPowerCaseMouse
moditek led flex Seasonic 860Watt Platinum Antec Lanboy air razor death adder 
  hide details  
Reply
post #43 of 49
Thread Starter 
So i was able to boot into my gentoo install last night, and created a new user. However, when i logged in with the new user, i got a "Permission denied: /dev/null" error, and after installing bash-completion, things got even worse. I haven't had time to google for my error yet, so i'll leave that for tonight when i get off work.
Router
(12 items)
 
  
Reply
Router
(12 items)
 
  
Reply
post #44 of 49
It seems this might be the case from the /dev portion of the stage3 install:

http://forums.gentoo.org/viewtopic-t-880149.html

It could also be that:
Quote:
You probably had Portage configured to run its processes as a non-root user, so even though you used a root shell to run emerge, the processes that used /dev/null were not owned by root.

Then just try this as root, meaning either run su && chmod o+rw /dev/null or sudo chmod o+rw /dev/null
Edited by adramalech707 - 6/17/13 at 9:13am
Intel build
(17 items)
 
  
CPUMotherboardGraphicsRAM
i7 860 gigabyte p55-ud6 gigabyte gv-n560oc-1gi Corsair Vengeance CMZ8GX3M2A1600C9 
Hard DriveHard DriveHard DriveOptical Drive
Crucial M4 WD Caviar Black WD Caviar Black LiteOn Lightscribe 24x 
CoolingOSMonitorMonitor
Thermaltake Frio Extreme CLP0587 Arch Linux x86_64 samsung 2243swx ASUS vs-248H-p 
KeyboardPowerCaseMouse
moditek led flex Seasonic 860Watt Platinum Antec Lanboy air razor death adder 
  hide details  
Reply
Intel build
(17 items)
 
  
CPUMotherboardGraphicsRAM
i7 860 gigabyte p55-ud6 gigabyte gv-n560oc-1gi Corsair Vengeance CMZ8GX3M2A1600C9 
Hard DriveHard DriveHard DriveOptical Drive
Crucial M4 WD Caviar Black WD Caviar Black LiteOn Lightscribe 24x 
CoolingOSMonitorMonitor
Thermaltake Frio Extreme CLP0587 Arch Linux x86_64 samsung 2243swx ASUS vs-248H-p 
KeyboardPowerCaseMouse
moditek led flex Seasonic 860Watt Platinum Antec Lanboy air razor death adder 
  hide details  
Reply
post #45 of 49
^ it's that link ... I've ran into that same issue before ... /dev/{null,console,zero} are defunct in the tarball. At one point they said it was fixed but it was not, maybe it is by now, make sure your stage3.tar.gz download is current.

Quite a stupid bug that causes a lot of aggravation and bad perception ... redface.gif
stable again
(25 items)
 
  
CPUCPUMotherboardGraphics
E5-2687W E5-2687W ASUS Z9PED8-WS EVGA GTX 570 (Linux host) 
GraphicsRAMHard DriveHard Drive
EVGA GTX 970 FTW (win7 guest) 64GB G.SKILL 2133 2x Crucial M4 256GB raid1 4x 3TB raid 10 
CoolingCoolingCoolingCooling
2x Apogee HD  2x RX 480 2x MCP 655 RP-452x2 rev2 (new) 
CoolingCoolingOSOS
16x Cougar Turbine CFT12SB4 (new) EK FC 580 Gentoo (host) Gentoo (x23 guests) 
OSMonitorMonitorPower
windows 7 (guest w/ vfio-pci) Viewsonic 23" 1080P Viewsonic 19" Antec HCP Platinum 1000 (new) 
CaseOtherOther
Case Labs TH10 (still the best ever) 2x Lamptron FC-5 IOGEAR 2 way DVI KVM Switch 
  hide details  
Reply
stable again
(25 items)
 
  
CPUCPUMotherboardGraphics
E5-2687W E5-2687W ASUS Z9PED8-WS EVGA GTX 570 (Linux host) 
GraphicsRAMHard DriveHard Drive
EVGA GTX 970 FTW (win7 guest) 64GB G.SKILL 2133 2x Crucial M4 256GB raid1 4x 3TB raid 10 
CoolingCoolingCoolingCooling
2x Apogee HD  2x RX 480 2x MCP 655 RP-452x2 rev2 (new) 
CoolingCoolingOSOS
16x Cougar Turbine CFT12SB4 (new) EK FC 580 Gentoo (host) Gentoo (x23 guests) 
OSMonitorMonitorPower
windows 7 (guest w/ vfio-pci) Viewsonic 23" 1080P Viewsonic 19" Antec HCP Platinum 1000 (new) 
CaseOtherOther
Case Labs TH10 (still the best ever) 2x Lamptron FC-5 IOGEAR 2 way DVI KVM Switch 
  hide details  
Reply
post #46 of 49
Thread Starter 
In looking in my openrc log, it seems i didn't have a kernel option enabled that caused udev to error out and not be able to make /dev/null properly.

I got the latest stable kernel from kernel.org (3.9.6, but for some reason, vanilla-sources on gentoo is still 3.8.13) and an making sure that specific option is enabled.

EDIT: I've fixed my /dev/null problem, but now for some reason i can't use my ethernet. the system won't load the driver for my ethernet port, lol. I'll just look at it again in the morning, and i'm thinking about copying over the .config from the gentoo iso kernel and using it as a starting base for my kernel.
Edited by stumped - 6/17/13 at 10:30pm
Router
(12 items)
 
  
Reply
Router
(12 items)
 
  
Reply
post #47 of 49
Thread Starter 
Update
So i changed my kernel config and go the /dev/null error to go away, but this also introduced a bug where my ethernet card would not work. So i tried redoing the kernel with a know good config (i copied one from Arch Linux), but my ethernet still wasn't loading. So last night, i tried doing the reinstall again, but when i ran:
Code:
emerge gentoo-sources
I got an error about bc not configuring properly. I'll try again tonight when I find the time.
Router
(12 items)
 
  
Reply
Router
(12 items)
 
  
Reply
post #48 of 49
you only need to emerge the kernel sources once ... you can change your kernel config in /usr/src/linux* and rebuild the kernel image many many times over on the same source package.
Code:
# emerge -av gentoo-sources     # downloads the .tar.gz of the kernel source tree from somewhere and extracts it to /usr/src/, now you have to compile it
# mount /boot
# pushd /usr/src/
# ln -s linux-3.[your-version] linux
# pushd linux

# zcat /proc/config.gz > .config    # if you have no config, base off the current one
# make oldconfig    # make sure this config lines up with this version

# make menuconfig   # takes a lot of experience to get right, enjoy your journey .. patience
# make && make modules_install && make install
# vim /boot/grub/grub.conf     # add a your new entry
# reboot
stable again
(25 items)
 
  
CPUCPUMotherboardGraphics
E5-2687W E5-2687W ASUS Z9PED8-WS EVGA GTX 570 (Linux host) 
GraphicsRAMHard DriveHard Drive
EVGA GTX 970 FTW (win7 guest) 64GB G.SKILL 2133 2x Crucial M4 256GB raid1 4x 3TB raid 10 
CoolingCoolingCoolingCooling
2x Apogee HD  2x RX 480 2x MCP 655 RP-452x2 rev2 (new) 
CoolingCoolingOSOS
16x Cougar Turbine CFT12SB4 (new) EK FC 580 Gentoo (host) Gentoo (x23 guests) 
OSMonitorMonitorPower
windows 7 (guest w/ vfio-pci) Viewsonic 23" 1080P Viewsonic 19" Antec HCP Platinum 1000 (new) 
CaseOtherOther
Case Labs TH10 (still the best ever) 2x Lamptron FC-5 IOGEAR 2 way DVI KVM Switch 
  hide details  
Reply
stable again
(25 items)
 
  
CPUCPUMotherboardGraphics
E5-2687W E5-2687W ASUS Z9PED8-WS EVGA GTX 570 (Linux host) 
GraphicsRAMHard DriveHard Drive
EVGA GTX 970 FTW (win7 guest) 64GB G.SKILL 2133 2x Crucial M4 256GB raid1 4x 3TB raid 10 
CoolingCoolingCoolingCooling
2x Apogee HD  2x RX 480 2x MCP 655 RP-452x2 rev2 (new) 
CoolingCoolingOSOS
16x Cougar Turbine CFT12SB4 (new) EK FC 580 Gentoo (host) Gentoo (x23 guests) 
OSMonitorMonitorPower
windows 7 (guest w/ vfio-pci) Viewsonic 23" 1080P Viewsonic 19" Antec HCP Platinum 1000 (new) 
CaseOtherOther
Case Labs TH10 (still the best ever) 2x Lamptron FC-5 IOGEAR 2 way DVI KVM Switch 
  hide details  
Reply
post #49 of 49
Thread Starter 
Quote:
Originally Posted by lloyd mcclendon View Post

you only need to emerge the kernel sources once ... you can change your kernel config in /usr/src/linux* and rebuild the kernel image many many times over on the same source package.
Yeah, i know that. This error was on a reinstall of the gentoo base, i did a full system reinstall to try and do a bit of tracing. PLus, it helps me in understanding the way the system works, is laid out, as well as how to use different tools.
Router
(12 items)
 
  
Reply
Router
(12 items)
 
  
Reply
New Posts  All Forums:Forum Nav:
  Return Home
  Back to Forum: Linux, Unix
Overclock.net › Forums › Software, Programming and Coding › Operating Systems › Linux, Unix › Summer Project: Install Gentoo on My Laptop