Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Broken system: no root account, read only user account
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2, 3 ... 13, 14, 15 ... 26, 27, 28  Next  
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 7651
Location: Goose Creek SC

PostPosted: Mon Sep 16, 2013 4:02 pm    Post subject: Reply with quote

It appears that enough binpkgs merged to provide a working portage environment
@Neddy should --usepkg --usepkgonly or neither be best now?
_________________
Defund the FCC.
Back to top
View user's profile Send private message
auddoula
Guru
Guru


Joined: 30 Apr 2008
Posts: 387

PostPosted: Mon Sep 16, 2013 4:03 pm    Post subject: Reply with quote

NeddySeagoon wrote:

Fetch the old busybox by hand.

Souds quite reasonable. How do I fetch that file?

emerge busybox? that is what I have now

emerge -s busybox
Searching...
[ Results for search key : busybox ]
[ Applications found : 1 ]

* sys-apps/busybox
Latest version available: 1.21.0
Latest version installed: 1.20.2
Size of files: 2,149 kB
Homepage: http://www.busybox.net/
Description: Utilities for rescue and embedded systems
License: GPL-2
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 7651
Location: Goose Creek SC

PostPosted: Mon Sep 16, 2013 4:10 pm    Post subject: Reply with quote

I was late with adding genkernel to emerge gentoo-sources suggest
Code:
emerge -1av genkernel

perhaps
Code:
emerge -1av busybox genkernel

if genkernel does not resolve a manual kernel
_________________
Defund the FCC.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54300
Location: 56N 3W

PostPosted: Mon Sep 16, 2013 4:15 pm    Post subject: Reply with quote

Be aware that genkernel builds its own versions of everything that goes in the initrd.
It does not take binaries from the system - it may not even use the same versions as the system
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 7651
Location: Goose Creek SC

PostPosted: Mon Sep 16, 2013 4:22 pm    Post subject: Reply with quote

@ auddoula

start a 2nd terminal and
Code:
lspci -k | wgetpaste
lsusb | wgetpaste
wgetpaste /proc/cpuinfo

_________________
Defund the FCC.
Back to top
View user's profile Send private message
auddoula
Guru
Guru


Joined: 30 Apr 2008
Posts: 387

PostPosted: Mon Sep 16, 2013 4:24 pm    Post subject: Reply with quote

lspci -k | wgetpaste
Your paste can be seen here: http://bpaste.net/show/132900/
root@sysresccd /root % lsusb | wgetpaste
Your paste can be seen here: http://bpaste.net/show/132901/
root@sysresccd /root % wgetpaste /proc/cpuinfo
Your paste can be seen here: http://bpaste.net/show/132902/
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 7651
Location: Goose Creek SC

PostPosted: Mon Sep 16, 2013 4:44 pm    Post subject: Reply with quote

If ready for a manual kernel build:
recommend setup a Pappy's kernel seed as a base configuration http://kernel-seeds.org/working.html refers
Code:
eselect kernel list # 3.10.7 should be active
cd /usr/src/linux
make clean
make mrproper
wget -O /usr/src/linux/.config http://kernel-seeds.org/seeds/64_bit/gentoo/3.10.7-gentoo-x86_64-08.config
make menuconfig
you must adapt to your hardware
_________________
Defund the FCC.
Back to top
View user's profile Send private message
auddoula
Guru
Guru


Joined: 30 Apr 2008
Posts: 387

PostPosted: Mon Sep 16, 2013 4:47 pm    Post subject: Reply with quote

DONAHUE wrote:
If ready for a manual kernel build:
recommend setup a Pappy's kernel seed as a base configuration http://kernel-seeds.org/working.html refers
Code:
eselect kernel list # 3.10.7 should be active
cd /usr/src/linux
make clean
make mrproper
wget -O /usr/src/linux/.config http://kernel-seeds.org/seeds/64_bit/gentoo/3.10.7-gentoo-x86_64-08.config
make menuconfig
you must adapt to your hardware

I am doing this.. but how do I choose all teh options?
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 7651
Location: Goose Creek SC

PostPosted: Mon Sep 16, 2013 4:51 pm    Post subject: Reply with quote

it needs to be adapted to your hardware which is listed out in the 3 pastes

will provide suggestions and crosscheck
_________________
Defund the FCC.
Back to top
View user's profile Send private message
auddoula
Guru
Guru


Joined: 30 Apr 2008
Posts: 387

PostPosted: Mon Sep 16, 2013 5:05 pm    Post subject: Reply with quote

OK, thanks. I will try to do that as soon as I can. I have to sidestep for some other tasks for a shortwhile though.
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 7651
Location: Goose Creek SC

PostPosted: Mon Sep 16, 2013 5:25 pm    Post subject: Reply with quote

the useful tool
in menuconfig type /
a rudimentary dialog box appears
lspci -k has identified drivers that sysresccd uses that work
example: i7core_edac
enter i7core_edac in the search dialog
not found
enter i7core
receive:
Quote:
Symbol: EDAC_I7CORE [=n]
Type : tristate
Prompt: Intel i7 Core (Nehalem) processors
Location:
-> Device Drivers
-> EDAC (Error Detection And Correction) reporting (EDAC [=n])
-> Main Memory EDAC (Error Detection And Correction) reporting (EDAC_MM_EDAC [=n])
Defined at drivers/edac/Kconfig:203
Depends on: EDAC [=n] && EDAC_MM_EDAC [=n] && PCI [=y] && X86 [=y] && X86_MCE_INTEL [=n]

Tells me where to look; if it is selected, (n) means not selected; what it depends on to allow it to appear in the menu; sometimes there are multiple chains of depends-- || means or
_________________
Defund the FCC.
Back to top
View user's profile Send private message
auddoula
Guru
Guru


Joined: 30 Apr 2008
Posts: 387

PostPosted: Mon Sep 16, 2013 5:57 pm    Post subject: Reply with quote

We configured menuconfig,
make all
it worked fine
but next step
make install

make install
sh /usr/src/linux-3.10.7-gentoo/arch/x86/boot/install.sh 3.10.7-gentoo arch/x86/boot/bzImage \
System.map "/boot"
/sbin/installkernel: line 42: /boot/vmlinuz-3.10.7-gentoo: Read-only file system
make[1]: *** [install] Error 1
make: *** [install] Error 2
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 7651
Location: Goose Creek SC

PostPosted: Mon Sep 16, 2013 6:02 pm    Post subject: Reply with quote

frighteningly quick
I'm only a third through configuring mine
from a new terminal:
Code:
mount
??

Code:
ls /boot
??
_________________
Defund the FCC.
Back to top
View user's profile Send private message
auddoula
Guru
Guru


Joined: 30 Apr 2008
Posts: 387

PostPosted: Mon Sep 16, 2013 6:03 pm    Post subject: Reply with quote

mount
rootfs on / type rootfs (rw)
/dev/sda2 on / type ext3 (rw,noatime,errors=continue,data=writeback)
proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
tmpfs on /run type tmpfs (rw,nosuid,nodev,relatime,mode=755)
rc-svcdir on /lib64/rc/init.d type tmpfs (rw,nosuid,nodev,noexec,relatime,size=1024k,mode=755)
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
configfs on /sys/kernel/config type configfs (rw,nosuid,nodev,noexec,relatime)
udev on /dev type tmpfs (rw,nosuid,relatime,size=10240k,mode=755)
fusectl on /sys/fs/fuse/connections type fusectl (rw,relatime)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620)
shm on /dev/shm type tmpfs (rw,nosuid,nodev,noexec,relatime)
usbfs on /proc/bus/usb type usbfs (rw,noexec,nosuid,devmode=0664,devgid=85)
/sys on /root/rescue/sys type none (rw,bind)
/dev/sda1 on /boot type ext3 (ro,noatime)

ls /boot
boot initramfs-genkernel-x86_64-2.6.34-gentoo-r6 lost+found
config kernel System.map-genkernel-x86_64-2.6.34-gentoo-r6
grub kernel-genkernel-x86_64-2.6.34-gentoo-r6
Back to top
View user's profile Send private message
auddoula
Guru
Guru


Joined: 30 Apr 2008
Posts: 387

PostPosted: Mon Sep 16, 2013 6:06 pm    Post subject: Reply with quote

I have got our local Linux guru help me out here, but he used everything but Gentoo! Now BzImage was copied after unmount /boot
and mount /boot, which made the /boot rw.
Back to top
View user's profile Send private message
auddoula
Guru
Guru


Joined: 30 Apr 2008
Posts: 387

PostPosted: Mon Sep 16, 2013 6:14 pm    Post subject: Reply with quote

we are trying to modify grub.conf for the new kernel we just compiled. but we are having trouble...
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 7651
Location: Goose Creek SC

PostPosted: Mon Sep 16, 2013 6:17 pm    Post subject: Reply with quote

Code:
wgetpaste /usr/src/linux/.config


grub .conf needs menu entry for the new kernel resembling

title Gentoo Linux 3.7.10
root (hd0,0)
kernel /boot/kernel-3.7.10-gentoo root=/dev/sda2

assuming kernel-3.7.10-gentoo is the name you used
_________________
Defund the FCC.
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 7651
Location: Goose Creek SC

PostPosted: Mon Sep 16, 2013 6:22 pm    Post subject: Reply with quote

next task setting up services

ls /etc/init.d | wgetpaste
rc-update show | wgetpaste
_________________
Defund the FCC.
Back to top
View user's profile Send private message
auddoula
Guru
Guru


Joined: 30 Apr 2008
Posts: 387

PostPosted: Mon Sep 16, 2013 6:30 pm    Post subject: Reply with quote

wgetpaste /usr/src/linux/.config
Your paste can be seen here: http://bpaste.net/show/132944/
(chroot) sysresccd / # ls /etc/init.d | wgetpaste
Your paste can be seen here: http://bpaste.net/show/132945/
(chroot) sysresccd / # rc-update show | wgetpaste
Your paste can be seen here: http://bpaste.net/show/132947/
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 7651
Location: Goose Creek SC

PostPosted: Mon Sep 16, 2013 6:40 pm    Post subject: Reply with quote

rc-udate del xdm udev-postmount hald
_________________
Defund the FCC.
Back to top
View user's profile Send private message
auddoula
Guru
Guru


Joined: 30 Apr 2008
Posts: 387

PostPosted: Mon Sep 16, 2013 6:41 pm    Post subject: Reply with quote

rc-update del xdm udev-postmount hald
* rc-update: `udev-postmount' is not a valid runlevel

but it should be there as default
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 7651
Location: Goose Creek SC

PostPosted: Mon Sep 16, 2013 6:45 pm    Post subject: Reply with quote

Code:
rc-update del xdm
rc-update del udev-postmount
rc-update del hald
emerge --unmerge hal


grub.conf?
_________________
Defund the FCC.
Back to top
View user's profile Send private message
auddoula
Guru
Guru


Joined: 30 Apr 2008
Posts: 387

PostPosted: Mon Sep 16, 2013 6:50 pm    Post subject: Reply with quote

rc-update del xdm
* rc-update: service `xdm' is not in the runlevel `sysinit'
rc-update del udev-postmount
* rc-update: service `udev-postmount' is not in the runlevel `sysinit'
(chroot) sysresccd linux # rc-update del hald
* rc-update: service `hald' is not in the runlevel `sysinit'


Last edited by auddoula on Mon Sep 16, 2013 6:51 pm; edited 1 time in total
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 7651
Location: Goose Creek SC

PostPosted: Mon Sep 16, 2013 6:50 pm    Post subject: Reply with quote

# CONFIG_SCHED_SMT is not set --- nehalem is hyperthreading according to googling, do you know that you don't want this?
_________________
Defund the FCC.
Back to top
View user's profile Send private message
auddoula
Guru
Guru


Joined: 30 Apr 2008
Posts: 387

PostPosted: Mon Sep 16, 2013 6:51 pm    Post subject: Reply with quote

DONAHUE wrote:
# CONFIG_SCHED_SMT is not set --- nehalem is hyperthreading according to googling, do you know that you don't want this?

we can set it and recompile the kernel, if that helps.
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
Goto page Previous  1, 2, 3 ... 13, 14, 15 ... 26, 27, 28  Next
Page 14 of 28

 
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