I don't understand...

Please post in this category if you are extremely unhappy with Porteus.
WARNING: This section may contain strong language.

Re: I don't understand...

Postby movobojo » 05 Feb 2017, 13: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, 17:25
Location: Slovakia
Distribution: Porteus 3.2.2

Re: I don't understand...

Postby movobojo » 05 Feb 2017, 13: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.
movobojo
Black ninja
Black ninja
 
Posts: 35
Joined: 24 Jan 2017, 17:25
Location: Slovakia
Distribution: Porteus 3.2.2

Re: I don't understand...

Postby donald » 05 Feb 2017, 13: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)
donald
Full of knowledge
Full of knowledge
 
Posts: 1026
Joined: 17 Jun 2013, 14:17
Location: Germany
Distribution: Porteus 3.2.2 XFCE 32bit

Re: I don't understand...

Postby movobojo » 05 Feb 2017, 14:11

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

May I use ext4? Why you use ext2?
movobojo
Black ninja
Black ninja
 
Posts: 35
Joined: 24 Jan 2017, 17:25
Location: Slovakia
Distribution: Porteus 3.2.2

Re: I don't understand...

Postby donald » 05 Feb 2017, 14: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..
donald
Full of knowledge
Full of knowledge
 
Posts: 1026
Joined: 17 Jun 2013, 14:17
Location: Germany
Distribution: Porteus 3.2.2 XFCE 32bit

Re: I don't understand...

Postby Bogomips » 05 Feb 2017, 14: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
Bogomips
Full of knowledge
Full of knowledge
 
Posts: 2243
Joined: 25 Jun 2014, 16:21
Location: London
Distribution: 3.2.2 Cinnamon & KDE5

Re: I don't understand...

Postby donald » 05 Feb 2017, 15: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".. :)
donald
Full of knowledge
Full of knowledge
 
Posts: 1026
Joined: 17 Jun 2013, 14:17
Location: Germany
Distribution: Porteus 3.2.2 XFCE 32bit

Re: I don't understand...

Postby movobojo » 05 Feb 2017, 15: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.
movobojo
Black ninja
Black ninja
 
Posts: 35
Joined: 24 Jan 2017, 17:25
Location: Slovakia
Distribution: Porteus 3.2.2

Re: I don't understand...

Postby martomlub » 06 Apr 2017, 10:43

Why ext2 with no journaling is better than ext4. I have on my USB ext4 and everything is fine?
martomlub
White ninja
White ninja
 
Posts: 5
Joined: 23 Mar 2017, 16:48
Location: Poland
Distribution: openbox-x86_64

Re: I don't understand...

Postby Ed_P » 06 Apr 2017, 15: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
User avatar
Ed_P
Contributor
Contributor
 
Posts: 2731
Joined: 06 Feb 2013, 23:12
Location: Western NY, USA
Distribution: Cinnamon 3.2.* 64-bit ISO

Re: I don't understand...

Postby Bogomips » 06 Apr 2017, 18:59

martomlub wrote:Why ext2 with no journaling is better than ext4.
All the above points. However, you can have ext4 without journal I don't understand... 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
Bogomips
Full of knowledge
Full of knowledge
 
Posts: 2243
Joined: 25 Jun 2014, 16:21
Location: London
Distribution: 3.2.2 Cinnamon & KDE5

Re: I don't understand...

Postby martomlub » 07 Apr 2017, 08:40

tune2fs -O ^has_journal /dev/sdXN

If I execute this command on an existing system (after "copy2ram" of course), will the system crash?
martomlub
White ninja
White ninja
 
Posts: 5
Joined: 23 Mar 2017, 16:48
Location: Poland
Distribution: openbox-x86_64

Re: I don't understand...

Postby Bogomips » 08 Apr 2017, 18: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
Bogomips
Full of knowledge
Full of knowledge
 
Posts: 2243
Joined: 25 Jun 2014, 16:21
Location: London
Distribution: 3.2.2 Cinnamon & KDE5

Re: I don't understand...

Postby Evan » 08 Apr 2017, 23:25

Unless i'm missing something isn't ext4 only journalling while you setup Portues and changes-ro then stops it anyway?
Evan
Shogun
Shogun
 
Posts: 377
Joined: 11 Apr 2016, 10:00
Location: London
Distribution: Anything Cinnamon

Re: I don't understand...

Postby Ed_P » 09 Apr 2017, 02: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
User avatar
Ed_P
Contributor
Contributor
 
Posts: 2731
Joined: 06 Feb 2013, 23:12
Location: Western NY, USA
Distribution: Cinnamon 3.2.* 64-bit ISO

PreviousNext

Return to Porteus Haters



Who is online

Users browsing this forum: No registered users and 1 guest