You are not logged in.

#1 2014-12-17 01:06:25

WFV
Member
From: ☭USSA⛧⭒⭒⭒⭒
Registered: 2013-04-23
Posts: 288

[Solved] linux ext4 partitions show up as "Microsoft basic data" type

I have no Microsoft partitions in my system nor dual boot (i run Windows in VirtualBox) yet not sure when this changed (update in November?) all my linux ext4 partitions show up as "Microsoft basic data" types (except BIOS boot and Swap) in fdisk -l (also in Gnome Disk utility gui, just shows "Basic data" instead of the actual Linux type. All the searching in Arch Wiki's I've found refer to dual boot systems so far and haven't turned up anything useful in Google yet either. How to i get this corrected? All drives are GPT:

root@arch-bill /home/bill # fdisk -l

Disk /dev/sdb: 1.8 TiB, 2000398934016 bytes, 3907029168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: gpt
Disk identifier: 0645408C-0374-4357-8663-D2A3512E07BD

Device           Start          End   Size Type
/dev/sdb1         2048         6143     2M BIOS boot partition
/dev/sdb2         8192      8396799     4G Microsoft basic data
/dev/sdb3      8398848     41953279    16G Microsoft basic data
/dev/sdb4     41955328    167786495    60G Microsoft basic data
/dev/sdb6    167788544   3902834687   1.8T Microsoft basic data

Disk /dev/sda: 931.5 GiB, 1000204886016 bytes, 1953525168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: gpt
Disk identifier: C3E095E9-90D9-4BFA-A97F-5D74E64FC4A4

Device           Start          End   Size Type
/dev/sda1         8192     32776191  15.6G Microsoft basic data
/dev/sda2     32778240   1953509375 915.9G Microsoft basic data
/dev/sda3         2048         6143     2M BIOS boot partition

Disk /dev/sdc: 298.1 GiB, 320072933376 bytes, 625142448 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: 5607E1F7-1A96-4EF5-A353-29BE91873431

Device           Start          End   Size Type
/dev/sdc1         2048      6293503     3G Linux swap
/dev/sdc2      6295552    618600447   292G Microsoft basic data

Last edited by WFV (2016-01-04 03:13:52)


∞ hard times make the strong, the strong make good times, good times make the weak, the weak make hard times ∞

Offline

#2 2014-12-17 01:12:19

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: [Solved] linux ext4 partitions show up as "Microsoft basic data" type

Please use code tags when pasting to the boards: https://wiki.archlinux.org/index.php/Fo … s_and_Code


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2014-12-17 01:46:55

WFV
Member
From: ☭USSA⛧⭒⭒⭒⭒
Registered: 2013-04-23
Posts: 288

Re: [Solved] linux ext4 partitions show up as "Microsoft basic data" type

I apologize Jason, i need to get educated on that, I don't understand the wiki link and haven't a clue on how to get the desired paste option although i know what it looks like from other posts. Is it a package i need to install or just use a link like "https://gist.github.com/" ?
this maybe? https://gist.github.com/anonymous/9499808ce9694e3a9bbe


∞ hard times make the strong, the strong make good times, good times make the weak, the weak make hard times ∞

Offline

#4 2014-12-17 01:53:31

Yashka
Member
From: Israel
Registered: 2013-03-26
Posts: 240

Re: [Solved] linux ext4 partitions show up as "Microsoft basic data" type

If you quote this, you will see how to use the code tag.
Can you post the output from the

$ lsblk -f

command.

Last edited by Yashka (2014-12-17 01:55:27)


You do not need to leave your room. Remain sitting at your table and listen.
Do not even listen, simply wait, be quiet, still and solitary.
The world will freely offer itself to you to be unmasked, it has no choice, it will roll in ecstasy at your feet.
                   Franz Kafka

Offline

#5 2014-12-17 02:23:47

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: [Solved] linux ext4 partitions show up as "Microsoft basic data" type

I've edited your post for you: click on the edit button to see the changes. There is also a BBCode link at the bottom of the post field that describes all the markup.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#6 2014-12-17 23:55:59

WFV
Member
From: ☭USSA⛧⭒⭒⭒⭒
Registered: 2013-04-23
Posts: 288

Re: [Solved] linux ext4 partitions show up as "Microsoft basic data" type

Yashka wrote:

If you quote this, you will see how to use the code tag.
Can you post the output from the

$ lsblk -f

command.

Zeroing a spare drive at the moment, will send the lsblk -f info when finished, thank you Yashka


∞ hard times make the strong, the strong make good times, good times make the weak, the weak make hard times ∞

Offline

#7 2014-12-17 23:57:35

WFV
Member
From: ☭USSA⛧⭒⭒⭒⭒
Registered: 2013-04-23
Posts: 288

Re: [Solved] linux ext4 partitions show up as "Microsoft basic data" type

jasonwryan wrote:

I've edited your post for you: click on the edit button to see the changes. There is also a BBCode link at the bottom of the post field that describes all the markup.

Thank you Jason, will check it out.


∞ hard times make the strong, the strong make good times, good times make the weak, the weak make hard times ∞

Offline

#8 2014-12-18 00:02:08

WFV
Member
From: ☭USSA⛧⭒⭒⭒⭒
Registered: 2013-04-23
Posts: 288

Re: [Solved] linux ext4 partitions show up as "Microsoft basic data" type

jasonwryan wrote:

I've edited your post for you: click on the edit button to see the changes. There is also a BBCode link at the bottom of the post field that describes all the markup.

testing

                        .A.           
                      :NNN:                
                    .dNNXNNl                    
                  .dOMMV VMWk.                 
                ,d0MMMV   VMMMk,               
              .d0MMMMV     VMMMMk.             
            .d0MMMMMWl      VMMMMMA.          
          .dWMMMMMMV "l      VMMMMMWo.        
         ;OWMMMMMMV           VMMMMMMN:       
       ,AMMMMMMMMV             VMMMMMMMO.      
      AMMMMMMMMMV      .o.      VMMMMMMMN;     
     AHMMMMMMMMV      AMMMA      VMMMMMMMMk.    
    :OMMMMMMMMV      oMMMMMo    . VMMMMMMMMo.   
    cMMMMMMMMV       VMMMMMV     'lMMMMMMMMM:   
    CMMMMMMMV    .;oVNMMMMMNAo,.   'VMMMMMMMD   
    'MMMMMMV .oONMMMMMMMMMMMMMMMNVc. VMMMMMN;   
     'KMMMWKNMMMMMMMMW)YMY(MMMMMMMMMMNMMMMOy    
      "*O0WMMMMMMMMW*' :M: '*WMMMMMMMMNOO*"    
          '""**""'    .AMA.    '""**""'   
                    .oMMMMWo.           
                  .oNMMMMMMMNo.
bill@arch-bill ~ % mediatomb

MediaTomb UPnP Server version 0.12.1 - http://mediatomb.cc/

===============================================================================
Copyright 2005-2010 Gena Batsyan, Sergey Bostandzhyan, Leonhard Wimmer.
MediaTomb is free software, covered by the GNU General Public License version 2

2014-12-16 19:03:52    INFO: Loading configuration from: /home/bill/.mediatomb/config.xml
2014-12-16 19:03:52    INFO: Checking configuration...
2014-12-16 19:03:52    INFO: Setting filesystem import charset to ANSI_X3.4-1968
2014-12-16 19:03:52    INFO: Setting metadata import charset to ANSI_X3.4-1968
2014-12-16 19:03:52    INFO: Setting playlist charset to ANSI_X3.4-1968
2014-12-16 19:03:52 WARNING: You enabled the YouTube feature, which allows you
                             to watch YouTube videos on your UPnP device!
                             Please check http://www.youtube.com/t/terms
                             By using this feature you may be violating YouTube
                             service terms and conditions!

2014-12-16 19:03:52    INFO: Configuration check succeeded.
2014-12-16 19:03:52    INFO: Initialized port: 49152
2014-12-16 19:03:52    INFO: Server bound to: 192.168.1.110
2014-12-16 19:03:53    INFO: MediaTomb Web UI can be reached by following this link:
2014-12-16 19:03:53    INFO: http://192.168.1.110:49152/

∞ hard times make the strong, the strong make good times, good times make the weak, the weak make hard times ∞

Offline

#9 2014-12-18 00:02:57

WFV
Member
From: ☭USSA⛧⭒⭒⭒⭒
Registered: 2013-04-23
Posts: 288

Re: [Solved] linux ext4 partitions show up as "Microsoft basic data" type

Thanks folks! will check the lsblk -f when spare drive finishes zeroing


∞ hard times make the strong, the strong make good times, good times make the weak, the weak make hard times ∞

Offline

#10 2014-12-18 02:13:28

WFV
Member
From: ☭USSA⛧⭒⭒⭒⭒
Registered: 2013-04-23
Posts: 288

Re: [Solved] linux ext4 partitions show up as "Microsoft basic data" type

WFV wrote:
Yashka wrote:

If you quote this, you will see how to use the code tag.
Can you post the output from the

$ lsblk -f

command.

Zeroing a spare drive at the moment, will send the lsblk -f info when finished, thank you Yashka

here's lsblk -f

root@arch-bill /home/bill # lsblk -f
NAME   FSTYPE LABEL    UUID                                 MOUNTPOINT
sda                                                         
|-sda1 ext4            91865df2-0841-42f5-80f3-a5133976e70f /
|-sda2 ext4            e5743a89-13ed-4c96-b39d-78cb6478fb72 /home
`-sda3                                                      
sdb                                                         
|-sdb1                                                      
|-sdb2 ext4   var      62921c0a-5d34-464d-8a7a-2ff46ad8f12b 
|-sdb3 ext4   rootbkp  c245c20e-d503-4b61-aaaf-060aae1b21d4 
|-sdb4 ext4   snapster 8fef4e0a-efd4-455b-b484-83bd4500161f 
`-sdb6 ext4   homebkp  51d73ac7-fd96-4ac1-b4f3-4abf6bc4936b 
sdc                                                         
|-sdc1 swap            decbfaa4-b821-48d3-8e61-818db810ca90 [SWAP]
`-sdc2 ext4   MUSIC    e132b405-5ff7-4d82-93f3-8943df598705 /home/bill/Music
sr0                                                         
root@arch-bill /home/bill # 

∞ hard times make the strong, the strong make good times, good times make the weak, the weak make hard times ∞

Offline

#11 2014-12-18 06:48:26

WFV
Member
From: ☭USSA⛧⭒⭒⭒⭒
Registered: 2013-04-23
Posts: 288

Re: [Solved] linux ext4 partitions show up as "Microsoft basic data" type

is it something amiss with gptfdisk 0.8.10-1 version then? lsblk -f gets it right other than lsblk doesn't recognize bios boot partition other than a partition exists


∞ hard times make the strong, the strong make good times, good times make the weak, the weak make hard times ∞

Offline

#12 2014-12-18 06:59:30

WFV
Member
From: ☭USSA⛧⭒⭒⭒⭒
Registered: 2013-04-23
Posts: 288

Re: [Solved] linux ext4 partitions show up as "Microsoft basic data" type

perhaps here lies the answer
http://www.rodsbooks.com/linux-fs-code/


∞ hard times make the strong, the strong make good times, good times make the weak, the weak make hard times ∞

Offline

#13 2014-12-18 07:13:04

WFV
Member
From: ☭USSA⛧⭒⭒⭒⭒
Registered: 2013-04-23
Posts: 288

Re: [Solved] linux ext4 partitions show up as "Microsoft basic data" type

I followed the instructions here and now fdisk -l reports them correctly (8300 Linux File System, not 0700 Microsoft basic data) - SOLVED

1 root@arch-bill /home/bill # gdisk /dev/sdb                                                                                                                                                                                              :(
GPT fdisk (gdisk) version 0.8.10

Partition table scan:
  MBR: protective
  BSD: not present
  APM: not present
  GPT: present

Found valid GPT with protective MBR; using GPT.

Command (? for help): t
Partition number (1-6): 2
Current type is 'Microsoft basic data'
Hex code or GUID (L to show codes, Enter = 8300): 
Changed type of partition to 'Linux filesystem'

Command (? for help): t
Partition number (1-6): 3
Current type is 'Microsoft basic data'
Hex code or GUID (L to show codes, Enter = 8300): 
Changed type of partition to 'Linux filesystem'

Command (? for help): t
Partition number (1-6): 4
Current type is 'Microsoft basic data'
Hex code or GUID (L to show codes, Enter = 8300): 
Changed type of partition to 'Linux filesystem'

Command (? for help): t
Partition number (1-6): 6
Current type is 'Microsoft basic data'
Hex code or GUID (L to show codes, Enter = 8300): 
Changed type of partition to 'Linux filesystem'

Command (? for help): p
Disk /dev/sdb: 3907029168 sectors, 1.8 TiB
Logical sector size: 512 bytes
Disk identifier (GUID): 0645408C-0374-4357-8663-D2A3512E07BD
Partition table holds up to 128 entries
First usable sector is 34, last usable sector is 3907029134
Partitions will be aligned on 2048-sector boundaries
Total free space is 4204653 sectors (2.0 GiB)

Number  Start (sector)    End (sector)  Size       Code  Name
   1            2048            6143   2.0 MiB     EF02  
   2            8192         8396799   4.0 GiB     8300  
   3         8398848        41953279   16.0 GiB    8300  
   4        41955328       167786495   60.0 GiB    8300  
   6       167788544      3902834687   1.7 TiB     8300  

Command (? for help): w

Final checks complete. About to write GPT data. THIS WILL OVERWRITE EXISTING
PARTITIONS!!

Do you want to proceed? (Y/N): Y
OK; writing new GUID partition table (GPT) to /dev/sdb.
The operation has completed successfully.
1 root@arch-bill /home/bill # fdisk -l                                                                                                                                                                                                    :(

Disk /dev/sdb: 1.8 TiB, 2000398934016 bytes, 3907029168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: gpt
Disk identifier: 0645408C-0374-4357-8663-D2A3512E07BD

Device           Start          End   Size Type
/dev/sdb1         2048         6143     2M BIOS boot partition
/dev/sdb2         8192      8396799     4G Linux filesystem
/dev/sdb3      8398848     41953279    16G Linux filesystem
/dev/sdb4     41955328    167786495    60G Linux filesystem
/dev/sdb6    167788544   3902834687   1.8T Linux filesystem


Disk /dev/sdc: 298.1 GiB, 320072933376 bytes, 625142448 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: 5607E1F7-1A96-4EF5-A353-29BE91873431

Device           Start          End   Size Type
/dev/sdc1         2048      6293503     3G Linux swap
/dev/sdc2      6295552    618600447   292G Microsoft basic data


Disk /dev/sda: 931.5 GiB, 1000204886016 bytes, 1953525168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: gpt
Disk identifier: C3E095E9-90D9-4BFA-A97F-5D74E64FC4A4

Device           Start          End   Size Type
/dev/sda1         8192     32776191  15.6G Microsoft basic data
/dev/sda2     32778240   1953509375 915.9G Microsoft basic data
/dev/sda3         2048         6143     2M BIOS boot partition

root@arch-bill /home/bill # 

∞ hard times make the strong, the strong make good times, good times make the weak, the weak make hard times ∞

Offline

#14 2014-12-18 07:14:08

WFV
Member
From: ☭USSA⛧⭒⭒⭒⭒
Registered: 2013-04-23
Posts: 288

Re: [Solved] linux ext4 partitions show up as "Microsoft basic data" type

[SOLVED] thanks for help with the code thing Jason!

Last edited by WFV (2015-12-30 17:39:14)


∞ hard times make the strong, the strong make good times, good times make the weak, the weak make hard times ∞

Offline

Board footer

Powered by FluxBB