Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Kernel wont check for XFS [SOLVED]
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2  
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
scooby4844
n00b
n00b


Joined: 23 Jan 2009
Posts: 51
Location: NY, USA

PostPosted: Wed Jan 28, 2009 12:26 am    Post subject: Reply with quote

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
View user's profile Send private message
DONAHUE
Watchman
Watchman


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

PostPosted: Wed Jan 28, 2009 12:51 am    Post subject: Reply with quote

Code:
cd /usr/src
rm linux
ln -s linux-2.6.27-gentoo-r8 linux
ls -l

to check
Back to top
View user's profile Send private message
scooby4844
n00b
n00b


Joined: 23 Jan 2009
Posts: 51
Location: NY, USA

PostPosted: Wed Jan 28, 2009 1:02 am    Post subject: Reply with quote

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
View user's profile Send private message
DONAHUE
Watchman
Watchman


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

PostPosted: Wed Jan 28, 2009 1:19 am    Post subject: Reply with quote

in the chroot try
cd /usr/src
dir
ls -l phonetically ell ess dash ell
Back to top
View user's profile Send private message
scooby4844
n00b
n00b


Joined: 23 Jan 2009
Posts: 51
Location: NY, USA

PostPosted: Wed Jan 28, 2009 1:27 am    Post subject: Reply with quote

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
View user's profile Send private message
DONAHUE
Watchman
Watchman


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

PostPosted: Wed Jan 28, 2009 1:35 am    Post subject: Reply with quote

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
View user's profile Send private message
DONAHUE
Watchman
Watchman


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

PostPosted: Wed Jan 28, 2009 1:50 am    Post subject: Reply with quote

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
Code:
cd /usr/src
ls -l

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
View user's profile Send private message
scooby4844
n00b
n00b


Joined: 23 Jan 2009
Posts: 51
Location: NY, USA

PostPosted: Wed Jan 28, 2009 2:02 am    Post subject: Reply with quote

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
View user's profile Send private message
DONAHUE
Watchman
Watchman


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

PostPosted: Wed Jan 28, 2009 2:05 am    Post subject: Reply with quote

yes to many kernels ok in /boot
as mentioned, i routinely have a bzImage and a bzImage.old
Back to top
View user's profile Send private message
scooby4844
n00b
n00b


Joined: 23 Jan 2009
Posts: 51
Location: NY, USA

PostPosted: Wed Jan 28, 2009 2:12 am    Post subject: Reply with quote

awsome, it worked, finnaly i have a working kernel. TY for all of your help
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


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

PostPosted: Wed Jan 28, 2009 2:36 am    Post subject: Reply with quote

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
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
Page 2 of 2

 
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