Linux Mint VS Fedora Linux VS Windows XP (Which one do I get?)

Joom

 ❤❤❤
Member
Joined
Jan 8, 2016
Messages
6,067
Trophies
1
Location
US
Website
mogbox.net
XP
6,077
Country
United States
First, you'll need to find the device ID of your SD. You can find it by issuing fdisk -l in a terminal. Then you need to create the directory /usr/bin on it, and migrate the contents of that directory on your USB to it. The link I provided includes further instructions on how to properly modify your fstab.
Code:
sudo -s
fdisk -l
mount -t vfat /dev/sd*1 /mnt
mkdir -p /mnt/usr/bin
cp -R /usr/bin/* /mnt/usr/bin
nano /etc/fstab
You'll have to edit your fstab accordingly, hence the last command. Use my link and example from above. If Ubuntu has already mounted the SD, just unmount it with the file manager, or issue sudo unmount /dev/sd*. * being your drive letter.
 
Last edited by Joom,
  • Like
Reactions: MrMcTiller

MrMcTiller

GBATemp's Tiller
OP
Member
Joined
Mar 7, 2017
Messages
1,185
Trophies
0
Age
20
Location
Iowa
XP
1,557
Country
United States
First, you'll need to find the device ID of your SD. You can find it by issuing fdisk -l in a terminal. Then you need to create the directory /usr/bin on it, and migrate the contents of that directory on your USB to it. The link I provided includes further instructions on how to properly modify your fstab.
Code:
sudo -s
fdisk -l
mount -t vfat /dev/sd*1 /mnt
mkdir -p /mnt/usr/bin
cp -R /usr/bin/* /mnt/usr/bin
nano /etc/fstab
You'll have to edit your fstab accordingly, hence the last command. Use my link and example from above.
Wait, I think that SD shows up as mmcblk0p1 . Do I need to replace "sd*1" with "mmcblk0p1"?
 

MrMcTiller

GBATemp's Tiller
OP
Member
Joined
Mar 7, 2017
Messages
1,185
Trophies
0
Age
20
Location
Iowa
XP
1,557
Country
United States
You can. You can also use the device's UUID. I just prefer to use the direct path for simplicity. My advice is to use what fdisk lists.
OK, I will try to do this. I am still a very inexperienced user on Linux. I am just really confused about the fstab thing.
 

Joom

 ❤❤❤
Member
Joined
Jan 8, 2016
Messages
6,067
Trophies
1
Location
US
Website
mogbox.net
XP
6,077
Country
United States
OK, I will try to do this. I am still a very inexperienced user on Linux. I am just really confused about the fstab thing.
I know it's confusing at first, but read over the Wiki. Even though it's from Arch, their Wiki is the unofficial Bible for Linux. Practically everything I know about the use of Linux came from there.

The fstab file is just a configuration file that tells the OS how and where to mount things. This is one of the major benefits Linux (and UNIX in general) has over Windows. You could even use a Dropbox drive for your mounts with this if you wanted. Your entire OS could be cloud based if you set up everything right. The fstab file just tells the OS "hey stupid, put this drive that contains this here so the rest of you see it". Once you get it down, it's super easy. I used to use an external NTFS drive as my /home so that I could use it between both Linux and Windows without issue.
 
  • Like
Reactions: MrMcTiller

MrMcTiller

GBATemp's Tiller
OP
Member
Joined
Mar 7, 2017
Messages
1,185
Trophies
0
Age
20
Location
Iowa
XP
1,557
Country
United States
OK, sorry for being a noob... so, I tried to read through it all, but it is too confusing. Which section(s) would I need to use in this case?

--------------------- MERGED ---------------------------

Oh and (sorry for double posting), my Chromebook says that whenever I plug my USB into it, there are 3 partitions on it. I can't add to them, so I am guessing my USB is ext4.
 

MrMcTiller

GBATemp's Tiller
OP
Member
Joined
Mar 7, 2017
Messages
1,185
Trophies
0
Age
20
Location
Iowa
XP
1,557
Country
United States
OK, I figured it out. But, how does this solve the problem with the storage? Does steam install under /mnt/usr/bin ? Also, am I supposed to set the fstab mount point to /mnt for my sd card?
 

MrMcTiller

GBATemp's Tiller
OP
Member
Joined
Mar 7, 2017
Messages
1,185
Trophies
0
Age
20
Location
Iowa
XP
1,557
Country
United States
Alrighty then. Oh and, thank you @Joom . I think I understand the fstab thing now. Is /usr/bin the only place that steam installs to? If not, where are the other locations.
 

MrMcTiller

GBATemp's Tiller
OP
Member
Joined
Mar 7, 2017
Messages
1,185
Trophies
0
Age
20
Location
Iowa
XP
1,557
Country
United States
Wait... sorry... I am having one of those days. Do I copy the contents of /usr/bin to the ROOT of the SD? Or copy the contents to /usr/bin of my SD?
 

Joom

 ❤❤❤
Member
Joined
Jan 8, 2016
Messages
6,067
Trophies
1
Location
US
Website
mogbox.net
XP
6,077
Country
United States
You copy the content to /usr/bin. You're basically mirroring this directory on your SD, and then removing it from your USB. The cp -R command should have already taken care of this. Also, Steam installs games to your home directory I believe, but it allows you to choose the directory you want in the download window.
 
  • Like
Reactions: MrMcTiller

MrMcTiller

GBATemp's Tiller
OP
Member
Joined
Mar 7, 2017
Messages
1,185
Trophies
0
Age
20
Location
Iowa
XP
1,557
Country
United States
You copy the content to /usr/bin. You're basically mirroring this directory on your SD, and then removing it from your USB. The cp -R command should have already taken care of this. Also, Steam installs games to your home directory I believe, but it allows you to choose the directory you want in the download window.
But steam itself installs to /usr/bin?

--------------------- MERGED ---------------------------

Wait, if I set the mount point to /usr/bin... wouldn't it mount it so that it goes... /usr/bin/usr/bin?
 

Joom

 ❤❤❤
Member
Joined
Jan 8, 2016
Messages
6,067
Trophies
1
Location
US
Website
mogbox.net
XP
6,077
Country
United States
But steam itself installs to /usr/bin?

--------------------- MERGED ---------------------------

Wait, if I set the mount point to /usr/bin... wouldn't it mount it so that it goes... /usr/bin/usr/bin?
No, fstab tells the OS where to look for this directory, and how to mount the partition it's on. It's mounting your SD in place of the original directory. Imagine your SD is just a virtual directory on the main drive of the OS. And yes, all user installed applications are typically installed to /usr/bin.
 
  • Like
Reactions: MrMcTiller

MrMcTiller

GBATemp's Tiller
OP
Member
Joined
Mar 7, 2017
Messages
1,185
Trophies
0
Age
20
Location
Iowa
XP
1,557
Country
United States
No, fstab tells the OS where to look for this directory, and how to mount the partition it's on. It's mounting your SD in place of the original directory. Imagine your SD is just a virtual directory on the main drive of the OS. And yes, all user installed applications are typically installed to /usr/bin.
Oh... I guess I just need to try it. When I did it the first time, I mounted it to /mnt. When I opened /mnt it had /usr/bin in it. So, I thought that If I mount to /usr/bin, it would have /usr/bin in it. I will figure it out.

--------------------- MERGED ---------------------------

what are the "options" I need to use?
 

Joom

 ❤❤❤
Member
Joined
Jan 8, 2016
Messages
6,067
Trophies
1
Location
US
Website
mogbox.net
XP
6,077
Country
United States
Actually, I'm an idiot. Forgive me. You were right, you do put its contents on the root. It's been a while since I've done this. As far as the options go, use the ones from my example.
 
Last edited by Joom,
  • Like
Reactions: MrMcTiller

MrMcTiller

GBATemp's Tiller
OP
Member
Joined
Mar 7, 2017
Messages
1,185
Trophies
0
Age
20
Location
Iowa
XP
1,557
Country
United States
Actually, I'm an idiot. Forgive me. You were right, you do put its contents on the root. It's been a while since I've done this. As far as the options go, use the ones from my example.
Well... it is kind of working. I used trial and error, but then I found that the "disks" program allows you to set the mount options. I set my SD's mount options to mount at /usr/bin and it seems to work. It mounts when I log in, but some things are broken. (e.g. Terminal). If I check the "mount at startup" option and restart, it tries to boot, but it can't. I am not sure what I am doing wrong. Could you try using an SD as your /usr/bin?
 

Joom

 ❤❤❤
Member
Joined
Jan 8, 2016
Messages
6,067
Trophies
1
Location
US
Website
mogbox.net
XP
6,077
Country
United States
Well... it is kind of working. I used trial and error, but then I found that the "disks" program allows you to set the mount options. I set my SD's mount options to mount at /usr/bin and it seems to work. It mounts when I log in, but some things are broken. (e.g. Terminal). If I check the "mount at startup" option and restart, it tries to boot, but it can't. I am not sure what I am doing wrong. Could you try using an SD as your /usr/bin?
Unfortunately I don't run Linux, nor do I have an available SD. You absolutely made sure all of the content from /usr/bin was copied to your SD, right? How did you copy it there?
 
  • Like
Reactions: MrMcTiller

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    AncientBoi @ AncientBoi: 9:02 am here