You are not logged in.

#1 2011-06-02 20:55:03

silverblackvoid
Member
Registered: 2011-06-02
Posts: 2

Can't install Arch Linux from a PXE server.

Hi,

I can't seem to install Arch Linux on my client machine which is a Intel.dot.station computer.

Configuration:
Intel Celeron 233 MHz Processor
4GB IDE HDD
Ethernet port
(no CD-ROM and no option to boot from USB)

For installing Arch Linux on my dot.station I connected it to my desktop using a crossover cable.
First I booted my main desktop with a Arch Linux CD in the Live Environment and then proceeded with the following steps:

   1. boot an Arch Linux live medium generated by archiso via USB or CD
   2. login as root
   3. ifconfig eth0 192.168.0.7
   4. route add default gw 192.168.0.1
   5. echo nameserver 192.168.0.1 >> /etc/resolv.conf
   6. pacman -Sy dnsmasq nbd
   7. wget http://aur.archlinux.org/packages/archi … ver.tar.gz
   8. bsdtar xf archiso-pxe-server.tar.gz
   9. cd archiso-pxe-server
  10. chmod +x archiso-pxe-server
  11. ./archiso-pxe-server

Everything ran fine and I was able to boot from PXE in my client machine. But after I tried to install it in my dot.station i got these following error messages

...
Error: Socket failed: Connection refused
Exiting.
:: Mounting tmpfs, size=75%...done.
:: Waiting for boot device...
Waiting 30 seconds for device /dev/nbd0...
Error: /dev/nbd0 found, but the filesystem type is unknown
Falling back to interactive prompt
You can try to fix the problem manually, log out when you are finished
/bin/sh: can't access tty; job control turned off
[ramfs /]#

I tried installing several times and I get the same error messages. So guys can you tell me what am I doing wrong here.
Any suggestions and advice would be helpful for me. Thanks.

Offline

#2 2011-06-03 00:06:52

Blender
Member
Registered: 2011-05-11
Posts: 36

Re: Can't install Arch Linux from a PXE server.

Those settings (the ICS stuff you did in the beginning) aren't carried over to the fully installed system. Have you tried mounting the filesystem and making those changes again on the installed system?

Offline

#3 2011-06-03 19:08:09

silverblackvoid
Member
Registered: 2011-06-02
Posts: 2

Re: Can't install Arch Linux from a PXE server.

Guys help me with the nbd config file. What files do I need to export there?

This is my /etc/nbd-server/config file:

# This is a comment
[generic]
    # The [generic] section is required, even if nothing is specified
    # there.
    # When either of these options are specified, nbd-server drops
    # privileges to the given user and group after opening ports, but
    # _before_ opening files.
    user = nbd
    group = nbd
[export1]
    exportname = /export/nbd/export1-file
    port = 12345
    authfile = /export/nbd/export1-authfile
    timeout = 30
    filesize = 10000000
    readonly = false
    multifile = false
    copyonwrite = false
    prerun = dd if=/dev/zero of=%s bs=1k count=500
    postrun = rm -f %s
[otherexport]
    exportname = /export/nbd/experiment
    port = 12346
    # The other options are all optional.

Offline

Board footer

Powered by FluxBB