LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware - Installation (http://www.linuxquestions.org/questions/slackware-installation-40/)
-   -   Is it possible to install Slackware64 by using the first installation CD? (http://www.linuxquestions.org/questions/slackware-installation-40/is-it-possible-to-install-slackware64-by-using-the-first-installation-cd-4175490554/)

chicken76 01-08-2014 07:46 AM

Is it possible to install Slackware64 by using the first installation CD?
 
Is it possible to boot the Slackware install CD no.1 (32 bit), but use the 64 bit packages via FTP and obtain a proper Slackware64 installation?

I need to do this with version 14.0 on an older system that does not have DVD drive, but a CD one. PXE boot doesn't work (although the network card is functional), and neither does booting from a USB stick written with the provided usbboot.img

Didier Spaier 01-08-2014 08:28 AM

You can't use a 32 bit installer on a CD to install a 64 bit Slackware, whatever be your packages source, because it will search packages series in slackware/, not slackware64/, thus won't find them.

If you can afford to burn one CD on your other box you could use the CD/USB ISO image for Slackware64-14.0 that you'll find here:
http://slint.fr/installers/
Instructions to burn the CD are there:
http://slint.fr/installer.html

PS it's a polyglot installer but don't worry, it speaks English ;)

TobiSGD 01-08-2014 11:33 AM

Quote:

Originally Posted by Didier Spaier (Post 5094278)
You can't use a 32 bit installer on a CD to install a 64 bit Slackware, whatever be your packages source, because it will search packages series in slackware/, not slackware64/, thus won't find them.

IIRC, if you do a network based install the installer asks specifically for the directory with the packages, so you will be able to install the 64 bit packages. The real problem is that you won't be able to install a bootloader, since this involves chrooting into the installed system. You can't chroot into a 64 bit system from a 32 bit system.

Didier Spaier 01-08-2014 12:21 PM

Quote:

Originally Posted by TobiSGD (Post 5094376)
IIRC, if you do a network based install the installer asks specifically for the directory with the packages

Yes.

Quote:

Originally Posted by TobiSGD (Post 5094376)
,so you will be able to install the 64 bit packages.

No. The installer sets REMOTE_URL as the URL of the FTP/HTTP server and sets REMOTE_ROOT as the parent directory of the directory with the packages, then looks for the tagfile information this way:
Code:

# Make sure we can select stuff from the package series (in case of installer for 32 bits):
 dialog --title "INITIALIZING PACKAGE TREE" --infobox \
  "\nRetrieving tagfile information for the package tree ..." 5 65

 for series in $(ls -1 slackware) ; do
  wget -q -P ./slackware/$series $REMOTE_URL$REMOTE_ROOT/slackware/$series/tagfile
  wget -q -P ./slackware/$series $REMOTE_URL$REMOTE_ROOT/slackware/$series/maketag.ez
  wget -q -P ./slackware/$series $REMOTE_URL$REMOTE_ROOT/slackware/$series/maketag
 done

So as in case of a 64 bit source these files are in $REMOTE_URL$REMOTE_ROOT/slackware64/$series, wget will fail.

PS in 64 bit installer instead s/slackware/slackware64/, of course

TobiSGD 01-08-2014 12:54 PM

Thanks for the clarification.

chicken76 01-10-2014 06:36 AM

1 Attachment(s)
Thanks guys, I managed to install it in the end with Didier's slint.

Didn't even use a CD, but a USB stick. So I guess I was wrong and booting from USB works on this old machine after all.
Could there be a fault in the usbboot.img? I used the same stick and worked with slint flawlessly.
With Slackware's usbboot.img I was getting the following errors (attached image). I thought the stick was damaged, but it worked well with slint's iso. I also thought writing usbboot.img to the stick was somehow botched, so I did it twice on different machines. Any ideas?

TobiSGD 01-10-2014 07:40 AM

Quote:

Originally Posted by chicken76 (Post 5095427)
Could there be a fault in the usbboot.img?

I used the usbboot.img from 14.1 yesterday to install one of my machines from scratch, for me it worked without any problems.

chicken76 01-10-2014 07:42 AM

Quote:

Originally Posted by TobiSGD (Post 5095449)
I used the usbboot.img from 14.1 yesterday to install one of my machines from scratch, for me it worked without any problems.

Have you tried the one from 14.0 (64-bit) to see if it boots?

TobiSGD 01-10-2014 07:45 AM

Will try that and report back soon.

EDIT: Works fine, too.

chicken76 01-10-2014 08:02 AM

Quote:

Originally Posted by TobiSGD (Post 5095457)
Will try that and report back soon.

EDIT: Works fine, too.

Darn it, what could I have done wrong?!

Thank you for your feedback.

Didier Spaier 01-10-2014 08:22 AM

I'm happy Slint hybrid installer worked. Looking at attachment to post #6, maybe despite EDD errors eventually USB stick was usable as what I see at the end is the greeting screen of the installer.

I don't think you did anything wrong and am not very surprised that ISOLINUX works flawlessly on some machine but not on others, this is pretty common as there are big differences between hardware and firmware (EFI or BIOS) from machine to machine as I can see following syslinux mailing list.

For the records USB boot images as usbboot.img are not that much necessary nowadays as an ISO image can easily be put on an USB key to make a bootable USB stick as well, just post-processing the image to make it hybrid using isohybrid. That's what we do with Slint installers. To be honest I got the idea reading Pat's README.TXT in isolinux/ ;)


All times are GMT -5. The time now is 04:38 AM.