You are not logged in.

#1 2012-12-03 22:40:45

amadar
Banned
Registered: 2011-04-15
Posts: 147

Resizing Windows 8 partitions with Linux.

Hi, I've resized the Window 8 main partition (the largest of the partitions) on my new laptop's GPT-formatted hard drive using Gparted (I connected the drive to my Arch box).

After resizing the partitions, Windows 8 is no longer bootable. Attempting to boot shows the message "Operating System Not Found".

All the partitions are visible in Gparted (or so it seems).

The data appears to be intact:

┌─[14:27:19/starlancer/amadar/~]
└─╼ sudo gdisk -l /dev/sdb
GPT fdisk (gdisk) version 0.8.5

Partition table scan:
  MBR: protective
  BSD: not present
  APM: not present
  GPT: present

Found valid GPT with protective MBR; using GPT.
Disk /dev/sdb: 1465149168 sectors, 698.6 GiB
Logical sector size: 512 bytes
Disk identifier (GUID): D9245330-EF43-4FF2-938D-AA320C555F34
Partition table holds up to 128 entries
First usable sector is 34, last usable sector is 1465149134
Partitions will be aligned on 2048-sector boundaries
Total free space is 1282979501 sectors (611.8 GiB)

Number  Start (sector)    End (sector)  Size       Code  Name
   1            2048          534527   260.0 MiB   FFFF  EFI system partition
   2          534528         3553279   1.4 GiB     2700  Basic data partition
   3         3553280         4085759   260.0 MiB   EF00  EFI system partition
   4         4085760         4347903   128.0 MiB   0C01  Microsoft reserved part
   5         4347904       106747903   48.8 GiB    0700  Basic data partition
   6       106747904       182171647   36.0 GiB    2700  Basic data partition

Any idea how to fix it or any idea how to resize the partitions the proper way without losing bootability in the first place?

(The goal here is to have a working Win 8 disk who's partitions been shrunken so that the disk can be cloned to smaller drives and still be bootable. I've a;ready solved how to clone to a smaller drive my previous thread (https://bbs.archlinux.org/viewtopic.php?id=154057), but that doesn't solve the problem of Windows becoming unbootable.)

Last edited by amadar (2012-12-03 22:46:26)

Offline

#2 2012-12-03 23:00:49

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 11,846
Website

Re: Resizing Windows 8 partitions with Linux.

I think you need to ask this on a Windows 8 forum.

Windows' resize partition utility would generally be the best tool to use here. Though that's never been particularly brilliant.


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#3 2012-12-03 23:02:39

amadar
Banned
Registered: 2011-04-15
Posts: 147

Re: Resizing Windows 8 partitions with Linux.

I could see what you mean about asking in a Windows forum, but I'm trying to do the whole thing from Arch, so it's a Linux thing too.

Too bad I didn't try Window's partition utility. I don't have a bootable Win 8 to try it in.

I'm almost tempted to just write my Arch setup onto the disk and scrap Windows so that my Arch can have a nice and large new home. big_smile

Last edited by amadar (2012-12-03 23:04:30)

Offline

#4 2012-12-03 23:05:13

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: Resizing Windows 8 partitions with Linux.

amadar wrote:

I could see what you mean about asking in a Windows forum, but I'm trying to do the whole thing from Arch, so it's a Linux thing too.

This is a Windows support thread, which--given we don't support other Linux distros--is not going to work here.

Closing.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

Board footer

Powered by FluxBB