View previous topic :: View next topic |
Author |
Message |
scooby4844 n00b
Joined: 23 Jan 2009 Posts: 51 Location: NY, USA
|
Posted: Wed Jan 28, 2009 12:26 am Post subject: |
|
|
it did, but
Code: | livecd / # ls -l /usr/src
total 4
lrwxrwxrwx 1 root root 22 Jan 27 13:26 linux -> linux-2.6.19-gentoo-r5
drwxr-xr-x 23 root root 4096 Jan 27 16:03 linuxx-2.6.27-gentoo-r8 |
and the first 1, linux-> linux-2.6.10-gentoo-r5 is still highlited in red
should i jsut ignore thi8s and continue?
- i can access /usr/src/linux now |
|
Back to top |
|
|
DONAHUE Watchman
Joined: 09 Dec 2006 Posts: 7651 Location: Goose Creek SC
|
Posted: Wed Jan 28, 2009 12:51 am Post subject: |
|
|
Code: | cd /usr/src
rm linux
ln -s linux-2.6.27-gentoo-r8 linux
ls -l |
to check |
|
Back to top |
|
|
scooby4844 n00b
Joined: 23 Jan 2009 Posts: 51 Location: NY, USA
|
Posted: Wed Jan 28, 2009 1:02 am Post subject: |
|
|
in the src directory when I type in ls -l i get nothing (total 0) but i am able to get to the top of the kernel tree and get into the linux directory
should i make clean and make mrpropper before i start?
When i name kernel configuration should i just name them random stuff?
and can i name my end kernel anything, or do i have 2 use kernel-2.6.27-gentoo-r8? |
|
Back to top |
|
|
DONAHUE Watchman
Joined: 09 Dec 2006 Posts: 7651 Location: Goose Creek SC
|
Posted: Wed Jan 28, 2009 1:19 am Post subject: |
|
|
in the chroot try
cd /usr/src
dir
ls -l phonetically ell ess dash ell |
|
Back to top |
|
|
scooby4844 n00b
Joined: 23 Jan 2009 Posts: 51 Location: NY, USA
|
Posted: Wed Jan 28, 2009 1:27 am Post subject: |
|
|
DONAHUE wrote: | ls -l phonetically ell ess dash ell |
what do you mean by this
and in src after i type dir i get alot of squshfs errors and can not enter anything
Code: | livecd src # dir
SQUASHFS error: sb-bread failer reading block 0x559
SUASHFS errror: unable to read fragment block 142bc3,size b1ee
then it repats this 4 3 nore lines
bash: /usr/bin/dir: Input/output error |
|
|
Back to top |
|
|
DONAHUE Watchman
Joined: 09 Dec 2006 Posts: 7651 Location: Goose Creek SC
|
Posted: Wed Jan 28, 2009 1:35 am Post subject: |
|
|
should i make clean and make mrpropper before i start? --no
When i name kernel configuration should i just name them random stuff? --no you should not be naming the configuration if using a current 2008.0 amd64 handbook -- however i do:
Code: | rename /boot/config /boot/config.old
cp .config /boot/config |
after each new kernel compile. Yes I could call the /boot file anything
and can i name my end kernel anything, or do i have 2 use kernel-2.6.27-gentoo-r8? -- recommend sticking to the gentoo system until up and running -- However i do:
Code: | rename /boot/bzImage /boot/bzImage.old
cp arch/x86_64/boot/bzImage /boot/bzImage |
after each new kernel compile. Yes I could call the /boot file anything.
Doing this means I do not have to edit grub.conf for a kernel change. |
|
Back to top |
|
|
DONAHUE Watchman
Joined: 09 Dec 2006 Posts: 7651 Location: Goose Creek SC
|
Posted: Wed Jan 28, 2009 1:50 am Post subject: |
|
|
Quote: | and in src after i type dir i get alot of squshfs errors and can not enter anything
Code:
livecd src # dir
SQUASHFS error: sb-bread failer reading block 0x559
SUASHFS errror: unable to read fragment block 142bc3,size b1ee
then it repats this 4 3 nore lines
bash: /usr/bin/dir: Input/output error |
This is because you are in the cd system not in the chroot
phonetically means sounds like ls -l sounds like ell ess dash ell in uppercase would be LS -L
again to enter the chroot:
boot the cd then:
Code: | mount /dev/sdc3 /mnt/gentoo
mount /dev/sdc1 /mnt/gentoo/boot
mount -t proc none /mnt/gentoo/proc
mount -o bind /dev /mnt/gentoo/dev
chroot /mnt/gentoo /bin/bash
env-update
source /etc/profile
export PS1="(chroot) $PS1"
|
then
check the symlink is Quote: | linux -> linux-2.6.27-gentoo-r8 |
then
Code: | cd /usr/src/linux
ls -l |
result should resemble: Quote: | -rw-r--r-- 1 root root 18693 Dec 24 18:26 COPYING
-rw-r--r-- 1 root root 93212 Dec 24 18:26 CREDITS
drwxr-xr-x 82 root root 6040 Jan 23 15:24 Documentation
-rw-r--r-- 1 root root 2430 Dec 24 18:26 Kbuild
-rw-r--r-- 1 root root 106036 Dec 24 18:26 MAINTAINERS
-rw-r--r-- 1 root root 57211 Jan 23 15:24 Makefile
-rw-r--r-- 1 root root 45 Jan 24 14:10 Module.markers
-rw-r--r-- 1 root root 274063 Jan 24 14:11 Module.symvers
-rw-r--r-- 1 root root 16930 Dec 24 18:26 README |
|
|
Back to top |
|
|
scooby4844 n00b
Joined: 23 Jan 2009 Posts: 51 Location: NY, USA
|
Posted: Wed Jan 28, 2009 2:02 am Post subject: |
|
|
OHHHHHHHHHHHHHHH
i finnaly figured out what i did wrong, when i would save config files in make menuconfig i would name them like config4, not .config ---- so i was compling the same kernel evry time, wow that was really dumb. so i am making the new 1 now and it should work this time. going 2 try =D. but wow that was stupid XD. well, live and learn
hope that it will work now, and i didn't do anything else stupid.
also, i made this kernel huge for support. so when i re-do menu config and recompile. i can just copy it over 2 boot as a different name and then there will be two right? (off course have grub do both) |
|
Back to top |
|
|
DONAHUE Watchman
Joined: 09 Dec 2006 Posts: 7651 Location: Goose Creek SC
|
Posted: Wed Jan 28, 2009 2:05 am Post subject: |
|
|
yes to many kernels ok in /boot
as mentioned, i routinely have a bzImage and a bzImage.old |
|
Back to top |
|
|
scooby4844 n00b
Joined: 23 Jan 2009 Posts: 51 Location: NY, USA
|
Posted: Wed Jan 28, 2009 2:12 am Post subject: |
|
|
awsome, it worked, finnaly i have a working kernel. TY for all of your help |
|
Back to top |
|
|
DONAHUE Watchman
Joined: 09 Dec 2006 Posts: 7651 Location: Goose Creek SC
|
Posted: Wed Jan 28, 2009 2:36 am Post subject: |
|
|
emerge hal and dbus and add dbus and hald to the default runlevel. good luck. edit your first post title to [solved]. |
|
Back to top |
|
|
|