From: "JJ" <john.jemiolo@mindspring.com>
Subject: Re: Booting Linux without a head?
Date: 2000/10/18 [thread overview]
Message-ID: <8sl9u7$9v2$1@nntp9.atl.mindspring.net> (raw)
In-Reply-To: 39EDDD73.DF7A3826@nospam.guacamole.com
which dist do you have?
The current kernels are built with serial console enabled
just add "console=ttyS0" to the -fl string you boot with, or if you use
aboot.conf, add "console=ttyS0" to the entries.
(example boot dka0 -fi 2/boot/vmlinuz -fl "root=/dev/sda2 console=ttyS0")
You do not need to specify the ttyS0 parameters, the defaults are correct.
Now... a little additional.
You have to add a "getty" to /etc/inittab so you can get a prompt. Copy
the tty6 entry, make it 7: and the device is /dev/ttyS0
Edit "/etc/securetty" and add ttyS0, so you can login as root on ttyS0..
This works for me
JJ
Marble Head <Marble.Head@nospam.guacamole.com> wrote in message
news:39EDDD73.DF7A3826@nospam.guacamole.com...
> The information you found is not exactly true.
> Linux itself does, in fact, support headless boot, if you build it into
the
> kernel.
> Problem is, I've never seen any distribution that has this built into the
> installation.
> Needing to do this, here's what I did:
>
> (You can read all this stuff below, but believe me, it's far easier to
> locate a graphics card for installation purposes, and only use the
headless
> mode later on, when the system is installed)
> The easiest thing to do is: Find a graphics card to use for installation,
> and afterward, put the machine into headless mode.
>
> Using another linux box, build a kernel. Pay particular attention to
> Character Devices,
> virtual term
> console on virtual term
> standard/generic (dumb) serial support
> support for console on serial port
>
> Next, I downloaded the rescue and root floppies from
>
>
ftp://ftp.debian.org/pub/Linux/distributions/debian/dists/stable/main/disks-
alpha/current
>
> Also download the base and drivers. Available as large tarballs or disk
> images.
>
> On the rescue disk, replace the old kernel with the recently built one.
>
> The next problem was:
> When I boot with this command
> b dva -fi whatever -fl "root=/dev/fd0 console=ttyS0,9600
load_ramdisk=1"
>
> there's a problem
> The ramdisk prompt won't take keyboard input from a serial line. Instead
> use:
> b dva -fi whatever -fl "root=/dev/fd0 console=ttyS0,9600
load_ramdisk=1
> prompt_ramdisk=0"
> You have to watch the led, and swap disks when it stops, without waiting
for
> the prompt.
>
> A couple more pitfalls to expect:
> I think the debian install doesn't put a getty on serial, so you might
have
> to modify /etc/inittab and/or install a copy of getty.
> The kernel may not recognize the name 'ttyS0' so you might have to look up
> the major and minor numbers.
> Things might still fail. I did it about a couple months ago, and I don't
> remember exactly how things turned out. I might have given in and used
the
> graphics card.
>
> Mike Sullivan wrote:
>
> > I am trying to install/boot linux on an ES40 without a graphics card.
> > I have the Vt port connected to the serial port on a PC
> > The boot process hangs at the kernel boot phase at which point
> > I get a bit of garbage on the terminal.
> > I ended up installing the OS by placing placing a video card temporarily
> >
> > in the machine. But upon removal I get the same symptom as with the
> > install boot.
> >
> > I found this in the Alpha FAQ
> >
> > >12.4 Can Linux/Alpha Run Without Graphics Card?
> >
> > >The firmware can be controlled over a serial line terminal at 9600 Baud
> >
> > >and it is possible to boot Linux/Alpha in that manner, but Linux
> > >itself does not currently support headless boots. There are kernel
> > >patches floating on the net that add this functionality, however.
> >
> > Does anyone know where these patches are.
> >
> > Mike
>
next prev parent reply other threads:[~2000-10-18 4:00 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-10-18 4:00 Booting Linux without a head? Mike Sullivan
2000-10-18 4:00 ` Marble Head
2000-10-18 4:00 ` JJ [this message]
2000-10-20 2:41 ` Michal Jaegermann
2000-10-20 4:00 ` Hartmann Schaffer
2000-10-21 4:00 ` JJ
2000-10-20 4:00 ` Marble Head
2000-10-21 4:00 ` Michal Jaegermann
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox