Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
problème installation en mode BIOS Ubuntu 20 (Unable To fond a medium. ..)
#11
(09-16-2020, 09:33 PM)geole Wrote: Good evening
"Ventoy version 1.0.21 released; still unable to launch my iso files on my machine in “legacy” BIOS, we still end up at the command prompt (initramfs).
On the other hand, the script udev_disk_hook.sh is present in this version and I was able to produce the file / ventoy / log"

============== VENTOY =================
536 blocks
6327 blocks
71 blocks
Use busybox32 toolkit ...
kenel version=Linux version 5.4.0-42-generic (buildd@lgw01-amd64-038) (gcc version 9.3.0 (Ubuntu 9.3.0-10ubuntu2)) #46-Ubuntu SMP Fri Jul 10 00:24:02 UTC 2020
kenel cmdline=file=/cdrom/preseed/ubuntu.seed initrd=/casper/initrd quiet splash --- debian-installer/language=fr keyboard-configuration/layoutcode=ca
handover to init_chain
remove whole sbin directory
=====ventoy_unpack_initramfs: #/initrd001 0 3037 /initrd001_tmp#
vtx=3037 cat
62 blocks
=====ventoy_unpack_initramfs: #/initrd001 436 3037 /initrd001_tmp#
vtx=3037 cat
5868 blocks
=====ventoy_unpack_initramfs: #/initrd001 212 0221 /initrd001_tmp#
vtx=0221 lz4cat
478478 blocks
Now hand over to ventoy.sh
#### install vtoytool #####
try /ventoy/tool/vtoytool/00/ ...
vtoytool_64 OK
use vtoy_fuse_iso_64
use unsquashfs_64
use unsquashfs_64
kernel version
Linux version 5.4.0-42-generic (buildd@lgw01-amd64-038) (gcc version 9.3.0 (Ubuntu 9.3.0-10ubuntu2)) #46-Ubuntu SMP Fri Jul 10 00:24:02 UTC 2020
OS=###debian###
##### distribution = default ######
Here before mountroot ...
####### /ventoy/hook/debian/disk_mount_hook.sh  ########
wait_for_usb_disk_ready /dev/sdb ...
wait_for_usb_disk_ready /dev/sdb finish
sdb2 found...

... not very meaningful to me!

Hi, when you drop into the shell, please run the cmd and send me the result:

/ventoy/tool/vtoydump -f /ventoy/ventoy_os_param -c sdb -v
Reply
#12
Hello
The response is
(initramfs) /ventoy/tool/vtoydump -f /ventoy/ventoy_os_param -c sdb -v
get os param from file /ventoy_os_param
Failed to open file /ventoy_os_param error 2
ventoy os param not found 2
(initramfs)
Reply
#13
(09-17-2020, 11:38 AM)geole Wrote: Hello
The response is
(initramfs) /ventoy/tool/vtoydump -f /ventoy/ventoy_os_param -c sdb -v
get os param from file /ventoy_os_param
Failed to open file /ventoy_os_param error 2
ventoy os param not found 2
(initramfs)

I don't knwon why it use  /ventoy_os_param  as the file name. Obviously you input /ventoy/ventoy_os_param



Code:
int rc;
    int ch;
    int print_path = 0;
    char filename[256] = {0};
    char diskname[256] = {0};
    char device[64] = {0};
    ventoy_os_param *param = NULL;
   
    while ((ch = getopt(argc, argv, "c:f:p:v::")) != -1)
    {
        if (ch == 'f')
        {
            strncpy(filename, optarg, sizeof(filename) - 1);
        }
        else if (ch == 'v')
        {
            verbose = 1;
        }
        else if (ch == 'c')
        {
            strncpy(device, optarg, sizeof(device) - 1);
        }
        else if (ch == 'p')
        {
            print_path = 1;
            strncpy(filename, optarg, sizeof(filename) - 1);
        }
        else
        {
            fprintf(stderr, "Usage: %s -f datafile [ -v ] \n", argv[0]);
            return 1;
        }
    }

    if (filename[0] == 0)
    {
        fprintf(stderr, "Usage: %s -f datafile [ -v ] \n", argv[0]);
        return 1;
    }

    param = malloc(sizeof(ventoy_os_param));
    if (NULL == param)
    {
        fprintf(stderr, "failed to alloc memory with size %d error %d\n",
                (int)sizeof(ventoy_os_param), errno);
        return 1;
    }
   
    memset(param, 0, sizeof(ventoy_os_param));

    debug("get os pararm from file %s\n", filename);
    rc = vtoy_os_param_from_file(filename, param);
    if (rc)
    {
        debug("ventoy os param not found %d\n", rc);
        goto end;
    }
Reply
#14
Hello

After having copied the file / ventoy / ventoy_os_param on another usb key to access it from a system installed on my machine, it was impossible for me to read the content.
I have this in the properties of the file:
type: modèle (binaire) STL 3D (model/x.stl-binary)
taille: 2.3 ko (2,324 octets)

no applications on my machine that can read this type of file.
Addition: Would it be an STL file (3D printing)?
Here is what it gives by forcing the opening with Gedit:

www.ventoy.netaXXXXXXXXXXXXXXXX\00þÀ\00\00\00\00\00\00/ubuntu-20.04.1-desktop-amd64.iso\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00
....
Reply
#15
Hi people,

Any updates on this topic? i experience the same here on an nforce 2 chipset motherboard for intel CPU. On another system even with nforce 2 chipset but for AMD cpu it does not happen - interestingly...

greetings
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)