Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #270469 > unrolled thread

how2 format a flash drive

Started byLee <ler762@gmail.com>
First post2024-06-25 16:00 +0200
Last post2024-07-06 17:50 +0200
Articles 20 on this page of 48 — 18 participants

Back to article view | Back to linux.debian.user


Contents

  how2 format a flash drive Lee <ler762@gmail.com> - 2024-06-25 16:00 +0200
    Re: how2 format a flash drive "Thomas Schmitt" <scdbackup@gmx.net> - 2024-06-25 16:30 +0200
      Re: how2 format a flash drive David Wright <deblis@lionunicorn.co.uk> - 2024-06-25 16:50 +0200
        Re: how2 format a flash drive "Thomas Schmitt" <scdbackup@gmx.net> - 2024-06-25 18:30 +0200
          Re: how2 format a flash drive "Thomas Schmitt" <scdbackup@gmx.net> - 2024-06-25 18:50 +0200
        Re: how2 format a flash drive eben@gmx.us - 2024-06-25 19:20 +0200
          Re: how2 format a flash drive David Wright <deblis@lionunicorn.co.uk> - 2024-06-26 01:00 +0200
      Re: how2 format a flash drive Lee <ler762@gmail.com> - 2024-06-25 21:40 +0200
    Re: how2 format a flash drive Joe <joe@jretrading.com> - 2024-06-25 17:50 +0200
      Re: how2 format a flash drive Hans <hans.ullrich@loop.de> - 2024-06-25 18:50 +0200
        Re: how2 format a flash drive Lee <ler762@gmail.com> - 2024-06-26 01:30 +0200
      Re: how2 format a flash drive Lee <ler762@gmail.com> - 2024-06-25 21:50 +0200
        Re: how2 format a flash drive eben@gmx.us - 2024-06-25 22:20 +0200
        Re: how2 format a flash drive George at Clug <Clug@goproject.info> - 2024-06-26 01:30 +0200
          Re: how2 format a flash drive sd@swampdog.co.uk - 2024-06-27 15:30 +0200
          Re: how2 format a flash drive Lee <ler762@gmail.com> - 2024-06-29 18:50 +0200
            Re: how2 format a flash drive Dan Ritter <dsr@randomstring.org> - 2024-06-29 19:40 +0200
              Re: how2 format a flash drive Lee <ler762@gmail.com> - 2024-07-01 04:40 +0200
                Re: how2 format a flash drive jeremy ardley <jeremy.ardley@gmail.com> - 2024-07-01 07:50 +0200
                  Re: how2 format a flash drive Lee <ler762@gmail.com> - 2024-07-01 15:10 +0200
                    Re: how2 format a flash drive <tomas@tuxteam.de> - 2024-07-01 15:50 +0200
                    Re: how2 format a flash drive jeremy ardley <jeremy.ardley@gmail.com> - 2024-07-01 21:30 +0200
                      Re: how2 format a flash drive Stefan Monnier <monnier@iro.umontreal.ca> - 2024-07-02 05:50 +0200
                        Re: how2 format a flash drive gene heskett <gheskett@shentel.net> - 2024-07-02 06:10 +0200
                        Re: how2 format a flash drive <tomas@tuxteam.de> - 2024-07-02 06:40 +0200
                        Re: how2 format a flash drive George at Clug <Clug@goproject.info> - 2024-07-02 06:50 +0200
                          Re: how2 format a flash drive Jeffrey Walton <noloader@gmail.com> - 2024-07-02 10:20 +0200
                            Telemetry, data hoarding [was: how2 format a flash drive] <tomas@tuxteam.de> - 2024-07-02 10:30 +0200
                          Re: how2 format a flash drive jeremy ardley <jeremy.ardley@gmail.com> - 2024-07-02 11:20 +0200
                          Re: how2 format a flash drive John Hasler <john@sugarbit.com> - 2024-07-02 17:20 +0200
                      Re: how2 format a flash drive Lee <ler762@gmail.com> - 2024-07-02 10:30 +0200
                        Re: how2 format a flash drive jeremy ardley <jeremy.ardley@gmail.com> - 2024-07-02 11:30 +0200
                          Re: how2 format a flash drive Lee <ler762@gmail.com> - 2024-07-02 22:40 +0200
            Browser traffic interception/inspection (was: how2 format a flash drive) Jeffrey Walton <noloader@gmail.com> - 2024-06-29 22:50 +0200
              Re: Browser traffic interception/inspection Max Nikulin <manikulin@gmail.com> - 2024-06-30 03:40 +0200
                Re: Browser traffic interception/inspection Jeffrey Walton <noloader@gmail.com> - 2024-06-30 08:00 +0200
                  Re: Browser traffic interception/inspection Max Nikulin <manikulin@gmail.com> - 2024-06-30 17:40 +0200
                    Re: Browser traffic interception/inspection Lee <ler762@gmail.com> - 2024-07-01 09:00 +0200
                      Re: Browser traffic interception/inspection Max Nikulin <manikulin@gmail.com> - 2024-07-01 17:10 +0200
                        Re: Browser traffic interception/inspection Lee <ler762@gmail.com> - 2024-07-07 23:50 +0200
                          Re: Browser traffic interception/inspection Max Nikulin <manikulin@gmail.com> - 2024-07-08 04:40 +0200
                            Re: Browser traffic interception/inspection Lee <ler762@gmail.com> - 2024-07-08 16:30 +0200
              Re: Browser traffic interception/inspection (was: how2 format a flash drive) Lee <ler762@gmail.com> - 2024-07-01 03:40 +0200
                Re: Browser traffic interception/inspection (was: how2 format a flash drive) Jeffrey Walton <noloader@gmail.com> - 2024-07-01 03:50 +0200
                  Re: Browser traffic interception/inspection (was: how2 format a flash drive) Jeffrey Walton <noloader@gmail.com> - 2024-07-01 07:50 +0200
            Re: how2 format a flash drive Keith Bainbridge <keithrbau@gmail.com> - 2024-06-30 08:20 +0200
            Re: how2 format a flash drive Jeffrey Walton <noloader@gmail.com> - 2024-07-01 08:00 +0200
    Re: how2 format a flash drive Marc SCHAEFER <schaefer@alphanet.ch> - 2024-07-06 17:50 +0200

Page 1 of 3  [1] 2 3  Next page →


#270469 — how2 format a flash drive

FromLee <ler762@gmail.com>
Date2024-06-25 16:00 +0200
Subjecthow2 format a flash drive
Message-ID<ITeSe-5ura-3@gated-at.bofh.it>
My old laptop died; I just got a new one and it has _no_ optical
drive.  But the Debian install from flash instructions were excellent
& I now have a laptop running Debian.

My question is: how do I reformat the flash drive so it's usable as a
"normal" flash drive again?

Nothing I tried worked.. I ended up putting the thumb drive in a
Windows machine and formatting it there; it would be nice to know how
to restore the thumb drive to working order on Debian.

Thanks,
Lee

[toc] | [next] | [standalone]


#270470

From"Thomas Schmitt" <scdbackup@gmx.net>
Date2024-06-25 16:30 +0200
Message-ID<ITflf-5uVC-1@gated-at.bofh.it>
In reply to#270469
Hi,

Lee wrote:
> My question is: how do I reformat the flash drive so it's usable as a
> "normal" flash drive again?

You have to delete the partitions of the USB stick which came with
the ISO.
Then you create one or more partitions.
Then you format them to a writable filesystem each.

If it shall serve for file exchange with MS-Windows or Macs, then you
probably want just one partition with FAT as filesystem.

I would do the first and second step by program "fdisk" and the third
step by program "mkfs.fat".
If you prefer a GUI program, look for GParted or what your desktop
offers for the tasks of partitioning and filesystem formatting.

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

In hindsight it would of course have been advisable to make a copy
of the USB stick to an image file before putting the netinst ISO onto it.
Assuming that the USB stick is /dev/sdc and you home directory offers
enough space for the size of the USB stick this would have been something
like:

  dd if=/dev/sdc bs=1M of="$HOME"/usb_stick.img

Later you would put it back onto the USB stick the same way as you did
with the netinst ISO image.


Have a nice day :)

Thomas

[toc] | [prev] | [next] | [standalone]


#270471

FromDavid Wright <deblis@lionunicorn.co.uk>
Date2024-06-25 16:50 +0200
Message-ID<ITfEB-5v60-5@gated-at.bofh.it>
In reply to#270470
On Tue 25 Jun 2024 at 16:23:16 (+0200), Thomas Schmitt wrote:
> Lee wrote:
> > My question is: how do I reformat the flash drive so it's usable as a
> > "normal" flash drive again?
> 
> You have to delete the partitions of the USB stick which came with
> the ISO.
> Then you create one or more partitions.
> Then you format them to a writable filesystem each.
> 
> If it shall serve for file exchange with MS-Windows or Macs, then you
> probably want just one partition with FAT as filesystem.
> 
> I would do the first and second step by program "fdisk" and the third
> step by program "mkfs.fat".
> If you prefer a GUI program, look for GParted or what your desktop
> offers for the tasks of partitioning and filesystem formatting.

Of course, we're not told what "normal" means, what was tried,
nor how normality was tested. It's possible that they need to
use, say, mkdosfs to get back to the state in which USB sticks
are typically bought, so it can be plugged into other devices.

Cheers,
David.

[toc] | [prev] | [next] | [standalone]


#270474

From"Thomas Schmitt" <scdbackup@gmx.net>
Date2024-06-25 18:30 +0200
Message-ID<IThdn-5wpG-7@gated-at.bofh.it>
In reply to#270471
Hi,

David Wright wrote:
> Of course, we're not told what "normal" means,

I guess it's a single partition with FAT.
Around 2010 i got three USB sticks and kept their compressed original
content. For examination of their MBR partition tables it is enough to
cut off their heads:

  $ gunzip <usb_2gb_original.gz | dd bs=512 count=1 of=x.img
  ...
  $ /sbin/fdisk -l x.img
  ...
  Device     Boot Start     End Sectors  Size Id Type
  x.img1     *       32 3915775 3915744  1.9G  6 FAT16

The other two have

  Device     Boot Start     End Sectors  Size Id Type
  x.img1             38 7839719 7839682  3.8G  b W95 FAT32

  Device     Boot Start      End  Sectors  Size Id Type
  x.img1     *       63 15794175 15794113  7.5G  b W95 FAT32

The types do not necessarily tell the actual filesystem type.
But since that was the initial partitioning, i trust them and do not
uncompress the whole images in order to inspect them.


> what was tried, nor how normality was tested.

Yeah. More tangible info would help with helping.


> It's possible that they need to
> use, say, mkdosfs to get back to the state in which USB sticks
> are typically bought, so it can be plugged into other devices.

Since at least a decade, "man mkdosfs" describes "mkfs.fat".

But before creating a new filesystem, it is necessary to create a
suitable partition for hosting it.
An USB stick with the netinst ISO shows two partitions:

  $ /sbin/fdisk -l debian-12.2.0-amd64-netinst.iso

  Disk debian-12.2.0-amd64-netinst.iso: 628 MiB, 658505728 bytes, 1286144 sectors
  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: 0x52bf7ba9

  Device                           Boot Start     End Sectors  Size Id Type
  debian-12.2.0-amd64-netinst.iso1 *        0 1286143 1286144  628M  0 Empty
  debian-12.2.0-amd64-netinst.iso2       4476   23451   18976  9.3M ef EFI (FAT-12

Partition editors might react unfriendly on the "Empty" partition which
surrounds the EFI partition. The latter has a FAT filesystem which is
completely filled up:

  $ sudo mount offset=2291712 /mnt/fat
  $ df /mnt/fat
  Filesystem     1K-blocks  Used Available Use% Mounted on
  /dev/loop0          9450  9446         4 100% /mnt/fat

The files in this FAT are the initial boot stages for amd64 and i386:

  $ find /mnt/fat -type f
  /mnt/fat/efi/boot/bootx64.efi
  /mnt/fat/efi/boot/grubx64.efi
  /mnt/fat/efi/boot/bootia32.efi
  /mnt/fat/efi/boot/grubia32.efi
  /mnt/fat/efi/debian/grub.cfg

Their only purpose is to convince Secure Boot that the GRUB software is
acceptable and to find the ISO filesystem where the rest of GRUB's
equipment is stored.

So both partitions are of no use for the general purpose USB stick
and can be deleted.


Have a nice day :)

Thomas

[toc] | [prev] | [next] | [standalone]


#270476

From"Thomas Schmitt" <scdbackup@gmx.net>
Date2024-06-25 18:50 +0200
Message-ID<IThwJ-5wJo-5@gated-at.bofh.it>
In reply to#270474
Hi,

i wrote:
> $ sudo mount offset=2291712 /mnt/fat

For the archives, this would of course have to be

  $ sudo mount offset=2291712 debian-12.2.0-amd64-netinst.iso /mnt/fat

The number 2291712 was computed from the partition start block 4476
multiplied by the block size 512.


Have a nice day :)

Thomas

[toc] | [prev] | [next] | [standalone]


#270477

Fromeben@gmx.us
Date2024-06-25 19:20 +0200
Message-ID<IThZL-5xiJ-1@gated-at.bofh.it>
In reply to#270471
On 6/25/24 10:39, David Wright wrote:

> Of course, we're not told what "normal" means, what was tried,
> nor how normality was tested. It's possible that they need to
> use, say, mkdosfs to get back to the state in which USB sticks
> are typically bought, so it can be plugged into other devices.

I keep my thumb drives in extN, because interchangeability with other OSes
is not normally a concern.  So for me, that is normal and FAT is an aberration.

--
           Logic is a systematic method of coming to
             the wrong conclusion with confidence.

[toc] | [prev] | [next] | [standalone]


#270487

FromDavid Wright <deblis@lionunicorn.co.uk>
Date2024-06-26 01:00 +0200
Message-ID<ITniN-5AQM-1@gated-at.bofh.it>
In reply to#270477
Entire attribution and quote removed to avoid the mailing list
treating this post as spam.

I got the impression that Lee used windows in the past (and may
still), which is why I didn't suggest the same as Joe. (Lee did
write "on Debian").

And by devices, I was thinking more of TVs, printers, scanners,
set-top boxes, etc.

One of our six TVs can handle ext2/3; nothing else can.

Cheers,
David.

[toc] | [prev] | [next] | [standalone]


#270482

FromLee <ler762@gmail.com>
Date2024-06-25 21:40 +0200
Message-ID<ITkbf-5yWk-1@gated-at.bofh.it>
In reply to#270470
On Tue, Jun 25, 2024 at 1:28 PM Thomas Schmitt <scdbackup@gmx.net> wrote:
>
> Hi,

Hi,
I don't know what happened, but your msg _finaly_ showed up in my inbox.
Strange how it was delayed for so long..

> Lee wrote:
> > My question is: how do I reformat the flash drive so it's usable as a
> > "normal" flash drive again?
>
> You have to delete the partitions of the USB stick which came with
> the ISO.
> Then you create one or more partitions.
> Then you format them to a writable filesystem each.
>
> If it shall serve for file exchange with MS-Windows or Macs, then you
> probably want just one partition with FAT as filesystem.
>
> I would do the first and second step by program "fdisk" and the third
> step by program "mkfs.fat".

Yes.  That's the answer.
I was missing the fdisk bit and mkfs wasn't working for me.  Or at
least not working until I did the fdisk :)

> In hindsight it would of course have been advisable to make a copy
> of the USB stick to an image file before putting the netinst ISO onto it.
> Assuming that the USB stick is /dev/sdc and you home directory offers
> enough space for the size of the USB stick this would have been something
> like:
>
>   dd if=/dev/sdc bs=1M of="$HOME"/usb_stick.img
>
> Later you would put it back onto the USB stick the same way as you did
> with the netinst ISO image.

Thanks for that, but all I was using this thumb drive for was putting
movies on it & plugging it into a traver router so I could watch
movies on a TV with no ads.
In other words, there's nothing on the thumb drive that isn't expendable.

Thanks,
Lee

[toc] | [prev] | [next] | [standalone]


#270473

FromJoe <joe@jretrading.com>
Date2024-06-25 17:50 +0200
Message-ID<ITgAF-5vQg-3@gated-at.bofh.it>
In reply to#270469
On Tue, 25 Jun 2024 09:53:41 -0400
Lee <ler762@gmail.com> wrote:

> My old laptop died; I just got a new one and it has _no_ optical
> drive.  But the Debian install from flash instructions were excellent
> & I now have a laptop running Debian.
> 
> My question is: how do I reformat the flash drive so it's usable as a
> "normal" flash drive again?
> 
> Nothing I tried worked.. I ended up putting the thumb drive in a
> Windows machine and formatting it there; it would be nice to know how
> to restore the thumb drive to working order on Debian.
> 

Experience suggests that if it will be used on a Windows machine, e.g.
for file transfer, it's probably best to format it in Windows.
Otherwise Windows will give the occasional error message about it,
offer to fix it, and fail miserably. It will still work.

Obviously only for the Windows formats, FAT or NTFS. Microsoft pretends
not to know about things Not Invented Here.

It's possible to have MS and Linux partitions on the same drive. I have
one like that, FAT for interchange and ext4 for files that Linux
software insists must have certain permissions.

-- 
Joe

[toc] | [prev] | [next] | [standalone]


#270475

FromHans <hans.ullrich@loop.de>
Date2024-06-25 18:50 +0200
Message-ID<IThwJ-5wJo-1@gated-at.bofh.it>
In reply to#270473
You can easily refotrmat it, either using fdisk or if you want a GUI, use 
gparted.


With fdisk (also you can use cfdisk) I suggest first to delete all partitions, 
then create new one. Then choose your type (it is 0b for FAT32).

Write to disk and quit fdisk.

Then format the new partition, for vfat use: mkfs.vfat /dev/sdc1 (or whatever 
your partition is).

Everything must be done as root (of course) so be carefull.

Hope this helps.

Best

Hans

[toc] | [prev] | [next] | [standalone]


#270489

FromLee <ler762@gmail.com>
Date2024-06-26 01:30 +0200
Message-ID<ITnLP-5Bqc-9@gated-at.bofh.it>
In reply to#270475
On Tue, Jun 25, 2024 at 12:48 PM Hans wrote:
>
> You can easily refotrmat it, either using fdisk or if you want a GUI, use
> gparted.

I just learned about fdisk today -- thank you!

Lee

[toc] | [prev] | [next] | [standalone]


#270484

FromLee <ler762@gmail.com>
Date2024-06-25 21:50 +0200
Message-ID<ITkkV-5z1z-3@gated-at.bofh.it>
In reply to#270473
On Tue, Jun 25, 2024 at 11:47 AM Joe  wrote:
>
> On Tue, 25 Jun 2024 09:53:41 -0400
> Lee wrote:
>
> > My old laptop died; I just got a new one and it has _no_ optical
> > drive.  But the Debian install from flash instructions were excellent
> > & I now have a laptop running Debian.
> >
> > My question is: how do I reformat the flash drive so it's usable as a
> > "normal" flash drive again?
> >
> > Nothing I tried worked.. I ended up putting the thumb drive in a
> > Windows machine and formatting it there; it would be nice to know how
> > to restore the thumb drive to working order on Debian.
> >
>
> Experience suggests that if it will be used on a Windows machine, e.g.
> for file transfer, it's probably best to format it in Windows.

Yes, but I did the "burn the boats" thing with my new desktop & wiped
windows and installed debian.
My remaining Windows 10 machine goes end of life... at the end of the
year?  So I need to learn how to live without windows -- which I have
mostly.  I just haven't adjusted to Linux and the horrible UI :(  Or
how user _un_friendly linux can be.  Whoever came up with scroll bars
that play hide & seek should be tarred & feathered.

Lee

[toc] | [prev] | [next] | [standalone]


#270485

Fromeben@gmx.us
Date2024-06-25 22:20 +0200
Message-ID<ITkNX-5zr0-3@gated-at.bofh.it>
In reply to#270484
On 6/25/24 15:43, Lee wrote:
> Whoever came up with scroll bars
> that play hide & seek should be tarred & feathered.

Agree.  Most programs that do that crap can be convinced not to.  Same with
Thunderbird putting the menu bar below that next bit, whatever you call it.
Search the net for |<program> scrollbar|.

--
Q: Why do black holes never learn?
A: Because they're too dense.  -- ZurkisPhreek on Fark

[toc] | [prev] | [next] | [standalone]


#270488

FromGeorge at Clug <Clug@goproject.info>
Date2024-06-26 01:30 +0200
Message-ID<ITnLP-5Bqc-5@gated-at.bofh.it>
In reply to#270484

On Wednesday, 26-06-2024 at 05:43 Lee wrote:
> On Tue, Jun 25, 2024 at 11:47 AM Joe  wrote:
> >
> > On Tue, 25 Jun 2024 09:53:41 -0400
> > Lee wrote:
> >
> > > My old laptop died; I just got a new one and it has _no_ optical
> > > drive.  But the Debian install from flash instructions were excellent
> > > & I now have a laptop running Debian.
> > >
> > > My question is: how do I reformat the flash drive so it's usable as a
> > > "normal" flash drive again?

Did you try gparted, a user friendly graphical partition manager?  I do not know if it would do what you want, but I expect it will, it has always helped me out.

> > >
> > > Nothing I tried worked.. I ended up putting the thumb drive in a
> > > Windows machine and formatting it there; it would be nice to know how
> > > to restore the thumb drive to working order on Debian.
> > >
> >
> > Experience suggests that if it will be used on a Windows machine, e.g.
> > for file transfer, it's probably best to format it in Windows.
> 
> Yes, but I did the "burn the boats" thing with my new desktop & wiped
> windows and installed debian.

Good on you !  I support you in this move.

If you have any grips or difficulties, please mention them. After five years of using XFCE, I no longer have desires to go back to Windows. Steam has helped me play the few Windows based games that I play with my children. I have yet to master Wine, but then Linux has all the programs I need so I don't have much need for Wine.

> My remaining Windows 10 machine goes end of life... at the end of the
> year?  So I need to learn how to live without windows -- which I have

I would like you to keep a diary of your journey, of what challenges you face and how you moved past, this could help other people you know who want to make this journey.

> mostly.  I just haven't adjusted to Linux and the horrible UI :(  Or

I wonder what UI you are using?  

Would you be using Gnome? There are many people who really like the Gnome UI, but I do not, I prefer KDE, Cinnamon, and XFCE.

Maybe because I am a long time Windows user, I prefer text based menus over the smartphone style icon based menus, like Gnome, Windows 3.x, Windows 8.x, Windows 11.

I use XFCE on my main PC, and very much appreciate it. Simple, elegant, and to the point menu system, customisable task bars, customisable system tray, etc.

When my wife returned to Linux this year, I set up her PC with KDE Plasma 6. I find this UI very attractive, modern, and a great temptation to leave XFCE, but XFCE is just so nice and simple to use so I will stay with XFCE for now. I use Menulibre to add menu items.

I also like Cinnamon, I find it 'beautiful' to look at, and a very simple and uncluttered UI. Great for computer users who never change the look and feel of their UI.

I think KDE is better for someone who is familiar with computers and wants to make a few changes to their UI's behaviour. 

So far I have not mentioned Mate. If I recall correctly, Mate has three main menus, I only see the need for one, hence prefer KDE, Cinnamon, and XFCE.


> how user _un_friendly linux can be.  Whoever came up with scroll bars
> that play hide & seek should be tarred & feathered.

If I recall correctly, in KDE and in Firefox I was able to turn scroll bars on permanently, so much nicer than "scroll bars that play hide & seek". I am currently using KDE, and my Firefox and File manager have permanently visible scroll bars, 'as it should be'. 

Disclaimer: These are my personal preferences. Other peoples experiences and preferences may vary.


> 
> Lee
> 
> 

[toc] | [prev] | [next] | [standalone]


#270511

Fromsd@swampdog.co.uk
Date2024-06-27 15:30 +0200
Message-ID<ITXmh-5ZeB-1@gated-at.bofh.it>
In reply to#270488
On Wednesday, 26 June 2024 00:26:00 BST George at Clug wrote:
> On Wednesday, 26-06-2024 at 05:43 Lee wrote:
> > On Tue, Jun 25, 2024 at 11:47 AM Joe  wrote:
> > > On Tue, 25 Jun 2024 09:53:41 -0400
[snip] 
> If you have any grips or difficulties, please mention them. After five years
> of using XFCE, I no longer have desires to go back to Windows. Steam has
> helped me play the few Windows based games that I play with my children. I
> have yet to master Wine, but then Linux has all the programs I need so I
> don't have much need for Wine.

I've been mightily impressed by steam. The only reason my win10 is still 
around is because it has skyrim on it (and a load of mods). Skyrim works under 
steam but I can't be bothered figuring out how to get the mod manager and other 
tools to work.

Within steam you can elect to designate a particular proton (aka wine) version 
for a game. Google usually solves figuring that out.

Fwiw, the only thing about win10 which has impressed me is WSL2. Not enough to 
advocate keeping win10 but to avoid me coaching newbies through putty. Can't 
really recommend cygwin any more.


OP:
The best thing about linux is, when you gain a bit of knowledge, just how 
little the operating system matters wrt to your data. I've been depreciating a 
couple of centos boxes (raid 6 servers). They're now debian and the data disks 
are unchanged. Loosely, all I did was create a debian VM with passthrough to 
an ssd, copied the samba/nfs/iscsi configs over and stuck the ssd into an esata 
caddy on the back of the centos server. Downtime was reboot time plus time to 
go into the bios and change the boot drive to the esata.

Sod's law came into play (in reverse). I bought an rpi4 and a 5 bay usb 
enclosure. Spent many many days backing up (rsync) both boxes. If I'd not had 
a backup something horrible would have happened. ;-)

My old kmail client was running gentoo from, must be 15 years ago, KDE 3.5 
iirc. I exported all its emails then imported them into this kmail. I didn't 
expect it to work. Ditto backup so it did.

[toc] | [prev] | [next] | [standalone]


#270603

FromLee <ler762@gmail.com>
Date2024-06-29 18:50 +0200
Message-ID<IUJqV-6tMD-1@gated-at.bofh.it>
In reply to#270488
On Tue, Jun 25, 2024 at 7:26 PM George wrote:
>
> On Wednesday, 26-06-2024 at 05:43 Lee wrote:
> > On Tue, Jun 25, 2024 at 11:47 AM Joe  wrote:
> > >
> > > On Tue, 25 Jun 2024 09:53:41 -0400
> > > Lee wrote:
> > >
> > > > My old laptop died; I just got a new one and it has _no_ optical
> > > > drive.  But the Debian install from flash instructions were excellent
> > > > & I now have a laptop running Debian.
> > > >
> > > > My question is: how do I reformat the flash drive so it's usable as a
> > > > "normal" flash drive again?
>
> Did you try gparted, a user friendly graphical partition manager?

No.  It wasn't installed and fdisk was, so I went with fdisk.

> > Yes, but I did the "burn the boats" thing with my new desktop & wiped
> > windows and installed debian.
>
> Good on you !  I support you in this move.
>
> If you have any grips or difficulties, please mention them.

My gripes and difficulties are the same thing.  No universal image
viewer like Ifranview, an html editor would be nice -- something along
the lines of the seamonkey html editor but current software and
supported, something equivalent to notepad++, something equivalent to
winmerge (meld is nice, but isn't really a substitute), a cloneSpy
equivalent would be nice, I'm getting used to the linux privoxy log
viewer vs. the iconified thing that sits there on the windows taskbar,
Exact Audio Copy doesn't work on Linux, but supposedly does run under
wine so that's a possibility.. Debian firefox does NOT allow one to do
TLS intercept - ie. this does not work:
C:\UTIL>cat firefox-tlsdecode.bat
set SSLKEYLOGFILE=C:\Users\Lee\AppData\Local\Temp\FF-SSLkeys.txt
start C:\"Program Files\Firefox\Firefox.exe"

@rem wireshark:
@rem   edit / preferences
@rem   protocols / tls  (v2.6: protocols / ssl)
@rem     paste SSLKEYLOGFILE filename into (Pre)-Master-Secret log
filename (was SSL debug file entry)

But the major things that were keeping me from migrating to Debian are
fixable now in xfce:
The xfce4-terminal window can be configured so that left double click
selects a "word" and right click pastes it in
installing bits of the Chicago95 theme makes all the scrollbars
permanently visible, with up & down arrows at either end of the scroll
bar that scroll by one line
clicking in the scrollbar trough above or below the bar scrolls the
window up one window size instead of jumping to that point in the
scroll buffer

> > My remaining Windows 10 machine goes end of life... at the end of the
> > year?  So I need to learn how to live without windows -- which I have

> I would like you to keep a diary of your journey, of what challenges you face and how you moved past, this could help other people you know who want to make this journey.

I don't know how helpful a diary of my journey would be.  My workplace
had a policy of Windows for the desktop and RedHat for servers in data
centers, so I got used to cygwin on windows to ssh into linux servers
(that other people maintained).  Then Microsoft came out with the
Windows 10 spyware/operating-system-as-a-service and it was clearly
time to abandon ship.  Which wasn't possible at work, but at home I
don't have to put up with the M$ crapware so.. new machine, blow away
everything that came installed on it and install Debian on the PC at
home.

To make a long story short, I have years of experience with the
end-user side of linux & almost none with the maintenance side.. like
formatting thumb drives or anything requiring sudo access.

> I wonder what UI you are using?

Xfce

Lee

[toc] | [prev] | [next] | [standalone]


#270608

FromDan Ritter <dsr@randomstring.org>
Date2024-06-29 19:40 +0200
Message-ID<IUKdj-6uig-15@gated-at.bofh.it>
In reply to#270603
Lee wrote: 
> My gripes and difficulties are the same thing.  No universal image
> viewer like Ifranview,

`apt search image viewer` suggests:  eog, eom, ephoto, photoqt..
among dozens of others. But start with one of those.


> an html editor would be nice -- something along
> the lines of the seamonkey html editor but current software and
> supported

`apt search html editor` offers a bunch of suggestions, but
really most editors have support for specialized syntax checking
and previews and such. You might try bluefish.

> , something equivalent to notepad++

Assuming that you don't want the graphical forms of emacs or
vim, how about bluefish, or notepadqq ?

>, something equivalent to
> winmerge (meld is nice, but isn't really a substitute)

You will have to be specific about what makes meld "not a
substitute". Assume whoever you are talking to doesn't know what
winmerge is.

> , a cloneSpy equivalent would be nice

duff, perforate, rdfind, dupeguru...

> Exact Audio Copy doesn't work on Linux, but supposedly does run under
> wine so that's a possibility..

You want to pull stuff off of an optical disk? cdparanoia, or
one of the things that wraps it like ripit or ripperx.


> Debian firefox does NOT allow one to do
> TLS intercept - ie. this does not work:
> C:\UTIL>cat firefox-tlsdecode.bat
> set SSLKEYLOGFILE=C:\Users\Lee\AppData\Local\Temp\FF-SSLkeys.txt
> start C:\"Program Files\Firefox\Firefox.exe"
> 
> @rem wireshark:
> @rem   edit / preferences
> @rem   protocols / tls  (v2.6: protocols / ssl)
> @rem     paste SSLKEYLOGFILE filename into (Pre)-Master-Secret log
> filename (was SSL debug file entry)

I have no idea what you are trying to do there, but I'm sure a
DOS batch file won't run here, especially since it appears to
mostly be comments.

Describe what you want to do, not how you want it to happen.

-dsr-

[toc] | [prev] | [next] | [standalone]


#270684

FromLee <ler762@gmail.com>
Date2024-07-01 04:40 +0200
Message-ID<IVf7r-6P6A-1@gated-at.bofh.it>
In reply to#270608
Hi,

On Sat, Jun 29, 2024 at 1:12 PM Dan Ritter wrote:
>
> Lee wrote:
> > My gripes and difficulties are the same thing.  No universal image
> > viewer like Ifranview,
>
> `apt search image viewer` suggests:  eog, eom, ephoto, photoqt..
> among dozens of others. But start with one of those.

Thanks, I'll check them out.

> > an html editor would be nice -- something along
> > the lines of the seamonkey html editor but current software and
> > supported
>
> `apt search html editor` offers a bunch of suggestions, but
> really most editors have support for specialized syntax checking
> and previews and such. You might try bluefish.

Bluefish looks like a possible replacement for notepad++  but it
doesn't [seem to?] support WYSIWYG editing of html files.

I'll save recipes that look good and try them later.  But I don't want
all the fluff that goes with most recipes, so I trim them down
drastically;
delete all the <look at all these other recipes>, all the comments,
all the kitchenware thry're trying to sell me...  All I want is the
recipe

> > , something equivalent to notepad++
>
> Assuming that you don't want the graphical forms of emacs or

Right.  If I was going to climb the emacs learning curve I'd have done
it 20 years ago :)

> vim,

While I like vim and occasionally do use it for html editing, what
usually happens is running the file thru tidy and then edit with vim.
I'd rather have a WYSIWYG html editor that lets me delete tables, rows
or columns at a time.  Or, since everybody wants to move to CSS,
delete all the goop in a specific <div>

> >, something equivalent to
> > winmerge (meld is nice, but isn't really a substitute)
>
> You will have to be specific about what makes meld "not a
> substitute". Assume whoever you are talking to doesn't know what
> winmerge is.

Meld is beautiful.  Meld looks **good**  But I find it a distraction
and _much_ harder to figure out what the difference is between two
files or merge updates from <this> file to <that> file.
Maybe I've just gotten used to winmerge & <alt><downarrow> to get to
the next difference and <alt><left arrow> to copy the missing text
from the left window to the right window.  I can do most everything
from the keyboard.  Maybe because I haven't used it that much but I
was using the mouse a lot in meld.

> > , a cloneSpy equivalent would be nice
>
> duff, perforate, rdfind, dupeguru...

Thank you.  More things to check out :)

> > Exact Audio Copy doesn't work on Linux, but supposedly does run under
> > wine so that's a possibility..
>
> You want to pull stuff off of an optical disk? cdparanoia, or
> one of the things that wraps it like ripit or ripperx.

Yup.  I want to pull music off a CD and make MP3s of it.
2 cars ago I had a CD caddy in the trunk - I could play 6 CD worth of
music without having to change anything.
Now my car has a USB port; that + a 16GB thumb drive is more than 12
hrs worth of drive time enjoyment (as much as droning along at 55MPH
can be called enjoyment)

> > Debian firefox does NOT allow one to do
> > TLS intercept - ie. this does not work:
> > C:\UTIL>cat firefox-tlsdecode.bat
> > set SSLKEYLOGFILE=C:\Users\Lee\AppData\Local\Temp\FF-SSLkeys.txt
> > start C:\"Program Files\Firefox\Firefox.exe"
> >
> > @rem wireshark:
> > @rem   edit / preferences
> > @rem   protocols / tls  (v2.6: protocols / ssl)
> > @rem     paste SSLKEYLOGFILE filename into (Pre)-Master-Secret log
> > filename (was SSL debug file entry)
>
> I have no idea what you are trying to do there, but I'm sure a
> DOS batch file won't run here, especially since it appears to
> mostly be comments.
>
> Describe what you want to do, not how you want it to happen.

I want to be able to use wireshark to look at encrypted web traffic.  eg
https://everything.curl.dev/usingcurl/tls/sslkeylogfile.html

Regards,
Lee

[toc] | [prev] | [next] | [standalone]


#270687

Fromjeremy ardley <jeremy.ardley@gmail.com>
Date2024-07-01 07:50 +0200
Message-ID<IVi5j-6RpY-5@gated-at.bofh.it>
In reply to#270684
On 1/7/24 10:32, Lee wrote:
> Bluefish looks like a possible replacement for notepad++  but it
> doesn't [seem to?] support WYSIWYG editing of html files.


Visual Studio Code allows you to edit HTML and preview it using Live 
Server plugin

https://marketplace.visualstudio.com/items?itemName=ritwickdey.LiveServer

[toc] | [prev] | [next] | [standalone]


#270704

FromLee <ler762@gmail.com>
Date2024-07-01 15:10 +0200
Message-ID<IVoX7-6Wjf-9@gated-at.bofh.it>
In reply to#270687
On Mon, Jul 1, 2024 at 4:53 AM jeremy ardley <jeremy.ardley@gmail.com> wrote:
>
>
> On 1/7/24 10:32, Lee wrote:
> > Bluefish looks like a possible replacement for notepad++  but it
> > doesn't [seem to?] support WYSIWYG editing of html files.
>
>
> Visual Studio Code allows you to edit HTML and preview it using Live
> Server plugin
>
> https://marketplace.visualstudio.com/items?itemName=ritwickdey.LiveServer

Thanks, but no thanks.  That seems to include the Microsoft spyware
licensing:  https://code.visualstudio.com/license
  Data Collection. The software may collect information about you and
your use of the software, and send that to Microsoft.

Regards,
Lee

[toc] | [prev] | [next] | [standalone]


Page 1 of 3  [1] 2 3  Next page →

Back to top | Article view | linux.debian.user


csiph-web