• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login
    1. Home
    2. Fernando Gietz
    3. Posts
    F
    • Profile
    • Following 0
    • Followers 8
    • Topics 67
    • Posts 554
    • Groups 1

    Posts

    Recent Best Controversial
    • RE: FOG Server CPU usage 100%

      @Tom-Elliott about the tasks table:

      MariaDB [fog]> show table status from fog where Name = 'tasks';
      +-------+--------+---------+------------+------+----------------+-------------+-----------------+--------------+-----------+----------------+---------------------+---------------------+---------------------+-----------------+----------+--------------------+---------+
      | Name  | Engine | Version | Row_format | Rows | Avg_row_length | Data_length | Max_data_length | Index_length | Data_free | Auto_increment | Create_time         | Update_time         | Check_time          | Collation       | Checksum | Create_options     | Comment |
      +-------+--------+---------+------------+------+----------------+-------------+-----------------+--------------+-----------+----------------+---------------------+---------------------+---------------------+-----------------+----------+--------------------+---------+
      | tasks | MyISAM |      10 | Dynamic    | 5217 |            125 |      653940 | 281474976710655 |       602112 |         0 |           5225 | 2017-06-14 18:23:02 | 2017-11-15 13:10:31 | 2017-09-07 15:31:22 | utf8_general_ci |     NULL | row_format=DYNAMIC |         |
      +-------+--------+---------+------------+------+----------------+-------------+-----------------+--------------+-----------+----------------+---------------------+---------------------+---------------------+-----------------+----------+--------------------+---------+
      
      posted in Linux Problems
      F
      Fernando Gietz
    • RE: Dual Images windows 10 and Ubuntu 16 with UEFI

      @sebastian-roth I have deployed the dual image to a different machine and … surprise! You are right, the machine boot directly under W10, in the next appears the grub and the posibility to boot under Ubuntu.

      I have found a link about NVRAM, I suppose that will be a lot of them but was the first entry in google 🙂 :

      Understanding UEFI variables: http://en.community.dell.com/techcenter/os-applications/f/4457/t/19589262

      1- What all information is stored in UEFI VARIABLES?
      
      All configuration setup, vendor information, language information, input/output console, error console, and boot order setting all these information are stored in these variables
      
       
      
      2- How to get NVRAM variables
      
      You can use UEFI bootable USB to boot the server. You need to have supported files which can give you UEFI shell once server boot from USB. Once you got the UEFI shell you can run UEFI command "dmpstore" to see the variable available in NVRAM. For more options or help just type “? dmpstore”.  If you have Linux installed before in same server in UEFI mode. You can access the EFI partition. Give this command in UEFI shell "FS0:" Now your “/boot/efi “partition is mounted. You can see the content of this volume using ls/dir command. "dmpstore -all > myvariables"  will collect all NVRAM variable to EFI partition. When you reboot your Linux box you will see this file in your /boot/efi location.
      
       
      
      3- Analysis of variables
      
      You will see lot of entries in the dump file. Variable name, access, data and many more. We will use this example:
      
      Variable NV+RT+BS 'Efi:ConOut' DataSize = 36
      
      This tells that Variable name is Console output which data size is 0X36 in HEX
      
      . This variable is available at runtime (RT) and boot time (BS).
      
      Runtime variable which are available after OS booted and boot time which are available before
      
      OS boot.
      
      4- Mapping of UEFI variables from BIOS to Linux OS.
      
      You can see all these variables are mapped from Linux OS.UEFI variables are mapped through sys entry. Just see to this location /sys/firmware/efi/efivars . It will have all variables which was available in dump file.
      
      All these variables depend on efivarfs kernel modules. If this module is not available you cannot access the variables. It is mounted as  efivarfs file system on /sys/firmware/efi/efivars.
      
       
      
       
      
      Parmeshwr_Prasad
      
      Linux Engineer
      
      Dell Inc (Bangalore)```
      posted in Linux Problems
      F
      Fernando Gietz
    • RE: FOG Server CPU usage 100%

      @tom-elliott Tasks table?

      posted in Linux Problems
      F
      Fernando Gietz
    • RE: FOG Server CPU usage 100%

      @fernando-gietz

      /fog/management/index.php?node=group&sub=membership&id=334
      
      posted in Linux Problems
      F
      Fernando Gietz
    • RE: FOG Server CPU usage 100%

      Done.

      [root@fog7 conf]# lsof -c http | grep cwd
      httpd   13036   root  cwd       DIR              253,0      4096      128 /
      httpd   13037 apache  cwd       DIR              253,2       133 23069131 /var/www/html/fog/management
      httpd   13038 apache  cwd       DIR              253,0      4096      128 /
      httpd   13039 apache  cwd       DIR              253,0      4096      128 /
      httpd   13040 apache  cwd       DIR              253,0      4096      128 /
      httpd   13041 apache  cwd       DIR              253,0      4096      128 /
      httpd   13044 apache  cwd       DIR              253,2      4096  8388946 /var/www/html/fog/status
      httpd   13118 apache  cwd       DIR              253,0      4096      128 /
      httpd   13144 apache  cwd       DIR              253,0      4096      128 /
      httpd   13145 apache  cwd       DIR              253,0      4096      128 /
      

      And now the output of server status

      Server Version: Apache/2.4.6 (Red Hat Enterprise Linux) OpenSSL/1.0.2k-fips PHP/5.6.31
      Server MPM: prefork
      Server Built: Jul 26 2017 04:45:44
      
      Current Time: Tuesday, 14-Nov-2017 19:49:35 CET
      Restart Time: Tuesday, 14-Nov-2017 19:44:15 CET
      Parent Server Config. Generation: 1
      Parent Server MPM Generation: 0
      Server uptime: 5 minutes 20 seconds
      Server load: 1.01 0.85 0.65
      Total accesses: 557 - Total Traffic: 3.4 MB
      CPU Usage: u167.78 s11.08 cu0 cs0 - 55.9% CPU load
      1.74 requests/sec - 10.8 kB/second - 6.2 kB/request
      3 requests currently being processed, 6 idle workers
      
      W____WW__.......................................................
      ................................................................
      ................................................................
      ................................................................
      
      Scoreboard Key:
      "_" Waiting for Connection, "S" Starting up, "R" Reading Request,
      "W" Sending Reply, "K" Keepalive (read), "D" DNS Lookup,
      "C" Closing connection, "L" Logging, "G" Gracefully finishing,
      "I" Idle cleanup of worker, "." Open slot with no current process
      
      Srv	PID	Acc	M	CPU 	SS	Req	Conn	Child	Slot	Client	VHost	Request
      0-0	13037	0/58/58	W 	5.22	120	0	0.0	0.19	0.19 	158.227.4.135	10.0.15.4:80	GET /fog/management/index.php?node=group&sub=membership&id=334
      1-0	13038	0/75/75	_ 	6.88	2	107	0.0	0.27	0.27 	158.227.138.124	10.0.15.4:80	GET /fog/management/index.php?sub=requestClientInfo&configure&n
      2-0	13039	0/76/76	_ 	6.59	2	0	0.0	0.23	0.23 	158.227.4.135	10.0.15.4:80	GET /server-status HTTP/1.1
      3-0	13040	0/39/39	_ 	4.78	2	232	0.0	0.07	0.07 	158.227.138.124	10.0.15.4:80	GET /fog/management/index.php?sub=requestClientInfo&mac=94:57:A
      4-0	13041	0/75/75	_ 	6.74	1	150	0.0	0.23	0.23 	158.227.115.42	10.0.15.4:80	GET /fog/management/index.php?node=task&sub=active&_=1510657597
      5-0	13044	0/19/19	W 	131.09	87	0	0.0	1.69	1.69 	158.227.4.135	10.0.15.4:80	POST /fog/status/getservertime.php HTTP/1.1
      6-0	13118	0/72/72	W 	7.25	0	0	0.0	0.23	0.23 	158.227.4.135	10.0.15.4:80	GET /server-status HTTP/1.1
      7-0	13144	0/72/72	_ 	6.11	1	73	0.0	0.23	0.23 	158.227.138.124	10.0.15.4:80	GET /fog/service/getversion.php?newService&json HTTP/1.1
      8-0	13145	0/71/71	_ 	4.20	2	75	0.0	0.24	0.24 	158.227.138.124	10.0.15.4:80	GET /fog/service/getversion.php?clientver&newService&json HTTP/
      Srv	Child Server number - generation
      PID	OS process ID
      Acc	Number of accesses this connection / this child / this slot
      M	Mode of operation
      CPU	CPU usage, number of seconds
      SS	Seconds since beginning of most recent request
      Req	Milliseconds required to process most recent request
      Conn	Kilobytes transferred this connection
      Child	Megabytes transferred this child
      Slot	Total megabytes transferred this slot
      SSL/TLS Session Cache Status:
      cache type: SHMCB, shared memory: 512000 bytes, current entries: 0
      subcaches: 32, indexes per subcache: 88
      index usage: 0%, cache usage: 0%
      total entries stored since starting: 0
      total entries replaced since starting: 0
      total entries expired since starting: 0
      total (pre-expiry) entries scrolled out of the cache: 0
      total retrieves since starting: 0 hit, 0 miss
      total removes since starting: 0 hit, 0 miss
      
      posted in Linux Problems
      F
      Fernando Gietz
    • RE: FOG Server CPU usage 100%

      @wayne-workman Nothing. the behavour is the same. I have restarted the apache too.

      posted in Linux Problems
      F
      Fernando Gietz
    • RE: FOG Server CPU usage 100%

      @wayne-workman No. I have only one server and one node. But the service is running.

      posted in Linux Problems
      F
      Fernando Gietz
    • RE: FOG Server CPU usage 100%

      In the develope environment I have other server, in this one I deleted 6500 entries and It works better.

      +------------------------+---------------+---------------+
      | Table Name             | Quant of Rows | Total Size Kb |
      +------------------------+---------------+---------------+
      | LDAPServers            |             1 |         14.32 |
      | clientUpdates          |             0 |          1.00 |
      | dirCleaner             |             0 |          1.00 |
      | globalSettings         |           183 |         73.87 |
      | greenFog               |             0 |          1.00 |
      | groupMembers           |           279 |        534.84 |
      | groups                 |            28 |         48.79 |
      | history                |         25895 |       5894.44 |
      | hookEvents             |           278 |         31.72 |
      | hostAutoLogOut         |           108 |         12.11 |
      | hostMAC                |          6938 |        787.91 |
      | hostScreenSettings     |           109 |         13.51 |
      | hosts                  |           480 |       1036.53 |
      | imageGroupAssoc        |           292 |         18.15 |
      | imagePartitionTypes    |            12 |          3.34 |
      | imageTypes             |             4 |          3.22 |
      | images                 |           292 |         71.45 |
      | imagingLog             |          1735 |        165.28 |
      | inventory              |           259 |         99.80 |
      | ipxeTable              |          1620 |        123.98 |
      | keySequence            |            35 |          2.79 |
      | moduleStatusByHost     |          6097 |        489.08 |
      | modules                |            13 |          5.66 |
      | multicastSessions      |          1208 |        138.77 |
      | multicastSessionsAssoc |         24929 |       1417.48 |
      | nfsFailures            |             0 |          1.00 |
      | nfsGroupMembers        |             1 |         12.18 |
      | nfsGroups              |             1 |          7.05 |
      | notifyEvents           |             5 |          9.14 |
      | os                     |            12 |          3.26 |
      +------------------------+---------------+---------------+
      
      posted in Linux Problems
      F
      Fernando Gietz
    • RE: FOG Server CPU usage 100%

      @wayne-workman The database size is not very big

      +------------------------+---------------+---------------+
      | Table Name             | Quant of Rows | Total Size Kb |
      +------------------------+---------------+---------------+
      | LDAPServers            |             1 |         14.32 |
      | clientUpdates          |             0 |          4.00 |
      | dirCleaner             |             0 |          1.00 |
      | globalSettings         |           180 |         73.30 |
      | greenFog               |             0 |          1.00 |
      | groupMembers           |          6881 |        546.79 |
      | groups                 |           313 |         53.92 |
      | history                |          4268 |       1011.34 |
      | hookEvents             |           277 |         31.68 |
      | hostAutoLogOut         |           502 |         34.20 |
      | hostMAC                |          7113 |        826.06 |
      | hostScreenSettings     |           502 |         38.18 |
      | hosts                  |          7008 |       1088.59 |
      | imageGroupAssoc        |           279 |         18.03 |
      | imagePartitionTypes    |            12 |          3.34 |
      | imageTypes             |             4 |          3.22 |
      | images                 |           279 |         72.12 |
      | imagingLog             |          2537 |        273.77 |
      | inventory              |           618 |        257.35 |
      | ipxeTable              |          2097 |        171.71 |
      | keySequence            |            35 |          2.79 |
      | moduleStatusByHost     |          4932 |        403.68 |
      | modules                |            13 |          5.66 |
      | multicastSessions      |           181 |         26.43 |
      | multicastSessionsAssoc |          2130 |        154.86 |
      | nfsFailures            |             0 |          1.00 |
      | nfsGroupMembers        |             1 |         20.22 |
      | nfsGroups              |             1 |         13.05 |
      | notifyEvents           |             5 |          9.14 |
      | os                     |            12 |          3.26 |
      +------------------------+---------------+---------------+
      

      This server have 7000 entries in the hosts table but only is used by 400-500 computers

      posted in Linux Problems
      F
      Fernando Gietz
    • RE: FOG Server CPU usage 100%

      After UEFI issue I have time to this XD

      @wayne-workman said in FOG Server CPU usage 100%:

      @fernando-gietz I was thinking about this - last time someone had this issue, it was the mysql max connections being hit.

      Maybe one of the FOG updates or an OS update (especially likely with Ubuntu systems) wiped out our max connection setting.

      Anyways, heres what might fix it:
      https://wiki.fogproject.org/wiki/index.php?title=Troubleshoot_MySQL#Increase_maximum_simultaneous_MySQL_connections

      Make sure to do the query in mysql AND to change the conf setting too so the change persists reboots!

      I have increased the connections and the trouble follows 😞
      I have setup the mysql to log the slow queries and not appears nothing.

      The problem is the apache and his activity, it reaches to 100% of CPU. If you see the capture of the browser activity, the problem begins when the browser tries to “Dibujar” (In english, Draw). I think that the browser must to draw all elements, visible and hidden ones.
      If you see the membership page, you can see the list of the members, but the browser doesn’t show the members that are not in the group, to see them you need check the checkbox; then, appears all of them. This list is not create on-the-fly, the browser “drew” it before. In my case, the browser need to draw 7000 elements 😞

      posted in Linux Problems
      F
      Fernando Gietz
    • RE: Dual Images windows 10 and Ubuntu 16 with UEFI

      @george1421 I have recaptured the image.

      • Install W10
      • Install Ubuntu 16
      • Boot under W10 and run the bcdedit command
      • Capture the image
      posted in Linux Problems
      F
      Fernando Gietz
    • RE: Dual Images windows 10 and Ubuntu 16 with UEFI

      No, any change. The only change was the bcdedit command (following the tutorial that you attached)

      posted in Linux Problems
      F
      Fernando Gietz
    • RE: Dual Images windows 10 and Ubuntu 16 with UEFI

      I have deployed twice the computer with the dual image and now the grub appears at the first time O_o

      posted in Linux Problems
      F
      Fernando Gietz
    • RE: Dual Images windows 10 and Ubuntu 16 with UEFI

      @Sebastian-Roth I am reading the info about UEFI. Very interesting!!! Now I know more about what is UEFI and how does it work.

      I post the info of the different commands in my test computer:

      gdisk -l /dev/sda
      GPT fdisk (gdisk) version 1.0.1
      
      Partition table scan:
        MBR: protective
        BSD: not present
        APM: not present
        GPT: present
      
      Found valid GPT with protective MBR; using GPT.
      Disk /dev/sda: 500118192 sectors, 238.5 GiB
      Logical sector size: 512 bytes
      Disk identifier (GUID): 611A1A7F-D5E7-4EB5-87EF-D447B71A8595
      Partition table holds up to 128 entries
      First usable sector is 34, last usable sector is 500118158
      Partitions will be aligned on 2048-sector boundaries
      Total free space is 33851501 sectors (16.1 GiB)
      
      Number  Start (sector)    End (sector)  Size       Code  Name
         1          923648         1128447   100.0 MiB   EF00  EFI system partition
         2         1128448         1161215   16.0 MiB    0C01  Microsoft reserved ...
         3         1161216       295318015   140.3 GiB   0700  Basic data partition
         4       295319552       451567615   74.5 GiB    8300  
         5       451567616       467191807   7.5 GiB     8200  
      root@U032668:~# lsblk
      NAME   MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT
      sda      8:0    0 238,5G  0 disk 
      ├─sda1   8:1    0   100M  0 part /boot/efi
      ├─sda2   8:2    0    16M  0 part 
      ├─sda3   8:3    0 140,3G  0 part 
      ├─sda4   8:4    0  74,5G  0 part /
      └─sda5   8:5    0   7,5G  0 part [SWAP]
      sr0     11:0    1  1024M  0 rom  
      root@U032668:~# blkid
      /dev/sda1: UUID="A47A-9C4F" TYPE="vfat" PARTLABEL="EFI system partition" PARTUUID="90659379-55aa-43cc-a916-7909278e69d2"
      /dev/sda2: PARTLABEL="Microsoft reserved partition" PARTUUID="ff774eb9-c85f-4dae-aac5-9a8efd46e7b4"
      /dev/sda3: UUID="385A3AFA5A3AB48A" TYPE="ntfs" PARTLABEL="Basic data partition" PARTUUID="54366076-6bce-46ae-9046-8528edf1876f"
      /dev/sda4: UUID="5fdf13da-9c89-476b-b994-3e05c3c36e2a" TYPE="ext4" PARTUUID="a30c61be-de90-45e9-a52b-c78c64ea4b19"
      /dev/sda5: UUID="b29da30a-4262-49c2-a7f3-7b3ee9e8a4ea" TYPE="swap" PARTUUID="0953ce8f-1d8d-464a-95af-ad4d724fbbae"
      

      The commands that appears in the blog:

      root@U032668:~# efibootmgr -v
      BootCurrent: 0014
      Timeout: 0 seconds
      BootOrder: 0014,0017,000C,000A,000F,0013,0010,000D,000E,0012,000B,0000,0001,0002,0003,0004,0005,0006,0007,0008,0009,0011,0015
      Boot0000  Startup Menu	FvVol(a881d567-6cb0-4eee-8435-2e72d33e45b5)/FvFile(9d8243e8-8381-453d-aceb-c350ee7757ca)....ISPH
      Boot0001  System Information	FvVol(a881d567-6cb0-4eee-8435-2e72d33e45b5)/FvFile(9d8243e8-8381-453d-aceb-c350ee7757ca)......ISPH
      Boot0002  Bios Setup	FvVol(a881d567-6cb0-4eee-8435-2e72d33e45b5)/FvFile(9d8243e8-8381-453d-aceb-c350ee7757ca)......ISPH
      Boot0003  3rd Party Option ROM Management	FvVol(a881d567-6cb0-4eee-8435-2e72d33e45b5)/FvFile(9d8243e8-8381-453d-aceb-c350ee7757ca)......ISPH
      Boot0004  System Diagnostics	FvVol(a881d567-6cb0-4eee-8435-2e72d33e45b5)/FvFile(9d8243e8-8381-453d-aceb-c350ee7757ca)......ISPH
      Boot0005  System Diagnostics	FvVol(a881d567-6cb0-4eee-8435-2e72d33e45b5)/FvFile(9d8243e8-8381-453d-aceb-c350ee7757ca)......ISPH
      Boot0006  System Diagnostics	FvVol(a881d567-6cb0-4eee-8435-2e72d33e45b5)/FvFile(9d8243e8-8381-453d-aceb-c350ee7757ca)......ISPH
      Boot0007  System Diagnostics	FvVol(a881d567-6cb0-4eee-8435-2e72d33e45b5)/FvFile(9d8243e8-8381-453d-aceb-c350ee7757ca)......ISPH
      Boot0008  Boot Menu	FvVol(a881d567-6cb0-4eee-8435-2e72d33e45b5)/FvFile(9d8243e8-8381-453d-aceb-c350ee7757ca)......ISPH
      Boot0009  HP Recovery	FvVol(a881d567-6cb0-4eee-8435-2e72d33e45b5)/FvFile(9d8243e8-8381-453d-aceb-c350ee7757ca)......ISPH
      Boot000A  USB:  	PciRoot(0x0)/Pci(0x14,0x0)N.....YM....R,Y.....ISPH
      Boot000B  MTFDDAK256TBN-1AR1ZABHA 	FvVol(a881d567-6cb0-4eee-8435-2e72d33e45b5)/FvFile(9d8243e8-8381-453d-aceb-c350ee7757ca)......ISPH
      Boot000C* IPV4 Network - Intel(R) Ethernet Connection (H) I219-LM	PciRoot(0x0)/Pci(0x1f,0x6)/MAC(c8d3ffbd6a14,0)/IPv4(0.0.0.0:0<->0.0.0.0:0,0,0)N.....YM....R,Y.....ISPH
      Boot000D* MTFDDAK256TBN-1AR1ZABHA : 	BBS(HD,MTFDDAK256TBN-1AR1ZABHA : ,0x400)/PciRoot(0x0)/Pci(0x17,0x0)/Sata(0,0,0)......ISPH
      Boot000E  USB:  	BBS(65535,,0x0)/PciRoot(0x0)/Pci(0x14,0x0)......ISPH
      Boot000F* hp HLDS DVDRW GUD1N 	PciRoot(0x0)/Pci(0x17,0x0)/Sata(1,0,0)N.....YM....R,Y..0..ISPH
      Boot0010* Intel Corporation: IBA CL Slot 00FE v0106	BBS(Network,Intel Corporation: IBA CL Slot 00FE v0106,0x0)/PciRoot(0x0)/Pci(0x1f,0x6)......ISPH
      Boot0011  Network Boot	FvVol(a881d567-6cb0-4eee-8435-2e72d33e45b5)/FvFile(9d8243e8-8381-453d-aceb-c350ee7757ca)......ISPH
      Boot0012* hp HLDS DVDRW GUD1N : 	BBS(CDROM,hp HLDS DVDRW GUD1N : ,0x400)/PciRoot(0x0)/Pci(0x17,0x0)/Sata(1,0,0)...0..ISPH
      
      root@U032668:~# parted /dev/sda
      GNU Parted 3.2
      Usando /dev/sda
      ¡Bienvenido/a a GNU Parted! Teclee «help» para ver la lista de órdenes.                                                                  
      (parted) p                                                                
      Modelo: ATA MTFDDAK256TBN-1A (scsi)
      Disco /dev/sda: 256GB
      Tamaño de sector (lógico/físico): 512B/4096B
      Tabla de particiones: gpt
      Disk Flags: 
      
      Numero  Inicio  Fin    Tamaño  Sistema de archivos  Nombre                        Banderas
       1      473MB   578MB  105MB   fat32                EFI system partition          arranque, esp
       2      578MB   595MB  16,8MB                       Microsoft reserved partition  msftres
       3      595MB   151GB  151GB   ntfs                 Basic data partition          msftdata
       4      151GB   231GB  80,0GB  ext4
       5      231GB   239GB  8000MB  linux-swap(v1)```
      posted in Linux Problems
      F
      Fernando Gietz
    • RE: Dual Images windows 10 and Ubuntu 16 with UEFI

      @sebastian-roth I don’t know very much about UEFI, until now the hardware had legacy support and we worked in this mode. But, the new hardware which is coming only support UEFI, then we need to learn to work under this new mode 😞 Thanks for the link, I will read it … what a pain!!!

      I am not using the new hardware, I don’t know which will be, and to test the UEFI I am using HP 800 G2 eliteDesk. This hardware have compatibility with BIOS legacy.

      @sebastian-roth said in Dual Images windows 10 and Ubuntu 16 with UEFI:

      So here we go. The boot order/list in real native UEFI systems is not on disk. So far we don’t capture the NVRAM state of a machine as far as I know. This is definitely something we need to add to the todo list. On Windows only systems it’s probably working out fine most times so we don’t see an issue. But for UEFI dual booting systems we need to find a solution.

      We will follow with this … waiting…

      posted in Linux Problems
      F
      Fernando Gietz
    • RE: Dual Images windows 10 and Ubuntu 16 with UEFI

      I test the changes that @george1421 says and works fine.
      The first boot goes direct to W10 but in the next one appears grub menu .

      posted in Linux Problems
      F
      Fernando Gietz
    • RE: Dual Images windows 10 and Ubuntu 16 with UEFI

      @sebastian-roth I forget say it 😞 I rebuild the grub from Ubuntu live CD

      posted in Linux Problems
      F
      Fernando Gietz
    • RE: Dual Images windows 10 and Ubuntu 16 with UEFI

      @george1421 Yes. You have understand all well

      posted in Linux Problems
      F
      Fernando Gietz
    • RE: Disk drive geometry and partition layouts for well know OS

      As @wayne-workman said me, I post the output of my dual system: W10 LTSB 2016 and Ubuntu 16.04

      root@U032668:~# gdisk -l /dev/sda
      GPT fdisk (gdisk) version 1.0.1
      
      Partition table scan:
        MBR: protective
        BSD: not present
        APM: not present
        GPT: present
      
      Found valid GPT with protective MBR; using GPT.
      Disk /dev/sda: 500118192 sectors, 238.5 GiB
      Logical sector size: 512 bytes
      Disk identifier (GUID): 611A1A7F-D5E7-4EB5-87EF-D447B71A8595
      Partition table holds up to 128 entries
      First usable sector is 34, last usable sector is 500118158
      Partitions will be aligned on 2048-sector boundaries
      Total free space is 924269 sectors (451.3 MiB)
      
      Number  Start (sector)    End (sector)  Size       Code  Name
         1          923648         1128447   100.0 MiB   EF00  EFI system partition
         2         1128448         1161215   16.0 MiB    0C01  Microsoft reserved ...
         3         1161216       205961215   97.7 GiB    0700  Basic data partition
         4       205961216       483586047   132.4 GiB   8300  
         5       483586048       500117503   7.9 GiB     8200  
      root@U032668:~# lsblk
      NAME   MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT
      sda      8:0    0 238,5G  0 disk 
      ├─sda1   8:1    0   100M  0 part /boot/efi
      ├─sda2   8:2    0    16M  0 part 
      ├─sda3   8:3    0  97,7G  0 part 
      ├─sda4   8:4    0 132,4G  0 part /
      └─sda5   8:5    0   7,9G  0 part [SWAP]
      sr0     11:0    1  1024M  0 rom  
      root@U032668:~# blkid
      /dev/sda1: UUID="A47A-9C4F" TYPE="vfat" PARTLABEL="EFI system partition" PARTUUID="90659379-55aa-43cc-a916-7909278e69d2"
      /dev/sda2: PARTLABEL="Microsoft reserved partition" PARTUUID="ff774eb9-c85f-4dae-aac5-9a8efd46e7b4"
      /dev/sda3: UUID="385A3AFA5A3AB48A" TYPE="ntfs" PARTLABEL="Basic data partition" PARTUUID="54366076-6bce-46ae-9046-8528edf1876f"
      /dev/sda4: UUID="e3fa93df-c9a8-4b1c-bcaf-7886256709cb" TYPE="ext4" PARTUUID="c1db2263-cf34-4d82-9954-2484e2c8bdde"
      /dev/sda5: UUID="c2fec154-bb2c-454c-ad54-8ca7ab1af203" TYPE="swap" PARTUUID="530e6d65-e5d7-4f4c-bb3b-44ccc6305467"
      root@U032668:~# pvdisplay
      El programa «pvdisplay» no está instalado. Puede instalarlo escribiendo:
      apt install lvm2
      root@U032668:~# lgdisplay
      No se ha encontrado la orden «lgdisplay», quizás quiso decir:
       La orden «lvdisplay» del paquete «lvm2» (main)
       La orden «vgdisplay» del paquete «lvm2» (main)
      lgdisplay: no se encontró la orden
      root@U032668:~# lvdisplay
      El programa «lvdisplay» no está instalado. Puede instalarlo escribiendo:
      apt install lvm2
      
      posted in General
      F
      Fernando Gietz
    • RE: Dual Images windows 10 and Ubuntu 16 with UEFI

      @wayne-workman

      root@U032668:~# gdisk -l /dev/sda
      GPT fdisk (gdisk) version 1.0.1
      
      Partition table scan:
        MBR: protective
        BSD: not present
        APM: not present
        GPT: present
      
      Found valid GPT with protective MBR; using GPT.
      Disk /dev/sda: 500118192 sectors, 238.5 GiB
      Logical sector size: 512 bytes
      Disk identifier (GUID): 611A1A7F-D5E7-4EB5-87EF-D447B71A8595
      Partition table holds up to 128 entries
      First usable sector is 34, last usable sector is 500118158
      Partitions will be aligned on 2048-sector boundaries
      Total free space is 924269 sectors (451.3 MiB)
      
      Number  Start (sector)    End (sector)  Size       Code  Name
         1          923648         1128447   100.0 MiB   EF00  EFI system partition
         2         1128448         1161215   16.0 MiB    0C01  Microsoft reserved ...
         3         1161216       205961215   97.7 GiB    0700  Basic data partition
         4       205961216       483586047   132.4 GiB   8300  
         5       483586048       500117503   7.9 GiB     8200  
      root@U032668:~# lsblk
      NAME   MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT
      sda      8:0    0 238,5G  0 disk 
      ├─sda1   8:1    0   100M  0 part /boot/efi
      ├─sda2   8:2    0    16M  0 part 
      ├─sda3   8:3    0  97,7G  0 part 
      ├─sda4   8:4    0 132,4G  0 part /
      └─sda5   8:5    0   7,9G  0 part [SWAP]
      sr0     11:0    1  1024M  0 rom  
      root@U032668:~# blkid
      /dev/sda1: UUID="A47A-9C4F" TYPE="vfat" PARTLABEL="EFI system partition" PARTUUID="90659379-55aa-43cc-a916-7909278e69d2"
      /dev/sda2: PARTLABEL="Microsoft reserved partition" PARTUUID="ff774eb9-c85f-4dae-aac5-9a8efd46e7b4"
      /dev/sda3: UUID="385A3AFA5A3AB48A" TYPE="ntfs" PARTLABEL="Basic data partition" PARTUUID="54366076-6bce-46ae-9046-8528edf1876f"
      /dev/sda4: UUID="e3fa93df-c9a8-4b1c-bcaf-7886256709cb" TYPE="ext4" PARTUUID="c1db2263-cf34-4d82-9954-2484e2c8bdde"
      /dev/sda5: UUID="c2fec154-bb2c-454c-ad54-8ca7ab1af203" TYPE="swap" PARTUUID="530e6d65-e5d7-4f4c-bb3b-44ccc6305467"
      root@U032668:~# pvdisplay
      El programa «pvdisplay» no está instalado. Puede instalarlo escribiendo:
      apt install lvm2
      root@U032668:~# lgdisplay
      No se ha encontrado la orden «lgdisplay», quizás quiso decir:
       La orden «lvdisplay» del paquete «lvm2» (main)
       La orden «vgdisplay» del paquete «lvm2» (main)
      lgdisplay: no se encontró la orden
      root@U032668:~# lvdisplay
      El programa «lvdisplay» no está instalado. Puede instalarlo escribiendo:
      apt install lvm2
      
      posted in Linux Problems
      F
      Fernando Gietz
    • 1
    • 2
    • 12
    • 13
    • 14
    • 15
    • 16
    • 27
    • 28
    • 14 / 28