Hi! First of all thanks to the devs and contributors for creating this awesome distro, its light, fast and reliable, I've been using it a lot.
My question here is if there is a way to prevent porteus from detecting and mounting the HDDs on my computer?, I have a USB installation and I do everything I need from there but I dont want it to have any contact with internal disks for security, I tried adding:
libata.noacpi=1 to porteus.conf file but it didnt work, also tried to add:
blacklist ata_piix
blacklist ata_generic but it also didnt work after mkinitrd.
These are solutions I found on internet but after nothing working I came asking here, is there any way to do that?
Prevent porteus from detecting and loading internal HDDs? [SOLVED]
- HimekawaHina
- Ronin
- Posts: 2
- Joined: 31 Mar 2023, 23:41
- Distribution: Porteus v5.0
Prevent porteus from detecting and loading internal HDDs? [SOLVED]
Last edited by HimekawaHina on 01 Apr 2023, 14:16, edited 1 time in total.
- babam
- Warlord
- Posts: 528
- Joined: 16 Nov 2016, 10:30
- Distribution: Porteus 5.0rc3 Xfce K6.1.1
- Location: Rainy city
Prevent porteus from detecting and loading internal HDDs?
Use the nohd cheatcode
Sorry, my English is bad.
- HimekawaHina
- Ronin
- Posts: 2
- Joined: 31 Mar 2023, 23:41
- Distribution: Porteus v5.0
Prevent porteus from detecting and loading internal HDDs?
Solved it using the solution from user0815 here: viewtopic.php?t=8237
First I had to get the ATA adress of my disks with:
Then use that ata adress with libata.force=XX.00:disable where XX is the ata number of the disks I wanted to be disable on boot, I have two disks I wanted to be disable, so the for two disk the code had to be like this:
And use that code as cheat on my /boot/syslinux/porteus.cfg at the end of the APPEND line, thats it!
First I had to get the ATA adress of my disks with:
Code: Select all
dmesg | grep ata
Code: Select all
libata.force=1.00:disable,2.00:disable
- francois
- Contributor
- Posts: 6435
- Joined: 28 Dec 2010, 14:25
- Distribution: xfce plank porteus nemesis
- Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.
Prevent porteus from detecting and loading internal HDDs? [SOLVED]
Good shot!
But maybe you should try cheat codes. They are numerous on porteus and very useful:
http://www.porteus.org/tutorials/26-gen ... -them.html
As proposed by babam the nohd cheatcode is a very good solution.
But maybe you should try cheat codes. They are numerous on porteus and very useful:
http://www.porteus.org/tutorials/26-gen ... -them.html
As proposed by babam the nohd cheatcode is a very good solution.
Prendre son temps, profiter de celui qui passe.