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: "JJ" Subject: Re: Booting Linux without a head? Date: 2000/10/18 Message-ID: <8sl9u7$9v2$1@nntp9.atl.mindspring.net>#1/1 X-Deja-AN: 683092300 References: <39EDCAB5.A79828E5@oddjob.utias.utoronto.ca> <39EDDD73.DF7A3826@nospam.guacamole.com> X-Priority: 3 X-Server-Date: 18 Oct 2000 22:58:15 GMT X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200 Organization: MindSpring Enterprises X-MSMail-Priority: Normal Newsgroups: comp.os.linux.alpha 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 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 >