You are not logged in.

#1 2016-12-03 06:44:59

aussieevil
Member
Registered: 2014-06-19
Posts: 25

Finding Windows Partition from ISO

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

#2 2016-12-03 09:40:37

x33a
Forum Fellow
Registered: 2009-08-15
Posts: 4,587

Re: Finding Windows Partition from ISO

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

#3 2016-12-07 22:55:40

teateawhy
Member
From: GER
Registered: 2012-03-05
Posts: 1,138
Website

Re: Finding Windows Partition from ISO

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

#4 2016-12-09 14:37:22

Dokter Bibber
Member
Registered: 2016-09-19
Posts: 65

Re: Finding Windows Partition from ISO

Has this been resolved?
Or are you still looking for a resolution?

Offline

Board footer

Powered by FluxBB