Net-booting a linux kernel on an Ultra 5
Hello, I'm trying to make a Sarge system run on an Ultra 5 workstation, booting from net with root on nfs. This is what I managed to do already: - compiled a sparc64 cross compiler on a x86 system - cross-compiled kernel 2.6.12 for sparc64 - ran elftoaout on the kernel - set up rarp and tftp server on the server - debootstrapped and exported a sparc sarge system on the server I got the Ultra 5 so far to load the kernel via tftp and boot it. But now I'm stuck at a problem, I seem unable to solve. The kernel mounts the nfs root but then complains that it is unable to open an initial console: [...] input: Sun Type 5 keyboard on su/serio1 input: Sun Mouse on su/serio0 IP-Config: Guessing netmask 255.255.255.0 IP-Config: Complete: device=eth0, addr=192.168.17.15, mask=255.255.255.0, gw=255.255.255.255, host=192.168.17.15, domain=, nis-domain=(none), bootserver=192.168.17.1, rootserver=192.168.17.1, rootpath= Looking up port of RPC 13/2 on 192.168.17.1 Looking up port of RPC 15/1 on 192.168.17.1 VFS: Mounted root (nfs filesystem) readonly. Warning: unable to open an initial console. eth0: Link is up using internal transceiver at 100Mb/s, Full Duplex. Am I missing a kernel config option? I built the kernel with the OpenBoot PROM console and the framebuffer console compiled in. Or am I missing a boot parameter? My kernel command line currently looks like this: ok printenv boot-file boot-file = 192.168.17.1:/tftpboot/sunny.aout root=/dev/nfs nfsroot=192.168.17.1:/vol/nfsroot/sunny ip=rarp Thanks in advance, Jim
Re: Net-booting a linux kernel on an Ultra 5
On Wed, Aug 31, 2005 at 11:17:03AM +0200, Jim MacBaine wrote: Ok. Shame on me. Just after I wrote that mail I looked into the /dev folder of the exported file system and saw it was empty. The server is an x86 Debian system. Can someone give me a clue, how to create the correct device files for a sparc /dev? Have not tried this, but I guess use 'MAKEDEV generic-sparc' in your target directory? -- Martin -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Net-booting a linux kernel on an Ultra 5
On 8/31/05, Jim MacBaine [EMAIL PROTECTED] wrote: Is there a way to resume the installation at the point where debootstrap failed when it tried to chroot into the sparc file system? I'm sure this is not the best way, but I got a fairly good-working system by - booting with init=/bin/bash and executing: - dpkg --install --force-depends /var/cache/apt/archives/*deb - apt-get -f install - dpkg-reconfigure -a - base-config Regards, Jim
Net Booting
I'm trying to netboot an install, and am almost there, but can't quite get it. Here's what I'm doing: I have a SS 2 that I am trying to install debian on and would like to net boot from the tftpboot image (to avoid floppies, and I don't have a cdrom). I have another debian (i386 fwiw) box with rarp setup and an entry for the sparc I am trying to boot. On the rarp server I also have tftp setup with the boot image in /boot, along with a hard link to C0.A8.1.6.SUN4C (the sparc's ip address in hex, with it's arch affixed). When I do a boot net on the SS it shows the device and sits there, everyonce in a while sending out a packet to the network. Before I had entered a rarp entry the SS would complain about not getting a arp/rarp answer, so I'd guess this is working now. I can tftp files from the sparc (running an almost-dead hack of debian that came with it), including the files I need, so that's working as well. What am I doing wrong? (Maybe I need th change the name of the file?) thanks! -- Chris - Visit Me At http://www.frostnet.advicom.net/chris/ - -- Public PGP Key: Email [EMAIL PROTECTED] with the subject retrieve pgpkey or visit http://www.frostnet.advicom.net/chris/about/pgp_key.phtml pgpgmZvHVolVg.pgp Description: PGP signature