Re: [IMPORTANT] Boot loader for next release.
Posted: 08 Feb 2011, 19:12
Great Idea , an All-In-One Script !
Code: Select all
%BCDEDIT% /create /d "FIDOSlax Linux" /application bootsector | %SED% s/^.*{/{/ | %SED% s/}.*$/}/ >%TEMP%\grub4dos.id
for /f %%A in (%TEMP%\grub4dos.id) do set guid=%%A
Code: Select all
LABEL FREEDOS
MENU LABEL Run Free DOS
KERNEL /boot/dos2/memdisk
APPEND initrd=/boot/dos2/balder10.img
TEXT HELP
More about currently selected:
Boot a FREEDOS with USB and Ramdisk A:
ENDTEXT
Code: Select all
LABEL FREEDOS
MENU LABEL Run Free DOS
KERNEL /boot/dos2/memdisk
APPEND initrd=/boot/dos2/balder10.img
TEXT HELP
More about currently selected:
Boot a FREEDOS with USB and Ramdisk A:
ENDTEXT
Code: Select all
PROMPT 1
LABEL linux
MENU LABEL Run linux over PXE
KERNEL /vmlinuz
IPAPPEND 1
APPEND vga=769 initrd=/initrd.gz ramdisk_size=6666 root=/dev/ram0 rw autoexec=xconf;startx
LABEL memtest86
MENU LABEL Run Memtest utility
KERNEL /mt86p
LABEL dos
MENU LABEL Run FreeDOS
KERNEL /dos2/memdisk
APPEND initrd=/dos2/balder10.imz
LABEL dos2
MENU LABEL Run FreeDOS modded
KERNEL /dos2/memdisk
APPEND initrd=/dos2/balder10.img
I meant to say: Change /boot/pxelinux.cfg/default (!!) ; that is the actual filename which contains all the PXE boot options.Change /boot/pxelinux.cfg in your Porteus installation so it looks like this: (This is just an EXAMPLE:)