Porteus on a USB flash (Grub4DOS) NTFS

Here you can post about non-standard installation methods
(for example when using grub4dos).
Post Reply
User avatar
laikexpert
White ninja
White ninja
Posts: 20
Joined: 30 Jan 2011, 05:35
Location: CyberSpace
Contact:

Porteus on a USB flash (Grub4DOS) NTFS

Post#1 by laikexpert » 03 Feb 2011, 00:47

Porteus on a USB flash (Grub4DOS) NTFS

Porteus 32bit
Image

I have USB flash 16GB NTFS formated
and i have Grub4DOS
I did the following


1.) Download the Porteus 32bit ISO image:
http://porteus.org/index.php#

2.) Create a folder porteus on a USB flash drive.

3.) Take from the downloaded ISO, files
vmlinuz
initrd.lz (from the folder boot)
and all content (from the folder porteus)
will be placed in a folder porteus.

(extract the files from the ISO can programs Ultra-ISO or WinRar)

4.) In the main menu.lst add a:
title Porteus ==>
configfile (hd0,0)/boot/menus/porteus.lst


5.) In the folder /Boot/menus/ (Create a folder on a USB flash drive)
to file porteus.lst (Create a file on a USB flash drive)
add:
splashimage (hd0,0)/BOOT/Splash/slacktux.xpm.gz
foreground 000000
background ffffff

timeout 30
default 0

title Porteus Graphics mode (KDE)
find --set-root /grldr
kernel /porteus/vmlinuz max_loop=255 ramdisk_size=6666 root=/dev/ram0 rw autoexec=xconf;telinit~4 fromusb
initrd /porteus/initrd.lz

title Porteus Graphics mode (KDE),Copy To RAM
find --set-root /grldr
kernel /porteus/vmlinuz max_loop=255 ramdisk_size=6666 root=/dev/ram0 rw copy2ram autoexec=xconf;telinit~4 fromusb
initrd /porteus/initrd.lz

title Porteus Graphics mode (LXDE)
find --set-root /grldr
kernel /porteus/vmlinuz max_loop=255 ramdisk_size=6666 root=/dev/ram0 rw autoexec=lxde;xconf;telinit~4 fromusb
initrd /porteus/initrd.lz

title Porteus Graphics mode (LXDE),Copy To RAM
find --set-root /grldr
kernel /porteus/vmlinuz max_loop=255 ramdisk_size=6666 root=/dev/ram0 rw copy2ram autoexec=lxde;xconf;telinit~4 fromusb
initrd /porteus/initrd.lz

title Porteus Graphics mode (KDE) + Save changes /porteus/
find --set-root /grldr
kernel /porteus/vmlinuz max_loop=255 ramdisk_size=6666 root=/dev/ram0 rw autoexec=xconf;telinit~4 changes=/porteus/ fromusb
initrd /porteus/initrd.lz

title Porteus Graphics VESA mode
find --set-root /grldr
kernel /porteus/vmlinuz max_loop=255 ramdisk_size=6666 root=/dev/ram0 rw autoexec=telinit~4 fromusb
initrd /porteus/initrd.lz

title Porteus Text mode
find --set-root /grldr
kernel /porteus/vmlinuz max_loop=255 ramdisk_size=6666 root=/dev/ram0 rw fromusb
initrd /porteus/initrd.lz

title Return Back <==
configfile (hd0,0)/menu.lst

title Reboot
reboot

title ShutDown
halt
5.) Download file
http://dl.dropbox.com/u/4040651/slacktux.xpm.gz
Put the file in a folder /Boot/Splash/ (Create a folder on a USB flash drive)

6.) And Porteus work like a charm.
All is OK


P.S.
Good luck
Long Live linux
Resistance is futile, you will be asimilated!Ubuntu
http://laikexpert.googlepages.com

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: Porteus on a USB flash (Grub4DOS) NTFS

Post#2 by Ahau » 03 Feb 2011, 02:01

Thanks, laikexpert!

Just to clarify, you already had grub4dos installed on your flashdrive, booting other distros, correct?

And, you moved the kernel and initrd into the /porteus folder to eliminate having an extra folder (/boot) in the root of your device, correct?
Please take a look at our online documentation, here. Suggestions are welcome!

User avatar
laikexpert
White ninja
White ninja
Posts: 20
Joined: 30 Jan 2011, 05:35
Location: CyberSpace
Contact:

Re: Porteus on a USB flash (Grub4DOS) NTFS

Post#3 by laikexpert » 03 Feb 2011, 02:15

Hi Ahau
Yes I have grub4dos on my USB flash for multiboot.

Yes correct.


P.S.
Long Live linux
Resistance is futile, you will be asimilated!Ubuntu
http://laikexpert.googlepages.com

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

Re: Porteus on a USB flash (Grub4DOS) NTFS

Post#4 by fanthom » 03 Feb 2011, 22:02

small corrections:
'ramdisk_size=6666 root=/dev/ram0 rw' are build into kernel so can be removed from bootloader config files. run 'cat /proc/cmdline' and you will see them :)
'fromusb' - first time hear about this cheatcode, does it really pass anything to the kernel?

All HOWTO's should be published on the main site, check this:
viewtopic.php?f=35&t=163

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

Post Reply