Iso2usb Error On Copying

0 views
Skip to first unread message

Vita Wanberg

unread,
Aug 5, 2024, 12:09:17 AM8/5/24
to reficavec
ddis a command-line utility for Linux and Unix systems whose primary purpose is to convert and create low-level file copy. The dd command's syntax differs from various other Unix programs, as it uses syntax option=value rather than the standard syntax -option value or -option=value formats. By default, the dd command reads from stdin and writes to stdout; these can be modified using its input file and output file options.

1. If - This option is used to specify an input file or device 2. if - This option is used to specify an output file or device 3. bs - This option is used to specify the block size, i.e., number of bytes or kilobytes(k) or megabytes(m) 4. count - This option is used to specify the number of blocks to be copied (by default, the dd command copies the entire file or disk) 5. conv - This option is used so that the process of copying continues even if there are any read errors.


2. Backup a partition dd command can back up a partition if we specify the partition in the input file, and the output file can be the target path or image file. The command used for this process is:


The .ISO file is a widely used disk image format and the standard format for bootable media. (Linux anyone?) Here is a quick and easy way to make a bootable USB from a .ISO file, with no 3rd party apps required. Here are the terminal commands in order, followed by explanations of what they do: Note: You'll need to be an administrator to do this.


This command is used to list out all disk drivers and their volumes. Drives are labeled as disk0, disk1, disk2, etc. Volumes are labeled disk1s0, disk1s1, disk1s2, etc. For our purposes, we only care about the drive. In this case, we are going to assume our flash drive is disk2.


"sudo" tells the system to use root level (that is the system's highest level) privileges to perform the following action .dd copies data in blocks rather than on a file-by-file basis (this is why it's so fast), and this command gives you the option to set how big each block is. 8MB (megabytes) block size has consistently worked well for various users. The command will not show any progress until it's done, but one can press CTRL+T for status updates. With an average computer, this takes less than 5 minutes to complete.


Download and install EasyBCD from Neosmart Technologies. This software is free for non-commercial use. EasyBCD will allow you to add a Linux OS partition to the Windows bootmenu (that is what I use it for on computers that need to keep the Windows bootloader instead of switching to LILO or GRUB). It is much more versatile than that: for our current purpose, it is also able to make the computer boot from an ISO image stored on the local harddisk.


Hi Jay, copying the files out of the compressed squashfs modules onto the harddisk takes longer than when installing Slackware packages directly from the .txz files. So, an hour could be correct. It mostly depends on the CPU capabilities of your computer but also you have to take into account that the data is being written of a USB stick which is often slower than when the source is your network or a local harddisk.


That makes sense, usually it take 25minutes to do a full install.

Eric a non related questions, is there anything wrong if I just install from the official 14.2 iso and just execute the upgrade commands to get to the lastest stable updates

Thanks


Anonymous, disable SecureBoot and check if that is sufficient. Otherwise you also need to disable UEFI, but on my Windows 10 PC that was not needed. Else you need to switch to another bootloader than Windows BCD. Just like that page tells you.


Hi Alien

Thanks much , this is clear to me now.

i also tried as you said and the changes were saved into the usb.

well if i want both the speed and the persistence by creating a free space on the dd USB , can this be done ?


A big hello and THANKS from Central America. I normally follow and read your scripts and shell code to improve my skills. This live slack is a gem as I wanted to test it long time before. Some comments and suggestions:


2. Following advice from this page, I got better results making the process from a liveslak iso directly run from a HD partition. mounted a USB with liveslak ISO file at /mnt/hd and the microsd card in the card slot reader as destination. I used script with -C %35 -c %65 -w 15 parameters.


It is weird: I tried same microsd card but now I put it inside a USB reader and booted ok!, same result in another Laptop with a SD reader (I put microsd card in a SD enclosure). live media was found at /dev/sda3, /dev/sdb3, but in that rescue mode I have no idea what /dev/xxx to mount at /mnt/media.


liveslak with iso file directly booted from HD partition works very well. Is it possible to have the 2 files (luks encrypted) persistence and home in a HD partition to be used by a liveslak booted this way (as a parameter), any link to know how to prepare those files? or can it be transfered from microsd card?


1) How may I keep updated my HD install when you release a new slaklive install? Repeat setup2hd?.

2) It seems there is no a similar debian apt service to keep security fixes for slakware. As I have read, I should upgrade available packages..

3) Any advice (reference link) to encrypt my HD install?.

4) May I use rsync to keep my home laptop dir and usb persist synchronized?


I looked first into Slackware about 2 or 3 years ago, and read something then That gave me the idea that installing it would sort of like installing Arch Linux or Gentoo, which still are a bit above my experience level. Then I found Absolute Linux, but the support information I found was not the best for me, I once nuked the 6 OSs I had in one of my older machines when trying to install it.


I followed the steps and successfully booted from the LIVE ISO. sda1 is correct, is an EXT4 partition and mount does not report it as being mounted. I did create another mount directory and sda1 also failed to mount giving the same error. The only references I saw of it in the dmesg output is as follows:


Spent a few hours trying to get slackware-live on a usb stick from windows. rufus and etcher not working. porteus linux has a really simply way to do this. would be a great service if there was a way to craft a slackware live usb that didnt involve modifying boot menu on windows.

3a8082e126
Reply all
Reply to author
Forward
0 new messages