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. AFTER you install the lfs-bootscripts and have a bootable, runnable system it IS possible to install rewritten boot scripts--I've done it. I always start by installing the LFS scripts! Looking at the sorts of issues you keep asking about though, I have some "tough love" advice for you: learn to walk before you try to run. Replacing the boot scripts isn't for amateurs! This story is almost certainly untrue, but that doesn't keep it from being true. If you know what I mean. Young Composer: "Herr Mozart, I am thinking of writing a symphony. How should I get started?" Mozart: "A symphony is a very complex musical form and you are still young. Perhaps you should start with something simpler, like a concerto." Young Composer: "But Herr Mozart, you were writing symphonies when you were 8 years old." Mozart: "Yes, but I never asked anyone how." -- Paul Rogers paulgrog...@fastmail.fm Rogers' Second Law: "Everything you do communicates." (I do not personally endorse any additions after this line. TANSTAAFL :-) -- http://www.fastmail.com - IMAP accessible web-mail -- 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?
On Sat, 2016-12-31 at 12:21 +0600, ssmtpmailtesting ssmtpmailtesting wrote: > Is it possible to skip installing lfs-bootscripts? I want to write my > own scripts. Certainly it's possible... they're just shell scripts, so if you know what you're doing, you can replace them with whatever you want. If you want, you can skip init entirely, boot to bash, and run all the init steps manually yourself. But given that you've skipped installing the bootscripts, yet found it necessary to ask us why the system doesn't boot correctly, I'd suggest you need to do a lot more research before taking such a step. And getting the system booting on the standard scripts is probably a good step, so that you can read them and modify them, and see what happens. Simon. signature.asc Description: This is a digitally signed message part -- 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?
> From: ssmtpmailtesting ssmtpmailtesting <ssmtpmailtest...@gmail.com> > Date: Fri, 30 Dec 2016 10:02:07 +0600 > Subject: 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 Guess where in the book does '/etc/rc.d' & contents get installed. Clue: 'http://www.linuxfromscratch.org/lfs/view/stable/chapter07/bootscripts.html' . > > 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? > > akh -- -- 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?
Il 30 dic 2016 5:02 AM, "ssmtpmailtesting ssmtpmailtesting" < ssmtpmailtest...@gmail.com> ha scritto: > > 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? > > How did you manage to finish the system in less then a week? did you follow all the book? The problem might be in /etc/passwd /etc/group or /etc/passwd > > -- > 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 > -- 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