Skip to content

[issue]: Unable to install Ventoy on a RAID-0 device. #2846

@tamdaz

Description

@tamdaz

Official FAQ

  • I have checked the official FAQ.

Ventoy Version

1.0.98

What about latest release

Yes. I have tried the latest release, but the bug still exist.

Try alternative boot mode

No. I didn't try these alternative boot modes.

BIOS Mode

UEFI Mode

Partition Style

MBR

Disk Capacity

256GB (128GB * 2)

Disk Manufacturer

Silicon Motion

Image file checksum (if applicable)

Yes.

Image file download link (if applicable)

https://sourceforge.net/projects/ventoy/files/v1.0.98/ventoy-1.0.98-linux.tar.gz/download

What happened?

When I try to install Ventoy on the /dev/md0 device which uses the MBR partition table, the script did not indicate the letter 'p' to designate the partition number for RAID-0 (for example: /dev/md0p1, /dev/md0p2).
This problem also occurs in the GPT partition table.

For information: the /dev/md0 device contains 2 USB flash drives, each with 128 GB capacity storage; this allows to improve read/write speed and test the Ventoy installation on these two USB sticks using RAID-0.

LANG=C sudo ./Ventoy2Disk.sh -i /dev/md0

**********************************************
      Ventoy: 1.0.98  x86_64
      longpanda [email protected]
      https://www.ventoy.net
**********************************************

Disk : /dev/md0
Model: Linux Software RAID Array (md)
Size : 239 GB
Style: MBR

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

Continue? (y/n) y

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

Create partitions on /dev/md0 by parted in MBR style ...
Done
Wait for partitions ...
Wait for /dev/md01//dev/md02 ...
Wait for /dev/md01//dev/md02 ...
Wait for /dev/md01//dev/md02 ...
Wait for /dev/md01//dev/md02 ...
Wait for /dev/md01//dev/md02 ...
Wait for /dev/md01//dev/md02 ...
Wait for /dev/md01//dev/md02 ...
Wait for /dev/md01//dev/md02 ...
Wait for /dev/md01//dev/md02 ...
Wait for /dev/md01//dev/md02 ...
sed: can't read /sys/class/block/md01/dev: No such file or directory
mknod -m 0660 /dev/md01 b  ...
mknod: missing operand after 'b'
Special files require major and minor device numbers.
Try 'mknod --help' for more information.
sed: can't read /sys/class/block/md02/dev: No such file or directory
mknod -m 0660 /dev/md02 b  ...
mknod: missing operand after 'b'
Special files require major and minor device numbers.
Try 'mknod --help' for more information.
[FAIL] /dev/md01//dev/md02 does not exist
LANG=C sudo ./Ventoy2Disk.sh -i /dev/md0 -g

**********************************************
      Ventoy: 1.0.98  x86_64
      longpanda [email protected]
      https://www.ventoy.net
**********************************************

Disk : /dev/md0
Model: Linux Software RAID Array (md)
Size : 239 GB
Style: GPT

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

Continue? (y/n) y

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

Create partitions on /dev/md0 by parted in GPT style ...
Done
Wait for partitions ...
Wait for /dev/md01//dev/md02 ...
Wait for /dev/md01//dev/md02 ...
Wait for /dev/md01//dev/md02 ...
Wait for /dev/md01//dev/md02 ...
Wait for /dev/md01//dev/md02 ...
Wait for /dev/md01//dev/md02 ...
Wait for /dev/md01//dev/md02 ...
Wait for /dev/md01//dev/md02 ...
Wait for /dev/md01//dev/md02 ...
Wait for /dev/md01//dev/md02 ...
sed: can't read /sys/class/block/md01/dev: No such file or directory
mknod -m 0660 /dev/md01 b  ...
mknod: missing operand after 'b'
Special files require major and minor device numbers.
Try 'mknod --help' for more information.
sed: can't read /sys/class/block/md02/dev: No such file or directory
mknod -m 0660 /dev/md02 b  ...
mknod: missing operand after 'b'
Special files require major and minor device numbers.
Try 'mknod --help' for more information.
[FAIL] /dev/md01//dev/md02 does not exist

Metadata

Metadata

Assignees

No one assigned

    Labels

    FixedThis issue has been fixed

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions