SlackwareThis 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.
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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have deleted my liveslak directory and untarred it afresh, checked for the device nodes (present & correct) and udev (running). I'm running Slackware-15-Current-RC1. I've tried it as sdb, and sdc, powered off the box, and both in X and from an agetty console. I've even tried with '-o' & '--outdev'
EDIT: I've even ran 'wipefs -a' to provide a clean sweep of filesystems, but the problem persists
Last edited by business_kid; 01-13-2022 at 12:22 PM.
I suspect the use of -p requires a name of the persistent file or directory. I would guess the -o is assumed to be the name. Hence, /dev/sdc is looked at as a parameter.
If your intention is to not specify a name for a file, the -P should word. ( thats capitial P ).
You just need to specify the name of the directory
... or leave out that "-p" parameter completely. Then the script will use a baked-in name for the persistence directory.
There's a "-h" help function to the script.
Code:
# -p|--persistence <name> Custom path to the 'persistence' directory
# or containerfile (persistence by default).
This threw up something interesting so I thought I'd add it.
Having a Raspberry Pi 4B , I've been doing a lot of block copying of media recently. Most distributions are offered as binary images, which I have been installing with
and for the RazPi, that's fine. It doesn't need anything fancy to boot a RazPi. But it somehow compromises the disk's ability to be used as a boot disk in a pc. SD cards aren't bootable anyhow, but usb disks copied in this fashion work fine as data disks, but won't boot the pc. They show as a valid option in the live usb boot menu, but no option works.
If anyone has the magic to reverse this, of course, I'd welcome it.
All the partition tables start at sector 2048, skipping the 1st Meg. So I put in a compromised usb disk as sdb, and a known good liveslak usb drive as sdc. Then I ran
Code:
dd if=/dev/sdc of=/dev/sdb bs=512 count=2048
to rewrite sectors 0-2047. Again, it's seen as a bootable drive, but is not bootable.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.