I'm using the 64bit version from a USB key and everything is fine except I don't want my hard drive mounted (or even detected). When I add nohd cheatcode to the bootprompt line it fails to boot, says it can't find a file & offers to reboot or some such. Same problem if I add nohd to the APPEND line in the porteus.cfg file. I can boot with copy2ram successfully except my hard drive is automatically mounted.
What I want ideally is copy2ram AND nohd (ie. so /dev/sda1 is NOT mounted or even listed in /etc/fstab). Is this possible?
won't boot from USB key with nohd cheatcode [Solved]
won't boot from USB key with nohd cheatcode [Solved]
Last edited by bazder on 08 Oct 2013, 22:31, edited 1 time in total.
- fanthom
- Moderator Team
- Posts: 5588
- Joined: 28 Dec 2010, 02:42
- Distribution: Porteus Kiosk
- Location: Poland
- Contact:
Re: won't boot from USB key with nohd cheatcode
'nohd' works out of the box when you are booting from CD. when you are booting from hd/usb/flash card/etc and still want to use 'nohd' then you have to use 'from=' cheatcode to tell booting script on which partition your porteus is placed, example:
please refer to /boot/docs/cheatcodes.txt for details.
Code: Select all
nohd from=UUID:64E598A12B54F28B
Please add [Solved] to your thread title if the solution was found.
Re: won't boot from USB key with nohd cheatcode
The from= enabled Porteus to boot but all drives are still recognized and appear on the desktop and in /etc/fstab - they just aren't mounted. Is that all nohd is supposed to do or are the drives truly not supposed to be visible (which is what I want) ?
- fanthom
- Moderator Team
- Posts: 5588
- Joined: 28 Dec 2010, 02:42
- Distribution: Porteus Kiosk
- Location: Poland
- Contact:
Re: won't boot from USB key with nohd cheatcode
please use PSC->Porteus Updater and download a fix to 001-core.xzm which will prevent partitions to be listed in /etc/fstab. devices will still be visible in file manager but guest is prompted for root password before anything is mounted.
one condition - you must be using KDE4 as other desktops (Razor, Mate, Xfce, Lxde) are udisks2 based and have a bug which allows unprivileged users to mount/unmount partitions without asking for a password.
btw: your initial problem is solved so please start another thread in case of further questions.
one condition - you must be using KDE4 as other desktops (Razor, Mate, Xfce, Lxde) are udisks2 based and have a bug which allows unprivileged users to mount/unmount partitions without asking for a password.
btw: your initial problem is solved so please start another thread in case of further questions.
Please add [Solved] to your thread title if the solution was found.
Re: won't boot from USB key with nohd cheatcode [Solved]
total fix
many thanks!
