You are not logged in.
Hey guys, I installed yay-git so I could build woeusb-git in order to create a recovery USB but if I try running
yay -S moeusb-git
I get an error that says "Could not find all required packages: woeusb-git (target)". I already installed base-devel and tried uncommenting the multilib lines in /ect/pacman.conf with no results.
Last edited by sadministrator (2021-12-28 18:27:11)
Offline
Neither woeusb-git nor moeusb-git is in the AUR. I'm guessing you misspelled (twice) woeusb-gui.
Offline
Ah, I got it from this guide: https://computingforgeeks.com/create-wi … -on-linux/
Maybe the packages were merged?
I got woeusb-gui installed and I have everything ready to create the bootable usb but I'm getting this error:
Installation failed!
Exit code: 256
Log:
WoeUSB v3.3.1
==============================
Error: Target device is currently busy, unmount all mounted partitions in target device then try again
Target device is busy, please make sure you unmount all filesystems on target device or shutdown the computer before detaching it.
I tried detaching my target usb /dev/sda with
umount /dev/sda
and
udisksctl unmount --block-device /dev/sda
but get back
umount: /dev/sda: not mounted.
and
Object /org/freedesktop/UDisks2/block_devices/sda is not a mountable filesystem
respectively.
I removed USB and plugged it back in (I'm overwriting all the data anyways) and now the error message is:
Installation failed!
Exit code: 256
Log:
WoeUSB v3.3.1
==============================
Mounting source filesystem...
mount: /media/woeusb_source_1640322896_36517: mount failed: Operation not permitted.
mount_source_filesystem: Error: Unable to mount source media
Error: Unable to mount source filesystem
Unmounting and removing "/media/woeusb_source_1640322896_36517"...
umount: /media/woeusb_source_1640322896_36517: not mounted.
cleanup_mountpoint: Warning: Unable to unmount "/media/woeusb_source_1640322896_36517".
Some mountpoints are not unmount/cleaned successfully and must be done manually
You may now safely detach the target device
Maybe formatting the USB would fix this?
Last edited by sadministrator (2021-12-24 14:30:05)
Offline
I'm assuming the program expects to be ran as root, did you do that? Also please use code tags for command outputs rather than quote.
Last edited by V1del (2021-12-24 07:47:35)
Offline
I'm assuming the program expects to be ran as root, did you do that? Also please use code tags for command outputs rather than quote.
I went ahead and changed my previous post to use code tags, thanks for the advice. And yeah, you were right about it wanting to be run as root, although now I'm getting a different error:
Installation failed!
Exit code: 256
Log:
WoeUSB v3.3.1
==============================
Mounting source filesystem...
Wiping all existing partition table and filesystem signatures in /dev/sda...
/dev/sda: 5 bytes were erased at offset 0x00008001 (iso9660): 43 44 30 30 31
/dev/sda: 2 bytes were erased at offset 0x000001fe (dos): 55 aa
/dev/sda: 8 bytes were erased at offset 0x00000200 (gpt): 45 46 49 20 50 41 52 54
/dev/sda: 8 bytes were erased at offset 0xe51fffe00 (gpt): 45 46 49 20 50 41 52 54
/dev/sda: calling ioctl to re-read partition table: Success
Ensure that /dev/sda is really wiped...
Creating new partition table on /dev/sda...
Creating target partition...
Making system realize that partition table has changed...
Wait 3 seconds for block device nodes to populate...
Cluster size has been automatically set to 4096 bytes.
Creating NTFS volume structures.
mkntfs completed successfully. Have a nice day.
--2021-12-24 08:45:06-- https://github.com/pbatard/rufus/raw/master/res/uefi/uefi-ntfs.img
SSL_INIT
Loaded CA certificate '/etc/ssl/certs/ca-certificates.crt'
Resolving github.com (github.com)... 140.82.113.3
Connecting to github.com (github.com)|140.82.113.3|:443... pulse
connected.
HTTP request sent, awaiting response... pulse
302 Found
Location: https://raw.githubusercontent.com/pbatard/rufus/master/res/uefi/uefi-ntfs.img [following]
--2021-12-24 08:45:07-- https://raw.githubusercontent.com/pbatard/rufus/master/res/uefi/uefi-ntfs.img
SSL_INIT
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 185.199.109.133, 185.199.110.133, 185.199.111.133, ...
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|185.199.109.133|:443... pulse
connected.
HTTP request sent, awaiting response... pulse
200 OK
Length: 1048576 (1.0M) [application/octet-stream]
Saving to: ‘/tmp/WoeUSB.7xCXSt.tempdir/uefi-ntfs.img’
0K .......... ........pulse
.. .......... .......... ...pulse
....... 4% 753K 1s
50K .......... .......... .......... .......... .....pulse
..... 9% 681K 1s
100K .......... .pulse
......... .......... .......... .......... 14% 1.08M 1s
150K .......... .......... .......... .......... .pulse
......... 19% 804K 1s
200K .......pulse
... .......... .......... .......... .......... 24% 1.21M 1s
250K .......... .......... .......... .......... ......pulse
.... 29% 1.52M 1s
300K .......... ..pulse
........ .......... .......... .......... 34% 576K 1s
350K .......... .......... ......pulse
.... .......... .......... 39% 1.91M 1s
400K .......... .......... ....pulse
...... .......... .......... 43% 898K 1s
450K .......... .......... .......... .......... .....pulse
..... 48% 1.32M 1s
500K .......... .......... .......... .......... .......... 53% 1.61M 0s
550K .......... .......... .....pulse
..... .......... .......... 58% 1.03M 0s
600K .......... .......... .......... .......... .......... 63% 2.25M 0s
650K .....pulse
..... .......... .......... .......... .......... 68% 1.31M 0s
700K .........pulse
. .......... .......... .......... .......... 73% 778K 0s
750K .......pulse
... .......... .......... .......... .......... 78% 1.29M 0s
800K .....pulse
..... .......... .pulse
......... .......... .......... 83% 439K 0s
850K ...pulse
....... .......... .......... .......... .......... 87% 1.37M 0s
900K .......... .......... ...pulse
....... .......... .......... 92% 1.50M 0s
950K .......... .......... .......... .......... .......... 97% 1.78M 0s
1000K .......... .......... .... 100% 3.05M=1.0s
2021-12-24 08:45:08 (1.02 MB/s) - ‘/tmp/WoeUSB.7xCXSt.tempdir/uefi-ntfs.img’ saved [1048576/1048576]
dd: writing to '/dev/sda2': No space left on device
1025+0 records in
1024+0 records out
524288 bytes (524 kB, 512 KiB) copied, 0.176 s, 3.0 MB/s
The command "dd if="${download_directory}/uefi-ntfs.img" of="${uefi_ntfs_partition}"" failed with exit status "1", program is prematurely aborted
Unmounting and removing "/media/woeusb_source_1640357102_20519"...
You may now safely detach the target device
Any idea as to why dd would fail?
Edit: I now saw 'No space left on device'. Let me format it and try again.
Edit2: I formatted my USB drive using
makefs.ntfs -IF /dev/sda
but got the same error as before where dd fails.
Last edited by sadministrator (2021-12-24 16:07:03)
Offline
dd: writing to '/dev/sda2': No space left on device
?
I think woeusb likes to do the whole thing, I recommend ditching the gui.
Last edited by Zod (2021-12-24 17:09:28)
Offline
dd: writing to '/dev/sda2': No space left on device
?
I think woeusb likes to do the whole thing, I recommend ditching the gui.
I didn't notice it focusing on that partition, good catch. And I would have preferred using it without the gui but I wasn't able to find the woeusb-git package in AUR which is why I am using woeusb-gui. I guess the solution here would be to delete the partitions and try again?
Edit: found woeusb (without the '-git') I'm going to try it with that and if it doesn't work I'll try deleting the partitions on the USB and trying again.
Edit2: it worked on the first attempt with woeusb, so in case you landed on this because you were following the same tutorial, woeusb-git doesn't exist anymore and woeusb-gui isn't maintained anymore and apparently has problems.
Last edited by sadministrator (2021-12-24 18:13:13)
Offline
Or just use https://aur.archlinux.org/packages/ventoy-bin instead.
Offline
Mod note: moving to AUR Issues
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Offline