LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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-16-2009, 08:34 PM   #16
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: Tupelo, MS
Distribution: Gentoo
Posts: 6,926

Rep: Reputation: 124Reputation: 124

Quote:
Originally Posted by Biggen View Post
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
Code:
chroot /mnt
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/*/
 
Old 07-16-2009, 09:42 PM   #17
grissiom
Member
 
Registered: Apr 2008
Location: China, Beijing
Distribution: Slackware
Posts: 422

Rep: Reputation: 45
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...
 
Old 07-16-2009, 09:45 PM   #18
linus72
Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: PocketWriter/MinimalX
Posts: 5,064

Rep: Reputation: 330Reputation: 330Reputation: 330Reputation: 330
that's a slacker
adapt, edit, modify, overcome!

Last edited by linus72; 07-16-2009 at 09:50 PM.
 
Old 07-16-2009, 10:45 PM   #19
Biggen
Member
 
Registered: Sep 2004
Location: Panama City Beach FL
Distribution: Slackware 12.2
Posts: 199

Original Poster
Rep: Reputation: 31
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"...
 
Old 07-17-2009, 01:40 AM   #20
Ilgar
Member
 
Registered: Jan 2005
Location: Istanbul, Turkey
Distribution: Slackware 14.1, Slackware64 14.1
Posts: 926

Rep: Reputation: 96
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 .
 
Old 07-17-2009, 02:09 AM   #21
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 5,270

Rep: Reputation: Disabled
Quote:
Originally Posted by Biggen View Post
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
 
Old 07-17-2009, 03:46 AM   #22
samac
Senior Member
 
Registered: Mar 2004
Location: Westray, Orkney
Distribution: Slackware64-14.1 (multi-lib) KDE 4.11.4
Posts: 1,422

Rep: Reputation: 137Reputation: 137
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
 
Old 07-17-2009, 09:39 AM   #23
Biggen
Member
 
Registered: Sep 2004
Location: Panama City Beach FL
Distribution: Slackware 12.2
Posts: 199

Original Poster
Rep: Reputation: 31
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!
 
Old 07-17-2009, 07:59 PM   #24
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 5,270

Rep: Reputation: Disabled
Quote:
Originally Posted by grissiom View Post
Actually I installed my slack64 from a USB disk I modified the scripts on http://connie.slackware.com/~alien/t...binstall/12.2/ .
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
 
Old 07-17-2009, 08:10 PM   #25
linus72
Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: PocketWriter/MinimalX
Posts: 5,064

Rep: Reputation: 330Reputation: 330Reputation: 330Reputation: 330
Thanks Alien
is that for 64 or 32?
or both
 
Old 07-17-2009, 09:13 PM   #26
Biggen
Member
 
Registered: Sep 2004
Location: Panama City Beach FL
Distribution: Slackware 12.2
Posts: 199

Original Poster
Rep: Reputation: 31
Quote:
Originally Posted by Alien Bob View Post
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
 
Old 07-17-2009, 09:15 PM   #27
linus72
Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: PocketWriter/MinimalX
Posts: 5,064

Rep: Reputation: 330Reputation: 330Reputation: 330Reputation: 330
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
 
Old 07-17-2009, 09:55 PM   #28
Biggen
Member
 
Registered: Sep 2004
Location: Panama City Beach FL
Distribution: Slackware 12.2
Posts: 199

Original Poster
Rep: Reputation: 31
Quote:
Originally Posted by linus72 View Post
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...
 
Old 07-17-2009, 10:10 PM   #29
linus72
Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: PocketWriter/MinimalX
Posts: 5,064

Rep: Reputation: 330Reputation: 330Reputation: 330Reputation: 330
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
 
Old 07-17-2009, 10:30 PM   #30
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: Tupelo, MS
Distribution: Gentoo
Posts: 6,926

Rep: Reputation: 124Reputation: 124
Quote:
Originally Posted by linus72 View Post
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Alien Bob's VLC Build + Slamd64 Question Daedra Slackware 10 02-22-2009 03:40 PM
Slack 11.0 & Laptop & USB stick Van Der Berg Slackware 8 04-10-2007 03:00 PM
Slack 11 : Doesn't detect USB devices & can't shutdown ?? mnemonix Slackware 7 12-17-2006 06:04 AM
synaptics Touchpad & USB mouse in slack 10 mehargags Slackware 5 08-10-2004 06:19 PM
HP Deskjet (USB) & CUPS & Slackware 9.1: Unable to open USB device "usb:/dev/usb/lp0&qu arnostienen Slackware 2 01-29-2004 03:22 PM


All times are GMT -5. The time now is 07:59 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration