I don't understand...

Please post in this category if you are extremely unhappy with Porteus.
WARNING: This section may contain strong language.
movobojo
Black ninja
Black ninja
Posts: 35
Joined: 24 Jan 2017, 16:25
Distribution: Porteus 3.2.2
Location: Slovakia

Re: I don't understand...

Post#61 by movobojo » 05 Feb 2017, 12:38

But I did not give up: I used "Menu -> System -> create live USB", then I reboot, then I plugged another USB, then I used "Menu -> System -> Porteus Installer", then I reboot from the another USB, an now it seems everything is working fine, and I am running Porteus on 1 partition formatted as ext4. But now I have access to Porteus folders as Guest, can it be a possibly security risk?

And thanks to everybody for help.

movobojo
Black ninja
Black ninja
Posts: 35
Joined: 24 Jan 2017, 16:25
Distribution: Porteus 3.2.2
Location: Slovakia

Re: I don't understand...

Post#62 by movobojo » 05 Feb 2017, 12:39

donald wrote:
movobojo wrote:I wanna 1 partition,
Do you want to install, let's say XFCE, 32 or 64 Bit version?
Must be 32, my laptop is not 64.

donald
Full of knowledge
Full of knowledge
Posts: 1221
Joined: 17 Jun 2013, 13:17
Distribution: Porteus 3.2.2 XFCE 32bit
Location: Germany

Re: I don't understand...

Post#63 by donald » 05 Feb 2017, 12:48

wait 5 min..

EDIT
boot in copy2ram mode
start GParted > select your usb thumb drive >
create a partition which spans the whole drive; filesystem EXT 2
close GParted

copy the Porteus-XFCE-v3.2.2-i586.iso into /home/guest/Downloads

open a terminal... and here we go:
NOTE: my usb was sdb1 you must substitute it with your usb designation!!

Code: Select all

guest@porteus:~$ su
Password: 
root@porteus:/home/guest# umount /dev/sdb1
root@porteus:/home/guest# mkdir /mnt/iso
root@porteus:/home/guest# mkdir /mnt/usb
root@porteus:/home/guest# mount -o loop /home/guest/Downloads/Porteus-XFCE-v3.2.2-i586.iso /mnt/iso
mount: /dev/loop6 is write-protected, mounting read-only
root@porteus:/home/guest# mount /dev/sdb1 /mnt/usb
root@porteus:/home/guest# cp -a /mnt/iso/* /mnt/usb/
root@porteus:/home/guest# sync
root@porteus:/home/guest# cd /mnt/usb/boot
root@porteus:/mnt/usb/boot# ./Porteus-installer-for-Linux.com
Verifying archive integrity... All good.
Uncompressing Porteus Installer......

                             _.====.._
                           ,:._       ~-_
                               '\        ~-_
                                 \        \.
                               ,/           ~-_
                      -..__..-''   PORTEUS   ~~--..__

==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--

Installing Porteus to /dev/sdb1
WARNING: Make sure this is the right partition before proceeding.

Type 'ok' to continue or press Ctrl+c to exit.
ok
Flushing filesystem buffers...

Using extlinux bootloader.

Installation finished successfully.
You may reboot your PC now and start using Porteus.
Please check the /boot/docs folder for additional information about
the installation process, Porteus requirements and booting parameters.
In case of making tweaks to the bootloader config,
please edit: /mnt/usb/boot/syslinux/porteus.cfg file.

Press Enter to exit.

root@porteus:/mnt/usb/boot# cd -
/home/guest
root@porteus:/home/guest# umount /mnt/iso
root@porteus:/home/guest# umount /mnt/usb
root@porteus:/home/guest# reboot
copy and paste the commands....8)

movobojo
Black ninja
Black ninja
Posts: 35
Joined: 24 Jan 2017, 16:25
Distribution: Porteus 3.2.2
Location: Slovakia

Re: I don't understand...

Post#64 by movobojo » 05 Feb 2017, 13:11

OK, I am going to try that, I am curious what will go wrong :)

May I use ext4? Why you use ext2?

donald
Full of knowledge
Full of knowledge
Posts: 1221
Joined: 17 Jun 2013, 13:17
Distribution: Porteus 3.2.2 XFCE 32bit
Location: Germany

Re: I don't understand...

Post#65 by donald » 05 Feb 2017, 13:23

I always use ext2 on flash-drives
Try ext2 first ....it has no journaling
I never had any advantages with ext3 or 4

EDIT
oops...cross postings
I haven't seen the one, where you said that "everything is working fine"
If so, forget my post..

Bogomips
Full of knowledge
Full of knowledge
Posts: 2563
Joined: 25 Jun 2014, 15:21
Distribution: 3.2.2 Cinnamon & KDE5
Location: London

Re: I don't understand...

Post#66 by Bogomips » 05 Feb 2017, 13:52

donald wrote:Try ext2 first ....it has no journaling
While trying to sort out inode issue in Linux Questions, was informed that there had been discussions regarding withdrawing support for ext2, and that could have ext4 without journal:

Code: Select all

root@porteus:/home/guest# mkfs.ext4 -b 4096 -m 0 -T huge -O ^has_journal /dev/sdb3 
mke2fs 1.43.1 (08-Jun-2016)
/dev/sdb3 contains a ext2 file system
        created on Sun Jan 22 21:35:29 2017
Proceed anyway? (y,n) y
Creating filesystem with 79167488 4k blocks and 4947968 inodes
Filesystem UUID: eb1bfdd0-78d7-4a82-818a-e3b5589e6718
Superblock backups stored on blocks: 
        32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208, 
        4096000, 7962624, 11239424, 20480000, 23887872, 71663616, 78675968

Allocating group tables: done                            
Writing inode tables: done                            
Writing superblocks and filesystem accounting information: done     
Linux porteus 4.4.0-porteus #3 SMP PREEMPT Sat Jan 23 07:01:55 UTC 2016 i686 AMD Sempron(tm) 140 Processor AuthenticAMD GNU/Linux
NVIDIA Corporation C61 [GeForce 6150SE nForce 430] (rev a2) MemTotal: 901760 kB MemFree: 66752 kB

donald
Full of knowledge
Full of knowledge
Posts: 1221
Joined: 17 Jun 2013, 13:17
Distribution: Porteus 3.2.2 XFCE 32bit
Location: Germany

Re: I don't understand...

Post#67 by donald » 05 Feb 2017, 14:13

@ Bogomips

Yep, that's correct

Code: Select all

tune2fs -O ^has_journal /dev/sdXN
but not in a GUI (GParted)..afaik.. :wink:

--> withdrawing support for ext2 <--
..hopefully not before i "rest in peace".. :)

movobojo
Black ninja
Black ninja
Posts: 35
Joined: 24 Jan 2017, 16:25
Distribution: Porteus 3.2.2
Location: Slovakia

Re: I don't understand...

Post#68 by movobojo » 05 Feb 2017, 14:19

donald, it is working well. You used terminal to run "Porteus-installer-for-Linux.com", but when I used desktop environment to run "Porteus-installer-for-Linux.com" it was not the same - in my solution, after reboot I must log in as root and I had an error with wi-fi. There were unreadable emblems (white X in red round) in Porteus folders.

martomlub
White ninja
White ninja
Posts: 5
Joined: 23 Mar 2017, 15:48
Distribution: openbox-x86_64
Location: Poland

Re: I don't understand...

Post#69 by martomlub » 06 Apr 2017, 09:43

Why ext2 with no journaling is better than ext4. I have on my USB ext4 and everything is fine?

User avatar
Ed_P
Contributor
Contributor
Posts: 3322
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 3.2.2 64-bit ISO
Location: Western NY, USA

Re: I don't understand...

Post#70 by Ed_P » 06 Apr 2017, 14:46

martomlub wrote:Why ext2 with no journaling is better than ext4.
Less processing overhead, less IO on the USB drive, makes it faster.
Ed

Bogomips
Full of knowledge
Full of knowledge
Posts: 2563
Joined: 25 Jun 2014, 15:21
Distribution: 3.2.2 Cinnamon & KDE5
Location: London

Re: I don't understand...

Post#71 by Bogomips » 06 Apr 2017, 17:59

martomlub wrote:Why ext2 with no journaling is better than ext4.
All the above points. However, you can have ext4 without journal viewtopic.php?f=130&t=6596&start=60#p52811 and then all the above points apply. :)
Linux porteus 4.4.0-porteus #3 SMP PREEMPT Sat Jan 23 07:01:55 UTC 2016 i686 AMD Sempron(tm) 140 Processor AuthenticAMD GNU/Linux
NVIDIA Corporation C61 [GeForce 6150SE nForce 430] (rev a2) MemTotal: 901760 kB MemFree: 66752 kB

martomlub
White ninja
White ninja
Posts: 5
Joined: 23 Mar 2017, 15:48
Distribution: openbox-x86_64
Location: Poland

Re: I don't understand...

Post#72 by martomlub » 07 Apr 2017, 07:40

tune2fs -O ^has_journal /dev/sdXN
If I execute this command on an existing system (after "copy2ram" of course), will the system crash?

Bogomips
Full of knowledge
Full of knowledge
Posts: 2563
Joined: 25 Jun 2014, 15:21
Distribution: 3.2.2 Cinnamon & KDE5
Location: London

Re: I don't understand...

Post#73 by Bogomips » 08 Apr 2017, 17:07

Back up the ext4 partition first of all, then do

Code: Select all

df  -h  /mnt/sdXy
before and after. There should hopefully be a difference after journal space freed. :)
Linux porteus 4.4.0-porteus #3 SMP PREEMPT Sat Jan 23 07:01:55 UTC 2016 i686 AMD Sempron(tm) 140 Processor AuthenticAMD GNU/Linux
NVIDIA Corporation C61 [GeForce 6150SE nForce 430] (rev a2) MemTotal: 901760 kB MemFree: 66752 kB

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

Re: I don't understand...

Post#74 by Evan » 08 Apr 2017, 22:25

Unless i'm missing something isn't ext4 only journalling while you setup Portues and changes-ro then stops it anyway?

User avatar
Ed_P
Contributor
Contributor
Posts: 3322
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 3.2.2 64-bit ISO
Location: Western NY, USA

Re: I don't understand...

Post#75 by Ed_P » 09 Apr 2017, 01:08

Evan wrote: isn't ext4 only journalling while you setup Portues and changes-ro then stops it anyway?
Whenever there is reading or writing to the drive. And ttbomk most people don't use changes-ro therefore frequent IO to the drive while Porteus is running or when it ends if changes=EXIT used.

If it isn't impacting your performance no need to worry about it. :wink:
Ed

Post Reply