Tip! How to begin with Porteus for Windows users - booting

Here you can post about non-standard installation methods
(for example when using grub4dos).
Posts: 676
Joined: 26 Jun 2013, 14:03
Distribution: x64 Openbox
Location: Russia is causing the immense damage to humanity

Tip! How to begin with Porteus for Windows users - booting

Post#1 by tome » 14 Mar 2015, 20:27

You need GRUB4DOS http://grub4dos.chenall.net/ or https://github.com/chenall/grub4dos/ or http://sourceforge.net/projects/grub4dos/ or https://code.google.com/p/grub4dos-chen ... loads/list. Unpack it and find grldr, grldr.mbr, grub.exe or menu.lst
0.4.5c is stable "release candidate" series.
0.4.6a changed the bootloader code(grldrstart.S, grldr.mbr, bootlace.com, etc), and it is in alpha stage. Besides, 0.4.6 will have full support for the exFAT filesystem.
Unpack your Porteus iso image to C:\ (or D:\ no mutter what disk partition); vmlinuz and initrd.xz must be in C:\porteus\boot\syslinux, base folder and porteus-v2.1-x86_64.sgn file in C:\porteus.

Open menu.lst with notepad and add these lines to the end of text (you can also delete all text and add only these):

Code: Select all

title Porteus 2.1
find --set-root /boot/syslinux/vmlinuz
kernel /boot/syslinux/vmlinuz
initrd /boot/syslinux/initrd.xz
then copy menu.lst to C:\ or D:\.

Next steps:

For Windows XP users:
Copy grldr to C:\ or D:\ or to both disk partitions (I don't know your computer settings)
Click right mouse button on My Computer and go to:
Properties -> Advanced -> Startup and Recovery -> Settings -> System Startup -> Edit
it opens boot.ini so add this one line to the end of text:

Code: Select all

close this file with saving
and set up "Time to display list of operating systems:" for example for 2 seconds but do not change "Default operating system".

Done, you can restart your computer and during boot choose Grub4Dos (you have definited time for doing it).

For Windows Vista or 7 users:

Method 1.
Create new boot.ini file with Notepad on Desktop (don't use other editors) and paste:

Code: Select all

[boot loader]
[operating systems]

next copy boot.ini to C:\. Done.

Method 2.
Open a Command Prompt with administrator privileges (right click and select Run as administrator).
Type the following text and click "Enter".

Code: Select all

bcdedit /create /d Grub4Dos /application BOOTSECTOR
This will return a unique guid number for the new entry like this:{9c9cc012-3cde-11e3-b3d5-0024e8f4a561}. Next enter line by line (replace :{9c9cc012-3cde-11e3-b3d5-0024e8f4a561} with your own!) these:

Code: Select all

bcdedit /set {9c9cc012-3cde-11e3-b3d5-0024e8f4a561} device partition=c:
bcdedit /set {9c9cc012-3cde-11e3-b3d5-0024e8f4a561} path \grldr.mbr
bcdedit /displayorder {9c9cc012-3cde-11e3-b3d5-0024e8f4a561} /addlast
bcdedit /timeout 2
timeout 2 - waiting time for choosing OS in seconds

Method 3.
Install Visual BCD Editor (Click New -> Application -> BootSector Loader and edit ApplicationDevice and -Path) or EasyBCD (Choose Neogrub and copy menu.lst to c:\neogrub) - this programs use with attention, if you will test something you can distroy your system startup.

More info:

Some examples of entries for (lilo.conf and porteus.cfg) are in /boot /syslinux - you must convert it for for your grub4dos loader or another, info about start parameters (cheatcodes) are in /boot/docs in your downloaded iso image.
If something is not precisely written give info.

Moved from wrong forum section.
You have mind and feelings. Be wise and clever.

User avatar
Posts: 8363
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 5.01 ISO
Location: Western NY, USA

Re: Tip! How to begin with Porteus for Windows users - booti

Post#2 by Ed_P » 16 Mar 2015, 19:50


Post Reply