LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Arch
User Name
Password
Arch This Forum is for the discussion of Arch Linux.

Notices


Reply
  Search this Thread
Old 06-11-2011, 12:12 PM   #1
silverblackvoid_lnx
LQ Newbie
 
Registered: May 2009
Location: Guwahati, Assam, India
Distribution: Fedora, Ubuntu, RHEL 6, Puppy Linux
Posts: 18

Rep: Reputation: 0
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.

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 /]#


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.

What files do I need to export here?

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.

PS. I posted this question on Arch Linux official forums but I haven't got any help. I hope I am not breaking any rules by posting the same question here. But i need to get this done. I sincerely apologize if I am doing anything wrong.
 
Old 06-11-2011, 02:57 PM   #2
ButterflyMelissa
Senior Member
 
Registered: Nov 2007
Location: Somewhere on my hard drive...
Distribution: Manjaro
Posts: 2,766
Blog Entries: 23

Rep: Reputation: 411Reputation: 411Reputation: 411Reputation: 411Reputation: 411
Quote:
I posted this question on Arch Linux official forums but I haven't got any help. I hope I am not breaking any rules by posting the same question here. But i need to get this done. I sincerely apologize if I am doing anything wrong.
Not in my book! As long as you (please) dont post the same on the SAME forum and server, I think you're fine. I noticed the Arch forum to be (sometimes) not so helpful...oh well...

I see that you've used the Arch Wiki page, tried this one too?

On to some loose thoughts here...firewall, blacklist, server fully running, DHCP running (you need one in the LAN to make this work)

If you dont mind, I'll try to meditate alongsid with you...let's hope we get there...

Thor
 
Old 06-11-2011, 03:18 PM   #3
silverblackvoid_lnx
LQ Newbie
 
Registered: May 2009
Location: Guwahati, Assam, India
Distribution: Fedora, Ubuntu, RHEL 6, Puppy Linux
Posts: 18

Original Poster
Rep: Reputation: 0
Thanks for ur help Thor
Yeah i've tried that site. My machine can boot fine from the PXE server and I can even see the Arch Linux splash screen. When i select to boot from the CD, then the problem surfaces...

I think my nbd-server config file is not configured properly.
Can you tell me which files do i need to export here for the nbd-server to properly work?

Thanks again for such a wonderful reply. I really appreciate it.
 
Old 06-11-2011, 04:03 PM   #4
ButterflyMelissa
Senior Member
 
Registered: Nov 2007
Location: Somewhere on my hard drive...
Distribution: Manjaro
Posts: 2,766
Blog Entries: 23

Rep: Reputation: 411Reputation: 411Reputation: 411Reputation: 411Reputation: 411
Okay, I've been doing some digging, and found this page (back) - PXE is something I did a while ago...so it's way-past data for me

I'm downloading the CD now to try it myself...

Thor
 
Old 06-11-2011, 06:58 PM   #5
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,985

Rep: Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626
Can you test this setup on a real computer? Use slitaz boot or ipxe or gpxe if you don't have pxe on it.

Is this a known working setup? Not all iso's boot pxe.

I sometimes use a knoppix cd and start terminal server and just change the files.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Arch and PXE TheStarLion Arch 0 05-08-2010 06:39 PM
LXer: How to install Nginx to run Drupal with boost, on an Arch Linux server LXer Syndicated Linux News 0 04-16-2010 02:00 PM
LXer: Setting Up A PXE Install Server For Multiple Linux Distributions On Debian Lenn LXer Syndicated Linux News 0 05-26-2009 11:20 AM
LXer: Setting Up A PXE Install Server For Multiple Linux Distributions With Ubuntu Edgy Eft LXer Syndicated Linux News 0 12-20-2006 12:54 AM
arch linux install over pxe paha Arch 1 12-14-2004 11:23 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Arch

All times are GMT -5. The time now is 12:15 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration