LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   how to check whether the .iso OS file is x64? (https://www.linuxquestions.org/questions/linux-hardware-18/how-to-check-whether-the-iso-os-file-is-x64-4175442156/)

shibir 12-19-2012 09:04 AM

how to check whether the .iso OS file is x64?
 
hi
how can i check the architecture of .iso OS file which i am going to deploy is a x64 or something else?

is there any command line to check in linux or others?

thanks

schneidz 12-19-2012 09:15 AM

every os is different but this should help:
Code:

[schneidz@hyper ~]$ ll Fedora-17-x86_64-Live-Desktop.iso
-rw-rw-r--. 1 root root 676331520 May 22  2012 Fedora-17-x86_64-Live-Desktop.iso
[schneidz@hyper ~]$ file Fedora-17-x86_64-Live-Desktop.iso
Fedora-17-x86_64-Live-Desktop.iso: # ISO 9660 CD-ROM filesystem data 'Fedora-17-x86_64-Live-Desktop.is' (bootable)
[schneidz@hyper ~]$ mkdir iso-mount
[schneidz@hyper ~]$ sudo mount -o loop Fedora-17-x86_64-Live-Desktop.iso iso-mount/
mount: warning: iso-mount/ seems to be mounted read-only.
[schneidz@hyper ~]$ ll iso-mount/isolinux/
total 19318
-r--r--r--. 1 root root    2048 May 22  2012 boot.cat
-r--r--r--. 1 root root  581632 May 22  2012 efiboot.img
-r--r--r--. 1 root root 13027834 May 22  2012 initrd0.img
-r--r--r--. 1 root root    24576 May 22  2012 isolinux.bin
-r--r--r--. 1 root root    2227 May 22  2012 isolinux.cfg
-r--r--r--. 1 root root  1146880 May 22  2012 macboot.img
-r--r--r--. 1 root root  176760 May 22  2012 memtest
-r--r--r--. 1 root root  155792 May 22  2012 vesamenu.c32
-r--r--r--. 1 root root  4662160 May 22  2012 vmlinuz0
[schneidz@hyper ~]$ file iso-mount/isolinux/vmlinuz0
iso-mount/isolinux/vmlinuz0: Linux kernel x86 boot executable bzImage, version 3.3.4-5.fc17.x86_64 (mockbuild@x86-14.phx2.fedoraproject.org) #, RO-rootFS, swap_dev 0x4, Normal VGA



All times are GMT -5. The time now is 03:00 PM.