when use parted , why my usb stick do NOT have "legacy_boot" flag set?
when use gdisk,  showed "Attribute flags: 0000000000000000"

==================
sudo parted /dev/sdb
GNU Parted 2.3
Using /dev/sdb
Welcome to GNU Parted! Type 'help' to view a list of commands.
(parted) p
Model: TOSHIBA TransMemory (scsi)
Disk /dev/sdb: 7803MB
Sector size (logical/physical): 512B/512B
Partition Table: gpt

Number  Start   End     Size    File system  Name     Flags
 1      1049kB  68.1MB  67.1MB  ext4         primary  boot
 2      68.2MB  3998MB  3930MB  ext4         primary

=========================
sudo gdisk /dev/sdb
GPT fdisk (gdisk) version 0.8.1

Partition table scan:
  MBR: protective
  BSD: not present
  APM: not present
  GPT: present

Found valid GPT with protective MBR; using GPT.

Command (? for help): i
Partition number (1-2): 1
Partition GUID code: C12A7328-F81F-11D2-BA4B-00A0C93EC93B (EFI System)
Partition unique GUID: 51EA8BBB-CD05-4694-B9AE-0DAF251718D0
First sector: 2048 (at 1024.0 KiB)
Last sector: 133085 (at 65.0 MiB)
Partition size: 131038 sectors (64.0 MiB)
Attribute flags: 0000000000000000
Partition name: 'primary


On Tue, Nov 5, 2013 at 7:37 PM, Artem Bityutskiy <
[email protected]> wrote:

> Could you please try to set the 'boot' flag?
>
> I am used to parted, so here are parted instructions:
>
> $ sudo parted /dev/sdd
> GNU Parted 3.1
> Using /dev/sdd
> Welcome to GNU Parted! Type 'help' to view a list of commands.
> (parted) p
> Error: The backup GPT table is not at the end of the disk, as it should
> be.  This might mean that another operating system believes the disk is
> smaller.  Fix, by moving the backup to the end (and removing the old
> backup)?
> Fix/Ignore/Cancel? F
> Warning: Not all of the space available to /dev/sdd appears to be used,
> you can fix the GPT to use all of the space (an extra 74717 blocks) or
> continue with the current setting?
> Fix/Ignore? F
> Model: Kingston DT Secure (scsi)
> Disk /dev/sdd: 4036MB
> Sector size (logical/physical): 512B/512B
> Partition Table: gpt
> Disk Flags:
>
> Number  Start   End     Size    File system  Name     Flags
>  1      1049kB  68.1MB  67.1MB  ext4         primary  legacy_boot
>  2      68.2MB  3998MB  3930MB  ext4         primary
>
> (parted) set 1 boot on
> (parted) p
> Model: Kingston DT Secure (scsi)
> Disk /dev/sdd: 4036MB
> Sector size (logical/physical): 512B/512B
> Partition Table: gpt
> Disk Flags:
>
> Number  Start   End     Size    File system  Name     Flags
>  1      1049kB  68.1MB  67.1MB  ext4         primary  boot, legacy_boot
>  2      68.2MB  3998MB  3930MB  ext4         primary
>
> (parted) q
> Information: You may need to update /etc/fstab.
>
> --
> Best Regards,
> Artem Bityutskiy
>
>
_______________________________________________
IVI mailing list
[email protected]
https://lists.tizen.org/listinfo/ivi

Reply via email to