LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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-16-2022, 01:27 AM   #1
!!!
Member
 
Registered: Jan 2017
Location: Fremont, CA, USA
Distribution: Trying any&ALL on old/minimal
Posts: 997

Rep: Reputation: 382Reputation: 382Reputation: 382Reputation: 382
Angry [Worse-than-N00B] How to installpkg (ntfsresize) into running mini iso? (Net IS UP)


From my https://www.linuxquestions.org/quest...61-4175714676/

I'm running http://www.slackware.com/~alien/slac...ni-install.iso

I need to run ntfsresize (or gparted), to shrink XP (to make half for Slackware)

This is what I get:
http://termbin.com/1mdx

root@slackware:/# installpkg ntfsresize
Cannot install ntfsresize: file not found
root@slackware:/# pkgtool


You can't run pkgtool from the rootdisk until you've mounted your Linux
partitions beneath /mnt. Here are some examples:

If your root partition is /dev/sda1 you would type:
mount /dev/sda1 /mnt

Now you can find a list of all your partitions in /mnt/etc/fstab.

Then, supposing your /usr partition is /dev/sda2, you must do this:
mount /dev/sda2 /mnt/usr

Please mount your Linux partitions and then run pkgtool again.

I can ping, so net is UP FINE.

I am a 100.00% Slackware N00B!!!

(I'm guessing that apt install ... would WORK in a Deb mini)

Last edited by !!!; 07-18-2022 at 10:23 PM.
 
Old 07-16-2022, 02:45 AM   #2
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,056

Rep: Reputation: Disabled
installpkg does not handle installation from remote locations. You need to download the package first.

Last edited by Didier Spaier; 07-16-2022 at 02:47 AM.
 
Old 07-16-2022, 03:44 AM   #3
henca
Member
 
Registered: Aug 2007
Location: Linköping, Sweden
Distribution: Slackware
Posts: 953

Rep: Reputation: 648Reputation: 648Reputation: 648Reputation: 648Reputation: 648Reputation: 648
Also, that iso is probably intended to install Slackware and its packages to your already more or less empty harddrive. You can't really install packages to a live iso. If you are lucky you might be able to install software to a ram-disk, but such an installation will be lost the next time you reboot.

Your best option is to get a live iso with the tools that you need and use that iso to resize your partitions. It would be possible to remaster the installation iso, but it would probably be a lot easier to use something like Knoppix for that purpose.

regards Henrik
 
Old 07-16-2022, 03:57 AM   #4
!!!
Member
 
Registered: Jan 2017
Location: Fremont, CA, USA
Distribution: Trying any&ALL on old/minimal
Posts: 997

Original Poster
Rep: Reputation: 382Reputation: 382Reputation: 382Reputation: 382
Should I look into dpkg-deb (a BusyBox applet)? Remember I don't know what I'm doing! But I'm trying to learn from the bottom up. I'll have to go hunting for the live ISO mentioned above
 
Old 07-16-2022, 04:12 AM   #5
Petri Kaukasoina
Senior Member
 
Registered: Mar 2007
Posts: 1,771

Rep: Reputation: 1455Reputation: 1455Reputation: 1455Reputation: 1455Reputation: 1455Reputation: 1455Reputation: 1455Reputation: 1455Reputation: 1455Reputation: 1455
(removed)

Last edited by Petri Kaukasoina; 07-16-2022 at 04:25 AM.
 
Old 07-16-2022, 04:44 AM   #6
LuckyCyborg
Senior Member
 
Registered: Mar 2010
Posts: 3,487

Rep: Reputation: 3288Reputation: 3288Reputation: 3288Reputation: 3288Reputation: 3288Reputation: 3288Reputation: 3288Reputation: 3288Reputation: 3288Reputation: 3288Reputation: 3288
Quote:
Originally Posted by !!! View Post
Should I look into dpkg-deb (a BusyBox applet)? Remember I don't know what I'm doing! But I'm trying to learn from the bottom up. I'll have to go hunting for the live ISO mentioned above
This slackware_i586-15.0-mini-install.iso is not a live system, BUT the Slackware installer alone.

And it's supposed to be the hardcore way to install Slackware - which itself is famous to be hardcore.

So, did you expect the people to teach you to fly alone a Boeing B-52 Stratofortress when you never had been near an airplane in your entire life?

IF you don't know what you're doing and you want to play with a Slackware live system, there's LiveSlak

https://docs.slackware.com/slackware:liveslak
https://download.liveslak.org/
https://slackware.nl/slackware-live/...e64-15.0-live/

Last edited by LuckyCyborg; 07-16-2022 at 05:07 AM.
 
3 members found this post helpful.
Old 07-16-2022, 02:59 PM   #7
!!!
Member
 
Registered: Jan 2017
Location: Fremont, CA, USA
Distribution: Trying any&ALL on old/minimal
Posts: 997

Original Poster
Rep: Reputation: 382Reputation: 382Reputation: 382Reputation: 382
This is a 32-bit machine and there does not seem to be a 32-bit live Slack

I would really hate to give up on slackware and declare it unusable.
 
Old 07-16-2022, 03:17 PM   #8
LuckyCyborg
Senior Member
 
Registered: Mar 2010
Posts: 3,487

Rep: Reputation: 3288Reputation: 3288Reputation: 3288Reputation: 3288Reputation: 3288Reputation: 3288Reputation: 3288Reputation: 3288Reputation: 3288Reputation: 3288Reputation: 3288
Quote:
Originally Posted by !!! View Post
This is a 32-bit machine and there does not seem to be a 32-bit live Slack
Did you even bothered to look where LiveSlak is, before saying things like this?

https://slackware.nl/slackware-live/...ve-current.iso
https://slackware.nl/slackware-live/...ce-current.iso

Quote:
Originally Posted by !!! View Post
I would really hate to give up on slackware and declare it unusable.
Unusable? I would rather say that looks like the Slackware is a hat too big for you.
 
1 members found this post helpful.
Old 07-16-2022, 03:32 PM   #9
!!!
Member
 
Registered: Jan 2017
Location: Fremont, CA, USA
Distribution: Trying any&ALL on old/minimal
Posts: 997

Original Poster
Rep: Reputation: 382Reputation: 382Reputation: 382Reputation: 382
Sorry. I apologize for being incendiary in my frustration.

That NON-reality is only in my own mind.

I'm downloading your ISO now

Update:
It is 32 bit: shame on me for my asinine assumption

But it can't find the USB!!! It says: no live media found. I tried adding the kernel parameters of from=USB (&root&boot) but no difference. I remember antix would similarly *only* boot on this weird old computer if I told it about the USB in this way (an F4 option). IDK what was in the kernel in the mini ISO that made it find the USB

Update2: that live Slack Iso has the same problem on the Inspirion 1420, which has never had that problem, so I reverse my thought about it being a computer problem that can be solved by a boot parameter.

I guess my next step is to give up on live slack and go back to the mini that did boot, after finding some other way to resize the XP NTFS partition, to leave space for Linux.

Yup, "Slackware is a hat too big for me"!!!

Last edited by !!!; 07-16-2022 at 05:18 PM.
 
Old 07-16-2022, 06:40 PM   #10
Tonus
Senior Member
 
Registered: Jan 2007
Location: Paris, France
Distribution: Slackware-15.0
Posts: 1,405
Blog Entries: 3

Rep: Reputation: 514Reputation: 514Reputation: 514Reputation: 514Reputation: 514Reputation: 514
How did you "burn" the usb drive ?
iso2usb script provided by the creator of the live Slackware aka Alien Bob ?

Have a look there :
https://alien.slackbook.org/blog/fin...iveslak-1-5-3/
 
Old 07-16-2022, 08:27 PM   #11
USUARIONUEVO
Senior Member
 
Registered: Apr 2015
Posts: 2,335

Rep: Reputation: 930Reputation: 930Reputation: 930Reputation: 930Reputation: 930Reputation: 930Reputation: 930Reputation: 930
the executable you need to run its from

ntfs-3g package.

Then you nee to install it.

Quote:
slackpkg update
slackpkg install ntfs-3g
Most probably , ntfs-3g have some deps to solve ..but start installing and test...slackpkg no autosolve deps , then to run the resize executable, probably need install some other packages first.

Your execuatble ,probaly only need glibc to run ...

Quote:
ldd /sbin/ntfsresize
linux-vdso.so.1 (0x00007fff27972000)
libntfs-3g.so.89 => /lib64/libntfs-3g.so.89 (0x00007f46fdd6d000)
libc.so.6 => /lib64/libc.so.6 (0x00007f46fdb8e000)
/lib64/ld-linux-x86-64.so.2 (0x00007f46fdde7000)

Last edited by USUARIONUEVO; 07-16-2022 at 08:33 PM.
 
  


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
Help understanding ntfsresize? dr_zayus69 Linux - Software 13 03-18-2005 06:02 AM
ntfsresize not resizing enough eno_on Linux - General 5 12-28-2004 07:42 AM
slackware > installation > ntfsresize kleer Linux - Newbie 23 12-28-2004 05:44 AM
Problem after using NTFSResize 1.9.1 and fdisk StE_gUy Linux - General 1 04-18-2004 12:56 PM
Ntfsresize Failed: using mandrake move exley Linux - Newbie 7 03-23-2004 12:20 PM

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

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