Same mount point for porteus drive no matter the hardware?

Post here if you are a new Porteus member and you're looking for some help.
LightningShock
White ninja
White ninja
Posts: 9
Joined: 04 Sep 2017, 12:48
Distribution: XFCE-v3.2.2-i586

Same mount point for porteus drive no matter the hardware?

Post#1 by LightningShock » 04 Sep 2017, 13:08

Hello, I'm quite new to Linux in general and still wrapping my head around this awesome OS. I looked on the internet for solutions with no luck and I'm afraid that I'm gonna burst my drive in flames if I experiment by myself.

So my problem is the following: I've noticed that the mount point of the usb drive Porteus is installed on(FAT32 with save file) changes depending on the hardware I plug it in. This is causing me problems and I want a foolproof solution instead of using UUID or label adresses, weird additional mount points, or things of this sort. Usually it mounts as sdb1 but can I make it to always mount as dev/sda1?
Note: I tried nohd cheatcode however it doesn't mount my usb drive as well so Porteus doesn't start, and yes I want my hard drives to not automount.

User avatar
Ed_P
Contributor
Contributor
Posts: 8341
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 5.01 ISO
Location: Western NY, USA

Same mount point for porteus drive no matter the hardware?

Post#2 by Ed_P » 04 Sep 2017, 19:24

LightningShock wrote:
04 Sep 2017, 13:08
This is causing me problems
What kind of problems?
but can I make it to always mount as dev/sda1?
If you remove the machine's hard drive(s). :D But I suspect you don't want to do that.
Ed

User avatar
ncmprhnsbl
DEV Team
DEV Team
Posts: 3924
Joined: 20 Mar 2012, 03:42
Distribution: v5.0-64bit
Location: australia
Contact:

Same mount point for porteus drive no matter the hardware?

Post#3 by ncmprhnsbl » 04 Sep 2017, 21:31

LightningShock wrote:
04 Sep 2017, 13:08
I want my hard drives to not automount.
cheatcode: noauto
will achieve this..
your usb will sdb1 if the machine has one hard drive, sdc1 if it has two... etc
at this time theres no (builtin) way to ignore hard drives completely and not usbs(apart from what Ed suggested) afaik
this is something that perhaps should be looked at implementing if its at all possible
Forum Rules : https://forum.porteus.org/viewtopic.php?f=35&t=44

LightningShock
White ninja
White ninja
Posts: 9
Joined: 04 Sep 2017, 12:48
Distribution: XFCE-v3.2.2-i586

Same mount point for porteus drive no matter the hardware?

Post#4 by LightningShock » 05 Sep 2017, 18:12

So, I guess the only option is to make a separate mounting point for my usb drive, but how am I supposed to do that if I can't rely on fstab?

Post Reply