Hello,
Is it possible to use my freshly created debian 11 installer usb flashdrive for put some more files on it later? I mean its in write protected filesystem and I'd like to use this device as storage too.
Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230
Usb storage with installer
- FreewheelinFrank
- Global Moderator
- Posts: 2109
- Joined: 2010-06-07 16:59
- Has thanked: 38 times
- Been thanked: 230 times
Re: Usb storage with installer
AFAIK no it isn't. You probably want to look at creating a live USB with persistence.
Unfortunately, the Debian on the subject is fairly terse and admits to not working on Bullseye.
https://wiki.debian.org/DebianLive/LiveUsbPersistence
Somebody on the forum seems to have got it working recently.
viewtopic.php?t=150793
As mentioned in that thread, Antix has good support for persistence, if want to try it out.
Unfortunately, the Debian on the subject is fairly terse and admits to not working on Bullseye.
https://wiki.debian.org/DebianLive/LiveUsbPersistence
Somebody on the forum seems to have got it working recently.
viewtopic.php?t=150793
As mentioned in that thread, Antix has good support for persistence, if want to try it out.
Re: Usb storage with installer
In principal, what you want to do is doable. Seephoenix_art wrote: ↑2022-09-29 10:57 Hello,
Is it possible to use my freshly created debian 11 installer usb flashdrive for put some more files on it later? I mean its in write protected filesystem and I'd like to use this device as storage too.
https://unix.stackexchange.com/question ... ing-debian
It was intriguing enough for me to give it a go.
Code: Select all
lsblk
Code: Select all
fdisk -w never /dev/sde
Code: Select all
mkfs.ext4 /dev/sde3
You have nothing to lose by trying it. Reporting back would help other users.
--
Brian.
Brian.
Re: Usb storage with installer
Actually, if you are only talking about storing data files, this is ridiculously easy. All you have to do is to copy all the files, including hidden files, of a Debian hybrid iso (not the iso itself but the content thereof) to a fat32-formatted usb, which could be the entire usb or the first partition. You can boot from this usb or use it simply as an ordinary storage device.
You probably will need some Linux knowledge to make this work. We don't use Windows but we a while ago were able to make a bootable Debian liveusb from Windows 10 as what it involves is simply a copying process.
You probably will need some Linux knowledge to make this work. We don't use Windows but we a while ago were able to make a bootable Debian liveusb from Windows 10 as what it involves is simply a copying process.
-
- Posts: 134
- Joined: 2013-12-08 17:47
- Has thanked: 1 time
Re: Usb storage with installer
Thanks for all the answers! I was short of time, but I will try to make time for these operations.
-
- Posts: 134
- Joined: 2013-12-08 17:47
- Has thanked: 1 time
Re: Usb storage with installer
~$ sudo fdisk -w never /dev/sdbbrian_p wrote: ↑2022-09-30 13:06In principal, what you want to do is doable. Seephoenix_art wrote: ↑2022-09-29 10:57 Hello,
Is it possible to use my freshly created debian 11 installer usb flashdrive for put some more files on it later? I mean its in write protected filesystem and I'd like to use this device as storage too.
https://unix.stackexchange.com/question ... ing-debian
It was intriguing enough for me to give it a go.gave me the USB device. Then I created a third partition withCode: Select all
lsblk
and formatted it withCode: Select all
fdisk -w never /dev/sde
The installer still booted and I took it as far as the partitioning stage. As far as I am concerned, the procedure was a success.Code: Select all
mkfs.ext4 /dev/sde3
You have nothing to lose by trying it. Reporting back would help other users.
Welcome to fdisk (util-linux 2.36.1).
Changes will remain in memory only, until you decide to write them.
Be careful before using the write command.
The device contains 'iso9660' signature and it may remain on the device. It is recommended to wipe the device with wipefs(8) or fdisk --wipe, in order to avoid possible collisions.
but after running any of two recommended commands it just sent me:
~$ sudo fdisk --wipe /dev/sdb
fdisk: unsupported wipe mode
and
~$ wipefs(8) /dev/sdb
bash: szintaktikai hiba „8” váratlan token közelében (translate: bash: syntax error near "8" unexpected token)
-
- Posts: 134
- Joined: 2013-12-08 17:47
- Has thanked: 1 time
Re: Usb storage with installer
As nothing helped finally Ventoy did the trick well: https://www.ventoy.net/en/index.html.