Re: how to create bootable usb stick from iso file

2023-05-21 Thread debian-user
hlyg  wrote:
> Thank riveravaldez for download link! i've downloaded it.
> 
> but Assets section seems inaccessible

You might want to check your browser version and javascript settings.
Those can easily block certain things.

> many sites are blocked here ...



Re: how to create bootable usb stick from iso file

2023-05-20 Thread hlyg

Thank riveravaldez for download link! i've downloaded it.

but Assets section seems inaccessible

many sites are blocked here ...




Re: how to create bootable usb stick from iso file

2023-05-20 Thread riveravaldez
On 5/19/23, hlyg  wrote:
>
> On 5/19/23 19:03, Joe wrote:
>>
>> I don't think so. I've just downloaded it here
>>
>> https://github.com/ventoy/Ventoy/releases/tag/v1.0.91
>>
>> without being asked for any information. The author *asks* for
>> contributions, like many do, but there's no compulsion.
>>
> Really? i visit link you list, no automatically popup download dialog,
> i can't find download link on this web page,

You have to go downwards in the page to the Assets section, there
you have the download links.
By the way, this would be it, I guess:

https://github.com/ventoy/Ventoy/releases/download/v1.0.91/ventoy-1.0.91-linux.tar.gz

> or it is blocked here??

Maybe, but I don't think so. This is the official general page:

https://github.com/ventoy/Ventoy/releases

It's just GitHub, so, it should work as with any other project.

Best regards!



Re: how to create bootable usb stick from iso file

2023-05-19 Thread hlyg



On 5/19/23 19:03, Joe wrote:


I don't think so. I've just downloaded it here

https://github.com/ventoy/Ventoy/releases/tag/v1.0.91

without being asked for any information. The author *asks* for
contributions, like many do, but there's no compulsion.

Really? i visit link you list, no automatically popup download dialog,  
i can't find download link on this web page,



or it is blocked here??



Re: how to create bootable usb stick from iso file

2023-05-19 Thread Joe
On Fri, 19 May 2023 10:22:36 +0800
hlyg  wrote:

> On 5/18/23 19:33, Bret Busby wrote:
> > You might want to read
> > https://www.theregister.com/2021/12/10/friday_foss_fest/
> >
> >  
> Thank Bret Busby! downloading ventoy requires subscription, it's very 
> bad it publish message digest without message
>

I don't think so. I've just downloaded it here

https://github.com/ventoy/Ventoy/releases/tag/v1.0.91

without being asked for any information. The author *asks* for
contributions, like many do, but there's no compulsion.

-- 
Joe



Re: how to create bootable usb stick from iso file

2023-05-18 Thread hlyg


On 5/18/23 19:33, Bret Busby wrote:

You might want to read
https://www.theregister.com/2021/12/10/friday_foss_fest/


Thank Bret Busby! downloading ventoy requires subscription, it's very 
bad it publish message digest without message


freebsd handbook instruct users to create bootable disk by dd with .img 
file


it seems that some files are in two formats: .iso and .img:

http://ftp.funet.fi/pub/unix/FreeBSD/releases/i386/i386/ISO-IMAGES/13.2/

it implies that some users can create bootable disk only with .img (not 
.iso) files


my energy is limited, i give up

PS: my real problem is with some win7 iso file (not freebsd file), i 
can't boot it


Re: how to create bootable usb stick from iso file

2023-05-18 Thread riveravaldez
On 5/18/23, to...@tuxteam.de  wrote:
> On Thu, May 18, 2023 at 07:33:05PM +0800, Bret Busby wrote:
>
> [...]
>
>> You might want to read
>> https://www.theregister.com/2021/12/10/friday_foss_fest/
>> (...)
>> Once the drive is configured with Ventoy, it is a simple matter of copying
>> a
>> downloaded bootable iso file to the drive, then, using the Ventoy drive
>> to
>> boot.
>
> This looks really nice.

I agree. And apparently it's already in AUR, nix and SliTaz repos:

https://repology.org/project/ventoy/versions

It would be nice to know if it's a viable candidate for Debian repos. :)

Kind regards!



Re: how to create bootable usb stick from iso file

2023-05-18 Thread Peter Hillier-Brook

On 18/05/2023 12:33, Bret Busby wrote:

On 18/5/23 11:44, hlyg wrote:
in debian, it is as easy as copying iso file to usb device (/dev/sdx), 
run sync to be safe


does this method work for other iso file?

http://ftp.funet.fi/pub/unix/FreeBSD/releases/ISO-IMAGES/13.1/FreeBSD-13.1-RELEASE-i386-bootonly.iso

i can't boot it created this way. what's wrong with it? Thanks!


You might want to read
https://www.theregister.com/2021/12/10/friday_foss_fest/

I have a 32GB USB "thumbdrive", on which, I have had up to 10 different 
operating systems  - various Linux distributions and versions, GhostBSD 
and MidnightBSD, and the MS Windows 10 iso .


Once the drive is configured with Ventoy, it is a simple matter of 
copying a downloaded bootable iso file to the drive, then, using the 
Ventoy drive to boot.


I wish it was less of a test of my patience! Every time I copy an iso to 
Ventoy the result is the  *contents * of the iso. It would be a very 
useful tool if it did what it says on the box :-)


Peter HB


Bret Busby
Armadale
West Australia
(UTC+0800)
..





Re: how to create bootable usb stick from iso file

2023-05-18 Thread tomas
On Thu, May 18, 2023 at 07:33:05PM +0800, Bret Busby wrote:

[...]

> You might want to read
> https://www.theregister.com/2021/12/10/friday_foss_fest/
> 
> I have a 32GB USB "thumbdrive", on which, I have had up to 10 different
> operating systems  - various Linux distributions and versions, GhostBSD and
> MidnightBSD, and the MS Windows 10 iso .
> 
> Once the drive is configured with Ventoy, it is a simple matter of copying a
> downloaded bootable iso file to the drive, then, using the Ventoy drive to
> boot.

This looks really nice.

Cheers
-- 
t


signature.asc
Description: PGP signature


Re: how to create bootable usb stick from iso file

2023-05-18 Thread Bret Busby

On 18/5/23 11:44, hlyg wrote:
in debian, it is as easy as copying iso file to usb device (/dev/sdx), 
run sync to be safe


does this method work for other iso file?

http://ftp.funet.fi/pub/unix/FreeBSD/releases/ISO-IMAGES/13.1/FreeBSD-13.1-RELEASE-i386-bootonly.iso

i can't boot it created this way. what's wrong with it? Thanks!


You might want to read
https://www.theregister.com/2021/12/10/friday_foss_fest/

I have a 32GB USB "thumbdrive", on which, I have had up to 10 different 
operating systems  - various Linux distributions and versions, GhostBSD 
and MidnightBSD, and the MS Windows 10 iso .


Once the drive is configured with Ventoy, it is a simple matter of 
copying a downloaded bootable iso file to the drive, then, using the 
Ventoy drive to boot.


..
Bret Busby
Armadale
West Australia
(UTC+0800)
..



Re: how to create bootable usb stick from iso file

2023-05-18 Thread Thomas Schmitt
Hi,

it was too early in the morning when i wrote:
> The MBR code is supposed to strat the boot procedure from USB stick on
> EFI.

It rather meant:

The MBR code is supposed to start the boot procedure from USB stick on
Legacy BIOS.


Have a nice day :)

Thomas



Re: how to create bootable usb stick from iso file

2023-05-17 Thread Thomas Schmitt
Hi,

hlyg wrote:
> in debian, it is as easy as copying iso file to usb device (/dev/sdx), run
> sync to be safe
> Does this method work for other iso file?

This depends on its content. The machine firmware looks for the existence
of boot entry points. In case of x86: El Torito Catalog for optical media.
Master Boot Record (MBR) and EFI System Partition (ESP) for USB stick.


> http://ftp.funet.fi/pub/unix/FreeBSD/releases/ISO-IMAGES/13.1/FreeBSD-13.1-R
ELEASE-i386-bootonly.iso
> i can't boot it created this way. what's wrong with it?

It only has El Torito but neither MBR nor ESP:

  $ xorriso -indev FreeBSD-13.1-RELEASE-i386-bootonly.iso -report_el_torito 
plain -report_system_area plain
  ...
  El Torito catalog  : 19  1
  El Torito images   :   N  Pltf  B   Emul  Ld_seg  Hdpt  Ldsiz LBA
  El Torito boot img :   1  BIOS  y   none  0x  0x00  4  20
  El Torito img blks :   1  4
  xorriso : NOTE : No System Area was loaded
  $

So it will boot only from optical medium and only by Legacy BIOS, not by
EFI. (You may enable CSM in EFI, to get legacy behavior.)


David Wright wrote:
> It doesn't say you can do that with the i386 architecture, only amd64:
> [...]
>Additionally, this can be written to a USB memory stick (flash
>drive) for the amd64 architecture and used to do an install on

Indeed:

  $ wget 
http://ftp.funet.fi/pub/unix/FreeBSD/releases/ISO-IMAGES/13.1/FreeBSD-13.1-RELEASE-amd64-bootonly.iso
  ...
  $ xorriso -indev FreeBSD-13.1-RELEASE-amd64-bootonly.iso -report_el_torito 
plain -report_system_area plain
  ...
  El Torito catalog  : 19  1
  El Torito images   :   N  Pltf  B   Emul  Ld_seg  Hdpt  Ldsiz LBA
  El Torito boot img :   1  BIOS  y   none  0x  0x00  41044
  El Torito boot img :   2  UEFI  y   none  0x  0x00   4096  20
  ...
  System area summary: MBR protective-msdos-label cyl-align-off GPT
  ...
  MBR partition table:   N Status  TypeStart   Blocks
  MBR partition  :   1   0x00  0xee1   749759
  ...
  GPT:   N  Info
  GPT backup problems:  Not a GPT 1.0 header of 92 bytes for 128 bytes per 
entry
  GPT disk GUID  :  82447345d3d1ec11b6df0cc47ad8b808
  GPT entry array:  2  4  separated
  GPT lba range  :  3  749757  749759
  GPT partition name :   1
  GPT partition GUID :   1  73447345d3d1ec11b6df0cc47ad8b808
  GPT type GUID  :   1  9d6bbd83417fdc11be0b001560b84f0f
  GPT partition flags:   1  0x
  GPT start and size :   1  3  26
  GPT partition name :   2
  GPT partition GUID :   2  78447345d3d1ec11b6df0cc47ad8b808
  GPT type GUID  :   2  28732ac11ff8d211ba4b00a0c93ec93b
  GPT partition flags:   2  0x
  GPT start and size :   2  80  4096

So here we have the full equipment for legacy BIOS and EFI.
The MBR code is supposed to strat the boot procedure from USB stick on
EFI. The MBR partition table indicates the presence of a GPT partition
table. GPT partition 2 bears the type GUID of an EFI System partition.

(Obviously there is no GPT backup table at the end of the ISO image.
That's not compliant to GPT specs, but should not hamper booting.)


Have a nice day :)

Thomas



Re: how to create bootable usb stick from iso file

2023-05-17 Thread David Wright
On Thu 18 May 2023 at 11:44:55 (+0800), hlyg wrote:
> in debian, it is as easy as copying iso file to usb device (/dev/sdx),
> run sync to be safe
> 
> does this method work for other iso file?
> 
> http://ftp.funet.fi/pub/unix/FreeBSD/releases/ISO-IMAGES/13.1/FreeBSD-13.1-RELEASE-i386-bootonly.iso
> 
> i can't boot it created this way. what's wrong with it? Thanks!

It doesn't say you can do that with the i386 architecture, only amd64:

 "bootonly

This supports booting a machine using the CDROM drive but does not
contain the installation distribution sets for installing FreeBSD
from the CD itself. You would need to perform a network based
install (e.g., from an HTTP or FTP server) after booting from the CD.

Additionally, this can be written to a USB memory stick (flash
drive) for the amd64 architecture and used to do an install on
   ↑
machines capable of booting off USB drives. It also supports
booting into a "livefs" based rescue mode. There are no pre-built
packages."

Cheers,
David.



how to create bootable usb stick from iso file

2023-05-17 Thread hlyg
in debian, it is as easy as copying iso file to usb device (/dev/sdx), 
run sync to be safe


does this method work for other iso file?

http://ftp.funet.fi/pub/unix/FreeBSD/releases/ISO-IMAGES/13.1/FreeBSD-13.1-RELEASE-i386-bootonly.iso

i can't boot it created this way. what's wrong with it? Thanks!