You are not logged in.
Pages: 1
I'm making an Arch-based recovery USB stick, and I'm having some problems with making a shell script to automatically detect and mount the Windows partition (where the Windows\ folder is). Is there some way to do this?
Offline
Mod note: Not a kernel and Hardware issue, moving to "Installation".
I am not sure what you are trying to do, but give os-prober a try.
Offline
Mount the partition and check if there is a Windows folder.
To narrow it down before that you can look for file system type ntfs, parttype, partlabel, etc. in lsblk.
This is the result i get for windows partitions.
lsblk -o FSTYPE,LABEL,PARTTYPE,PARTLABEL,PARTFLAGS
FSTYPE LABEL PARTTYPE PARTLABEL PARTFLAGS
ntfs ebd0a0a2-b9e5-4433-87c0-68b6b72699c7 Basic data partition
I don't think this is a question that fits here, but I'm not a mod.
Last edited by teateawhy (2016-12-07 22:56:22)
Offline
Has this been resolved?
Or are you still looking for a resolution?
Offline
Pages: 1