I don't understand...
- Ed_P
- Contributor
- Posts: 8605
- Joined: 06 Feb 2013, 22:12
- Distribution: Cinnamon 5.01 ISO
- Location: Western NY, USA
Re: I don't understand...
What does this show? As guest.
ls /mnt/sdc/porteus/modules/
ls /mnt/sdc/porteus/modules/
-
- Full of knowledge
- Posts: 2085
- Joined: 17 Jun 2013, 13:17
- Distribution: Porteus 3.2.2 XFCE 32bit
- Location: Germany
Re: I don't understand...
@ movobojo
to see the content of the modules folder use
about the EXIT cheatcode:
Please read /boot/docs/cheatcodes.txt.
to see the content of the modules folder use
Code: Select all
guest@porteus:~$ ls $PORTDIR/modules
Please read /boot/docs/cheatcodes.txt.
Last edited by donald on 02 Feb 2017, 19:35, edited 1 time in total.
-
- Black ninja
- Posts: 35
- Joined: 24 Jan 2017, 16:25
- Distribution: Porteus 3.2.2
- Location: Slovakia
Re: I don't understand...
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
Anyway, I read if we turn off HDD in BIOS, the HDD still has electric power consumption. So I thing the best idea is mechanically cut HDD from electric power.
And then nothing touch it for sure finally.
-
- Black ninja
- Posts: 35
- Joined: 24 Jan 2017, 16:25
- Distribution: Porteus 3.2.2
- Location: Slovakia
Re: I don't understand...
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:~$
-
- Black ninja
- Posts: 35
- Joined: 24 Jan 2017, 16:25
- Distribution: Porteus 3.2.2
- Location: Slovakia
Re: I don't understand...
Always, I am using nothing but Firefox module (firefox-50.1.0-i686-1.xzm).
- Ed_P
- Contributor
- Posts: 8605
- Joined: 06 Feb 2013, 22:12
- Distribution: Cinnamon 5.01 ISO
- Location: Western NY, USA
Re: I don't understand...
hmmmm Ok, try the ls command after switching to root.movobojo wrote: Permission denied
-
- Black ninja
- Posts: 35
- Joined: 24 Jan 2017, 16:25
- Distribution: Porteus 3.2.2
- Location: Slovakia
Re: I don't understand...
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:/#
-
- Black ninja
- Posts: 35
- Joined: 24 Jan 2017, 16:25
- Distribution: Porteus 3.2.2
- Location: Slovakia
Re: I don't understand...
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? But I do not have access to that folder from desktop environment. But why I do not have access to my disc as guest? Is in my USB stick a block for guest?
- Ed_P
- Contributor
- Posts: 8605
- Joined: 06 Feb 2013, 22:12
- Distribution: Cinnamon 5.01 ISO
- Location: Western NY, USA
Re: I don't understand...
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?
- francois
- Contributor
- Posts: 6445
- Joined: 28 Dec 2010, 14:25
- Distribution: xfce plank porteus nemesis
- Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.
Re: I don't understand...
@movobojo:
guest or normal user does not have access to folders or partitions that are root access only.
It could also happen that your home folder on hdd or other folders on your hdd could be encrypted if you have set them this way.
To access your hard disk drive (hdd) try:
And try to access your files.
Midnight commander could also be useful:
guest or normal user does not have access to folders or partitions that are root access only.
It could also happen that your home folder on hdd or other folders on your hdd could be encrypted if you have set them this way.
To access your hard disk drive (hdd) try:
Code: Select all
guest@porteus:/root$ su
Password:
root@porteus:~# thunar
root@porteus:~#
Midnight commander could also be useful:
Code: Select all
guest@porteus:/root$ su
Password:
root@porteus:~# mc
root@porteus:~#
Prendre son temps, profiter de celui qui passe.
-
- Full of knowledge
- Posts: 2085
- Joined: 17 Jun 2013, 13:17
- Distribution: Porteus 3.2.2 XFCE 32bit
- Location: Germany
Re: I don't understand...
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/
OR as i said before
Code: Select all
guest@porteus:~$ ls $PORTDIR/modules
- Ed_P
- Contributor
- Posts: 8605
- Joined: 06 Feb 2013, 22:12
- Distribution: Cinnamon 5.01 ISO
- Location: Western NY, USA
Re: I don't understand...
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
-
- Full of knowledge
- Posts: 2085
- Joined: 17 Jun 2013, 13:17
- Distribution: Porteus 3.2.2 XFCE 32bit
- Location: Germany
Re: I don't understand...
@ Ed
One can create such kind of devices if you dd an iso onto a thumb drive, for example,
(who does this?..and for what reason?), it would be read only then.
e.g.
which would result in
OK..But there is no partition number in these ls sdc commands
One can create such kind of devices if you dd an iso onto a thumb drive, for example,
(who does this?..and for what reason?), it would be read only then.
e.g.
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$
-
- Black ninja
- Posts: 35
- Joined: 24 Jan 2017, 16:25
- Distribution: Porteus 3.2.2
- Location: Slovakia
Re: I don't understand...
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:~$
- Ed_P
- Contributor
- Posts: 8605
- Joined: 06 Feb 2013, 22:12
- Distribution: Cinnamon 5.01 ISO
- Location: Western NY, USA
Re: I don't understand...
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:~$
I think we should wait for donald's input.