Re: I don't understand...
Posted: 02 Feb 2017, 19:00
What does this show? As guest.
ls /mnt/sdc/porteus/modules/
ls /mnt/sdc/porteus/modules/
Code: Select all
guest@porteus:~$ ls $PORTDIR/modules
But you know - it is virus - virus can possibly touch kernel and after reboot the virus can touch the HDD, am I right?pauleus wrote:When HDD disable in BIOS. I think PC just turn off for boot & DOS, but linux still see it.Bogomips wrote: Very much doubt there is any defence against a determined virus, without going to extraordinary lengths to prevent it. Maybe you can reach a level of security if you are able to disable the HDD from the BIOS.
To turn off in kernel, use parameter: libata.force=1.00:disable
Like here with port SATA0, where HD is plugged...
Then nothing touch it.Code: Select all
root@porteus:~# uname -a Linux porteus 4.9.0-porteus #1 SMP PREEMPT Sun Dec 18 16:24:27 Local time zone must be set-- i686 Intel(R) Pentium(R) 4 CPU 3.20GHz GenuineIntel GNU/Linux root@porteus:~# cat /proc/cmdline quiet initrd=initrd.xz copy2ram noauto noswap noeject libata.force=1.00:disable BOOT_IMAGE=vmlinuz root@porteus:~# dmesg | grep ata [ 0.141022] libata version 3.00 loaded. [ 0.370134] ata1: SATA max UDMA/133 abar m1024@0xdffffc00 port 0xdffffd00 irq 20 [ 0.370137] ata2: SATA max UDMA/133 abar m1024@0xdffffc00 port 0xdffffd80 irq 20 [ 0.370139] ata3: SATA max UDMA/133 abar m1024@0xdffffc00 port 0xdffffe00 irq 20 [ 0.370141] ata4: SATA max UDMA/133 abar m1024@0xdffffc00 port 0xdffffe80 irq 20 [ 0.370253] ata_piix 0000:00:1f.1: version 2.13 [ 0.371974] scsi host4: ata_piix [ 0.373163] scsi host5: ata_piix [ 0.373233] ata5: PATA max UDMA/100 cmd 0x1f0 ctl 0x3f6 bmdma 0xffa0 irq 14 [ 0.373235] ata6: PATA max UDMA/100 cmd 0x170 ctl 0x376 bmdma 0xffa8 irq 15 [ 0.381257] ata6: port disabled--ignoring [ 0.538606] ata5.00: ATAPI: _NEC DVD_RW ND-3520A, 1.04, max UDMA/33 [ 0.543246] ata5.00: configured for UDMA/33 [ 0.677353] ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 300) [ 0.677369] ata2: SATA link down (SStatus 0 SControl 300) [ 0.680097] ata1.00: FORCE: horkage modified (disable) [ 0.680098] ata1.00: unsupported device, disabling [ 0.680100] ata1.00: disabled
Ed_P wrote:What does this show? As guest.
ls /mnt/sdc/porteus/modules/
Code: Select all
guest@porteus:~$ ls /mnt/sdc/porteus/modules/
/bin/ls: cannot access '/mnt/sdc/porteus/modules/': Permission denied
guest@porteus:~$
hmmmm Ok, try the ls command after switching to root.movobojo wrote: Permission denied
Code: Select all
root@porteus:/home/guest# ls /mnt/sdc/porteus/modules/
root@porteus:/home/guest#
root@porteus:/home/guest# cd ..
root@porteus:/home# cd ..
root@porteus:/# cd ..
root@porteus:/# cd ..
root@porteus:/# ls /mnt/sdc/porteus/modules/
root@porteus:/#
root@porteus:/#
root@porteus:/#
So I see. And you are welcome. Trust me we were all newbies at one point. (Well, except for Bogomips. )movobojo wrote:It shows nothing. And by the way, thanks for your patience with me.
So you are saying the Firefox module is on your desktop!! Yes, you need to put it in your /porteus/modules/ folder.movobojo wrote:I activated the Firefox module from desktop, and after reboot I must do it again, because the Firefox icon is gone after reboot. Should I put Firefox module to that "modules" directory?
Yes, so you will have to cp it in root mode. And once you reboot and have access to Firefox without activating it from the desktop you can delete the desktop module.But I do not have access to that folder from desktop environment.
I can't answer that, I don't know. I've never formatted a drive with Linux Mint. We can look at it after we get the module in the right location.But why I do not have access to my disc as guest? Is in my USB stick a block for guest?
Code: Select all
guest@porteus:/root$ su
Password:
root@porteus:~# thunar
root@porteus:~#
Code: Select all
guest@porteus:/root$ su
Password:
root@porteus:~# mc
root@porteus:~#
Of course not.....sdc is a drive, not a partition --> sdc1 or whatevermovobojo wrote: I cannot see inside ...Code: Select all
guest@porteus:~$ ls /mnt/sdc/porteus/modules/
Code: Select all
guest@porteus:~$ ls $PORTDIR/modules
But there is no partition number in these ls sdc commands.donald wrote:Of course not.....sdc is a drive, not a partition --> sdc1 or whatever
The output of this would be interesting to see.movobojo wrote:Code: Select all
guest@porteus:~$ su Password: root@porteus:/home/guest# cd .. root@porteus:/home# cd .. root@porteus:/# ls bin/ etc/ lib/ mnt/ proc/ run/ srv/ tmp/ var/ dev/ home/ media/ opt/ root/ sbin/ sys/ usr/ root@porteus:/# cd mnt root@porteus:/mnt# ls live/ sda1/ sda2/ sda3/ sdb1/ sdc/ root@porteus:/mnt# cd sdc root@porteus:/mnt/sdc# ls USB_INSTALLATION.txt boot/ lost+found/ porteus/ root@porteus:/mnt/sdc# cd porteus root@porteus:/mnt/sdc/porteus# ls base/ make_iso.sh optional/ rootcopy/ changes/ modules/ porteus-v3.2-i586.sgn root@porteus:/mnt/sdc/porteus# cd modules root@porteus:/mnt/sdc/porteus/modules# ^C root@porteus:/mnt/sdc/porteus/modules# ls root@porteus:/mnt/sdc/porteus/modules# ls root@porteus:/mnt/sdc/porteus/modules#
Code: Select all
guest@porteus:~$ echo $PORTDIR
OK..But there is no partition number in these ls sdc commands
Code: Select all
guest@porteus:~$ cat /proc/mounts
/dev/sdb /mnt/sdb iso9660 ro,noatime,nodiratime 0 0
Code: Select all
guest@porteus:~$ cd /mnt
guest@porteus:/mnt$ ls
live/ sda1/ sda2/ sda3/ sdb/
guest@porteus:/mnt$ cd sdb
guest@porteus:/mnt/sdb$ ls
USB_INSTALLATION.txt boot/ porteus/
guest@porteus:/mnt/sdb$ cd porteus
guest@porteus:/mnt/sdb/porteus$ ls
base/ make_iso.sh* modules/ optional/ porteus-v3.2-i586.sgn rootcopy/
guest@porteus:/mnt/sdb/porteus$ cd modules
guest@porteus:/mnt/sdb/porteus/modules$ ls
guest@porteus:/mnt/sdb/porteus/modules$
Here you are:Ed_P wrote:But there is no partition number in these ls sdc commands.donald wrote:Of course not.....sdc is a drive, not a partition --> sdc1 or whateverThe output of this would be interesting to see.movobojo wrote:Code: Select all
guest@porteus:~$ su Password: root@porteus:/home/guest# cd .. root@porteus:/home# cd .. root@porteus:/# ls bin/ etc/ lib/ mnt/ proc/ run/ srv/ tmp/ var/ dev/ home/ media/ opt/ root/ sbin/ sys/ usr/ root@porteus:/# cd mnt root@porteus:/mnt# ls live/ sda1/ sda2/ sda3/ sdb1/ sdc/ root@porteus:/mnt# cd sdc root@porteus:/mnt/sdc# ls USB_INSTALLATION.txt boot/ lost+found/ porteus/ root@porteus:/mnt/sdc# cd porteus root@porteus:/mnt/sdc/porteus# ls base/ make_iso.sh optional/ rootcopy/ changes/ modules/ porteus-v3.2-i586.sgn root@porteus:/mnt/sdc/porteus# cd modules root@porteus:/mnt/sdc/porteus/modules# ^C root@porteus:/mnt/sdc/porteus/modules# ls root@porteus:/mnt/sdc/porteus/modules# ls root@porteus:/mnt/sdc/porteus/modules#
Code: Select all
guest@porteus:~$ echo $PORTDIR
Code: Select all
guest@porteus:~$ echo $PORTDIR
/mnt/sdb/porteus
guest@porteus:~$
Very much so!! It appears that we're talking about two different drives! What you are looking for and what you are running on are not the same drive. Also interesting to note that there is no partition number after sdb either.movobojo wrote:Here you are:
So is it interesting?Code: Select all
guest@porteus:~$ echo $PORTDIR /mnt/sdb/porteus guest@porteus:~$