Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting


Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here.

Reply    
 
Thread Tools Search this Thread Display Modes
    #1  
Old 01-25-2013
Registered User
 
Join Date: Jul 2012
Posts: 12
Thanks: 3
Thanked 0 Times in 0 Posts
Using Linux to determine version of Windows

This is an odd question and I didn't really know what category it fits. I just installed Ubuntu 12.10. During the installation process, the screen informed me that Windows 7 was installed in a particular partition.

I'm just wondering how this was accomplished. Using 'fdisk -l' will indicate NTFS partitions but does not give specifics of the Windows version.
Sponsored Links
    #2  
Old 01-26-2013
fpmurphy's Avatar
who?
 
Join Date: Dec 2003
Location: /dev/ph
Posts: 4,433
Thanks: 47
Thanked 358 Times in 332 Posts
The installer probably mounts the NTFS partition that is marked bootable and uses heuristics to determine the version of Windows is installed.
The Following User Says Thank You to fpmurphy For This Useful Post:
jamarsh (02-01-2013)
Sponsored Links
Reply

Tags
linux, partition, version checking

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Portable Shell Script - Determine Which Version of Binary is Installed? colinjohnson Shell Programming and Scripting 1 10-05-2012 02:19 AM
Determine Linux Version. mbb Slackware 7 12-14-2005 10:43 AM
Determine LOM version? sysera Solaris 2 10-21-2005 08:25 AM
Cmd to determine my OS version? brian.wilson UNIX for Dummies Questions & Answers 2 09-15-2005 09:11 PM
Determine Unix Version davegeysemans UNIX for Dummies Questions & Answers 2 05-24-2005 05:01 AM



All times are GMT -4. The time now is 04:02 AM.