Re: [lfs-support] Has anyone used gentoo stage3 as toolchain or temporary system skipping the chapter 5?
@Michele Bucca, @Tim Tassonis, Someone answered before that it's possible to use gentoo stage3 as toolchain or temporary system. But he didn't mention the process or command to do this. They didn't mentioned how to do this. I mentioned my commands and the error it gives. Re-check the mailing list if I miss their commands. -- http://lists.linuxfromscratch.org/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page Do not top post on this list. A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail? http://en.wikipedia.org/wiki/Posting_style
[lfs-support] Has anyone used gentoo stage3 as toolchain or temporary system skipping the chapter 5?
Has anyone used gentoo stage3 as toolchain or temporary system skipping the chapter 5? If yes, then can you please share your commands or how did you do it? -- http://lists.linuxfromscratch.org/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page Do not top post on this list. A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail? http://en.wikipedia.org/wiki/Posting_style
Re: [lfs-support] How can I set hostname?
@Mike, This works: hostname myhostname exec /bin/bash -- http://lists.linuxfromscratch.org/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page Do not top post on this list. A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail? http://en.wikipedia.org/wiki/Posting_style
Re: [lfs-support] How can I set hostname?
@Bruce, >Yes. For systemd, Section 7.2.3. >After bootup, use hostnamectl. > -- Bruce I didn't install systemd. I have installed sysvinit. @bucca, >try this as root: >echo hostname > /etc/hostname cat /etc/hostname = myhostname <-- it's already there @wiliam, >Hello, >https://www.gnu.org/software/coreutils/manual/html_node/hostname->invocation.html >You can use coreutils hostname program. >Sincerely, >William Harrington I tried with "hostname myhostname". Still root@(none) prompt there. -- http://lists.linuxfromscratch.org/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page Do not top post on this list. A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail? http://en.wikipedia.org/wiki/Posting_style
Re: [lfs-support] How can I set hostname?
I added: echo myhostname > /proc/sys/kernel/hostname Still same prompt = root@(none) But if I install lfs-bootscript, then it changes to root@myhostname. I also added /etc/fstab and /etc/inittab Did I miss anything? -- http://lists.linuxfromscratch.org/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page Do not top post on this list. A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail? http://en.wikipedia.org/wiki/Posting_style
[lfs-support] How can I set hostname?
How is hostname set? I'm not using lfs-bootscripts. After login, I see root@(none). Why is this? If I do sysctl kernel.hostname, it shows can't open /proc/sys... no such file or directory. But /etc/hostname has "myhostname". I want to set hostname manually. I don't want to use lfs-bootscript. -- http://lists.linuxfromscratch.org/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page Do not top post on this list. A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail? http://en.wikipedia.org/wiki/Posting_style
Re: [lfs-support] Is it possible to use gentoo stage3 as tools or temporary system?
I extracted http://distfiles.gentoo.org/releases/x86/autobuilds/20170131/stage3-i686-20170131.tar.bz2 in /mnt/lfs/tools , then the following commands mount -v --bind /dev $LFS/dev mount -vt devpts devpts $LFS/dev/pts -o gid=5,mode=620 mount -vt proc proc $LFS/proc mount -vt sysfs sysfs $LFS/sys mount -vt tmpfs tmpfs $LFS/run chroot "$LFS" /tools/bin/env -i \ HOME=/root \ TERM="$TERM"\ PS1='\u:\w\$ ' \ PATH=/bin:/usr/bin:/sbin:/usr/sbin:/tools/bin \ /tools/bin/bash --login +h I get error: chroot: failed to run command '/tools/bin/env': No such file or directory [@Chris, It is possible, and exactly what I did after my first run though LFS. Extract it to the root. Chroot to it. Install grub, bc. and compile the kernel. Reboot. You already have wget etc etc. I built Xorg etc following BLFS and worked flawlessly. Would be happy to answer any other questions. ] [@decentral.ch Of course it is possible. It might also be possible to use an existing debian or redhat install as temporary toolchain. ] -- http://lists.linuxfromscratch.org/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page Do not top post on this list. A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail? http://en.wikipedia.org/wiki/Posting_style
[lfs-support] Is it possible to use gentoo stage3 as tools or temporary system?
Is it possible to use gentoo stage3 as tools or temporary system? http://distfiles.gentoo.org/releases/x86/autobuilds/20170124/stage3-i686-20170124.tar.bz2 Then is it possible to skip chapter 5 to make tools or toolchain or temporary system? -- http://lists.linuxfromscratch.org/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page Do not top post on this list. A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail? http://en.wikipedia.org/wiki/Posting_style
Re: [lfs-support] Is it possible to boot kernel without installing sysvinit?
@Pierre, > And if I omit init=/bin/bash the system is freezed, can't do anything > from there. Is init=/bin/bash necessary? >>No. But init="something" is necessary [1]: that's what the kernel >>launches when it is done with initialization. But I see in other linux distribution's grub.cfg where init=/bin/bash is not there. > And if I omit init=/bin/bash the system is freezed, can't do anything > from there. Is init=/bin/bash necessary? >>No. But init="something" is necessary [1]: that's what the kernel >>launches when it is done with initialization. Is /sbin/init created by sysvinit? Why does kernel try to launch /sbin/init by default? -- http://lists.linuxfromscratch.org/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page Do not top post on this list. A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail? http://en.wikipedia.org/wiki/Posting_style
Re: [lfs-support] Is the style of kernel booting message correct?
@Hazel Russman, >Sysvinit contains the init program Which init program? What is the localtion of this init program? -- http://lists.linuxfromscratch.org/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page Do not top post on this list. A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail? http://en.wikipedia.org/wiki/Posting_style
Re: [lfs-support] Is it possible to boot kernel without installing sysvinit?
@Pierre, > But linux /boot/vmlinuz-4.7.2 init=/bin/bash works fine for now. >Without root="something"? You're lucky if so. Sorry, root=/dev/sda2 was there too. -- http://lists.linuxfromscratch.org/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page Do not top post on this list. A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail? http://en.wikipedia.org/wiki/Posting_style
Re: [lfs-support] Is the style of kernel booting message correct?
>>That is not correct. It is set in /lib/services/init-functions, See the >>function log_success_msg() starting at line 569. >> It is specific to LFS, but you are free to change it if you want. >>-- Bruce @Bruce, If the [OK] message is set by lfs-bootscripts(init scripts), then what does sysvinit do? -- http://lists.linuxfromscratch.org/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page Do not top post on this list. A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail? http://en.wikipedia.org/wiki/Posting_style
[lfs-support] Why doesn't bash prompt show hostname?
cat /root/.bashrc HOSTNAME=mybox export HOSTNAME hostname mybox PS1="\e[0;31m[\u@\h \W]\$ \e[m" export PS1 source /root/.bashrc changes the prompt to [root@(none) ~]$ Why is (none) there? echo $HOSTNAME and hostname returns mybox. NOTE: I've removed/uninstalled lfs-bootscripts and /etc/inittab -- http://lists.linuxfromscratch.org/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page Do not top post on this list. A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail? http://en.wikipedia.org/wiki/Posting_style
[lfs-support] Is it possible to boot kernel without installing sysvinit?
linux /boot/vmlinuz-4.7.2 init=/bin/bash To add init=/bin/bash do I need to install sysvinit? Is there any relation with init=/bin/bash with sysvinit? And if I omit init=/bin/bash the system is freezed, can't do anything from there. Is init=/bin/bash necessary? But linux /boot/vmlinuz-4.7.2 init=/bin/bash works fine for now. NOTE: I've removed/uninstalled lfs-bootscripts and /etc/inittab -- http://lists.linuxfromscratch.org/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page Do not top post on this list. A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail? http://en.wikipedia.org/wiki/Posting_style
[lfs-support] What is the best way to backup whole lfs system?
I did this: cp -arf /mnt/lfs /media/sda7 Is it ok? Or should I use other tool to backup whole system? -- http://lists.linuxfromscratch.org/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page Do not top post on this list. A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail? http://en.wikipedia.org/wiki/Posting_style
[lfs-support] How can I remove linux kernel-4.7.2 from lfs completely?
I've installed this: http://www.linuxfromscratch.org/lfs/view/stable/chapter08/kernel.html Now I want to remove/delete this kernel and it's all modules and related files from system completely. How can I do this? I've deleted /source/linux-4.7.2 after installation. -- http://lists.linuxfromscratch.org/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page Do not top post on this list. A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail? http://en.wikipedia.org/wiki/Posting_style
[lfs-support] Is the style of kernel booting message correct?
After booting the kernel successfully, the init scripts start running. Everything works well. I see messages like this: * Starting network [ok] * Starting other service[ok] The [ok] is at the right side. Is this the correct style of message? Is this style set by sysvinit? Or is it set by lfs bootscripts? Or is it set by kernel by default? I think, debian system has systemd instead of sysvinit. When I boot debian system I see the style in this way: [OK] Started network [OK] Started other service The [OK] is at the left side. Which program sets the style of these messages? One sets [OK] at left and another sets [ok] at right. -- http://lists.linuxfromscratch.org/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page Do not top post on this list. A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail? http://en.wikipedia.org/wiki/Posting_style
Re: [lfs-support] Can't login after boot, typing keyboard doesn't display any character on console, why?
Is it possible to skip installing lfs-bootscripts? I want to write my own scripts. -- http://lists.linuxfromscratch.org/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page Do not top post on this list. A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail? http://en.wikipedia.org/wiki/Posting_style
Re: [lfs-support] Can't login after boot, typing keyboard doesn't display any character on console, why?
cat /etc/inittab # Begin /etc/inittab id:3:initdefault: si::sysinit:/etc/rc.d/init.d/rc S l0:0:wait:/etc/rc.d/init.d/rc 0 l1:S1:wait:/etc/rc.d/init.d/rc 1 l2:2:wait:/etc/rc.d/init.d/rc 2 l3:3:wait:/etc/rc.d/init.d/rc 3 l4:4:wait:/etc/rc.d/init.d/rc 4 l5:5:wait:/etc/rc.d/init.d/rc 5 l6:6:wait:/etc/rc.d/init.d/rc 6 ca:12345:ctrlaltdel:/sbin/shutdown -t1 -a -r now su:S016:once:/sbin/sulogin 1:2345:respawn:/sbin/agetty --noclear tty1 9600 2:2345:respawn:/sbin/agetty tty2 9600 3:2345:respawn:/sbin/agetty tty3 9600 4:2345:respawn:/sbin/agetty tty4 9600 5:2345:respawn:/sbin/agetty tty5 9600 6:2345:respawn:/sbin/agetty tty6 9600 # End /etc/inittab There is no /etc/rc.d folder though. After booting the kernel it says: there is no /etc/rc.d/init.d/rc On Fri, Dec 30, 2016 at 9:57 AM, ssmtpmailtesting ssmtpmailtesting < ssmtpmailtest...@gmail.com> wrote: > I looks, kernel is booting well. Mounted rootfs(ext4). I got the login > prompt as: (none) login: , if I type username there, characters are not > displayed there. It's not doing anything from there. I think, system is > freezed. > > cat /etc/sysconfig/console: > KEYMAP="us" > FONT="lat1-16 -m 8859-1" > > I didn't install this: http://www.linuxfromscratch. > org/lfs/view/stable/chapter07/bootscripts.html > > cat /etc/sysconfig/ifconfig.eth0 > > ONBOOT=yes > IFACE=eth0 > SERVICE=ipv4-static > IP=192.168.1.2 > GATEWAY=192.168.1.1 > PREFIX=24 > BROADCAST=192.168.1.255 > > (none) login: prompt was before. I was able to login before without > installing lfs bootscripts. But I recompiled the kernel, then tried again > to change the (none) login: to mybox login: prompt. Now can't type anything > and can't login. > > cat /etc/hostname > mybox > > What can be the problem? What should I do? > -- http://lists.linuxfromscratch.org/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page Do not top post on this list. A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail? http://en.wikipedia.org/wiki/Posting_style
[lfs-support] Can't login after boot, typing keyboard doesn't display any character on console, why?
I looks, kernel is booting well. Mounted rootfs(ext4). I got the login prompt as: (none) login: , if I type username there, characters are not displayed there. It's not doing anything from there. I think, system is freezed. cat /etc/sysconfig/console: KEYMAP="us" FONT="lat1-16 -m 8859-1" I didn't install this: http://www.linuxfromscratch.org/lfs/view/stable/chapter07/bootscripts.html cat /etc/sysconfig/ifconfig.eth0 ONBOOT=yes IFACE=eth0 SERVICE=ipv4-static IP=192.168.1.2 GATEWAY=192.168.1.1 PREFIX=24 BROADCAST=192.168.1.255 (none) login: prompt was before. I was able to login before without installing lfs bootscripts. But I recompiled the kernel, then tried again to change the (none) login: to mybox login: prompt. Now can't type anything and can't login. cat /etc/hostname mybox What can be the problem? What should I do? -- http://lists.linuxfromscratch.org/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page Do not top post on this list. A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail? http://en.wikipedia.org/wiki/Posting_style
[lfs-support] Why are /usr/bin, /usr/sbin, /sbin in chroot command?
http://www.linuxfromscratch.org/lfs/view/stable/chapter06/chroot.html chroot "$LFS" /tools/bin/env -i \ HOME=/root \ TERM="$TERM"\ PS1='\u:\w\$ ' \ PATH=/bin:/usr/bin:/sbin:/usr/sbin:/tools/bin \ /tools/bin/bash --login +h Why are /usr/bin, /usr/sbin, /sbin, /bin in chroot command? Aren't these directories empty after completing temporary system? Aren't all packages installed in /tools/bin not in /bin, /usr/bin, /usr/sbin, /sbin? -- http://lists.linuxfromscratch.org/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page Do not top post on this list. A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail? http://en.wikipedia.org/wiki/Posting_style
Re: [lfs-support] How can I install binutils and gcc with one pass to build temporary system?
http://www.linuxfromscratch.org/lfs/view/stable/chapter05/ binutils-pass2.html , http://www.linuxfromscratch. org/lfs/view/stable/chapter05/glibc.html Why didn't they use --with-sysroot=$LFS and --target=$LFS_TGT in pass 2 there? Can we call the pass2 of binutils and gcc as cross compilation? When do we need cross linker and cross compiler? -- http://lists.linuxfromscratch.org/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page Do not top post on this list. A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail? http://en.wikipedia.org/wiki/Posting_style