Hide host disk - mount USB boot disk

Post here if you are a new Porteus member and you're looking for some help.
Post Reply
nxspam
White ninja
White ninja
Posts: 4
Joined: 13 Mar 2017, 13:24
Distribution: desktop xcfe 3.2.2
Location: scandanavia

Hide host disk - mount USB boot disk

Post#1 by nxspam » 14 Mar 2017, 10:00

OK, my second noob question.

I got a very useful reply concerning hiding the disks of the host computer with the "noauto" cheat code in the porteus.cfg file.

That works well, but it also hides the "UUI" folder which, I think, is the FAT formatted part of the USB I'm booting from.

How can I hide the host hard disk and still see the USB, with access to /porteus and porteus/modules folders etc?

-nx

nxspam
White ninja
White ninja
Posts: 4
Joined: 13 Mar 2017, 13:24
Distribution: desktop xcfe 3.2.2
Location: scandanavia

Re: Hide host disk - mount USB boot disk

Post#2 by nxspam » 14 Mar 2017, 10:44

OK, panic over, I got it.

I've found the folders I'm missing in the /mnt/sdb1 folder (in terminal) and I must select [File System]->/mnt/sdb1 in the GUI File Manager app.

(told you I was a noob)

I think now, I have my Porteus setup just like I want it - yeahhh!

I can't access, and therefor destroy the host file system (noauto). Yet I can still do things like move packages to the /porteus/modules/ folder for persisting. If I want to get the host drives back, I just edit the porteus.cfg file and reboot!

I'm enjoying this :-)

-nx

Evan
Warlord
Warlord
Posts: 519
Joined: 11 Apr 2016, 09:00
Distribution: Anything Cinnamon
Location: London

Re: Hide host disk - mount USB boot disk

Post#3 by Evan » 14 Mar 2017, 11:37

http://www.porteus.org/tutorials/26-gen ... -them.html
changes-ro

... Keep saved changes in a read-only state. This is useful when
you have your system set up exactly how you like it and do not
want to save any other changes you might make during a live
session. This cheatcode should be used in conjunction with the
'changes=' or 'changes=EXIT:' cheatcodes.
Example: 'changes=/path/file.dat changes-ro'
NOTE: remove the 'changes-ro' cheatcode from the bootloader config
to start saving changes as normal (effective after a reboot).

Once you have Porteus setup exactly how you like it you can change the USB drive to read only by using the cheat code changes-ro

Post Reply