View previous topic :: View next topic |
Author |
Message |
vinodramu n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 23 Nov 2006 Posts: 44
|
Posted: Fri Jun 15, 2007 5:41 pm Post subject: How to build the kernel that is installed from a LiveCD |
|
|
Hi,
Yesterday, we installed Gentoo using a LiveCD using networkless mode. We have to access files on a windows machine. I have did
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 |
|
![](templates/gentoo/images/spacer.gif) |
VinzC Watchman
![Watchman Watchman](/images/ranks/rank-G-2-watchman.gif)
![](images/avatars/92679028148bc3f0ff1e99.jpg)
Joined: 17 Apr 2004 Posts: 5098 Location: Dark side of the mood
|
Posted: Fri Jun 15, 2007 6:40 pm Post subject: |
|
|
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... ![Wink ;-)](images/smiles/icon_wink.gif) _________________ Gentoo addict: tomorrow I quit, I promise!... Just one more emerge...
1739! |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
vinodramu n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 23 Nov 2006 Posts: 44
|
Posted: Sun Jun 17, 2007 2:41 am Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
gsoe Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
Joined: 10 Dec 2006 Posts: 289 Location: Denmark
|
Posted: Sun Jun 17, 2007 3:20 am Post subject: |
|
|
That seems fine to me. Are you sure that grub loads the new kernel? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
VinzC Watchman
![Watchman Watchman](/images/ranks/rank-G-2-watchman.gif)
![](images/avatars/92679028148bc3f0ff1e99.jpg)
Joined: 17 Apr 2004 Posts: 5098 Location: Dark side of the mood
|
Posted: Sun Jun 17, 2007 12:45 pm Post subject: |
|
|
Have you tried mount -t cifs ... instead? _________________ Gentoo addict: tomorrow I quit, I promise!... Just one more emerge...
1739! |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|