bug#21761: Not listing partitions and drive
"Egils Riekstiņš" <[email protected]>
| Newsgroups | gmane.comp.gnu.parted.bugs |
|---|---|
| Message-ID | <[email protected]> |
Hi, mad props for effort in making parted! Love the GPT support, but I ran in a problem where "parted -l" won't display par- titions of a mauled parttable||FAT (don't know yet). Problem is with contents of a CF memory card that I had partitioned to msdos previously in fdisk. I placed the start point of the first (and only) partition at 8192 sectors from the phisical beggining of memcard but the camera didn't like my idea, so it asked to reformat. So I did. After a photo shoot when trying to upload photos to winPC noticed that CF card is not recognized and is asked to be reformatted again (but I'd loose all data). So after re-boot in Linux I tried to "parted -l" as one of the steps of understanding what happened, but it went silent on this part. In the end it seems that camera had overwritten either part-table or FAT with image data because now partition started at 4096s not as previously. Note that sde5 in fdisk starts way out of the disk so I guess parted filters out unreasonable partitions and drives. Not a major error, I know, but just letting you guys know it can happen. Have a good day!
errors.err
(application/octet-stream, 429 B) - not displayed
output.log
(text/plain, 3.6 KB)
FDisk output: Can identify broken memdevice. Disk /dev/sda: 250.1 GB, 250058268160 bytes 255 heads, 63 sectors/track, 30401 cylinders, total 488395055 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: 0xbaecbaec Device Boot Start End Blocks Id System /dev/sda1 2048 8390655 4194304 7 HPFS/NTFS/exFAT /dev/sda2 * 8390656 488392703 240001024 7 HPFS/NTFS/exFAT Disk /dev/sdc: 1000.2 GB, 1000204886016 bytes 255 heads, 63 sectors/track, 121601 cylinders, total 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 Disk identifier: 0x00000000 Device Boot Start End Blocks Id System /dev/sdc1 1 1953525167 976762583+ ee GPT Partition 1 does not start on physical sector boundary. Disk /dev/sdb: 120.0 GB, 120034123776 bytes 255 heads, 63 sectors/track, 14593 cylinders, total 234441648 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: 0x00000000 Device Boot Start End Blocks Id System /dev/sdb1 1 234441647 117220823+ ee GPT Disk /dev/sde: 4000 MB, 4000317440 bytes 18 heads, 7 sectors/track, 62008 cylinders, total 7813120 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: 0x4b519505 Device Boot Start End Blocks Id System /dev/sde1 4096 7813119 3904512 5 Extended /dev/sde5 ? 2927594927 6954040749 2013222911+ ef EFI (FAT-12/16/32) Parted output: Tells nothing useful. Model: ATA SAMSUNG SP2504C (scsi) Disk /dev/sda: 250GB Sector size (logical/physical): 512B/512B Partition Table: msdos Number Start End Size Type File system Flags 1 1049kB 4296MB 4295MB primary ntfs 2 4296MB 250GB 246GB primary ntfs boot Model: ATA Hitachi HTS54251 (scsi) Disk /dev/sdb: 120GB Sector size (logical/physical): 512B/512B Partition Table: gpt Number Start End Size File system Name Flags 1 1049kB 250MB 249MB ext2 3 250MB 4250MB 4000MB linux-swap(v1) 4 4250MB 17,3GB 13,0GB ext4 5 17,3GB 24,0GB 6757MB ext4 2 24,0GB 120GB 96,0GB ntfs DataPart msftdata Model: ATA ST1000DM003-1SB1 (scsi) Disk /dev/sdc: 1000GB Sector size (logical/physical): 512B/4096B Partition Table: gpt Number Start End Size File system Name Flags 1 1049kB 200GB 200GB ext3 primary hidden 2 200GB 520GB 320GB ntfs primary msftdata 3 520GB 620GB 100GB ntfs primary msftdata 4 620GB 820GB 200GB ntfs primary msftdata 5 820GB 995GB 175GB ntfs primary msftdata 6 995GB 1000GB 5204MB ntfs primary msftdata Error: Can't have a partition outside the disk! parted (GNU parted) 2.3 Copyright (C) 2010 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>. This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by <http://git.debian.org/?p=parted/parted.git;a=blob_plain;f=AUTHORS>.