
How to install Porteus on the same partition with Windows?
-
- Ronin
- Posts: 2
- Joined: 16 Dec 2016, 18:14
- Distribution: Lubuntu
- Location: Romania
How to install Porteus on the same partition with Windows?
Hi guys. I'm new in this world of Linux, and I need some help. At this moment I have a laptop running Windows 10 and I have just 1 partition and I prefer to keep it like that. My question is how can I install Porteux XFCE on the same partition where Windows 10 is installed. I know on Ubuntu and other flavors like Lubuntu, Xubuntu, etc is a program named Wubi to do this. So any methods for Porteus installation of this kind? 

-
- Full of knowledge
- Posts: 2564
- Joined: 25 Jun 2014, 15:21
- Distribution: 3.2.2 Cinnamon & KDE5
- Location: London
Re: How to install Porteus on the same partition with Window
Welcome to Porteus. There is no need to 'install' Porteus, because it is a live system, where all the action is in memory{ram). You need to download one of the ISO files from: http://porteus.org/porteus-mirrors.txt. Then next you just need to use the appropriate boot loader.
Ed_P has gone nto this in some detail. I am sure that he will be able to give you a blow by blow account of how you will get yourself good to go on Porteus!
Ed_P has gone nto this in some detail. I am sure that he will be able to give you a blow by blow account of how you will get yourself good to go on Porteus!

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
NVIDIA Corporation C61 [GeForce 6150SE nForce 430] (rev a2) MemTotal: 901760 kB MemFree: 66752 kB
- Ed_P
- Contributor
- Posts: 8912
- Joined: 06 Feb 2013, 22:12
- Distribution: Cinnamon 5.01 ISO
- Location: Western NY, USA
Re: How to install Porteus on the same partition with Window
Hello mariusikaEu.
What I do on new EFI machines is install Grub2Win, then in the grub.cfg it creates I create a menu to boot the Porteus ISO.
-update-
An example grub2 Porteus menu for you to use.
My $linux_drv folders contain my Modules folder for .xzm files to be loaded when Porteus boots and my changes folder which contains my save.dat file used to save system changes, and a couple of other Porteus related folders.
What I do on new EFI machines is install Grub2Win, then in the grub.cfg it creates I create a menu to boot the Porteus ISO.
-update-
An example grub2 Porteus menu for you to use.
Code: Select all
# start-grub2win-user-section ********************************************************
#
menuentry "Porteus Cinnamon ISO" --class slackware --class icon-porteus {
echo Boot disk address is: $root
echo Prefix is: $prefix
echo The boot mode is: $grub2win_bootmode
set linux_folder=porteus3.2
set iso=/ISOs/Porteus-CINNAMON-v3.2.1-x86_64.iso
search -f $iso --set=root
set linux_drv=/mnt/sda5/$linux_folder
echo ISO root is: $root
echo ISO is: $iso
echo Porteus folders: $linux_drv
set porteus_parms="changes=EXIT:$linux_drv/changes/porteussave.dat volume=33 reboot=cold extramod=$linux_drv/Modules"
echo Porteus parms are: $porteus_parms
echo
loopback loop $iso
sleep -v -i 17
echo "Loading Linux"
linux (loop)/boot/syslinux/vmlinuz from=$iso $porteus_parms
echo "Loading initrd"
initrd (loop)/boot/syslinux/initrd.xz
}
-
- Full of knowledge
- Posts: 2564
- Joined: 25 Jun 2014, 15:21
- Distribution: 3.2.2 Cinnamon & KDE5
- Location: London
Re: How to install Porteus on the same partition with Window
^ Looks difficult for Newbie.
@mariusikaEu Do not hesitate to ask if you do not understand anything.
@mariusikaEu Do not hesitate to ask if you do not understand anything.

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
NVIDIA Corporation C61 [GeForce 6150SE nForce 430] (rev a2) MemTotal: 901760 kB MemFree: 66752 kB
- Ed_P
- Contributor
- Posts: 8912
- Joined: 06 Feb 2013, 22:12
- Distribution: Cinnamon 5.01 ISO
- Location: Western NY, USA
Re: How to install Porteus on the same partition with Window
Yup. But actually it's not that hard. There are only 4 lines that you need to tweak to fit your scenario.Bogomips wrote:^ Looks difficult for Newbie.
Code: Select all
set linux_folder=porteus3.2
Code: Select all
set iso=/ISOs/Porteus-CINNAMON-v3.2.1-x86_64.iso
Code: Select all
set linux_drv=/mnt/sda5/$linux_folder
The "a" is Linux's way of addressing drives in a machine. "a" for the first drive, "b" for the second drive, "c" for a third and etc. 99% of the time a machine has only 1 drive, the hard drive, and it is the "a" drive. If you had a USB drive also it would be the "b" drive.
Now comes the tough part, the "5". The "5" represents the partition number of the drive you are using for your files. Windows uses letters to represent a drive's partition, C: being the most common, and with modern machine's hard drives it doesn't represent the first or even the third partition now days. Modern machines have hard drives with many hidden partitions, for EFI, for Recovery, for vendor diagnostics, etc. Linux counts the partitions, the visible and the invisible ones, starting with the number 1. On my hard drive my C: drive is number 4 and a partition that I created for my non-system files is number 5. D: in Windows.
How do you know what number to use for your machine? You can take a guess, it will either work or not. Or you can use Windows' Disk Management to see your hard drive's partitions and count them.
Finally the last line to be changed:
Code: Select all
set porteus_parms="changes=EXIT:$linux_drv/changes/porteussave.dat volume=33 reboot=cold extramod=$linux_drv/Modules"
Code: Select all
set porteus_parms="extramod=$linux_drv/Modules"
Have fun.

-
- Full of knowledge
- Posts: 2564
- Joined: 25 Jun 2014, 15:21
- Distribution: 3.2.2 Cinnamon & KDE5
- Location: London
Re: How to install Porteus on the same partition with Window
Thanks, Ed. Now understand this somewhat better. 8)
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
NVIDIA Corporation C61 [GeForce 6150SE nForce 430] (rev a2) MemTotal: 901760 kB MemFree: 66752 kB
-
- Ronin
- Posts: 2
- Joined: 16 Dec 2016, 18:14
- Distribution: Lubuntu
- Location: Romania
- Ed_P
- Contributor
- Posts: 8912
- Joined: 06 Feb 2013, 22:12
- Distribution: Cinnamon 5.01 ISO
- Location: Western NY, USA
Re: How to install Porteus on the same partition with Window
^ You're welcome.
BTW Grub2Win doesn't repartition the hard drive or mess with the MBR like many multi-boot options. Rather it simply adds grub2 to the Windows boot manager. When you boot you will see a Windows boot menu with Windows on the top as the default followed by a new option titled Grub2 for Windows. Thus if you get lost with Porteus, or grub2 even, you can simply reboot and select Windows to be back to your normal system.
BTW Grub2Win doesn't repartition the hard drive or mess with the MBR like many multi-boot options. Rather it simply adds grub2 to the Windows boot manager. When you boot you will see a Windows boot menu with Windows on the top as the default followed by a new option titled Grub2 for Windows. Thus if you get lost with Porteus, or grub2 even, you can simply reboot and select Windows to be back to your normal system.
-
- Samurai
- Posts: 171
- Joined: 10 Aug 2016, 05:36
- Distribution: Porteux V-0.1 64 KDE
- Location: Utopia in Tampa, Florida, USA
Re: How to install Porteus on the same partition with Window
On my wife's win 7 computer I installed Easy BCD. It adds Porteus to the boot menu.
The Porteus ISO needs to be on the "C" partition. The Porteus folder in the ISO needs to be copied to the "C" partition also.
That is how I started using Porteus.
Vic
The Porteus ISO needs to be on the "C" partition. The Porteus folder in the ISO needs to be copied to the "C" partition also.
That is how I started using Porteus.
Vic
- brokenman
- Site Admin
- Posts: 6105
- Joined: 27 Dec 2010, 03:50
- Distribution: Porteus v4 all desktops
- Location: Brazil
Re: How to install Porteus on the same partition with Window
Thanks Vic, and welcome!
I also used it on win7 but I don't think Easy BCD works on windows 10.
I also used it on win7 but I don't think Easy BCD works on windows 10.
How do i become super user?
Wear your underpants on the outside and put on a cape.
Wear your underpants on the outside and put on a cape.
- Ed_P
- Contributor
- Posts: 8912
- Joined: 06 Feb 2013, 22:12
- Distribution: Cinnamon 5.01 ISO
- Location: Western NY, USA
Re: How to install Porteus on the same partition with Window
The EasyBCD webpage indicates it supports Windows 10 and UEFI even. It's come a long ways.
Grub2Win doesn't require the Porteus ISO to be located on the C: drive or files to be extracted from the ISO and stored on the C: drive in order to be booted. I store my ISOs and Porteus support folders/files on my D: drive.
-update-
Porteus support folders/files = Modules, Optional, Downloads, save.dat file
Grub2Win doesn't require the Porteus ISO to be located on the C: drive or files to be extracted from the ISO and stored on the C: drive in order to be booted. I store my ISOs and Porteus support folders/files on my D: drive.
-update-
Porteus support folders/files = Modules, Optional, Downloads, save.dat file