[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#50786: Missing info??

From: Michael D. Setzer II
Subject: bug#50786: Missing info??
Date: Fri, 24 Sep 2021 22:11:17 +1000

I've been working to create an iso image that includes 
both regular usb boot, and UEFI usb boot.
Process works fine. Create a 64M file, and create 
everything to the iso image.
When image is copied to a flash thou, it has an issue since 
the flash is much larger than the 64M.

Both gparted and parted -l will prompt to fix the error 
and do so nicely. 

With parted the -l option does the fix, but it runs on all 
devices in machine, not just the single flash??

Running parted -l shows info on all devices, and then 
prompts to repair.
Warning: Not all of the space available to /dev/sdb 
appears to be used, you can fix the GPT to use all of the 
space (an extra 15499264 blocks) or continue with the 
current setting? 
Fix/Ignore? Fix                                                           
Model: SanDisk Cruzer Blade (scsi)
Disk /dev/sdb: 8003MB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Disk Flags: 

Number  Start   End     Size    File system  Name  Flags
 1      1049kB  67.1MB  66.0MB  fat16        G4L   boot, esp

Have automated the fix with.
        echo -e "Fix" | sudo parted -l ---pretend-input-tty

Was looking at page on parted, and it doesn't list the -l 
option at all, and don't see the --pretend-input-tty either??

Would like to have the parted -l only run against the flash 
device rather than all devices, but doesn't seem to work 
by adding the device to line..

Not a big deal, but thought I would mention it.

The parted --help does list options.
  -h, --help                      displays this help message
  -l, --list                      lists partition layout on all block 
  -m, --machine                   displays machine parseable 
  -s, --script                    never prompts for user 
  -v, --version                   displays the version
  -a, --align=[none|cyl|min|opt]  alignment for new 


reply via email to

[Prev in Thread] Current Thread [Next in Thread]