Question Linux on a USB or VM?

Page 9 - Seeking answers? Join the AnandTech community: where nearly half-a-million members share solutions and discuss the latest tech.

manly

Lifer
Jan 25, 2000
13,182
3,962
136
Yeah there were no mention originally, but within mint I used the GUI to label my drives and now the fstab contains lines with

LABEL=SN7100DATA /mnt/SN7100DATA auto nosuid,nodev,nofail,x-gvfs-show 0 0

But I can see the option for using UUID. But I also now realize that my OS partition is just "/" and the disk doesn't need to be shown like the other partitions.
OK so you're referring to the ext4 volume label.* Changing this on a data partition shouldn't have affected mounting the root FS. It's moot now, but perhaps you can share the relevant part of your fstab.

The / mount is certainly associated with the underlying device. In the old days, fstab would point to the raw device such as /dev/sda2. Nowadays, it's preferred to use the LABEL or UUID because those are considered more "stable." man 5 fstab for details.
(What that means in practice is that if you moved a disk drive from one physical port to another, its device would change and now your fstab is incorrect.)

Booting up is independent of fstab. Grub2 has its own logic for booting the kernel, and then finding the root FS (also using UUID nowadays).

* You can change this label with e2label .


I am also now really looking forward using gparted to reduced the size of OS partition, so I can try another distro... :p
GParted works quite well. I wouldn't personally use it to shrink NTFS, but it's supported. ;)


Also I made boot menus in DOS 5.0 using QEMM and Stacker, so I am not afraid of the prompt if I know what to do with it. GUI is just the icing on the cake. :p
Nice, back when we did our best to save tens of KB of conventional memory LOL.
 

biostud

Lifer
Feb 27, 2003
19,827
6,917
136
OK so you're referring to the ext4 volume label.* Changing this on a data partition shouldn't have affected mounting the root FS. It's moot now, but perhaps you can share the relevant part of your fstab.

The / mount is certainly associated with the underlying device. In the old days, fstab would point to the raw device such as /dev/sda2. Nowadays, it's preferred to use the LABEL or UUID because those are considered more "stable." man 5 fstab for details.
(What that means in practice is that if you moved a disk drive from one physical port to another, its device would change and now your fstab is incorrect.)

Booting up is independent of fstab. Grub2 has its own logic for booting the kernel, and then finding the root FS (also using UUID nowadays).

* You can change this label with e2label .



GParted works quite well. I wouldn't personally use it to shrink NTFS, but it's supported. ;)



Nice, back when we did our best to save tens of KB of conventional memory LOL.
It's an ext4 partition I want to shrink.

My setup is
Nvme0 NTFS Windows drive 1TB
Nvme1 2x1 TB ext4 partitions, one is data an one is OS (my Linux nvme)
Sata1 NTFS data drive 2TB

I want to shrink my Linux OS drive to 500GB so I can have two distros installed. Making my Linux nvme 500,500,1000GB partitions.
 

biostud

Lifer
Feb 27, 2003
19,827
6,917
136
Yeah I got 2mb of memory one x-mas so I could play sensible soccer, only to find out it was conventional memory it lacked. So I learned LOADHIGH :p, but Wolfenstein ran better with 4mb of ram :D
 
  • Haha
Reactions: igor_kavinski
Jul 27, 2020
26,829
18,473
146
but Wolfenstein ran better with 4mb of ram :D
Thankfully, my father understood the importance of RAM so I started with 4 MB. A so-called friend's dad got him an original IBM but with only 2 MB RAM and it cost twice as much. It was such a miserable experience, that PC. He couldn't run a lot of stuff due to RAM limitations. He wouldn't admit it but the low RAM didn't make him want to use the PC as much and he just kept spouting crap about how his dad loved him so much coz he got him an IBM.
 
  • Like
Reactions: Indus

biostud

Lifer
Feb 27, 2003
19,827
6,917
136
This morning when I booted into Mint, Bluetooth didn't work.

It seems like a weird coincidence, but why should installing another distro affect my Mint installation?
 

mikeymikec

Lifer
May 19, 2011
20,559
15,402
136
This morning when I booted into Mint, Bluetooth didn't work.

It seems like a weird coincidence, but why should installing another distro affect my Mint installation?
I tried dual-booting my old Dell XPS 13 9343 laptop, but I intermittently had problems with it whereby the sound wouldn't work properly between reboots. I went back to Windows, no more problems. I assume either OS was doing something at the hardware level that survived a reboot and whatever the OS was doing didn't play well with it.
 

mikeymikec

Lifer
May 19, 2011
20,559
15,402
136
Makes no sense. A reboot clears registers or other volatile RAM in hardware devices.

I'll be sure to tell my laptop that :)

How many times is the lie told in computer science that such-and-such has been wiped...

I remember a program on my Amiga that would show image data left in RAM after (IIRC) more than one reboot.
 
  • Like
Reactions: igor_kavinski

manly

Lifer
Jan 25, 2000
13,182
3,962
136
Thankfully, my father understood the importance of RAM so I started with 4 MB. A so-called friend's dad got him an original IBM but with only 2 MB RAM and it cost twice as much. It was such a miserable experience, that PC. He couldn't run a lot of stuff due to RAM limitations. He wouldn't admit it but the low RAM didn't make him want to use the PC as much and he just kept spouting crap about how his dad loved him so much coz he got him an IBM.
The IBM PC 5150 supported up to 640KB RAM (cue up Bill Gates infamous quote)!
The Intel 8086/8088 could address up to 1MB RAM.

The friend probably had a PC AT, although 2MB was pretty extravagant back in the 1980s. At that time, RAM limitations were probably more due to how simple DOS was? It wasn't until later on (386 era when you joined) when memory managers, DOS extenders and Windows multitasking came into play.


So I'm up and running Ultramarine 42.

How do I get something similar as Timeshift when I break something? :p
I'm not familiar with it, but Timeshift is available on Fedora.

I just use rsync to occasionally backup some of my user data to a NAS. I really, really should automate this.


That actually makes sense.
Does it? How does data survive in main memory after a reboot?
 

mikeymikec

Lifer
May 19, 2011
20,559
15,402
136
I haven't had any reliability trouble with Bluetooth between my Linux and Windows dual-boot setup, though the file transfer speeds on Mint 21.x are waaaay slower than with Windows.
 

biostud

Lifer
Feb 27, 2003
19,827
6,917
136
I haven't had any reliability trouble with Bluetooth between my Linux and Windows dual-boot setup, though the file transfer speeds on Mint 21.x are waaaay slower than with Windows.
Mint has worked fine, except that you have to manually turn it on every time. I just use it for game controllers. But that installing an OS could disable your hardware across different OS' is new to me.
 

manly

Lifer
Jan 25, 2000
13,182
3,962
136
Wow, installing Linux can actually screw with your hardware across OS'

I've just installed Ultramarine 42, and it nuked my Bluetooth across, my Linux mint, Windows and Ultramarine 42 install, pulling the plug and holding the power button fixed it :O

I found the fix in this reddit thread

I'm biased on this matter, but my conclusion would be that "Fast Boot" is dumb rather than it's Linux's fault. :p

Great find!
 
  • Like
Reactions: igor_kavinski