Skip to main content
The 2024 Developer Survey results are live! See the results
8 events
when toggle format what by license comment
Jun 14, 2015 at 23:12 comment added psusi @ID-ZERO, looks like SystemRescueCD is broken then or you're using a very outdated version. Use the Ubuntu livecd.
Jun 14, 2015 at 11:14 comment added ID-ZERO I was first using Ubuntu 14.04 Server 64-bit, but I used SystemRescueCD to make the changes, and seeing if the disk now works on Win 7 and xubuntu.
Jun 14, 2015 at 10:24 comment added mikeserv @ID-ZERO - what is your kernel version?
Jun 14, 2015 at 8:18 comment added ID-ZERO I have done as above, and now gdisk thinks it's a 746GiB drive with no partitions. Command (? for help): p Disk /dev/sdc: 1565565872 sectors, 746.5 GiB Logical sector size: 512 bytes Disk identifier (GUID): Partition table holds up to 128 entries First usable sector is 34, last usable sector is 1565565838 Partitions will be aligned on 2048-sector boundaries Total free space is 1565565805 sectors (746.5 GiB) Number Start (sector) End (sector) Size Code Name
Jun 14, 2015 at 7:30 comment added ID-ZERO So if I understand this correctly, I should do gdisk, then o - Create new empty GUID partition table?
Jun 14, 2015 at 5:21 comment added mikeserv @ID-ZERO - the latter. That partition table is a map: it exists at the head of the disk - it doesn't write anything over when you rewrite it, except the old partition table. Of course, without the right map, the OS doesn't know where to look for fs superblocks, and so doesn't know where the filesystems are on disk, and so can't mount one. But if you can recreate the map exactly, then the OS will find all of the data exactly where it still is.
Jun 14, 2015 at 4:35 comment added ID-ZERO Thanks, but by 'fix it' do you mean it makes a blank disk that is usable, or that the old data is still readable? Because this disk has a lot of data I want to be able to access.
Jun 14, 2015 at 2:59 history answered psusi CC BY-SA 3.0