os-prober
os-prober copied to clipboard
20microsoft finds twice Windows7 on BIOS system
Hi, Your 20microsoft script detects twice Windows7 on a BIOS system :
$ blkid /dev/sda1 /dev/sda2
/dev/sda1: LABEL="RECOVERY" UUID="AAC65E94C65E609D" TYPE="ntfs" PARTUUID="1c6f1e23-01"
/dev/sda2: LABEL="WIN7" UUID="5E8C15298C14FCE9" TYPE="ntfs" PARTUUID="1c6f1e23-02"
$ df -Th | grep /mnt/sda.
/dev/sda2 fuseblk 40G 33G 7.1G 83% /mnt/sda2
/dev/sda1 fuseblk 9.0G 8.7G 396M 96% /mnt/sda1
$ egrep -oas "(W.i.n.d.o.w.s. .[0-9].)(.|.{50})" /mnt/sda{1,2}/*/BCD | uniq
/mnt/sda1/BOOT/BCD:Windows 7 Home Premium (recovered)
/mnt/sda2/Boot/BCD:Windows 7
$
Can you help me ?