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

Notices


Reply
  Search this Thread
Old 10-14-2017, 11:12 AM   #1
methinx
LQ Newbie
 
Registered: Dec 2011
Location: Michigan
Distribution: slackware 15
Posts: 20

Rep: Reputation: Disabled
Unhappy How do I PXE boot 1 slackware PC to another slackware PC without reboot.


a post I found called "Diskless PXE netboot How-To for Debian 8 Jessie"
explains this process but Its written for Debian. but...

I have (1) 32 bit 3.2GHZ PC running slackware and (1) IBM 64 bit SCSI server i'm in the learning stage of slackware linux and have been spending days reading these forums that long ago I signed up to. I see documentation everywhere searching slackware.com and LQ on PXE boot, Ive installed from my server using a boot disc image to load the "Default in the box PXE server", after about 15 runs back and forth failing and failing, Im up.

Im happy im up but I got 4 problems now,
1) I installed the 32 bit version of slackware instead of the 64bit on my IBM server.
2) I used the wrong type of scsi Aray at install that i wanted.
3) trying to burn copies of slackware from my original ubuntu pc, my drive died(old pc).
4) Worried that running the "how to made for debian" will mess up my slackware linux.

This is what I want to accomplish,
1) I want to mount the 64 bit image on my true 32bit slackware install
2) then I want to install the slackware version on my 64bit server using pxe boot.
3) then I want to disable the PXE boot on the 32bit machine
4) I want to keep it PXE boot ready just in case I mess up something on my server i can reinstall with a simple /etc/rc.d/rc.pxe start then I can reboot my server and install via network

my questions,
1) is what I want accomplished possible using only out of the box on slackware?
2) if so, is the file I need to adjust the /etc/dnsmasq.conf?(i noticed PXE options in this file when I was trying to configure DHCP server on my IBM Server, but there is alot of confusing to me jargon used in this file and the man.)if so how?
4) what major Linux Distros match Slackware better then others, I noticed that slackware can convert red-hat RPM files to Slackware, does this mean that slackware resembles Redhat the best and I can use configurations from redhat?

the last thing that i want to do is mess up my Slackware installs on both PCs at this point im out of options, well at least until Christmas when Ill have some money for a new drive and a purchase a copy of Slackware to show my love.

I'm keeping a human readable version of all these processes because i could only assume that I have a doppelganger somewhere out there that needs this info to.

if all of this is explained somewhere I apologize I've searched a lot and keep coming up to almost solving my issue but the answer being for another distribution.
 
Old 10-14-2017, 05:48 PM   #2
onebuck
Moderator
 
Registered: Jan 2005
Location: Central Florida 20 minutes from Disney World
Distribution: SlackwareŽ
Posts: 13,931
Blog Entries: 45

Rep: Reputation: 3161Reputation: 3161Reputation: 3161Reputation: 3161Reputation: 3161Reputation: 3161Reputation: 3161Reputation: 3161Reputation: 3161Reputation: 3161Reputation: 3161
Member response

Hi,

If you look at usb-and-pxe-installers/ on your ISO you will find;
Quote:
README_PXE.TXT
PXE: Installing Slackware over the network ========================================== Introduction ------------

When the time comes to install Slackware on your computer, you have a limited number of options regarding the location of your Slackware packages. Either you install them from the (un)official Slackware CDROM or DVD, or you copy them to a pre-existing hard disk partition before starting the installation procedure, or you fetch the packages from a network server (using either NFS, HTTP or FTP protocol). The number of available options for booting your Slackware installer is similarly limited: either you boot your computer from the bootable first CDROM of the Slackware CD set, or from the DVD, or using a USB stick. There is even loadlin, the DOS based Linux starter, but lets not concern ourselves with the past today. Slackware 12.0 abandoned the floppy boot altogether. What if your PC is lacking a CDROM drive and refuses to boot from a USB stick? Brands of PCs are on the market today (ultra-portable laptops for instance) that are unable to install Slackware the traditional way. However, these machines are commonly equipped with network peripherals, like bluetooth, wireless and wired network cards. How to solve this dilemma? Buy an external CD drive? Well, there is another way of booting your computer that the Slackware installer supports. That is the 'network boot'. Network boot, or PXE boot, requires support from your computers network card and BIOS. Also, instead of installing packages from a Slackware CDROM set or DVD, you will need a network server that can instruct your computer how to fetch those packages from the network. In this README, I will show you how to perform an installation that uses the network as the carrier medium, with a server on the local network that holds the boot kernel and the root filesystem (which contains the setup program), and also has all the Slackware packages. This means, there is no need for a floppy or CDROM drive. Be warned: setting it all up is not trivial, and you need more than a beginners level of Linux knowledge, but this text and the accompanying example scripts in the last section should get you up and running even if you do not completely understand what is going on :-)
Be sure to read the entire text.
Hope this helps.
Have fun & enjoy!
 
1 members found this post helpful.
Old 10-14-2017, 06:35 PM   #3
methinx
LQ Newbie
 
Registered: Dec 2011
Location: Michigan
Distribution: slackware 15
Posts: 20

Original Poster
Rep: Reputation: Disabled
Talking Thanks!

Thanks so much. i was looking everywhere for documentation for this and I never once though at all to look on the actual image. One more question that i cannot find the answer to.

The source DVD ISO. is that for me to install packages from? im just confused with the source dvd purpose because so far installing Slackware I have yet to "require" the need of the DVD source disc. Ive been using the install DVD only and ive been installing my packages from slackbuilds...

thanks again. this stuff makes more sense each and every day and this Emacs text editor is so much better then vi that I was using. i cant wait till Christmas im buying my kids and me some Slackware shirts!i love how my kids prefer playing around in Slackware too! sorry i rant sometimes.
 
Old 10-15-2017, 04:51 AM   #4
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8107Reputation: 8107Reputation: 8107Reputation: 8107Reputation: 8107Reputation: 8107Reputation: 8107Reputation: 8107Reputation: 8107Reputation: 8107Reputation: 8107
On several occasions in the documentation on installing Slackware there is talk about a "SOURCE". This is not the sourcecode, but the source of the packages that need to be installed. You only need the install DVD therefore.

As for installing on that 64bit server, perhaps you can explain why this has to be done using PXE boot? What other boot capabilities does this server have? Your problem is that the other PC apparently has a 32bit CPU and therefore incapable of booting a 64bit DVD? In that case, PCE boot is not going to work because the other PC is only going to become a 32bit Slackware PXE server which means your server will be unable to get a 64bit OS on it.
If the server has a USB boot option, you can transfer the content of the DVD to an USB stick.
If you can temporarily use a friend's 64bit-capable computer or laptop, then you can use PXE boot to install 64bit Slackware onto your server.

Last edited by Alien Bob; 10-15-2017 at 04:52 AM.
 
1 members found this post helpful.
Old 10-16-2017, 01:35 PM   #5
IsaacKuo
Senior Member
 
Registered: Apr 2004
Location: Baton Rouge, Louisiana, USA
Distribution: Debian Stable
Posts: 2,546
Blog Entries: 8

Rep: Reputation: 465Reputation: 465Reputation: 465Reputation: 465Reputation: 465
Quote:
Originally Posted by methinx View Post
a post I found called "Diskless PXE netboot How-To for Debian 8 Jessie"
explains this process but Its written for Debian. but...
I wrote that blog post, but it has nothing to do with what you want, if I understand correctly. My How-To describes how to use PXE to netboot an nfs install of Debian. This does NOT run the Debian installer or any other installer over PXE. Rather, it has the entire OS running on an nfs root. No local drive is necessary. In fact, it's ideal for diskless systems. When you boot up, it boots up with the "/" file system on nfs instead of a local drive. It does NOT boot up to any sort of installer, nor does it give any option to run an installer after booting up to a normal desktop (or console).

It sounds like you want to run a linux installer via PXE, which is a very different thing.
 
1 members found this post helpful.
Old 10-17-2017, 02:20 AM   #6
methinx
LQ Newbie
 
Registered: Dec 2011
Location: Michigan
Distribution: slackware 15
Posts: 20

Original Poster
Rep: Reputation: Disabled
Red face booting from HDD on slackdocs

I am currently going thru the documentation on booting from HDD.

my USB drive that I have on hand for some reason doesn't work right, i plug it in on any PC and it kinda goes in and out of readability so i am almost positive its broke. I can definitely pick up a new one next payday. issue with discs I incorrectly burned a bunch o discs trying to burn Slackware to them only to have my burning process fail all 10 times at checking the MD5 and freezing but more will come but, payday as well, and I cant wait till I buy the slack disc set too.

i was using the one drive in both the ibm server and the PC, it was very annoying but with incorrectly discs burned I was able to partially load the broke disc and use PXE on the PC to install slack 32 on the Server and vice versa, using the broken USB drive to load all the packages, once I got slack partially installed I mounted the USB stick that had everything but KDE on it, I don't think KDE will even run on the PC (didn't work with Ubuntu, but may work on the server when I get my Geforce FX 5600 installed and a DVI cable for my Vid card. Not that I care really, i LOVE this tabbed windows manager and kinda wanna try the blackbox next!

i know I got this, but I keep coming up blank sometimes with the command examples within the man pages, as far as the structure of what I actually need, like some examples say foo -a <source> <destination> do i omit the <,>? or do they go in. I look online and I find like examples and i hesitate to even use the option, i feel dumb sometimes about it and to embarrassed to even ask.

now i think i got a good grasp of what you-all are talking about and I think this HDD install copying the bzimage and that other file in the howto to the specific folders that I create then creating the entry in lilo.conf (the bootloader that I chose and like, the only one Ive had experience with.) then I run lilo then reboot. then on bootup Im worried about my iso of all my install packages, it says that I should just continue like normal but Im so worried because the process is fdisk then do swap then source then format and then install pkgs. im not the smartest but I can only assume once i do this Im gonna Format the /dev/sda1 /dev/sda2 and /dev/sda3 number 2 is my swap and 1 is my / and 3 is my /home can I get away with installing from home without formating sda3? if my install blows away slackware ill be in a crappy boat with no PC till i get paid next, well depending on how big my paycheck is...

alien bob, thanks so much for a lot of your documentation out there, its been a real big help for me to piece a lot of this together so far, before I started all this I was completely self taught(well Reading official slackware Docs Taught...). its been hard around my area and everyone around me is into everything except PCs so when I learn how to do something i dont generally know what I am doing but it works but when it does work i dont know why it works I tend to try to read man pages or slackdocs or yer stuff until I figure it out.

I was getting real confused to in the documentation and I had no Idea it was even possible to PXE boot until last week or the week before when i stumbled upon it in a forum, and I blindly started typing copy pasting stuff... big mistake, in order for me to get my ubuntu back i found a super old ubuntu disc and installed it just to get the slackware ISO downloaded PXE installed the server then pxe from the server to the PC.

it is my first experience with owning my own server! never even heard of RAID before. that was the 2 week task before this task :P (needed a boot disc to configure RAID from BIOS who knew???? not me.. lol)

I just don't wanna do it all again right now. so im trying to find out all my options and to execute the option that is of the shortest and easiest path at the moment due to financial restraints for the rest of the next 2 weeks.

I have downloaded both the slackware and slackware 64 install discs, the PC has the image in /home/methinx/Downloads that is mounted on sda3 and the server has its iso install disc /home/srv01/Downloads so i am ready I just dont want to proceed and loose my curent installs untill I get some blank discs or a new USB drive.

ohh and under the man for mount it says at the bottom of the documentation to type in "mount pathto.img -o loop /mnt" but in some other howto it says to call -o loop before the pathto.img but also it says in the Man page for mounting an image that I can use "mount pathto.img /mnt" is the latter only possible becaue something was added down the line to auto find loop devices? and am i using this correctly? what is a loop device? a fake CD rom? it works both ways to mount the ISO of the DVD i just don't wanna do it the wrong way. i think i may be over thinking a few things in my process.

every bit of help is awesome and very much appreciated!!

Last edited by methinx; 10-17-2017 at 02:26 AM.
 
  


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
How to boot Slackware via PXE ? Linux.tar.gz Slackware 43 11-30-2020 06:00 PM
Trouble booting Slackware Live on diskless node PXE boot HPCteam Linux - Server 0 07-07-2016 09:44 PM
slackware diskless client , pxe boot syserror Slackware 14 08-27-2011 02:05 AM
slackware + other distros networks boot with PXE nass Slackware 4 10-03-2010 05:25 PM
Help please! Installing Slackware 12.2 by PXE boot fails! beyond291 Slackware 4 01-15-2009 08:21 AM

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

All times are GMT -5. The time now is 05:19 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