Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
How to build the kernel that is installed from a LiveCD
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
vinodramu
n00b
n00b


Joined: 23 Nov 2006
Posts: 44

PostPosted: Fri Jun 15, 2007 5:41 pm    Post subject: How to build the kernel that is installed from a LiveCD Reply with quote

Hi,

Yesterday, we installed Gentoo using a LiveCD using networkless mode. We have to access files on a windows machine. I have did

Code:
emerge samba


Which needs kernel configuration, so we did

Code:

emerge gentoo-source
make menuconfig



Selected the options for windows file sharing but While compiling the kernel it throws an error message.

Could any one please let me know what should I be doing now to get samba working for us?
I am searching for this fix from morning on the net as well as on this forum but could not get the right direction. So if some one can help me, it would be great.

Thank you,
Vinod
Back to top
View user's profile Send private message
VinzC
Watchman
Watchman


Joined: 17 Apr 2004
Posts: 5098
Location: Dark side of the mood

PostPosted: Fri Jun 15, 2007 6:40 pm    Post subject: Reply with quote

It would be best with an error message... You know, it's as if you went to a mechanic's without your car saying there's a problem and it doesn't start, asking him where the trouble is... ;-)
_________________
Gentoo addict: tomorrow I quit, I promise!... Just one more emerge...
1739!
Back to top
View user's profile Send private message
vinodramu
n00b
n00b


Joined: 23 Nov 2006
Posts: 44

PostPosted: Sun Jun 17, 2007 2:41 am    Post subject: Reply with quote

Hi Vinzc,

Yeah, I felt so when posted the query. All I was looking for was to how to edit the kernel configuration if the entire installation was done through a LiveCD.

Here is the issue that I am facing while trying to access the files on the windows machine:

Code:

localhost ~ # smbmount //192.168.0.100/server-shared /mnt/samba -o username=acer,password=vinrve12#
7444: session request to 192.168.0.100 failed (Called name not present)
7444: session request to 192 failed (Called name not present)
ERROR: smbfs filesystem not supported by the kernel
Please refer to the smbmnt(8) manual page
smbmnt failed: 255


I edited the kernel as per the suggestion at http://gentoo-wiki.com/HOWTO_Setup_Samba by following the below steps:

Code:

mount /dev/hda3 /mnt/gentoo
mkdir /mnt/gentoo/boot
mount /dev/hda1 /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"
emerge gentoo-sources
cd /usr/src/linux
make menuconfig


I set the below flags.

Quote:

File systems --->
Network File Systems --->
<*> SMB file system support
<*> CIFS support


Then the following commands

Code:

make && make modules_install
cp arch/i386/boot/bzImage /boot/kernel-2.6.20-gentoo-r8
exit
cd
umount /mnt/gentoo/boot /mnt/gentoo/dev /mnt/gentoo/proc /mnt/gentoo
reboot


After all these steps, I am stilling getting the same error message.

I hope I have given all the details and look forward for some help to get this resolved.

Thank you,
VinodRamu
Back to top
View user's profile Send private message
gsoe
Apprentice
Apprentice


Joined: 10 Dec 2006
Posts: 289
Location: Denmark

PostPosted: Sun Jun 17, 2007 3:20 am    Post subject: Reply with quote

That seems fine to me. Are you sure that grub loads the new kernel?
Back to top
View user's profile Send private message
VinzC
Watchman
Watchman


Joined: 17 Apr 2004
Posts: 5098
Location: Dark side of the mood

PostPosted: Sun Jun 17, 2007 12:45 pm    Post subject: Reply with quote

Have you tried mount -t cifs ... instead?
_________________
Gentoo addict: tomorrow I quit, I promise!... Just one more emerge...
1739!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware 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