From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111c93,c1494762c0404e09 X-Google-Attributes: gid111c93,public From: Marble Head Subject: Re: Booting Linux without a head? Date: 2000/10/18 Message-ID: <39EDDD73.DF7A3826@nospam.guacamole.com>#1/1 X-Deja-AN: 682972177 Content-Transfer-Encoding: 7bit References: <39EDCAB5.A79828E5@oddjob.utias.utoronto.ca> X-Accept-Language: en Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet@nose.shr.dec.com X-Trace: nose.shr.dec.com 971890038 1351286 16.129.14.83 (18 Oct 2000 17:27:18 GMT) Organization: Organization? Yes, please. Mime-Version: 1.0 NNTP-Posting-Date: 18 Oct 2000 17:27:18 GMT Newsgroups: comp.os.linux.alpha 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