Re: [lfs-support] Kernel file not found
- Original Message - From: cont...@igor-zivkovic.from.hr Sent: 12/21/13 09:05 PM To: lfs-support@linuxfromscratch.org Subject: Re: [lfs-support] Kernel file not found On 12/21/2013 09:35 PM, Cliff McDiarmid wrote: Hi I've built LFS six times and never had this issue. After rebooting I'm getting an error saying 'file /boot/lfskernel-3.12.5 not found' My 'grub.cfg' file from the host system(also LFS)reads: # Begin /boot/grub/grub.cfg set default=0 set timeout=20 set root=(hd0,7) menuentry LFS6, Linux 3.12.1-lfs-7.2 { linux /boot/lfskernel-3.12.1 root=/dev/sda7 ro } menuentry LFS7, Linux 3.12.5-lfs-7.4 { linux /boot/lfskernel-3.12.5 root=/dev/sda6 ro } How is this? Spelling is all correct in /boot. The host 'LFS6' boots fine. You're missing set root=(hd0,6) for in the LFS7 menu entry. -- Igor Živković http://www.slashtime.net/ -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page Yes thanks that boots the new system okay but leaves lfs6unbootable . I.e no file found. There must be some kind of syntax error here somewher. Cliff -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
Re: [lfs-support] Kernel file not found
- Original Message - From: cont...@igor-zivkovic.from.hr Sent: 12/22/13 08:50 AM To: lfs-support@linuxfromscratch.org Subject: Re: [lfs-support] Kernel file not found On 12/22/2013 09:02 AM, Cliff McDiarmid wrote: set root=(hd0,7) menuentry LFS6, Linux 3.12.1-lfs-7.2 { linux /boot/lfskernel-3.12.1 root=/dev/sda7 ro } menuentry LFS7, Linux 3.12.5-lfs-7.4 { linux /boot/lfskernel-3.12.5 root=/dev/sda6 ro } How is this? Spelling is all correct in /boot. The host 'LFS6' boots fine. You're missing set root=(hd0,6) for in the LFS7 menu entry. Yes thanks that boots the new system okay but leaves lfs6unbootable . I.e no file found. There must be some kind of syntax error here somewher. Instead of global set root statement, define it in each menu entry like this: menuentry LFS6, Linux 3.12.1-lfs-7.2 { set root=(hd0,7) linux /boot/lfskernel-3.12.1 root=/dev/sda7 ro } menuentry LFS7, Linux 3.12.5-lfs-7.4 { set root=(hd0,6) linux /boot/lfskernel-3.12.5 root=/dev/sda6 ro Yes had researched that but many thanks now working. regards Cliff -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
Wireless setup
Hi I'm new to wireless and am trying to set it up on LFS6.4 using the setup in BLFS under http://wiki.linuxfromscratch.org/blfs/wiki/WirelessTools. Two problems: The wireless script provided at http://www.linuxfromscratch.org/~jciccone/wireless won't load wpa_supplicant. The command wpa_supplicant -Bw -c/etc/wpa_supplicant.conf -i${1} is not being run. I can input this by hand after booting and its fine , but it will not run from the script. The second problem involves dhcpcd. I can bring up my connection to the router by hand with 'dhcpcd wlan0'(after running supplicant), but if I run it from its script at boot time I get no connection. I have to delete its pid and then input by hand again. I've attached some of the files for viewing can someone help me to get online from bootup automatically. thanks MAC -- Be Yourself @ mail.com! Choose From 200+ Email Addresses Get a Free Account at www.mail.com 01-wireless Description: Binary data 02-ipv4 Description: Binary data dhcpcd Description: Binary data ipv4 Description: Binary data wpa_supplicant.conf Description: Binary data -- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
Re: Problems with gcc-3.3.4 in blfs
Ken Moffat wrote Sat, 11 Feb 2006 01:03:14 + (GMT) I think that's the second of these this week! Cliff, what on earth did you do to end up with -gnuoldld ? Installed elfutils and its own linker by the look of it, although I'm still getting errors. MAC -- ___ Play 100s of games for FREE! http://games.mail.com/ -- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
Script problem
On the 2.1.06 Allard wrote: What version of find (findutils) is running? I could be wrong but I don't think older versions of find have the -delete option, hence the message from find. Simply type find --version or better still man find and search for delete. The command involved is trying to delete all files in /tmp except lost+found - check it out in /etc/rc.d/init.d/cleanfs That was it. For some reason I installed 4.1, which was never going to work. I suspected it was a package problem, just needed the hint. many thanks MAC -- ___ Play 100s of games for FREE! http://games.mail.com/ -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
Script problem
Hi I've just completed LFS 6.1 and rebooted. I get the following error from the cleanfs script: Cleaning file systems: /tmpfind: invalid predicate `-delete' This can't be a misprint so what have I missed? thanks MAC -- ___ Play 100s of games for FREE! http://games.mail.com/ -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
Itables/firewall problem
Hi Following the firewall setup in BLFS 6.1, I've got a problem at boot time with 'nat' table support. All the options chosen for netfiltering are built into the kernel, i.e. I'm not loading any modules and I've disabled the loading of modules at the beginning of the itables start-up script. I get the following error at boot time, although the firewall is up: FATAL: Module ip_tables not found. iptables v1.3.3: can't initialize iptables table `nat': Table does not exist (do you need to insmod?) Perhaps iptables or your kernel needs to be upgraded. AFAIK I've chosen the right options for netfiltering, here's a section of my .config file: # # IP: Virtual Server Configuration # # CONFIG_IP_VS is not set # CONFIG_IPV6 is not set CONFIG_NETFILTER=y # CONFIG_NETFILTER_DEBUG is not set # # IP: Netfilter Configuration # CONFIG_IP_NF_CONNTRACK=y # CONFIG_IP_NF_CT_ACCT is not set # CONFIG_IP_NF_CONNTRACK_MARK is not set # CONFIG_IP_NF_CT_PROTO_SCTP is not set CONFIG_IP_NF_FTP=y # CONFIG_IP_NF_IRC is not set # CONFIG_IP_NF_TFTP is not set # CONFIG_IP_NF_AMANDA is not set # CONFIG_IP_NF_QUEUE is not set CONFIG_IP_NF_IPTABLES=y # CONFIG_IP_NF_MATCH_LIMIT is not set # CONFIG_IP_NF_MATCH_IPRANGE is not set # CONFIG_IP_NF_MATCH_MAC is not set # CONFIG_IP_NF_MATCH_PKTTYPE is not set # CONFIG_IP_NF_MATCH_MARK is not set # CONFIG_IP_NF_MATCH_MULTIPORT is not set # CONFIG_IP_NF_MATCH_TOS is not set # CONFIG_IP_NF_MATCH_RECENT is not set # CONFIG_IP_NF_MATCH_ECN is not set # CONFIG_IP_NF_MATCH_DSCP is not set # CONFIG_IP_NF_MATCH_AH_ESP is not set # CONFIG_IP_NF_MATCH_LENGTH is not set # CONFIG_IP_NF_MATCH_TTL is not set # CONFIG_IP_NF_MATCH_TCPMSS is not set # CONFIG_IP_NF_MATCH_HELPER is not set CONFIG_IP_NF_MATCH_STATE=y # CONFIG_IP_NF_MATCH_CONNTRACK is not set # CONFIG_IP_NF_MATCH_OWNER is not set # CONFIG_IP_NF_MATCH_ADDRTYPE is not set # CONFIG_IP_NF_MATCH_REALM is not set # CONFIG_IP_NF_MATCH_SCTP is not set # CONFIG_IP_NF_MATCH_COMMENT is not set # CONFIG_IP_NF_MATCH_HASHLIMIT is not set CONFIG_IP_NF_FILTER=y # CONFIG_IP_NF_TARGET_REJECT is not set CONFIG_IP_NF_TARGET_LOG=y # CONFIG_IP_NF_TARGET_ULOG is not set # CONFIG_IP_NF_TARGET_TCPMSS is not set CONFIG_IP_NF_NAT=y CONFIG_IP_NF_NAT_NEEDED=y # CONFIG_IP_NF_TARGET_MASQUERADE is not set # CONFIG_IP_NF_TARGET_REDIRECT is not set # CONFIG_IP_NF_TARGET_NETMAP is not set # CONFIG_IP_NF_TARGET_SAME is not set # CONFIG_IP_NF_NAT_SNMP_BASIC is not set CONFIG_IP_NF_NAT_FTP=y CONFIG_IP_NF_MANGLE=y # CONFIG_IP_NF_TARGET_TOS is not set # CONFIG_IP_NF_TARGET_ECN is not set # CONFIG_IP_NF_TARGET_DSCP is not set # CONFIG_IP_NF_TARGET_MARK is not set # CONFIG_IP_NF_TARGET_CLASSIFY is not set # CONFIG_IP_NF_RAW is not set # CONFIG_IP_NF_ARPTABLES is not set CONFIG_XFRM=y # CONFIG_XFRM_USER is not set Can someone point me in the right direction? thanks MAC -- ___ Play 100s of games for FREE! http://games.mail.com/ -- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page