|
NetBSD Installation and Upgrading Have trouble getting NetBSD on your toaster? |
|
Thread Tools | Display Modes |
|
|
|||
Can't exec getty '/usr/libexec/getty'
Hello everyone, I'm trying to install NetBSD 6.0.1 from a USB stick on my Emachines netbook. When the system starts booting I get the following message which repeats every minute without going further:
Can't exec getty '/usr/libexec/getty' for port '/dev/console': No such file or directory Google search has showed that I'm far from being the first one who has experienced this, but I still can't find out from there what is the solution. |
|
|||
Some more information on that.
The partition on the memory stick containing the installation disk (as copied from NetBSD-6.0.1-i386.iso) is /dev/sd0f (2nd one). The GRUB2 entry is as follows: Quote:
Quote:
|
|
|||
It seems that warning: no /device/console is the cause for those
init: can't exec getty '/usr/libexec/getty' for port '/dev/console': messages. Do you have a /dev/console device entry? This is from OpenBSD BTW: Code:
ls -l /dev/con* crw------- 1 j65nko j65nko 0, 0 Mar 5 20:21 /dev/console
__________________
You don't need to be a genius to debug a pf.conf firewall ruleset, you just need the guts to run tcpdump |
|
|||
No, in the installation CD ($NETBSD_FTP_SERVER/pub/NetBSD/NetBSD-6.0.1/iso/NetBSD-6.0.1-i386.iso) the folder /dev has only one file, MAKEDEV. It seems that this script isn't run when needed. But as this is at the booting stage, I have no power to do any changes. Is it possible to activate MAKEDEV via GRUB2 anyhow?
|
|
|||
If the NetBSD installer, which if I understand you correctly is on a USB stick, allows you to escape to the shell, you could run
# ./MAKEDEV all manually. That would create all necessary device entries in /dev.You first would have to mount your disk, cd into /dev, copy the /MAKEDEV[ into /dev/ if it is not there and then run it.
__________________
You don't need to be a genius to debug a pf.conf firewall ruleset, you just need the guts to run tcpdump |
|
|||
You may be making it more difficult by using the *.iso. NetBSD has *.img files for i386/amd64 that are specifically made for usb sticks. The are distinguished from *iso files by the suffix *.img
NetBSD usb install |
|
|||
Quote:
Quote:
$WIKI_NETBSD_ORG/tutorials/how_to_install_netbsd_from_an_usb_memory_stick/#index5h2 Unfortunately I didn't succeed in mounting the .img image (apparently because of it containing MBR), so I had to break my scheme and record it onto the first partition of my memory stick. Originally I wanted to keep the first partition for GRUB and "burn" the NetBSD installation distro onto the second one (making multiboot with other partitions hosting different OSes). So I still have to work on it a bit more, and I want to compare the contents of .img and .iso in order to see the difference. Anyway, the installation went smoothly and now NetBSD is installed, thanks everyone for willingness to help. |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
HBGary chief exec resigns over Anon hack | J65nko | News | 0 | 1st March 2011 06:24 PM |
init: can't exec getty after power failure | mtx | FreeBSD General | 0 | 20th January 2009 10:14 AM |
Exec command in zsh prompt? | bsddaemon | General software and network | 2 | 18th October 2008 09:37 PM |
"/libexec/ld-elf.so.1: /lib/libc.so.7: unsupported file layout" | MacApp | FreeBSD General | 1 | 9th September 2008 04:40 PM |
getty dies on serial console? | michaelk | FreeBSD General | 9 | 18th May 2008 08:44 AM |