SOLVED: multilple porteus os on the same partition

Non release banter
User avatar
francois
Contributor
Contributor
Posts: 5941
Joined: 28 Dec 2010, 14:25
Distribution: xfce plank porteus nemesis
Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.

Re: multiple porteus os on the same partition

Post#11 by francois » 14 Oct 2011, 20:05

All on the same line with dev:
kernel (hd0,1)/porteus32bit_v10/boot/vmlinuz from_dev=/dev/sda2 from_dir=porteus32bit_v10 changes=/dev/sdb2/porteus32bit_v10cfg ramdisk_size=6666 root=/dev/ram0 rw toroot
Coming up with /mnt
Last edited by francois on 01 Mar 2013, 21:36, edited 1 time in total.
Prendre son temps, profiter de celui qui passe.

User avatar
fanthom
Site Admin
Site Admin
Posts: 5335
Joined: 28 Dec 2010, 02:42
Distribution: Porteus Kiosk
Location: Poland
Contact:

Re: multilple porteus os on the same partition

Post#12 by fanthom » 14 Oct 2011, 20:13

@francois
are you sure that porteus32bit_v10cfg folder is created on /dev/sdb2 and not /dev/sda2 ?
so far i have seen /dev/sda2 used for storing changes in this thread....
Please add [Solved] to your thread title if the solution was found.

User avatar
Ahau
King of Docs
King of Docs
Posts: 1331
Joined: 28 Dec 2010, 15:18
Distribution: LXDE & Xfce 32/64-bit
Location: USA

Re: multilple porteus os on the same partition

Post#13 by Ahau » 14 Oct 2011, 20:39

Shoot -- that one would be my fault. I think I wrote sdb2 instead of sda2 in the last post. sdb2 is where everything goes on my porteus install, I'm so damn used to typing it!
Please take a look at our online documentation, here. Suggestions are welcome!

User avatar
francois
Contributor
Contributor
Posts: 5941
Joined: 28 Dec 2010, 14:25
Distribution: xfce plank porteus nemesis
Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.

Re: multilple porteus os on the same partition

Post#14 by francois » 14 Oct 2011, 21:34

@Ahau:
Frankly, I should have read before writing it. I thought I was the one who mix with it. I so often write sdbx.
@Fanthom:
This was it. Using sdax as much as with /dev as with /mnt will work.
Thanks a lot.

Here is the final code of the menu.lst:

Code: Select all

title porteus v01_32 on sda2/porteus32bit_v10
kernel (hd0,1)/porteus32bit_v10/boot/vmlinuz from_dev=/dev/sda2 from_dir=/porteus32bit_v10 changes=/mnt/sda2/porteus32bit_v10/porteus32bit_v10-2 toroot autoexec=xconf;telinit~4 max_loop=256
initrd=(hd0,1)/porteus32bit_v10/boot/initrd.xz 
boot
Note: One can note that my changes folder was relocated in the /mnt/sda2/porteus32bit_v10 folder. As fanthom pinpointed, ramdisk_size=6666 root=/dev/ram0 rw are the standard commands for porteus, so they were removed.
Last edited by francois on 04 Nov 2011, 21:57, edited 1 time in total.
Prendre son temps, profiter de celui qui passe.

User avatar
brokenman
Site Admin
Site Admin
Posts: 6104
Joined: 27 Dec 2010, 03:50
Distribution: Porteus v4 all desktops
Location: Brazil
Contact:

Re: SOLVED: multilple porteus os on the same partition

Post#15 by brokenman » 29 Oct 2011, 22:13

Strange ... Doesn't work for me.

Code: Select all

title Porteus v1.1 32bit
kernel (hd0,4)/os/porteus-dev/boot/vmlinuz from_dev=/dev/sda5 from_dir=/os/porteus-dev
initrd=(hd0,4)/os/porteus-dev/boot/initrd.xz
boot
I get 'porteus data not found'.

This entry for v1.0 works fine.

Code: Select all

title Porteus v1.0 32bit
kernel (hd0,4)/os/porteus1/boot/vmlinuz ramdisk_size=6666 root=/dev/ram0 rw from_dev=/dev/sda5 from_dir=/os/porteus1 autoexec=xconf;telinit~4
initrd=(hd0,4)/os/porteus1/boot/initrd.xz
boot
Also booting with from_iso cheatcode works fine.
How do i become super user?
Wear your underpants on the outside and put on a cape.

User avatar
fanthom
Site Admin
Site Admin
Posts: 5335
Joined: 28 Dec 2010, 02:42
Distribution: Porteus Kiosk
Location: Poland
Contact:

Re: SOLVED: multilple porteus os on the same partition

Post#16 by fanthom » 29 Oct 2011, 22:44

@brokenman
'from_dev=' cheatcode functionality is changed in Porteus-1.1. changelog says:

Code: Select all

- tweaked 'from_dir=' cheatcode so it's allowed to keep porteus data in any dir: /mnt/sdb1/64 instead of /mnt/sdb1/64/porteus
be aware that now you need to provide full path to .sgn file, so when you put porteus data in /mnt/sda1/64/porteus, then you need to use "from_dir=/64/porteus" cheatcode (crashman and Kriss request)
i guess that correct chetcode for your case will be:
'from_dir=/os/porteus-dev/porteus'
(full path to *.sgn file)

Cheers
Please add [Solved] to your thread title if the solution was found.

User avatar
brokenman
Site Admin
Site Admin
Posts: 6104
Joined: 27 Dec 2010, 03:50
Distribution: Porteus v4 all desktops
Location: Brazil
Contact:

Re: SOLVED: multilple porteus os on the same partition

Post#17 by brokenman » 02 Nov 2011, 02:38

Indeed. I thought i had tried it every which way ... but now it works fine. Thanks.
How do i become super user?
Wear your underpants on the outside and put on a cape.

User avatar
francois
Contributor
Contributor
Posts: 5941
Joined: 28 Dec 2010, 14:25
Distribution: xfce plank porteus nemesis
Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.

Re: SOLVED: multilple porteus os on the same partition

Post#18 by francois » 02 Nov 2011, 03:38

Happy that you asked the question brokenman. This way I didn't have to do it. :)
Here is my new menu.lst for porteus 32bit v. 1.0 rc1

Code: Select all

title porteus v11_32 on sda7/32bit_v11rc1
kernel (hd0,6)/32bit_v11/boot/vmlinuz from_dev=/dev/sda7 from_dir=/32bit_v11/porteus changes=/mnt/sda7/32bit_v11/cfg_v11 toroot autoexec=xconf;telinit~4 max_loop=256
initrd=(hd0,6)/32bit_v11/boot/initrd.xz
boot
Prendre son temps, profiter de celui qui passe.

Post Reply