LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 07-07-2007, 08:15 AM   #1
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
Trying to create PXE server and can't mount initrd image


My laptop's CD drive is broken, so I'd like to install 12.0 on it via NFS. I'm following Eric's guide to installing via PXE. This was written for 11.0, so some things have changed, but I've managed to find my way through so far. Right now, I'm at the "Creating an initrd.img" section and have extracted the image with

gunzip -cd /mirror/Slackware/slackware-12.0/isolinux/initrd.img > /tmp/pxe/initrd.dsk.

I have created /tmp/pxe/initrd as well. When I try to mount the image with

mount -o loop,ro initrd.dsk initrd/,

I get "mount: No such file or directory". That's the entire message. The working directory is /tmp/pxe and both initrd.dsk and initrd are present, so I don't know what the problem is

Any ideas anyone?
 
Old 07-07-2007, 08:29 AM   #2
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Original Poster
Rep: Reputation: Disabled
It seems I was left with a cpio archive, so I extracted the contents of it with "cpio -i -F initrd.dsk". Hopefully this works!
 
Old 07-07-2007, 08:34 AM   #3
mRgOBLIN
Slackware Contributor
 
Registered: Jun 2002
Location: New Zealand
Distribution: Slackware
Posts: 999

Rep: Reputation: 231Reputation: 231Reputation: 231
Some things have changed since 11.0.. so you would be best to just use the initrd.img that you will find in the Slackware-12.0/usb-and-pxe-installers/ directory. You will also find up-to-date instructions for pxe booting there.
 
Old 07-07-2007, 08:38 AM   #4
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by mRgOBLIN
You will also find up-to-date instructions for pxe booting there.
Yep, I've only just realised this. *Bangs head on table*. Thanks!
 
Old 07-07-2007, 08:47 AM   #5
onebuck
Moderator
 
Registered: Jan 2005
Location: Central Florida 20 minutes from Disney World
Distribution: SlackwareŽ
Posts: 13,923
Blog Entries: 44

Rep: Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158
Hi,

Another way would be to use this tutorial by Janux_NET. I've looked through the tutorial and nothing jumps out at me. I will step it to find out the results.

The loop device is a cheap install!
 
Old 07-07-2007, 09:15 AM   #6
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Original Poster
Rep: Reputation: Disabled
I got it working and now Slack's running on my laptop again .
 
Old 07-08-2007, 01:10 PM   #7
Linux.tar.gz
Senior Member
 
Registered: Dec 2003
Location: Paris
Distribution: Slackware forever.
Posts: 2,534

Rep: Reputation: 100Reputation: 100
A full up-to-date how-to about PXE is here :

http://www.linuxquestions.org/questi...d.php?t=554021
 
  


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
Create RedHat gold image help (clone my server) wadevondoom Linux - Enterprise 4 05-23-2007 09:10 PM
Is it possible to update the pxe network install initrd.img and vmlinuz ? lets-eat-gary Fedora 1 08-22-2006 04:54 AM
How to update the pxe network install initrd.img and vmlinuz ? lets-eat-gary Linux - Networking 3 08-20-2006 03:45 PM
How to create a multi-file-image and mount it as a loopback device (on xbox debian) El_Oy Linux - Software 1 06-14-2006 02:05 AM
Can Mac OS X create & mount ext2 image? deoren Other *NIX 1 05-23-2005 09:31 PM

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

All times are GMT -5. The time now is 12:16 PM.

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