USB with 2 partitions, FAT & ext, with porteus on ext partit

Post here if you are a new Porteus member and you're looking for some help.
Post Reply
milangru
White ninja
White ninja
Posts: 12
Joined: 11 Apr 2015, 17:24
Distribution: Porteus KDE
Location: Novi Sad

USB with 2 partitions, FAT & ext, with porteus on ext partit

Post#1 by milangru » 15 Apr 2015, 10:43

Hi,
I have create 2 partitions on my USB with gpart. One of them is 3gb fat32 partition and other is 700mb ext4 partition. I would like to install porteus on ext4 partition and to be able to read and write on the fat partition from windows. How can a achieve that? ( tried that - first partition fat ,second ext - after that first partition ext and second fat but it won't boot) .

User avatar
wread
Module Guard
Module Guard
Posts: 1068
Joined: 09 Jan 2011, 18:48
Distribution: Porteus v3.2.5-kde5-64 bits
Location: Santo Domingo
Contact:

Re: USB with 2 partitions, FAT & ext, with porteus on ext pa

Post#2 by wread » 16 Apr 2015, 00:01

@milangru
Elemental, Watson, Windows cannot read ext partitions; so fat must be the first one. So your USB from point of view of Win is a 3gb one, ignoring the 400 mb ext partition. The other way around Windows detects an unformatted USB!

Cheers!
Porteus is proud of the FASTEST KDE ever made.....(take akonadi, nepomuk and soprano out and you will have a decent OS).
The Porteus Community never sleeps!

tome
Contributor
Contributor
Posts: 562
Joined: 26 Jun 2013, 14:03
Distribution: x64 Openbox
Location: Poland
Contact:

Re: USB with 2 partitions, FAT & ext, with porteus on ext pa

Post#3 by tome » 16 Apr 2015, 16:32

Or maybe install Porteus on first FAT partition and store changes on second ext partition, and why not porteussave.dat - it also works but you have probably problem with reading/understanding - pORteus vs pROteus -> OR vs RO. Do you understand your mistake?????? :wall: :O: Are you troll?? =@

milangru
White ninja
White ninja
Posts: 12
Joined: 11 Apr 2015, 17:24
Distribution: Porteus KDE
Location: Novi Sad

Re: USB with 2 partitions, FAT & ext, with porteus on ext pa

Post#4 by milangru » 20 Apr 2015, 06:39

tome wrote:Or maybe install Porteus on first FAT partition and store changes on second ext partition, and why not porteussave.dat - it also works but you have probably problem with reading/understanding - pORteus vs pROteus -> OR vs RO. Do you understand your mistake?????? :wall: :O: Are you troll?? =@
I'am not troll. Keep trying to save resistant changes to save.dat but no succeed. I have make changes like you told me but still in the same place like I was before
Image

Code: Select all

TIMEOUT 90
UI vesamenu.c32
DEFAULT XFCE
MENU BACKGROUND porteus.png
MENU TITLE Porteus-3.1 64bit

MENU WIDTH 30
MENU MARGIN 2
MENU ROWS 10
MENU HELPMSGROW 17
MENU TIMEOUTROW 28
MENU TABMSGROW 15
MENU CMDLINEROW 22
MENU HSHIFT 4
MENU VSHIFT 5

	menu color screen	37;40      #00000000 #00000000 none
	menu color border	30;44      #00000000 #00000000 none
	menu color title	1;36;44    #ffF6FF00 #30003f07 none
	menu color unsel	37;44      #ffffffff #00000000 none
	menu color hotkey	1;37;44    #ff8037b7 #00000000 none
	menu color sel		7;37;40    #ff111B78 #003f7fbf none
	menu color hotsel	1;7;37;40  #ffaf67f7 #003f7fbf none
	menu color scrollbar	30;44      #00000000 #00000000 none

	menu color tabmsg	31;40      #ffB6F538 #00000000 none
	menu color cmdmark	1;36;40    #ffff0000 #00000000 none
	menu color cmdline	37;40      #ffffffff #ff000000 none
	menu color pwdborder	30;47      #ffff0000 #00000000 std
	menu color pwdheader	31;47      #ffff0000 #00000000 std
	menu color pwdentry	30;47      #ffff0000 #00000000 std
	menu color timeout_msg	37;40      #ff809aef #00000000 none
	menu color timeout	1;37;40    #ffb72f9f #00000000 none
	menu color help		37;40      #ffD5F538 #00000000 none
	menu color msg07	37;40      #90ffffff #00000000 std


LABEL XFCE
MENU LABEL Graphics mode (XFCE)
KERNEL vmlinuz
APPEND initrd=initrd.xz change=/mnt/sdb1/porteus/milan.dat
TEXT HELP
    Run Porteus the best way we can.
    Try to autoconfigure graphics
    card and use the maximum
    allowed resolution
ENDTEXT

LABEL fresh
MENU LABEL Always Fresh
KERNEL vmlinuz
APPEND initrd=initrd.xz nomagic base_only norootcopy
TEXT HELP
    Normally Porteus saves all changes
    to the /porteus/changes/ directory
    on the boot media (if writable)
    and restores them next boot.
    Use this option to start a fresh
    system, changes are not read from
    or written to any device
ENDTEXT

LABEL copy2ram
MENU LABEL Copy To RAM
KERNEL vmlinuz
APPEND initrd=initrd.xz copy2ram
TEXT HELP
    Run Porteus the same as above,
    but first copy all data to RAM
    to get a huge speed increase
    (needs >768MB)
ENDTEXT

LABEL text
MENU LABEL Text mode
KERNEL vmlinuz
APPEND initrd=initrd.xz 3
TEXT HELP
    Run Porteus in text mode and
    start the command prompt only
ENDTEXT

LABEL pxe-boot
MENU LABEL Porteus as PXE server
KERNEL vmlinuz
APPEND initrd=initrd.xz pxe
TEXT HELP
    Run Porteus as usual, but also
    initialize a PXE server.
    This will allow you to boot Porteus
    on other computers over a network
ENDTEXT

MENU SEPARATOR

LABEL plop
MENU LABEL PLoP BootManager
KERNEL plpbt
TEXT HELP
    Run the plop boot manager.
    This utility provides handy
    boot-USB options for machines
    with vintage/defective BIOS
ENDTEXT

LABEL hd
MENU LABEL Boot from the first hd
COM32 chain.c32
APPEND hd0 1
TEXT HELP
    Don't start Porteus at all, but
    rather run any operating system
    installed on the first partition
    of the hard drive
ENDTEXT
now is like that but have tried like this but no succeeded

Code: Select all

PROMPT 0
TIMEOUT 90
UI vesamenu.c32
DEFAULT XFCE
MENU BACKGROUND porteus.png
MENU TITLE Porteus-3.1 64bit

MENU WIDTH 30
MENU MARGIN 2
MENU ROWS 10
MENU HELPMSGROW 17
MENU TIMEOUTROW 28
MENU TABMSGROW 15
MENU CMDLINEROW 22
MENU HSHIFT 4
MENU VSHIFT 5

	menu color screen	37;40      #00000000 #00000000 none
	menu color border	30;44      #00000000 #00000000 none
	menu color title	1;36;44    #ffF6FF00 #30003f07 none
	menu color unsel	37;44      #ffffffff #00000000 none
	menu color hotkey	1;37;44    #ff8037b7 #00000000 none
	menu color sel		7;37;40    #ff111B78 #003f7fbf none
	menu color hotsel	1;7;37;40  #ffaf67f7 #003f7fbf none
	menu color scrollbar	30;44      #00000000 #00000000 none

	menu color tabmsg	31;40      #ffB6F538 #00000000 none
	menu color cmdmark	1;36;40    #ffff0000 #00000000 none
	menu color cmdline	37;40      #ffffffff #ff000000 none
	menu color pwdborder	30;47      #ffff0000 #00000000 std
	menu color pwdheader	31;47      #ffff0000 #00000000 std
	menu color pwdentry	30;47      #ffff0000 #00000000 std
	menu color timeout_msg	37;40      #ff809aef #00000000 none
	menu color timeout	1;37;40    #ffb72f9f #00000000 none
	menu color help		37;40      #ffD5F538 #00000000 none
	menu color msg07	37;40      #90ffffff #00000000 std


LABEL XFCE
MENU LABEL Graphics mode (XFCE)
KERNEL vmlinuz
APPEND initrd=initrd.xz change=/porteus/milan.dat
TEXT HELP
    Run Porteus the best way we can.
    Try to autoconfigure graphics
    card and use the maximum
    allowed resolution
ENDTEXT

LABEL fresh
MENU LABEL Always Fresh
KERNEL vmlinuz
APPEND initrd=initrd.xz nomagic base_only norootcopy
TEXT HELP
    Normally Porteus saves all changes
    to the /porteus/changes/ directory
    on the boot media (if writable)
    and restores them next boot.
    Use this option to start a fresh
    system, changes are not read from
    or written to any device
ENDTEXT

LABEL copy2ram
MENU LABEL Copy To RAM
KERNEL vmlinuz
APPEND initrd=initrd.xz copy2ram
TEXT HELP
    Run Porteus the same as above,
    but first copy all data to RAM
    to get a huge speed increase
    (needs >768MB)
ENDTEXT

LABEL text
MENU LABEL Text mode
KERNEL vmlinuz
APPEND initrd=initrd.xz 3
TEXT HELP
    Run Porteus in text mode and
    start the command prompt only
ENDTEXT

LABEL pxe-boot
MENU LABEL Porteus as PXE server
KERNEL vmlinuz
APPEND initrd=initrd.xz pxe
TEXT HELP
    Run Porteus as usual, but also
    initialize a PXE server.
    This will allow you to boot Porteus
    on other computers over a network
ENDTEXT

MENU SEPARATOR

LABEL plop
MENU LABEL PLoP BootManager
KERNEL plpbt
TEXT HELP
    Run the plop boot manager.
    This utility provides handy
    boot-USB options for machines
    with vintage/defective BIOS
ENDTEXT

LABEL hd
MENU LABEL Boot from the first hd
COM32 chain.c32
APPEND hd0 1
TEXT HELP
    Don't start Porteus at all, but
    rather run any operating system
    installed on the first partition
    of the hard drive
ENDTEXT

User avatar
fanthom
Site Admin
Site Admin
Posts: 4566
Joined: 28 Dec 2010, 02:42
Distribution: Porteus Kiosk
Location: Poland, currently - Cork, IE
Contact:

Re: USB with 2 partitions, FAT & ext, with porteus on ext pa

Post#5 by fanthom » 20 Apr 2015, 07:05

we dont have a cheatcode named 'change='
Please add [Solved] to your thread title if the solution was found.

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

Re: USB with 2 partitions, FAT & ext, with porteus on ext pa

Post#6 by Ed_P » 20 Apr 2015, 13:58

You are so close milangru.

You just need to add 1 letter. changes= rather than change=

Code: Select all

So...
APPEND initrd=initrd.xz change=/porteus/milan.dat
becomes
APPEND initrd=initrd.xz changes=/porteus/milan.dat
hth :)
Ed

milangru
White ninja
White ninja
Posts: 12
Joined: 11 Apr 2015, 17:24
Distribution: Porteus KDE
Location: Novi Sad

Re: USB with 2 partitions, FAT & ext, with porteus on ext pa

Post#7 by milangru » 20 Apr 2015, 14:26

Hope this is god but still no persistent porteus.

Code: Select all

LABEL XFCE
MENU LABEL Graphics mode (XFCE)
KERNEL vmlinuz
APPEND initrd=initrd.xz changes=/mnt/sdb1/porteus/porteussave.dat
TEXT HELP
    Run Porteus the best way we can.
    Try to autoconfigure graphics
    card and use the maximum
    allowed resolution
ENDTEXT
Image

Image

milangru
White ninja
White ninja
Posts: 12
Joined: 11 Apr 2015, 17:24
Distribution: Porteus KDE
Location: Novi Sad

Re: USB with 2 partitions, FAT & ext, with porteus on ext pa

Post#8 by milangru » 20 Apr 2015, 14:54

Finaly got it...
Create 2 partitions first ine FAT 32 with porteus on it. Second one ext4. Copied porteus folder from fat to ext partition and now is working---- :Yahoo!: Yeahhhh

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

Re: USB with 2 partitions, FAT & ext, with porteus on ext pa

Post#9 by Ed_P » 20 Apr 2015, 15:06

Recommended:
Ed_P wrote:

Code: Select all

So...
APPEND initrd=initrd.xz change=/porteus/milan.dat
becomes
APPEND initrd=initrd.xz changes=/porteus/milan.dat
Implemented:
milangru wrote:

Code: Select all

APPEND initrd=initrd.xz changes=/mnt/sdb1/porteus/porteussave.dat
See the difference?


-edit-
milangru wrote:Finaly got it...
Create 2 partitions first ine FAT 32 with porteus on it. Second one ext4. Copied porteus folder from fat to ext partition and now is working---- :Yahoo!: Yeahhhh
Good for you milangru :good:
Ed

Post Reply