Hi,

i wrote:
> > What does /sbin/fdisk -l say about the partition table on your stick ?

nwe wrote:
> Device     Boot  Start      End  Sectors  Size Id Type
> /dev/sdf1  *        64   524287   524224  256M  0 Empty
> /dev/sdf2          540     1819     1280  640K ef EFI (FAT-12/16/32)
> /dev/sdf3       524288 15728639 15204352  7.3G  c W95 FAT32 (LBA)

Looks normal, except the fact that partition 2 is inside partition 1.
This flaw is inherited from the ISO.

One could have repaired this before creating the big partition 3 by
creating a partition 3 from 524288 to 525568 (1280 sectors) of type EF
and copying the content of partition 2 into it. It might be necessary
to first change the type of partition 2 before a partition editor
allows you to create another EF partition.
When copying is done, the old partition 2 could be deleted.
A new partition 2 or 4 could then be created to fill the rest of the
device.


But what live image is this with only 256 MiB size ?
debian-live-13.1.0-amd64-standard.iso has 1865 MiB.
debian-live-13.7.0-amd64-xfce.iso has 3650 MiB.


> nwe@debian:~$ sudo blkid -p /dev/sdf1
> ... " VERSION="Joliet Extension" LABEL="RECOVERY_DISK" ....

The Volume Id of a Debian Live ISO is normally something like
"d-live 13.7.0 xf amd64".


Whatever, the partition table as is should be usable with Linux.
Which software in particular does not handle partition 3 as
expectable ?
Some desktop file manager ? An automounter ? systemd ? ...


-----------------------------------------------------------------------

David Wright wrote:
> FYI here's what I observed on the Debian 12.9 netinst:
> # gdisk -l /dev/sdb
> ...
> Found valid MBR and GPT. Which do you want to use?

That's a mis-statement of gdisk. The GPT is there but not valid,
because the MBR partition table has no partition of type 0xEE.

> Your answer: 1
> Number  Start (sector)    End (sector)  Size       Code  Name
>    2            4524   

... and it's duely confused by the surrounding partition 1 of type 0x00.


> # fdisk -l -o Device,Boot,Start,End,Sectors,Size,Id,Attrs,Type /dev/sdb
> Disklabel type: dos
> Device     Boot Start     End Sectors  Size Id Attrs Type
> /dev/sdb1  *        0 1294335 1294336  632M  0    80 Empty
> /dev/sdb2        4524   23563   19040  9.3M ef       EFI (FAT-12/16/32)

fdisk gets it right.


> As an aside, one used to be able to buy USB sticks that had a "CD" at
> the start of the drive, followed by a partition of choice.
> It's branded   SanDisk U3 SMART cruzer 4GB.

I have one with some Windows programs in the virtual CD. A gift from
around 2010. It appears to Linux as USB hub with CD-ROM and disk-like
storage device.
But how would i change the size or content of the virtual CD ?


Have a nice day :)

Thomas

Reply via email to