LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   [Worse-than-N00B] How to installpkg (ntfsresize) into running mini iso? (Net IS UP) (https://www.linuxquestions.org/questions/slackware-14/%5Bworse-than-n00b%5D-how-to-installpkg-ntfsresize-into-running-mini-iso-net-is-up-4175714680/)

!!! 07-16-2022 01:27 AM

[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)

Didier Spaier 07-16-2022 02:45 AM

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

henca 07-16-2022 03:44 AM

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

!!! 07-16-2022 03:57 AM

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

Petri Kaukasoina 07-16-2022 04:12 AM

(removed)

LuckyCyborg 07-16-2022 04:44 AM

Quote:

Originally Posted by !!! (Post 6367732)
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/

!!! 07-16-2022 02:59 PM

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.

LuckyCyborg 07-16-2022 03:17 PM

Quote:

Originally Posted by !!! (Post 6367845)
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 !!! (Post 6367845)
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.

!!! 07-16-2022 03:32 PM

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"!!!

Tonus 07-16-2022 06:40 PM

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/

USUARIONUEVO 07-16-2022 08:27 PM

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)


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