Slackware This Forum is for the discussion of Slackware Linux.
|
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
|
07-16-2009, 08:34 PM
|
#16
|
|
HCL Maintainer
Registered: Jun 2003
Location: Tupelo, MS
Distribution: Gentoo
Posts: 6,926
Rep: 
|
Quote:
Originally Posted by Biggen
I don't know why I couldn't boot the 1st .iso and then mount the flash drive which would contain EVERYTHING. I am not too familiar with the setup program, but I would think I could drop to a console and then mount the USB stick. Then start the setup program again and feed it to the mirror.
|
The installer will not let you mount something later and then choose that
as you $PATH. You could, however, after you finish doing the install,
and before you reboot, issue which will put your entire new Slackware system live.
Then you could mount the USB stick, issue
Code:
rsync -av /path/to/slackware64 /tmp/ ; cd /tmp/
and then run "pkgtools" and point there. I think.
If pkgtools won't get you there, you can just install the other pkgs
manually from /tmp/slackware64/*/
|
|
|
|
07-16-2009, 09:42 PM
|
#17
|
|
Member
Registered: Apr 2008
Location: China, Beijing
Distribution: Slackware
Posts: 409
Rep:
|
Actually I installed my slack64 from a USB disk  I modified the scripts on http://connie.slackware.com/~alien/t...binstall/12.2/ . Here is the diff:
Code:
diff -ur 32/create_multipartboot.sh 64/create_multipartboot.sh
--- 32/create_multipartboot.sh 2009-07-17 10:30:13.365323066 +0800
+++ 64/create_multipartboot.sh 2009-05-23 00:58:53.000000000 +0800
@@ -34,7 +34,7 @@
cat <<"EOT"
# ------------------------------------------------------------------------#
-# $Id: create_multipartboot.sh,v 1.29 2009/05/22 17:21:58 root Exp root $ #
+# $Id: create_multipartboot.sh,v 1.28 2009/02/26 15:01:50 root Exp root $ #
# ------------------------------------------------------------------------#
EOT
@@ -99,7 +99,7 @@
--exclude testing \
--exclude usb-and-pxe-installers \
--exclude zipslack \
- --exclude slackware/*"
+ --exclude slackware64/*"
# -----------------------------------------------------------------------------
@@ -232,7 +232,7 @@
--exclude testing \
--exclude usb-and-pxe-installers \
--exclude zipslack \
- --exclude slackware/*"
+ --exclude slackware64/*"
else
# Just copy all that's there (/testing is not part of 12.2 tree but exclude
# it anyway, just to be sure we make it fit):
@@ -245,10 +245,10 @@
# Compose the arguments to the rsync command used further down:
RSYNCARGS=""
for p in $ADDPKGS ; do
- RSYNCARGS="$RSYNCARGS --include slackware/$p "
+ RSYNCARGS="$RSYNCARGS --include slackware64/$p "
done
for p in $REMPKGS ; do
- RSYNCARGS="$RSYNCARGS --exclude slackware/$p* "
+ RSYNCARGS="$RSYNCARGS --exclude slackware64/$p* "
done
for p in $SKIPKERNELS ; do
RSYNCARGS="$RSYNCARGS --exclude kernels/$p "
Only in 64: rsync_usb.sh
Basically adopt to slackware64 folder name. One thing more, after creating the disk, go to the partition that contain packages rename slackware64 to slackware due to the installer still look for packages in that folder. We need a patch for the installer to get rid of this. But I don't know how ;(
Last, if you want to remain the disk as a InstallUSB for slackware and a normal USB disk for windows. You should format the first partition as FAT, second and third partition to hold the boot image and packages. Windows could only recognize first partition of a USB disk...
|
|
|
|
07-16-2009, 09:45 PM
|
#18
|
|
Guru
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: PocketWriter/MinimalX
Posts: 5,057
|
that's a slacker
adapt, edit, modify, overcome!
Last edited by linus72; 07-16-2009 at 09:50 PM.
|
|
|
|
07-16-2009, 10:45 PM
|
#19
|
|
Member
Registered: Sep 2004
Location: Panama City Beach FL
Distribution: Slackware 12.2
Posts: 199
Original Poster
Rep:
|
Ok. Hmmm... I was thinking that I could just run the installer and point it to the USB stick for the packages. Guess it isn't that easy. Well, like you said earlier, I could simply make a boot disk, mount the flash, and then run the installer from there...
Just trying to keep from burning a bunch of CD's since the "current" is going to be chaning a lot. Would be easier to make the changes on the USB stick.
One other thing. I got this as I was running Alien_Bobs script:
Code:
file has vanished: "/slackware64-current/source/x/x11/build/libXt" (in slackware)
file has vanished: "/slackware64-current/source/x/x11/build/xf86-video-i128" (in slackware)
file has vanished: "/slackware64-current/source/x/x11/build/xf86-video-savage" (in slackware)
file has vanished: "/slackware64-current/source/x/x11/build/xorg-server" (in slackware)
file has vanished: "/slackware64-current/source/x/x11/patch/xorg-server/0001-dix-ignore-non-pointer-events-in-XineramaCheckMotio.patch.gz" (in slackware)
file has vanished: "/slackware64-current/source/x/x11/patch/xorg-server/Restore_DontZap.diff.gz" (in slackware)
Not sure if it is cause for concern or not. I re-ran the script after it finished to see if it would pick up the missing files but it says "No differences found, exiting"...
|
|
|
|
07-17-2009, 01:40 AM
|
#20
|
|
Member
Registered: Jan 2005
Location: Istanbul, Turkey
Distribution: Slackware 13.37, Pardus 2011.2
Posts: 884
Rep:
|
Recently I did two Slack64-current installations (one being just yesterday), using the USB installer and the (unofficial) current ISOs I grabbed from here:
ftp://ftp.slackware.no/pub/linux/ISO...ent-ISO-build/
All went fine, I'm now running slackware64-current  .
|
|
|
|
07-17-2009, 02:09 AM
|
#21
|
|
Slackware Contributor
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 4,686
Rep: 
|
Quote:
Originally Posted by Biggen
One other thing. I got this as I was running Alien_Bobs script:
Code:
file has vanished: "/slackware64-current/source/x/x11/build/libXt" (in slackware)
file has vanished: "/slackware64-current/source/x/x11/build/xf86-video-i128" (in slackware)
file has vanished: "/slackware64-current/source/x/x11/build/xf86-video-savage" (in slackware)
file has vanished: "/slackware64-current/source/x/x11/build/xorg-server" (in slackware)
file has vanished: "/slackware64-current/source/x/x11/patch/xorg-server/0001-dix-ignore-non-pointer-events-in-XineramaCheckMotio.patch.gz" (in slackware)
file has vanished: "/slackware64-current/source/x/x11/patch/xorg-server/Restore_DontZap.diff.gz" (in slackware)
Not sure if it is cause for concern or not. I re-ran the script after it finished to see if it would pick up the missing files but it says "No differences found, exiting"...
|
The first time you ran the rsync script, you just hit the Slackware mirror server when it was getting fresh updates. Rsync creates a file-list when it starts and will not check for file additions/changes/removals after that. This causes the "file has vanished" messages later on.
My mirror-slackware-current script checks the ChangeLog.txt for updates. The second time you ran the script, it did not find any changes in the ChangeLog.txt compared to the previous run, so the script assumed it did not have proceed. However, it missed the updated packages that were being added to the Slackware mirror while you ran the script earlier.
You will have to run the script with the extra parameter " -f " to force the script to collect the other updates regardless of the state of the ChangeLog.txt.
Eric
|
|
|
|
07-17-2009, 03:46 AM
|
#22
|
|
Senior Member
Registered: Mar 2004
Location: Westray, Orkney
Distribution: Slackware64-14.0 (multi-lib)
Posts: 1,319
Rep: 
|
Quote:
|
Now, I have to figure out how to create a CD boot disk....
|
I wrote a HOWTO for Slackware 11.0 it should give you an idea, but remember it is very out of date, here is a link.
samac
|
|
|
|
07-17-2009, 09:39 AM
|
#23
|
|
Member
Registered: Sep 2004
Location: Panama City Beach FL
Distribution: Slackware 12.2
Posts: 199
Original Poster
Rep:
|
First off, I want to thank everyone for there help and suggestions!
I burnt the first .iso, hooked up another CD Drive, and of course, it boots nicely. When I get back home, I'm going to try and play with booting from the first .iso and then running the setup via the flashdrive (that has the current-64 mirror on it). If this doesn't work (or, more likely, I can't figure it out) I'll just burn the other two .iso's and be done with it.
As an aside, I tried to copy the mirror from my hard drive to my flash with:
Code:
cp -rp [mirror-directory] /mnt/flash
Everything seems to go well except I get a few errors about "not being able to create symbolic links: Denied"
Alien_Bob - I re-ran the script with the "-f" option. Everything seemed to go well. Those files that "vanashed" are gone from the mirror as of this morning so I believe I am ok.
Ilgar - I would love to be able to do just that, but I can't get my Poweredge to boot from my USB sticks. I have tried two different sticks, different boot scripts, etc... Nada... I am giving up on booting from the flash drive. So far, it has been a total waste of my time.
Grissiom - I'll check into that! Thanks for the tip!
|
|
|
|
07-17-2009, 07:59 PM
|
#24
|
|
Slackware Contributor
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 4,686
Rep: 
|
Quote:
Originally Posted by grissiom
|
I uploaded a version for Slackware 13.0 (well.. -current at the moment, but it will work for 13.0 too when that gets released).
I may still tweak it a bit more in the near future, but this works for now:
http://www.slackware.com/~alien/tools/usbinstall/13.0/
Set the ARCH variable to "x86_64" in the script, or in your shell's environment, if you are going to create a USB installer for slackware64.
Eric
|
|
|
|
07-17-2009, 08:10 PM
|
#25
|
|
Guru
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: PocketWriter/MinimalX
Posts: 5,057
|
Thanks Alien
is that for 64 or 32?
or both
|
|
|
|
07-17-2009, 09:13 PM
|
#26
|
|
Member
Registered: Sep 2004
Location: Panama City Beach FL
Distribution: Slackware 12.2
Posts: 199
Original Poster
Rep:
|
Quote:
Originally Posted by Alien Bob
I uploaded a version for Slackware 13.0 (well.. -current at the moment, but it will work for 13.0 too when that gets released).
I may still tweak it a bit more in the near future, but this works for now:
http://www.slackware.com/~alien/tools/usbinstall/13.0/
Set the ARCH variable to "x86_64" in the script, or in your shell's environment, if you are going to create a USB installer for slackware64.
Eric
|
Awesome! Thanks Eric! Now, if I can figure out why my box won't boot to USB's I'll be making some real progress
|
|
|
|
07-17-2009, 09:15 PM
|
#27
|
|
Guru
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: PocketWriter/MinimalX
Posts: 5,057
|
Biggen
you mean your pc won't boot from usb
or can't boot from usb?
or what?
Quote:
|
Now, if I can figure out why my box won't boot to USB's I'll be making some real progress
|
|
|
|
|
07-17-2009, 09:55 PM
|
#28
|
|
Member
Registered: Sep 2004
Location: Panama City Beach FL
Distribution: Slackware 12.2
Posts: 199
Original Poster
Rep:
|
Quote:
Originally Posted by linus72
Biggen
you mean your pc won't boot from usb
or can't boot from usb?
or what?
|
I think it is a bios problem. I can select boot from USB, but it won't no matter how I make the stick.
I am content not to even mess with it anymore as I have wasted several hours trying to figure it out...
|
|
|
|
07-17-2009, 10:10 PM
|
#29
|
|
Guru
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: PocketWriter/MinimalX
Posts: 5,057
|
Mmm. did you try using any bootmanagers?
my ext3 grub 4gb usb is running now from a pc that won't boot from usb
doesn't even have a bios setting to boot usb
I use a special cd I cut full of bootmanagers and Plop usually works
especially if you install it to mbr temperarily and when you install a distro or whatever grub/lilo overwrites it
|
|
|
|
07-17-2009, 10:30 PM
|
#30
|
|
HCL Maintainer
Registered: Jun 2003
Location: Tupelo, MS
Distribution: Gentoo
Posts: 6,926
Rep: 
|
Quote:
Originally Posted by linus72
Thanks Alien
is that for 64 or 32?
or both
|
Please slow down and read a bit more carefully
Quote:
|
Set the ARCH variable to "x86_64" in the script, or in your shell's environment, if you are going to create a USB installer for slackware64.
|
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 12:48 AM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|