Thread View: linux.debian.user
12 messages
12 total messages
Started by hans.ullrich
Wed, 07 Oct 2026 12:30
ISO image to USB-stick writeable?
Author: hans.ullrich
Date: Wed, 07 Oct 2026 12:30
Date: Wed, 07 Oct 2026 12:30
172 lines
14262 bytes
14262 bytes
--=_862f64a768cb352e07a97073fdc8437f Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi list, =0A=0Adoes someone know, why when writing an ISO-file with the= tool "dd" to an USB- =0Astick, this stick can not be mounted writable?= Tricks like "remount rw" or =0Asimilar do not work? =0A=0AOn the other= hand, when I am writing the same ISO-image to the stick by using =0AUne= tbootin, the files on the stick are writable. =0A=0AWhat did I miss? It= looks, Unetbootin (and I believe BalenaEtcher, too) are =0Aworking othe= r than dd. =0A=0AIs there an option, using dd and let the stick writable= iIn case, I want to =0Aedit some files, like syslinux.cfg, grub.cfg or= similar)? =0A=0AThanks for enlightening me. =0A=0ABest =0A=0AHans =0A= =0A---------------------------------------------------------------------= ----------------------------=0AFreeMail powered by mail.de - MEHR SICHER= HEIT, SERIOSIT=C3=84T UND KOMFORT --=_862f64a768cb352e07a97073fdc8437f Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable <div style=3D"font-family: arial, helvetica,sans-serif; font-size: 10pt;= color: #000000;">=0A<div dir=3D"ltr" style=3D"color: #31363b; font-fami= ly: 'Noto Sans'; font-size: 13px; font-style: normal; font-variant-ligat= ures: normal; font-variant-caps: normal; font-weight: 400; letter-spacin= g: normal; orphans: 2; text-align: start; text-indent: 0px; text-transfo= rm: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px;= white-space: normal; background-color: #fafafa; text-decoration-thickne= ss: initial; text-decoration-style: initial; text-decoration-color: init= ial;">Hi list,</div>=0A<br style=3D"color: #31363b; font-family: 'Noto S= ans'; font-size: 13px; font-style: normal; font-variant-ligatures: norma= l; font-variant-caps: normal; font-weight: 400; letter-spacing: normal;= orphans: 2; text-align: start; text-indent: 0px; text-transform: none;= widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; white-spa= ce: normal; background-color: #fafafa; text-decoration-thickness: initia= l; text-decoration-style: initial; text-decoration-color: initial;" />= =0A<div dir=3D"ltr" style=3D"color: #31363b; font-family: 'Noto Sans'; f= ont-size: 13px; font-style: normal; font-variant-ligatures: normal; font= -variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans= : 2; text-align: start; text-indent: 0px; text-transform: none; widows:= 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; white-space: norm= al; background-color: #fafafa; text-decoration-thickness: initial; text-= decoration-style: initial; text-decoration-color: initial;">does someone= know, why when writing an ISO-file with the tool "dd" to an USB-</div>= =0A<div dir=3D"ltr" style=3D"color: #31363b; font-family: 'Noto Sans'; f= ont-size: 13px; font-style: normal; font-variant-ligatures: normal; font= -variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans= : 2; text-align: start; text-indent: 0px; text-transform: none; widows:= 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; white-space: norm= al; background-color: #fafafa; text-decoration-thickness: initial; text-= decoration-style: initial; text-decoration-color: initial;">stick, this= stick can not be mounted writable? Tricks like "remount rw" or </d= iv>=0A<div dir=3D"ltr" style=3D"color: #31363b; font-family: 'Noto Sans'= ; font-size: 13px; font-style: normal; font-variant-ligatures: normal; f= ont-variant-caps: normal; font-weight: 400; letter-spacing: normal; orph= ans: 2; text-align: start; text-indent: 0px; text-transform: none; widow= s: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; white-space: no= rmal; background-color: #fafafa; text-decoration-thickness: initial; tex= t-decoration-style: initial; text-decoration-color: initial;">similar do= not work?</div>=0A<br style=3D"color: #31363b; font-family: 'Noto Sans'= ; font-size: 13px; font-style: normal; font-variant-ligatures: normal; f= ont-variant-caps: normal; font-weight: 400; letter-spacing: normal; orph= ans: 2; text-align: start; text-indent: 0px; text-transform: none; widow= s: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; white-space: no= rmal; background-color: #fafafa; text-decoration-thickness: initial; tex= t-decoration-style: initial; text-decoration-color: initial;" />=0A<div= dir=3D"ltr" style=3D"color: #31363b; font-family: 'Noto Sans'; font-siz= e: 13px; font-style: normal; font-variant-ligatures: normal; font-varian= t-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; te= xt-align: start; text-indent: 0px; text-transform: none; widows: 2; word= -spacing: 0px; -webkit-text-stroke-width: 0px; white-space: normal; back= ground-color: #fafafa; text-decoration-thickness: initial; text-decorati= on-style: initial; text-decoration-color: initial;">On the other hand, w= hen I am writing the same ISO-image to the stick by using </div>=0A= <div dir=3D"ltr" style=3D"color: #31363b; font-family: 'Noto Sans'; font= -size: 13px; font-style: normal; font-variant-ligatures: normal; font-va= riant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2= ; text-align: start; text-indent: 0px; text-transform: none; widows: 2;= word-spacing: 0px; -webkit-text-stroke-width: 0px; white-space: normal;= background-color: #fafafa; text-decoration-thickness: initial; text-dec= oration-style: initial; text-decoration-color: initial;">Unetbootin, the= files on the stick are writable.</div>=0A<br style=3D"color: #31363b; f= ont-family: 'Noto Sans'; font-size: 13px; font-style: normal; font-varia= nt-ligatures: normal; font-variant-caps: normal; font-weight: 400; lette= r-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text= -transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-widt= h: 0px; white-space: normal; background-color: #fafafa; text-decoration-= thickness: initial; text-decoration-style: initial; text-decoration-colo= r: initial;" />=0A<div dir=3D"ltr" style=3D"color: #31363b; font-family:= 'Noto Sans'; font-size: 13px; font-style: normal; font-variant-ligature= s: normal; font-variant-caps: normal; font-weight: 400; letter-spacing:= normal; orphans: 2; text-align: start; text-indent: 0px; text-transform= : none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; wh= ite-space: normal; background-color: #fafafa; text-decoration-thickness:= initial; text-decoration-style: initial; text-decoration-color: initial= ;">What did I miss? It looks, Unetbootin (and I believe BalenaEtcher, to= o) are </div>=0A<div dir=3D"ltr" style=3D"color: #31363b; font-fami= ly: 'Noto Sans'; font-size: 13px; font-style: normal; font-variant-ligat= ures: normal; font-variant-caps: normal; font-weight: 400; letter-spacin= g: normal; orphans: 2; text-align: start; text-indent: 0px; text-transfo= rm: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px;= white-space: normal; background-color: #fafafa; text-decoration-thickne= ss: initial; text-decoration-style: initial; text-decoration-color: init= ial;">working other than dd. </div>=0A<br style=3D"color: #31363b;= font-family: 'Noto Sans'; font-size: 13px; font-style: normal; font-var= iant-ligatures: normal; font-variant-caps: normal; font-weight: 400; let= ter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; te= xt-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-wi= dth: 0px; white-space: normal; background-color: #fafafa; text-decoratio= n-thickness: initial; text-decoration-style: initial; text-decoration-co= lor: initial;" />=0A<div dir=3D"ltr" style=3D"color: #31363b; font-famil= y: 'Noto Sans'; font-size: 13px; font-style: normal; font-variant-ligatu= res: normal; font-variant-caps: normal; font-weight: 400; letter-spacing= : normal; orphans: 2; text-align: start; text-indent: 0px; text-transfor= m: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; w= hite-space: normal; background-color: #fafafa; text-decoration-thickness= : initial; text-decoration-style: initial; text-decoration-color: initia= l;">Is there an option, using dd and let the stick writable iIn case, I= want to </div>=0A<div dir=3D"ltr" style=3D"color: #31363b; font-fa= mily: 'Noto Sans'; font-size: 13px; font-style: normal; font-variant-lig= atures: normal; font-variant-caps: normal; font-weight: 400; letter-spac= ing: normal; orphans: 2; text-align: start; text-indent: 0px; text-trans= form: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px= ; white-space: normal; background-color: #fafafa; text-decoration-thickn= ess: initial; text-decoration-style: initial; text-decoration-color: ini= tial;">edit some files, like syslinux.cfg, grub.cfg or similar)?</div>= =0A<br style=3D"color: #31363b; font-family: 'Noto Sans'; font-size: 13p= x; font-style: normal; font-variant-ligatures: normal; font-variant-caps= : normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-ali= gn: start; text-indent: 0px; text-transform: none; widows: 2; word-spaci= ng: 0px; -webkit-text-stroke-width: 0px; white-space: normal; background= -color: #fafafa; text-decoration-thickness: initial; text-decoration-sty= le: initial; text-decoration-color: initial;" />=0A<div dir=3D"ltr" styl= e=3D"color: #31363b; font-family: 'Noto Sans'; font-size: 13px; font-sty= le: normal; font-variant-ligatures: normal; font-variant-caps: normal; f= ont-weight: 400; letter-spacing: normal; orphans: 2; text-align: start;= text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -= webkit-text-stroke-width: 0px; white-space: normal; background-color: #f= afafa; text-decoration-thickness: initial; text-decoration-style: initia= l; text-decoration-color: initial;">Thanks for enlightening me.</div>=0A= <br style=3D"color: #31363b; font-family: 'Noto Sans'; font-size: 13px;= font-style: normal; font-variant-ligatures: normal; font-variant-caps:= normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-alig= n: start; text-indent: 0px; text-transform: none; widows: 2; word-spacin= g: 0px; -webkit-text-stroke-width: 0px; white-space: normal; background-= color: #fafafa; text-decoration-thickness: initial; text-decoration-styl= e: initial; text-decoration-color: initial;" />=0A<div dir=3D"ltr" style= =3D"color: #31363b; font-family: 'Noto Sans'; font-size: 13px; font-styl= e: normal; font-variant-ligatures: normal; font-variant-caps: normal; fo= nt-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; t= ext-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -we= bkit-text-stroke-width: 0px; white-space: normal; background-color: #faf= afa; text-decoration-thickness: initial; text-decoration-style: initial;= text-decoration-color: initial;">Best </div>=0A<br style=3D"color:= #31363b; font-family: 'Noto Sans'; font-size: 13px; font-style: normal;= font-variant-ligatures: normal; font-variant-caps: normal; font-weight:= 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent= : 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-= stroke-width: 0px; white-space: normal; background-color: #fafafa; text-= decoration-thickness: initial; text-decoration-style: initial; text-deco= ration-color: initial;" />=0A<div dir=3D"ltr" style=3D"color: #31363b; f= ont-family: 'Noto Sans'; font-size: 13px; font-style: normal; font-varia= nt-ligatures: normal; font-variant-caps: normal; font-weight: 400; lette= r-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text= -transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-widt= h: 0px; white-space: normal; background-color: #fafafa; text-decoration-= thickness: initial; text-decoration-style: initial; text-decoration-colo= r: initial;">Hans</div>=0A</div>=0A <br/><hr>FreeMail= powered by <a href=3D"https://mail.de" target=3D"_blank">mail.de</a> -= <strong>mehr Sicherheit, Seriosit=C3=A4t und Komfort</strong>=0A --=_862f64a768cb352e07a97073fdc8437f--
Re: ISO image to USB-stick writeable?
Author: Nicolas George
Date: Wed, 07 Oct 2026 12:30
Date: Wed, 07 Oct 2026 12:30
22 lines
2909 bytes
2909 bytes
hans.ullrich@mail.de (HE12026-10-07): > does someone know, why when writing an ISO-file with the tool "dd" to an USB- > stick, this stick can not be mounted writable? Tricks like "remount rw" or > similar do not work? Probably because the filesystem is ISO 9660, which is not designed to allow read-write operation, only write-at-once. > On the other hand, when I am writing the same ISO-image to the stick by using > Unetbootin, the files on the stick are writable. > > What did I miss? It looks, Unetbootin (and I believe BalenaEtcher, too) are > working other than dd. Well, you will examine the partition table and filesystems present on the stick in both cases and examine how it gets mounted, what filesystem it uses, and you can enlighten us. Regards, -- Nicolas George
Re: ISO image to USB-stick writeable?
Author: Robert Heller
Date: Wed, 07 Oct 2026 13:30
Date: Wed, 07 Oct 2026 13:30
58 lines
3985 bytes
3985 bytes
At Wed, 7 Oct 2026 09:21:01 -0400 (EDT) Robert Heller <heller@deepsoft.com> wrote:
>
> The ISO-9660 file system was originally intended for CD-ROMs (note "ROM": Read
> Only Media). It is was designed as a writable file system. I have no idea what
^- NOT (opps!)
> Unetbootin is doing, but it obviously NOT directly copying the ISO-9660 disk
> image to the flash drive.
>
> There is no reason to make the ISO boot image itself writable. If you want to
> create a self-contained bootable Linux system on a flash drive and use it as a
> rwad/write Linux system, that is something else.
>
> At Wed, 07 Oct 2026 14:15:15 +0200 hans.ullrich@mail.de wrote:
>
> >
> > Hi list,
> >
> > does someone know, why when writing an ISO-file with the tool "dd" to an USB-
> > stick, this stick can not be mounted writable? Tricks like "remount rw" or
> > similar do not work?
> >
> > On the other hand, when I am writing the same ISO-image to the stick by using
> > Unetbootin, the files on the stick are writable.
> >
> > What did I miss? It looks, Unetbootin (and I believe BalenaEtcher, too) are
> > working other than dd.
> >
> > Is there an option, using dd and let the stick writable iIn case, I want to
> > edit some files, like syslinux.cfg, grub.cfg or similar)?
> >
> > Thanks for enlightening me.
> >
> > Best
> >
> > Hans
> >
> > -------------------------------------------------------------------------------------------------
> > FreeMail powered by mail.de - MEHR SICHERHEIT, SERIOSITÃÂÃÂT UND KOMFORT
> >
> >
>
> --
> Robert Heller -- Cell: 413-658-7953 GV: 978-633-5364
> Deepwoods Software -- Custom Software Services
> http://www.deepsoft.com/ -- Linux Administration Services
> heller@deepsoft.com -- Webhosting Services
>
>
>
>
--
Robert Heller -- Cell: 413-658-7953 GV: 978-633-5364
Deepwoods Software -- Custom Software Services
http://www.deepsoft.com/ -- Linux Administration Services
heller@deepsoft.com -- Webhosting Services
Re: ISO image to USB-stick writeable?
Author: Robert Heller
Date: Wed, 07 Oct 2026 13:30
Date: Wed, 07 Oct 2026 13:30
44 lines
3514 bytes
3514 bytes
The ISO-9660 file system was originally intended for CD-ROMs (note "ROM": Read Only Media). It is was designed as a writable file system. I have no idea what Unetbootin is doing, but it obviously NOT directly copying the ISO-9660 disk image to the flash drive. There is no reason to make the ISO boot image itself writable. If you want to create a self-contained bootable Linux system on a flash drive and use it as a rwad/write Linux system, that is something else. At Wed, 07 Oct 2026 14:15:15 +0200 hans.ullrich@mail.de wrote: > > Hi list, > > does someone know, why when writing an ISO-file with the tool "dd" to an USB- > stick, this stick can not be mounted writable? Tricks like "remount rw" or > similar do not work? > > On the other hand, when I am writing the same ISO-image to the stick by using > Unetbootin, the files on the stick are writable. > > What did I miss? It looks, Unetbootin (and I believe BalenaEtcher, too) are > working other than dd. > > Is there an option, using dd and let the stick writable iIn case, I want to > edit some files, like syslinux.cfg, grub.cfg or similar)? > > Thanks for enlightening me. > > Best > > Hans > > ------------------------------------------------------------------------------------------------- > FreeMail powered by mail.de - MEHR SICHERHEIT, SERIOSITÃT UND KOMFORT > > -- Robert Heller -- Cell: 413-658-7953 GV: 978-633-5364 Deepwoods Software -- Custom Software Services http://www.deepsoft.com/ -- Linux Administration Services heller@deepsoft.com -- Webhosting Services
Re: ISO image to USB-stick writeable?
Author: CGS
Date: Wed, 07 Oct 2026 13:50
Date: Wed, 07 Oct 2026 13:50
12 lines
2435 bytes
2435 bytes
On 2026-10-07, Robert Heller <heller@deepsoft.com> wrote: > The ISO-9660 file system was originally intended for CD-ROMs (note "ROM": Read > Only Media). It is was designed as a writable file system. I have no idea what > Unetbootin is doing, but it obviously NOT directly copying the ISO-9660 disk > image to the flash drive. > > There is no reason to make the ISO boot image itself writable. If you want to > create a self-contained bootable Linux system on a flash drive and use it as a > rwad/write Linux system, that is something else. Aren't there bootable ISOs that have a writable part (certain "live" systems)? Maybe they're not ISO-9660.
Re: ISO image to USB-stick writeable?
Author: Robert Heller
Date: Wed, 07 Oct 2026 14:10
Date: Wed, 07 Oct 2026 14:10
28 lines
3319 bytes
3319 bytes
The "live" boot Linux ISOs mount a *RAMDISK* -- the "writable" disk is not the CD/DVD-ROM (or flash drive). At Wed, 7 Oct 2026 13:41:32 -0000 (UTC) CGS <etphonehomefrance@gmail.com> wrote: > > On 2026-10-07, Robert Heller <heller@deepsoft.com> wrote: > > The ISO-9660 file system was originally intended for CD-ROMs (note "ROM": Read > > Only Media). It is was designed as a writable file system. I have no idea what > > Unetbootin is doing, but it obviously NOT directly copying the ISO-9660 disk > > image to the flash drive. > > > > There is no reason to make the ISO boot image itself writable. If you want to > > create a self-contained bootable Linux system on a flash drive and use it as a > > rwad/write Linux system, that is something else. > > Aren't there bootable ISOs that have a writable part (certain "live" > systems)? Maybe they're not ISO-9660. > > > -- Robert Heller -- Cell: 413-658-7953 GV: 978-633-5364 Deepwoods Software -- Custom Software Services http://www.deepsoft.com/ -- Linux Administration Services heller@deepsoft.com -- Webhosting Services
Re: ISO image to USB-stick writeable?
Author: CGS
Date: Wed, 07 Oct 2026 14:40
Date: Wed, 07 Oct 2026 14:40
15 lines
2839 bytes
2839 bytes
On 2026-10-07, nwe <nwe@gitcoding.net> wrote: >One of my 32GB USB sticks here I dd copied an ISO-9660 to it then >formatted the remaining space as an additional partition with >FAT32. It is not very user friendly, most file browsers do not >even list that second partition for me until I mount it manually >at the terminal.</p> What's confusing to me is when you write the ISO to the thumb drive it uses the entire space, though the drive might have a larger capacity than the ISO itself. So where is the latter written: At the beginning, the end, in the middle, or all over the place? Could you have a partition at the "end" of the drive and use some tool to write the ISO at the "beginning" so that the end partition is preserved? I've never heard of that being done; it's always the inverse case, like your own. ISO first, then data partition (I think the term they used to use was "persistence").
Re: ISO image to USB-stick writeable?
Author: Chris Green
Date: Wed, 07 Oct 2026 15:20
Date: Wed, 07 Oct 2026 15:20
30 lines
3628 bytes
3628 bytes
CGS <etphonehomefrance@gmail.com> wrote: > On 2026-10-07, nwe <nwe@gitcoding.net> wrote: > >One of my 32GB USB sticks here I dd copied an ISO-9660 to it then > >formatted the remaining space as an additional partition with > >FAT32. It is not very user friendly, most file browsers do not > >even list that second partition for me until I mount it manually > >at the terminal.</p> > > What's confusing to me is when you write the ISO to the thumb drive it > uses the entire space, though the drive might have a larger capacity > than the ISO itself. So where is the latter written: At the beginning, the end, > in the middle, or all over the place? Could you have a partition at the > "end" of the drive and use some tool to write the ISO at the "beginning" > so that the end partition is preserved? I've never heard of that being > done; it's always the inverse case, like your own. ISO first, then data > partition (I think the term they used to use was "persistence"). If you use dd then it simply copies the source file (.iso on your case) byte by byte to the destination USB stick. So if your .iso is, say, 100Mb then 100Mb will be written to the USB stick starting at the first byte. (OK, in reality it writes a block at a time, but the result is as I describe) -- Chris Green ·
Re: ISO image to USB-stick writeable?
Author: Robert Heller
Date: Wed, 07 Oct 2026 17:40
Date: Wed, 07 Oct 2026 17:40
47 lines
4496 bytes
4496 bytes
At Wed, 7 Oct 2026 14:32:00 -0000 (UTC) CGS <etphonehomefrance@gmail.com> wrote: > > On 2026-10-07, nwe <nwe@gitcoding.net> wrote: > >One of my 32GB USB sticks here I dd copied an ISO-9660 to it then > >formatted the remaining space as an additional partition with > >FAT32. It is not very user friendly, most file browsers do not > >even list that second partition for me until I mount it manually > >at the terminal.</p> > > What's confusing to me is when you write the ISO to the thumb drive it > uses the entire space, though the drive might have a larger capacity > than the ISO itself. So where is the latter written: At the beginning, the end, > in the middle, or all over the place? Could you have a partition at the > "end" of the drive and use some tool to write the ISO at the "beginning" > so that the end partition is preserved? I've never heard of that being > done; it's always the inverse case, like your own. ISO first, then data > partition (I think the term they used to use was "persistence"). No, using the likes of dd, when you write the ISO image, it "clobers" the partition table. This causes the flash drive to have either no partition table (just the ISO file system) or the partition table set up when the image was created. Either way the full capacity of the flash drive is not "visible". If there is a replacement partition table, that partition table can be amended with fdisk or parted. Originally, the Linux boot (live / install) images were just a raw ISO-9660 file system image, normally ment to be "burned" onto an optical disk (write once CD-ROM or one of the various flavors of writable DVDs). PC BIOS's (before UEFI/Secure boot) would treat a USB drive with an ISO-9660 file system just like a CD-ROM and if it had a bootable signature, would boot it, just like a bootable CD-ROM. I think the newer images, which are meant to be imaged onto flash drives, have a partituon table and a FAT32 UEFI partition, plus the bootable ISO-9660 file system in a separate partition. > > > -- Robert Heller -- Cell: 413-658-7953 GV: 978-633-5364 Deepwoods Software -- Custom Software Services http://www.deepsoft.com/ -- Linux Administration Services heller@deepsoft.com -- Webhosting Services
Re: ISO image to USB-stick writeable?
Author: Stefan Monnier
Date: Wed, 07 Oct 2026 18:00
Date: Wed, 07 Oct 2026 18:00
22 lines
3141 bytes
3141 bytes
> I noted in an earlier post today, I did get it working on one of my usb > drives, but it seems sort of a hacky configuration. Part of the issue is that the ISO images have historically been created with a lot of care to make them bootable in a wide variety of contexts. Maybe nowadays things are simpler, but in the past, booting from a CDROM or a floppy worked a bit differently than booting from an HDD, and then things got worse with the introduction of GPT partitions and the UEFI boot protocol, so you had different ways to boot from an HDD with different tools handling the different options differently (e.g. some reading only the GPT, other reading only the MBR partition table, others reading both with different preferences), so it sometimes required a lot of care to make sure that your Linux kernel, your boot loader, and your BIOS all agreed about what is where. E.g. not sure if current ISOs have both a GPT and an MBR partition table, but if that's the case, you may have to change both consistently if you want to add a partition. === Stefan
Re: ISO image to USB-stick writeable?
Author: mick.crane
Date: Wed, 07 Oct 2026 18:50
Date: Wed, 07 Oct 2026 18:50
38 lines
5079 bytes
5079 bytes
On 2026-10-07 18:54, Stefan Monnier wrote: >> I noted in an earlier post today, I did get it working on one of my >> usb >> drives, but it seems sort of a hacky configuration. > > Part of the issue is that the ISO images have historically been created > with a lot of care to make them bootable in a wide variety of contexts. > > Maybe nowadays things are simpler, but in the past, booting from a > CDROM > or a floppy worked a bit differently than booting from an HDD, and then > things got worse with the introduction of GPT partitions and the UEFI > boot protocol, so you had different ways to boot from an HDD with > different tools handling the different options differently (e.g. some > reading only the GPT, other reading only the MBR partition table, > others reading both with different preferences), so it sometimes > required a lot of care to make sure that your Linux kernel, your boot > loader, and your BIOS all agreed about what is where. > > E.g. not sure if current ISOs have both a GPT and an MBR partition > table, but if that's the case, you may have to change both consistently > if you want to add a partition. > > > === Stefan AIUI the recording media is a "block device" (Data recorded in some fashion). The media that contains the prototype is duplicated as an image of all the blocks and released. So an image written block by block by eg. dd is an exact copy of the prototype. I guess once, eg. dd, has completed it's task it'll quit leaving the rest of the "copied to" device as was. The prototype and copy would include the first little vfat (for compatibility) partition with the MBR/EFI GPT data to tell the PC where to find a kernel. If it's a netinstall prototype you'd make it read only somehow so it had more chance of working. mick
Re: ISO image to USB-stick writeable
Author: David Wright
Date: Wed, 07 Oct 2026 20:40
Date: Wed, 07 Oct 2026 20:40
116 lines
8334 bytes
8334 bytes
On Wed 07 Oct 2026 at 13:54:16 (-0400), Stefan Monnier wrote: > > I noted in an earlier post today, I did get it working on one of my usb > > drives, but it seems sort of a hacky configuration. > > Part of the issue is that the ISO images have historically been created > with a lot of care to make them bootable in a wide variety of contexts. Agreed. And it's not clear to me whether this ability is a requirement of the OP, as they don't say what they want their USB to do, just that they want to tweak a couple of files involved in booting. > Maybe nowadays things are simpler, but in the past, booting from a CDROM > or a floppy worked a bit differently than booting from an HDD, and then > things got worse with the introduction of GPT partitions and the UEFI > boot protocol, so you had different ways to boot from an HDD with > different tools handling the different options differently (e.g. some > reading only the GPT, other reading only the MBR partition table, > others reading both with different preferences), so it sometimes > required a lot of care to make sure that your Linux kernel, your boot > loader, and your BIOS all agreed about what is where. > > E.g. not sure if current ISOs have both a GPT and an MBR partition > table, but if that's the case, you may have to change both consistently > if you want to add a partition. I wouldn't know how to do this. My understanding is that there are some Debian experts who know how to mangle the USB appropriately. Understandably, the normal tools refuse to perform such delinquent behaviour, as it's like to lead to loss of data in the general case. FYI here's what I observed on the Debian 12.9 netinst: # gdisk -l /dev/sdb GPT fdisk (gdisk) version 1.0.6 Partition table scan: MBR: MBR only BSD: not present APM: not present GPT: present Found valid MBR and GPT. Which do you want to use? 1 - MBR 2 - GPT 3 - Create blank GPT Your answer: 1 Disk /dev/sdb: 7825408 sectors, 3.7 GiB Model: USB DISK Sector size (logical/physical): 512/512 bytes Disk identifier (GUID): 0DC5ADF0-2D26-49C0-9280-6D207B4602A4 Partition table holds up to 128 entries Main partition table begins at sector 2 and ends at sector 33 First usable sector is 34, last usable sector is 7825374 Partitions will be aligned on 4-sector boundaries Total free space is 7806301 sectors (3.7 GiB) Number Start (sector) End (sector) Size Code Name 2 4524 # gdisk -l /dev/sdb GPT fdisk (gdisk) version 1.0.6 Partition table scan: MBR: MBR only BSD: not present APM: not present GPT: present Found valid MBR and GPT. Which do you want to use? 1 - MBR 2 - GPT 3 - Create blank GPT Your answer: 2 Using GPT and creating fresh protective MBR. Warning! Main partition table overlaps the first partition by 64 blocks! You will need to delete this partition or resize it in another utility. Disk /dev/sdb: 7825408 sectors, 3.7 GiB Model: USB DISK Sector size (logical/physical): 512/512 bytes Disk identifier (GUID): D5680A90-A675-40F1-9746-D1817EEF0B87 Partition table holds up to 208 entries Main partition table begins at sector 12 and ends at sector 63 First usable sector is 64, last usable sector is 1294282 Partitions will be aligned on 4-sector boundaries Total free space is 3 sectors (1.5 KiB) Number Start (sector) End (sector) Size Code Name 2 4524 23563 9.3 MiB 0700 ISOHybrid1 # fdisk -l -o Device,Boot,Start,End,Sectors,Size,Id,Attrs,Type /dev/sdb Disk /dev/sdb: 3.73 GiB, 4006608896 bytes, 7825408 sectors Disk model: USB DISK Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disklabel type: dos Disk identifier: 0x28ebc189 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) # 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. One could set the boundary between the two parts for different sizes. I have one where I've set the CD size to zero. Because of the extra complication, I avoid using it in consumer devices like the car. It's branded SanDisk U3 SMART cruzer 4GB. I don't know whether they're still available on, say, ebay. Cheers, David.
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads