D&C GLug - Home Page

[ Date Index ] [ Thread Index ] [ <= Previous by date / thread ] [ Next by date / thread => ]

[LUG] noobs formatted RPi SD card partitioning madness

 

Arg someone just bought me a RPi that has stopped booting that they set 
up with noobs - upon sticking it in my Ubuntu laptop to rescue the data 
and fsck it (probably all it needs to work again) I find the remnants of 
some RISCOS(?) partitioning structure that makes it initially impossible 
to deal with - fdisk, partprobe and parted all see different results.

A quick google isn't that helpful either. What the hell is this nonsense 
and does anyone have a sane fix?

<console>

Disk /dev/sdh: 14.8 GiB, 15917383680 bytes, 31088640 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: 0x00025906

Device     Boot   Start      End  Sectors  Size Id Type
/dev/sdh1          8192  2792968  2784777  1.3G  e W95 FAT16 (LBA)
/dev/sdh2       2792969 31088639 28295671 13.5G  5 Extended
/dev/sdh5       2793472  2859005    65534   32M 83 Linux
/dev/sdh6       2859008  3006461   147454   72M  c W95 FAT32 (LBA)
/dev/sdh7       3006464 31088639 28082176 13.4G 83 Linux
ghost@failbot:~/SRC$ sudo fsck.ext4 /dev/sdh
sdh   sdh1

*roll eyes*

Anyone?
-- 
The Mailing List for the Devon & Cornwall LUG
https://mailman.dclug.org.uk/listinfo/list
FAQ: http://www.dcglug.org.uk/listfaq