Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 Migration from MBR to GPT fails
#3
Hi,

so here we go...


#### #### #### ####
$ wget -q https://github.com/ventoy/Ventoy/release...sha256.txt}
$ grep linux sha256.txt
f6fb0574ec6c5b50acd3a8153ef42eb23bb6fb0a783e90706c7654ba0c1bddca  ventoy-1.0.91-linux.tar.gz
$ sha256sum ventoy-1.0.91-linux.tar.gz
f6fb0574ec6c5b50acd3a8153ef42eb23bb6fb0a783e90706c7654ba0c1bddca  ventoy-1.0.91-linux.tar.gz
$ tar xf ventoy-1.0.91-linux.tar.gz
$ cd ventoy-1.0.91/
$ su
Password:
# bash Ventoy2Disk.sh -i -r 13554 -g /dev/sdf

**********************************************
Ventoy: 1.0.91 x86_64
longpanda admin@ventoy.net
https://www.ventoy.net
**********************************************

grep: warning: stray \ before -
Disk : /dev/sdf
Model: Intenso Ultra Line (scsi)
Size : 29 GB
Style: GPT

You will reserve 13554 MB disk space

Attention:
You will install Ventoy to /dev/sdf.
All the data on the disk /dev/sdf will be lost!!!

Continue? (y/n) y

All the data on the disk /dev/sdf will be lost!!!
Double-check. Continue? (y/n) y

Create partitions on /dev/sdf by parted in GPT style ...
Done
Wait for partitions ...
partition exist OK
create efi fat fs /dev/sdf2 ...
mkfs.fat 4.2 (2021-01-31)
success
Wait for partitions ...
/dev/sdf1 exist OK
/dev/sdf2 exist OK
partition exist OK
Format partition 1 /dev/sdf1 ...
mkexfatfs 1.3.0
Creating... done.
Flushing... done.
File system created successfully.
mkexfatfs success
writing data to disk ...
sync data ...
esp partition processing ...

Install Ventoy to /dev/sdf successfully finished.

# lmount -w winos10; lmount -w Ventoy # lmount is a script to mount by label
# cp -Tai /mnt/winos10/share/ventoy_1.0.91-1_intenso_ultra_bak_2023-04-12-1-pre_migration_s3.archlinux_to_m1.archlinux/v1.ventoy/ /mnt/Ventoy/; echo $?
0
# /bin/ls -hAl /mnt/Ventoy/ # the path before ls to bypass an alias
total 9.9G
drwxr-xr-x 2 root root  32K Jan  6  2021 ventoy
-rwxr-xr-x 1 root root 1.6G Jul 31  2020 xubuntu-20.04.1-desktop-amd64.iso
-rwxr-xr-x 1 root root 8.3G Mar 14 11:19 xubuntu-20.04.1-desktop-pers1.dat
# cat /mnt/Ventoy/ventoy/ventoy.json
{
    "persistence": [
        {
            "image": "/xubuntu-20.04.1-desktop-amd64.iso",
            "backend": "/xubuntu-20.04.1-desktop-pers1.dat"
        }
    ]
}
#### #### #### ####


I restarted the Computer. Ventoy does the job. Next...


#### #### #### ####


$ sudo gparted

1. Format to ext4
2. Label File System "v1.ventoy"

$ su
Password:
# lmount -w winos10; lmount -w v1.ventoy # lmount is a script to mount by label
# cp -Tai /mnt/winos10/share/ventoy_1.0.91-1_intenso_ultra_bak_2023-04-12-1-pre_migration_s3.archlinux_to_m1.archlinux/v1.ventoy/ /mnt/Ventoy/; echo $?
0
# /bin/ls -hAl /mnt/Ventoy/ # the path before ls to bypass an alias
total 9.9G
drwxr-xr-x 2 root root 4.0K Jan  6  2021 ventoy
-rw-r--r-- 1 root root 1.6G Jul 31  2020 xubuntu-20.04.1-desktop-amd64.iso
-rw-r--r-- 1 root root 8.3G Mar 14 11:19 xubuntu-20.04.1-desktop-pers1.dat
# cat /mnt/Ventoy/ventoy/ventoy.json
{
    "persistence": [
        {
            "image": "/xubuntu-20.04.1-desktop-amd64.iso",
            "backend": "/xubuntu-20.04.1-desktop-pers1.dat"
        }
    ]
}
#### #### #### ####


Now it doesn't work anymore.

Before I tried to use GPT the same Ventoy USB stick used MBR with an ext4 partition and it worked on the same computer.

After migrating to GPT it works when formatted with exfat, but Ventoy returns "No ISO or supported IMG files found (Press enter to reboot ...)" when it's an ext4 partition.

It probably doesn't matter, if I use MBR instead of GPT or exfat instead of ext4. Ventoy does work, as long as I don't chose GPT and ext4 at the same time.

Regards,
Ralf
Reply


Messages In This Thread
Migration from MBR to GPT fails - by ralf - 04-12-2023, 05:06 PM
RE: Migration from MBR to GPT fails - by ralf - 04-14-2023, 02:53 PM
RE: Migration from MBR to GPT fails - by ralf - 04-14-2023, 07:54 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)