Article View: linux.debian.user
Article #20Re: ISO image to USB-stick writeable?
From: David Wright
Date: Thu, 08 Oct 2026 05:10
Date: Thu, 08 Oct 2026 05:10
54 lines
5274 bytes
5274 bytes
On Wed 07 Oct 2026 at 22:56:42 (+0200), Thomas Schmitt wrote:
> 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 ?
With the u3-tool package.
# u3-tool -i /dev/sdb
Total device size: 3.83 GB (4110230016 bytes)
CD size: 0.00 B (0 bytes)
Data partition size: 3.83 GB (4110230016 bytes)
#
To resize:
-p <cd size>
Repartition device, reassinging the device space between the cd
and data partition. The argument specifies the size of the CD
partition. The rest of the device will be assigned to the data
partition. The data partition needs reformating after this
command has been issued.
Cheers,
David.
Technical Details
Message-ID:
<NLOyd-4d4z-1@gated-at.bofh.it>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!news.corradoroberto.it!diesel.cu.mi.it!bofh.it!news.nic.it!robomodReferences:
<NLFOh-48lu-17@gated-at.bofh.it> <NLH3H-494r-5@gated-at.bofh.it>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!news.corradoroberto.it!diesel.cu.mi.it!bofh.it!news.nic.it!robomod
From: David Wright <deblis@lionunicorn.co.uk>
Newsgroups: linux.debian.user
Subject: Re: ISO image to USB-stick writeable?
Date: Thu, 08 Oct 2026 07:10:01 +0200
Message-ID: <NLOyd-4d4z-1@gated-at.bofh.it>
References: <NLFOh-48lu-17@gated-at.bofh.it> <NLH3H-494r-5@gated-at.bofh.it>
X-Mailbox-Line: From debian-user-request@lists.debian.org Thu Oct 8 05:04:35 2026
Old-Return-Path: <nobody@lionunicorn.co.uk>
X-Amavis-Spam-Status: No, score=-1.9 tagged_above=-10000 required=5.3
tests=[BAYES_00=-1.9] autolearn=ham autolearn_force=no
X-Policyd-Weight: using cached result; rate: -2.33
X-Sender-ID: thundermail|x-authsender|david@lionunicorn.co.uk
X-Sender-ID: thundermail|x-authsender|david@lionunicorn.co.uk
X-Mc-Relay: Junk
X-Mailchannels-Senderid: thundermail|x-authsender|david@lionunicorn.co.uk
X-Mailchannels-Auth-ID: thundermail
X-Harbor-Dime: 5be953447859978e_1791435514386_2200643750
X-Mc-Loop-Signature: 1791435514386:1032447896
X-Mc-Ingress-Time: 1791435514386
Authentication-Results: cloud225.thundercloud.uk;
spf=pass (sender IP is 68.102.131.211) smtp.mailfrom=nobody@lionunicorn.co.uk smtp.helo=argo.corp
Received-Spf: pass (cloud225.thundercloud.uk: connection is authenticated)
Reply-To: debian-user@lists.debian.org
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
X-Ppp-Message-ID:
<179143551194.1684004.5408169375780360054@cloud225.thundercloud.uk>
X-Ppp-Vhost: lionunicorn.co.uk
X-Rspamd-Server: mailclean11
X-Rspamd-Queue-ID: 4j0d6w0ms9zGnsc
X-Spamd-Result: default: False [4.20 / 999.00];
REPLYTO_EQ_TO_ADDR(2.00)[];
SUBJECT_ENDS_QUESTION(1.00)[];
ENVFROM_SERVICE_ACCT(1.00)[];
FORGED_SENDER(0.30)[deblis@lionunicorn.co.uk,nobody@lionunicorn.co.uk];
ONCE_RECEIVED(0.20)[];
REPLYTO_MX_GOOD(-0.10)[bendel.debian.org];
MIME_GOOD(-0.10)[text/plain];
MX_GOOD(-0.10)[mail.lionunicorn.co.uk];
TO_MATCH_ENVRCPT_ALL(0.00)[];
FREEMAIL_ENVRCPT(0.00)[hotmail.co.uk];
DMARC_NA(0.00)[lionunicorn.co.uk];
RCPT_COUNT_ONE(0.00)[1];
ARC_NA(0.00)[];
MIME_TRACE(0.00)[0:+];
REPLYTO_DOM_NEQ_FROM_DOM(0.00)[];
RCVD_COUNT_ONE(0.00)[1];
MISSING_XM_UA(0.00)[];
R_SPF_SOFTFAIL(0.00)[~all];
FROM_NEQ_ENVFROM(0.00)[deblis@lionunicorn.co.uk,nobody@lionunicorn.co.uk];
FROM_HAS_DN(0.00)[];
RCVD_TLS_ALL(0.00)[];
TO_DN_NONE(0.00)[];
RCVD_VIA_SMTP_AUTH(0.00)[];
R_DKIM_NA(0.00)[];
ASN(0.00)[asn:34931, ipnet:149.255.56.0/22, country:GB];
HAS_REPLYTO(0.00)[debian-user@lists.debian.org]
X-Rspamd-Action: no action
X-Mailing-List: <debian-user@lists.debian.org> archive/latest/832271
List-ID: <debian-user.lists.debian.org>
List-URL: <https://lists.debian.org/debian-user/>
List-Archive: https://lists.debian.org/msgid-search/asci9L9-hXeenKWu@argo.corp
Approved: robomod@news.nic.it
Lines: 54
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Date: Wed, 7 Oct 2026 23:58:28 -0500
X-Original-Message-ID: <asci9L9-hXeenKWu@argo.corp>
X-Original-References: <9be2eabd-38e9-42af-9110-916eb6f85409@gitcoding.net>
<17806509843766293838@scdbackup.webframe.org>