[Bug 2039806] Re: Subiquity crashes on corrupt GPT partition table on target device
Heinrich Schuchardt
2039806 at bugs.launchpad.net
Thu Oct 19 12:03:25 UTC 2023
Subiquity version:
23.10.1 2023-10-12 (5279)
** Description changed:
I tried to install with
https://cdimage.ubuntu.com/releases/23.10/release/ubuntu-23.10-live-
server-riscv64.img.gz on a StarFive VisionFive 2 board where the GPT
partition table was corrupt.
This is the GPT output:
Found valid MBR and corrupt GPT. Which do you want to use? (Using the
GPT MAY permit recovery of GPT data.)
ValueError: Partition(device=disk-nvme0n1, size=1994506240,
wipe='superblock', number=1, preserve=True, offset=32768,
partition_type='0xcd', path='/dev/nvme0n1p1', id='part ition-
nvme0n1p1', type='partition') is not in list
-
Number Start (sector) End (sector) Size Code Name
- 1 2048 2097151 1023.0 MiB EF00 EFI
- 2 2097152 6291455 2.0 GiB 8300 BOOT
- 3 6291456 500117503 235.5 GiB 8300 ROOT
+ 1 2048 2097151 1023.0 MiB EF00 EFI
+ 2 2097152 6291455 2.0 GiB 8300 BOOT
+ 3 6291456 500117503 235.5 GiB 8300 ROOT
Subiquities was meant to use the whole device. So it could create a new
- GPT table. But instead it crashed. See appendes logs.
+ GPT table. But instead it crashed. See appended logs.
** Description changed:
I tried to install with
https://cdimage.ubuntu.com/releases/23.10/release/ubuntu-23.10-live-
server-riscv64.img.gz on a StarFive VisionFive 2 board where the GPT
partition table was corrupt.
This is the GPT output:
Found valid MBR and corrupt GPT. Which do you want to use? (Using the
GPT MAY permit recovery of GPT data.)
ValueError: Partition(device=disk-nvme0n1, size=1994506240,
wipe='superblock', number=1, preserve=True, offset=32768,
partition_type='0xcd', path='/dev/nvme0n1p1', id='part ition-
nvme0n1p1', type='partition') is not in list
Number Start (sector) End (sector) Size Code Name
1 2048 2097151 1023.0 MiB EF00 EFI
2 2097152 6291455 2.0 GiB 8300 BOOT
3 6291456 500117503 235.5 GiB 8300 ROOT
- Subiquities was meant to use the whole device. So it could create a new
+ Subiquity was meant to use the whole device. So it could create a new
GPT table. But instead it crashed. See appended logs.
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to subiquity in Ubuntu.
https://bugs.launchpad.net/bugs/2039806
Title:
Subiquity crashes on corrupt GPT partition table on target device
Status in subiquity package in Ubuntu:
New
Bug description:
I tried to install with
https://cdimage.ubuntu.com/releases/23.10/release/ubuntu-23.10-live-
server-riscv64.img.gz on a StarFive VisionFive 2 board where the GPT
partition table was corrupt.
This is the GPT output:
Found valid MBR and corrupt GPT. Which do you want to use? (Using the
GPT MAY permit recovery of GPT data.)
ValueError: Partition(device=disk-nvme0n1, size=1994506240,
wipe='superblock', number=1, preserve=True, offset=32768,
partition_type='0xcd', path='/dev/nvme0n1p1', id='part ition-
nvme0n1p1', type='partition') is not in list
Number Start (sector) End (sector) Size Code Name
1 2048 2097151 1023.0 MiB EF00 EFI
2 2097152 6291455 2.0 GiB 8300 BOOT
3 6291456 500117503 235.5 GiB 8300 ROOT
Subiquity was meant to use the whole device. So it could create a new
GPT table. But instead it crashed. See appended logs.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/subiquity/+bug/2039806/+subscriptions
More information about the foundations-bugs
mailing list