LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook
User Name
Password
Linux - Laptop and Netbook Having a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).

Notices


Reply
  Search this Thread
Old 12-08-2018, 11:53 AM   #1
stf92
Senior Member
 
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 4,442

Rep: Reputation: 76
parted: Error: /dev/mmcblk0boot1: unrecognised disk label


Hi:
Code:
root@darkstar~# parted -l
Model: MMC S10032 (sd/mmc)
Disk /dev/mmcblk0: 30.6GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags: 

Number  Start   End     Size    Type     File system  Flags
 1      1049kB  16.0GB  16.0GB  primary  ext2
 2      16.0GB  30.6GB  14.6GB  primary  ext2


Error: /dev/mmcblk0boot0: unrecognised disk label
Warning: Error fsyncing/closing /dev/mmcblk0boot0: Input/output error
Retry/Ignore?
While the print command within parted gives no errors!
Code:
root@darkstar~# parted
GNU Parted 3.2
Using /dev/mmcblk0
Welcome to GNU Parted! Type 'help' to view a list of commands.
(parted) p                                                                
Model: MMC S10032 (sd/mmc)
Disk /dev/mmcblk0: 30.6GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags: 

Number  Start   End     Size    Type     File system  Flags
 1      1049kB  16.0GB  16.0GB  primary  ext2
 2      16.0GB  30.6GB  14.6GB  primary  ext2
It just doesn't care about /dev/mmcblk0boot0. Nor cfdisk does. As to fdisk this is its output:
Code:
root@darkstar~# fdisk -l
Disk /dev/mmcblk0: 28.5 GiB, 30601641984 bytes, 59768832 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: dos
Disk identifier: 0x48727b69

Device         Boot    Start      End  Sectors  Size Id Type
/dev/mmcblk0p1          2048 31250000 31247953 14.9G 83 Linux
/dev/mmcblk0p2      31250432 59768831 28518400 13.6G 83 Linux


Disk /dev/mmcblk0boot1: 4 MiB, 4194304 bytes, 8192 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


Disk /dev/mmcblk0boot0: 4 MiB, 4194304 bytes, 8192 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
root@darkstar~#
Again no errors at all. A way to explain this? When parted says 'disk label' I know I must understand disk partition and not the ID placed by e2label.

Last edited by stf92; 12-08-2018 at 12:03 PM.
 
Old 12-08-2018, 12:10 PM   #2
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,702

Rep: Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896
How did you create the disk label? Post your exact steps.
 
Old 12-08-2018, 12:11 PM   #3
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,296

Rep: Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322
Code:
bash-4.4$ lsblk
NAME        MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT
sda           8:0    0 223.6G  0 disk 
├─sda1        8:1    0     1G  0 part /boot
├─sda2        8:2    0     6G  0 part [SWAP]
├─sda3        8:3    0    25G  0 part /
├─sda4        8:4    0     1K  0 part 
├─sda5        8:5    0    30G  0 part /home
├─sda6        8:6    0    25G  0 part /media/hd0
└─sda7        8:7    0 136.6G  0 part /mnt/virtual
sr0          11:0    1  1024M  0 rom  
mmcblk0     179:0    0  31.3G  0 disk 
└─mmcblk0p1 179:1    0  31.3G  0 part 
It's usually mmcblk0p1, p2, etc. You're on your own with /dev/mmcblk0boot0, and I have yet to meet a system that boots them. You have to initialise usb, then load their driver and the average bios isn't up for that at all.
 
Old 12-08-2018, 01:06 PM   #4
stf92
Senior Member
 
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 4,442

Original Poster
Rep: Reputation: 76
Thanks business_kid.

@michaelk: for certain it was not fdisk. It was a long time ago and don't remember if it was parted or cfdisk. But very recently I used parted to erase mmcblk0p2, expand mmcblk0p1 to take the whole disk and then shrink mmcblk0p1 and create mmcblk0p2 restoring in this way the old status, the one shown here in this thread.
 
Old 12-08-2018, 01:45 PM   #5
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,702

Rep: Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896
I was thinking it was something else... From what I can tell mmcblk0boot0 and mmcblk0oot1 are hardware-defined partitions in the eMMC distinct from the mmcblk0pN partitions that are defined by the MBR partition table.
 
Old 12-08-2018, 02:57 PM   #6
stf92
Senior Member
 
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 4,442

Original Poster
Rep: Reputation: 76
All right. So I won't take notice of the parted -l error message. But why parted -l outputs an error and the error vanishes when inside parted (print command)?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Unrecognised disk label - gparted Belikewater Linux - Newbie 10 10-23-2016 12:40 PM
[SOLVED] /dev/sdb: unrecognised disk label and can't boot from usb konakona Linux - Software 1 07-25-2016 12:03 AM
"Error: unrecognised disk label" in LVM deranjer Linux - Server 1 10-10-2012 01:20 PM
Parted Magic vs. G-parted jk07 Linux - Software 6 09-23-2012 04:46 AM
Error: /dev/sda: unrecognised disk label. >>Want to rescue data, but cannot mount it. hector3rd Linux - Hardware 6 08-20-2010 01:26 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook

All times are GMT -5. The time now is 07:52 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration