Quantcast
Channel: linuxadmin: Expanding Linux SysAdmin knowledge
Viewing all articles
Browse latest Browse all 18115

Arch on tonido2 has inconsistent filesystem and partition tables.

$
0
0

Hello, I installed Arch Arm on a tonido2plug, and it works.

Unfortunatly, parted, fdisk and df all disagree about the disk partitioning:

[root@tonido]# parted

GNU Parted 3.1 Using /dev/sda ... (parted) print all Warning: /dev/sda contains GPT signatures, indicating that it has a GPT table. However, it does not have a valid fake msdos partition table, as it should. Perhaps it was corrupted -- possibly by a program that doesn't understand GPT partition tables. Or perhaps you deleted the GPT table, and are now using an msdos partition table. Is this a GPT partition table? Yes/No? Yes Model: ATA ST95005620AS (scsi) Disk /dev/sda: 500GB Sector size (logical/physical): 512B/512B Partition Table: gpt Disk Flags: Number Start End Size File system Name Flags 1 1049kB 450GB 450GB home 2 450GB 451GB 1000MB swap 3 451GB 460GB 9000MB ext3 var 4 460GB 470GB 10.0GB ext3 root boot 

...

And parted also complains about what I assume is the original flash partition:

Error: /dev/mtdblock3: unrecognised disk label Model: Unknown (unknown) Disk /dev/mtdblock3: 528MB Sector size (logical/physical): 512B/512B Partition Table: unknown Disk Flags: 

[root@tonidol]# fdisk -l

Disk /dev/mtdblock0: 1 MB, 1572864 bytes, 3072 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/mtdblock1: 0 MB, 131072 bytes, 256 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/mtdblock2: 6 MB, 6291456 bytes, 12288 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/mtdblock3: 528 MB, 528482304 bytes, 1032192 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 WARNING: GPT (GUID Partition Table) detected on '/dev/sda'! The util fdisk doesn't support GPT. Use GNU Parted. Disk /dev/sda: 500.1 GB, 500107862016 bytes, 976773168 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 identifier: 0xb07dd53e Device Boot Start End Blocks Id System /dev/sda1 63 160649999 80324968+ 83 Linux /dev/sda2 160650000 976768064 408059032+ 83 Linux 

[root@tonido $ df -ahT

Filesystem Type Size Used Avail Use% Mounted on rootfs rootfs 76G 41G 31G 58% / /dev/root ext3 76G 41G 31G 58% / devtmpfs devtmpfs 250M 0 250M 0% /dev proc proc 0 0 0 - /proc sys sysfs 0 0 0 - /sys run tmpfs 250M 232K 250M 1% /run devpts devpts 0 0 0 - /dev/pts shm tmpfs 250M 0 250M 0% /dev/shm tmpfs tmpfs 250M 0 250M 0% /tmp binfmt binfmt_misc 0 0 0 - /proc/sys/fs/binfmt_misc 

The system works, but I suspect its going to corrupt itself at some point.

How do I recover from here? Should I try booting from USB stick and starting from scratch with the Arch installer, or is there some clever way to recover without reinstalling?

submitted by ErroneousBee
[link][2 comments]

Viewing all articles
Browse latest Browse all 18115

Trending Articles