View Single Post
  #10  
Old March 24th 21, 01:43 PM posted to alt.comp.os.windows-10,comp.sys.ibm.pc.hardware.storage
Paul[_28_]
external usenet poster
 
Posts: 1,467
Default Why is it not letting me extend the partition?

Yousuf Khan wrote:
So one of my oldest SSD's just finally had a bad misfire. One of its
memory cells seems to have gone bad, and it happened to be my boot
drive, so I had to restore to a new SSD from backups. That took a fair
bit of time to restore, but the new drive is twice as large as the old
one, but it created a partition that is the same size as the original. I
expected that, but I also expected that I should be able to extend the
partition after the restore to fill the new drive's size. However going
into disk management it doesn't allow me to fill up that entire drive.
Any idea what's going on here?

Yousuf Khan


One thing you can try.

Boot from your Linux LiveDVD USB stick.

Attempt to mount the partitions on the disk. Then

cat /etc/mtab

Look at the mount points. Are any "ro" for
read-only, instead of "rw" for read-write ?
It's possible to mark a storage device as
read-only, but I've not been able to find
sufficient diagrams of the details. It may
be a flag located next to the VolumeID 32 bit
number in the MBR. The partition headers may
have a similar mechanism, but I got no hints at
all there.

https://linux.die.net/man/8/hdparm

https://www.geeksforgeeks.org/hdparm...with-examples/

sudo hdparm -I /dev/sda # Dump info

sudo hdparm -r0 /dev/sda # set ReadOnly flag to zero, make drive ReadWrite.
# reboot recommended, as Ripley would say.

Diskpart in Windows likely has a similar function,
but we're not sure it works. The threads I could find
were not conclusive. Otherwise I would have done a Windows one for you.

In any case, the *boot* drive, should not be the
same drive you experiment with. On Windows, maybe
C: is on /dev/sda, whereas /dev/sdb is the "broken"
drive needing modification. And a reboot maybe.
No OS need behave well when it comes to corner conditions.
F5 (refresh) doesn't work at all levels.

Paul