GNU bug report logs -
#50786
Missing info??
Previous Next
Full log
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
Your message dated Fri, 24 Sep 2021 16:23:43 -0700
with message-id <YU5d/4JzcGWjEnkE <at> ohop.brianlane.com>
and subject line Re: bug#50786: Missing info??
has caused the debbugs.gnu.org bug report #50786,
regarding Missing info??
to be marked as done.
(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)
--
50786: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=50786
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
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.
OPTIONs:
-h, --help displays this help message
-l, --list lists partition layout on all block
devices
-m, --machine displays machine parseable
output
-s, --script never prompts for user
intervention
-v, --version displays the version
-a, --align=[none|cyl|min|opt] alignment for new
partitions
Thanks.
[Message part 3 (message/rfc822, inline)]
You don't mention what version and distribution you are using. Upstream
parted does have -l in the manpage so I'd file a bug with the
distribution.
parted now (or will, depending on whether your distribution includes
patches from master) has a --fix option for your exact problem. When
used along with --script it will automatically fix the size of the disk
and write the backup partition table.
Brian
--
Brian C. Lane (PST8PDT) - weldr.io - lorax - parted - pykickstart
This bug report was last modified 3 years and 241 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.