Wolvix Wiki : USBFlashDriveInstall

HomePage :: Wolvix.org :: Categories :: PageIndex :: RecentChanges :: RecentlyCommented :: Login/Register

Revision [657]

Most recent edit made on 2007-10-14 14:45:00 by WolveN

Deletions:
olorolreltro




Revision [607]

Edited on 2007-10-12 02:55:19 by ZelliTamon (unregistered user)

Additions:
olorolreltro




Revision [564]

Edited on 2007-10-08 01:24:09 by PawRib

Additions:

1) Preparation:

I like to use the FAT32 filesystem on my Flash Drive, but you can also use FAT16 which is the default on most Flash devices, so this step is optional.


Deletions:

1) Preperation:

I like to use the FAT32 FileSystem on my Flash Drive, but you can also use FAT16 which is the default on most Flash devices, so this step is optional.




Revision [556]

Edited on 2007-10-07 11:44:30 by PawRib [Few quick grammatical changes.]

Additions:
First, we must mount the drive so we can copy files to it:
We need to move some files from the /boot directory to the base (root) of the drive:
Then rename the file 'isolinux.cfg' to 'syslinux.cfg':
Again, replace sda1 with your device.

Using Windows:



Deletions:
First we must mount the drive so we can copy files to it:
We need to move some files from the /boot directory to the base (root) of the drive.
Then rename the file 'isolinux.cfg' to 'syslinux.cfg'
Again replace sda1 with your device.

using Windows:





Revision [555]

Edited on 2007-10-07 11:41:13 by PawRib [Spelling, grammar edit.]

Additions:

You can install Wolvix to a USB Flash Drive by:
  • using a Wolvix CD-ROM
  • Using Wolvix / Linux:

    Note! In Wolvix 1.0.5 and later there is a USB drive installer included in the WolvixControlPanel, so there is no need to install manually as described below.
    All commands described in this guide are executed from a terminal.
    Make sure you have a Flash Drive with sufficient space before you start. The minimum is 512MB, or 256MB if you intend to install 'Wolvix Cub'.
    Boot the Wolvix CD and download the latest syslinux tarball from kernel.org (syslinux-3.31.tar.gz will be used in this guide).
    Inside /mnt you should see a directory called 'sda1_removable' or similar. The actual DeviceName (sda1 in my case) may be different on your system, depending on whether you have any S-ATA or SCSI hard drives or any other flash devices in your computer. If you don't have any S-ATA or SCSI hard drives and the Flash Drive you intend to use is the only one inserted, it's probably sda1. (/dev/sda1)
    To format your Flash Drive with FAT32 use this command (remember to replace sda1 with your actual device):
    First we must mount the drive so we can copy files to it:
    Replace hdc with the DeviceName that applies to your system. Look inside the directory '/mnt/live/mnt' if you're not sure. Inside, you should see a directory called 'hdb', 'hdc', or 'hdd', depending on how your CD/DVD drive is connected to the computer.
    Now we need to edit 'syslinux.cfg' so it will find the kernel (vmlinuz), the initrd and the splash config we just moved. You need to remove all the boot/ references, except for the last one for memtest in this file.
    Then edit splash.cfg
    Again you need to remove boot/, so edit the file from this:
    First, we move out of the Flash Drive, then unmount it.
    Go to the syslinux-3.31/mtools directory and install it to the Flash Drive.
    If everything goes well, you should now be able to run Wolvix from your USB Flash Drive.

    1) Preparation:

    You will need:
    Before editing
    And after editing:
    Save the edited syslinux.cfg file and close it.
    Then, open the splash.cfg file in your editor:
    Again, you need to remove boot/, so edit the file from this:
    Note!The first characters at the beginning of line 1 and line 2 are not readable ... that's OK. Leave them alone and just edit the text that you can read, like removing boot/ in line 1.

    4) Install syslinux:



    Deletions:
    you can install Wolvix to a USB Flash Drive with two methods:

    using wolvix / Linux:

    Note! In Wolvix 1.0.5 or later there is a USB drive installer included in the WolvixControlPanel, so there is no need to install manually like described below.
    All commands described in this guide are executete from a terminal.
    Make sure you have a Flash Drive with sufficient space before you start. The minimum is 512MB or 256MB if you intend to install 'Wolvix Cub'.
    Boot the Wolvix CD and download the latest syslinux tarball from kernel.org (syslinux-3.31.tar.gz will be used in this guide.)
    Inside /mnt you should see a directory called 'sda1_removable' or similar. The actuall DeviceName (sda1 in my case) may be different on your system, depending on whether you have any S-ATA or SCSI hard drives or any other flash devices in your computer. If you don't have any S-ATA or SCSI hard drives and the Flash Drive you intend to use is the only one inserted, its probably sda1. (/dev/sda1)
    To format you Flash Drive with FAT32 use the command: (Remember to replace sda1 with your actuall device.)
    First we must mount the drive so we can copy files to it.
    Replace hdc with the DeviceName that applies to your system. Look inside the directory: '/mnt/live/mnt' if you're not sure, inside you should see a directory called 'hdb', 'hdc', or 'hdd', depending on how your CD/DVD drive is connected to the computer.
    Now we need to edit 'syslinux.cfg' so it will find the kernel (vmlinuz), the initrd and the splash config we just moved. You need to remove all the boot/ references, but the last one for memtest in this file.
    Then edit the splash.cfg
    Again you need to remove boot/ so edit the file from this:
    First we move out of the Flash Drive then we unmount it.
    Change into the syslinux-3.31/mtools directory and install it to the Flash Drive.
    If everything went well, you should now be able to run Wolvix from your USB Flash Drive.

    1) Preperation:

    You need:
    before editing
    and after editing:
    Save the edited file syslinux.cfg and close it.
    Then open the file splash.cfg in your editor:
    Again you need to remove boot/ so edit the file from this:
    Note!The first characters at the beginning of line 1 and line 2 are not readable ... that's ok. leave them alone and just edit the text that you can read, like removing boot/ in line 1.

    4) install syslinux:





    Revision [268]

    Edited on 2007-02-18 19:54:15 by WolveN [Changed the category from 'install' to 'guide']

    Additions:
    CategoryGuide


    Deletions:
    CategoryInstall




    Revision [254]

    Edited on 2007-02-15 18:29:33 by HorstJENS [made text more pretty]

    Additions:



    Deletions:





    Revision [253]

    Edited on 2007-02-15 18:25:21 by HorstJENS

    Additions:
    Note!The first characters at the beginning of line 1 and line 2 are not readable ... that's ok. leave them alone and just edit the text that you can read, like removing boot/ in line 1.


    Deletions:
    Note!The first characters at the beginning of line 1 and line 2 are not readable ... that's ok. leave them alone and just edit the text that you can read, like removing "boot/" in line 1.




    Revision [252]

    Edited on 2007-02-15 18:23:46 by HorstJENS [proton replaced with notepad plus]

    Additions:

    1) Preperation:

    2) Copying files from the CD-ROM to the USB drive:

    finally, rename the file 'isolinux.cfg' to 'syslinux.cfg' (in the "root" directory of your USB-Drive)

    3) Editing syslinux.cfg and splash.cfg:

    like so:
    Note!The first characters at the beginning of line 1 and line 2 are not readable ... that's ok. leave them alone and just edit the text that you can read, like removing "boot/" in line 1.

    4) install syslinux:

    I suggest to C:\
  • open a shell. In Total Commander, navigate to the directory where syslinux.exe is and type cmd in the command line. Else, navigate to the start menu, click on "run program", and type "cmd".


  • Deletions:

    2) Copying files from the CD-ROM to the USB drive:

    finally, rename the file 'isolinux.cfg' to 'syslinux.cfg' (in the "root" directory of your USB-Drive)

    3) Editing syslinux.cfg and splash.cfg:

    like so:

    4) install syslinux:

    I suggest to C:\
    and type "cmd".




    Revision [251]

    Edited on 2007-02-15 18:09:32 by HorstJENS [proton replaced with notepad plus]

    Additions:



    Deletions:





    Revision [250]

    Edited on 2007-02-09 17:42:29 by HorstJENS [more space. need to know how to make link to position on the same page (link#position)]

    No differences.


    Revision [249]

    Edited on 2007-02-09 17:41:17 by HorstJENS [a guide to install wolvix to an usb-drive using windows added]

    Additions:
    you can install Wolvix to a USB Flash Drive with two methods:

    using wolvix / Linux:

    using Windows:

    The method listed here has no real advantage over the method listed above,
    but users who are new to Linux will find this method a bit more familiar.

    You need:
    finally, rename the file 'isolinux.cfg' to 'syslinux.cfg' (in the "root" directory of your USB-Drive)

    3) Editing syslinux.cfg and splash.cfg:

  • Open the file syslinux.cfg with your Text Editor. If you use proton, make sure that the whole line is displayed (the menu with F2 next to it, but you must click the menu entry, F2 does not work).
  • you have to delete all "/boot/" strings BUT NOT THE last one. The last one (/boot/memtest) you have to leave untouched.
  • like so:
    before editing
    timeout 300
    and after editing:
    timeout 300
    Save the edited file syslinux.cfg and close it.
    Then open the file splash.cfg in your editor:

    4) install syslinux:

  • The last step. copy the file syslinux.exe from the downloaded zip archive to the root directory of your hard disk.
  • I suggest to C:\
    and type "cmd".
    • in the shell, make sure that you are in the right drive. type #C:# and hit ENTER if syslinux.exe is on c:
    • in the shell, make sure that you are in the right directory. Type #dir# and hit ENTER. You should see a list of files, including syslinux.exe
    • now you have to know the driveletter of your USB-Drive. I assume it is #F:# for this example.
    • in the shell, type #syslinux F:# and hit ENTER.
    • if no error message appears, you can close the shell, remove the CD-ROM and push the RESET-BUTTON of your computer. Wolvix should boot now from the USB-Drive.




    Revision [160]

    Edited on 2006-12-28 00:07:26 by WolveN

    Additions:
    Note! In Wolvix 1.0.5 or later there is a USB drive installer included in the WolvixControlPanel, so there is no need to install manually like described below.
    Note! Your motherboard needs to be able to boot from a USB device.
    Warning! This will destroy all data on the drive, so backup the files you want to keep and make sure you format the right device.


    Deletions:
    Note! In Wolvix 1.0.5 or later there is a USB drive installer included in the WolvixControlPanel, so there is no need to install manually like described below.
    Note! Your motherboard needs to be able to boot from a USB device.
    Warning! This will destroy all data on the drive, so backup the files you want to keep and make sure you format the right device.




    Revision [146]

    Edited on 2006-12-27 14:44:03 by WolveN

    Additions:

    How to install Wolvix to a USB Flash Drive



    Deletions:

    How to install Wolvix to a USB Flash Drive





    Revision [145]

    Edited on 2006-12-27 14:27:00 by WolveN

    Additions:
    Note! In Wolvix 1.0.5 or later there is a USB drive installer included in the WolvixControlPanel, so there is no need to install manually like described below.




    Revision [125]

    Edited on 2006-10-05 07:52:36 by WolveN

    Additions:

    1) Preperation:

    2) Copying files to the drive:

    3) Moving files on the drive:

    4) Editing syslinux.cfg and splash.cfg:

    5) Final step, unmount and install syslinux:



    Deletions:

    1) Preperation:

    2) Copying files to the drive:

    3) Moving files on the drive:

    4) Editing syslinux.cfg and splash.cfg:

    5) Final step, unmount and install syslinux:





    Revision [124]

    Edited on 2006-10-02 12:31:18 by WolveN

    Additions:
    All commands described in this guide are executete from a terminal.









    Deletions:
    %%




    Revision [86]

    Edited on 2006-09-28 23:21:03 by WolveN

    Additions:
    Note! Your motherboard needs to be able to boot from a USB device.
    Warning! This will destroy all data on the drive, so backup the files you want to keep and make sure you format the right device.


    Deletions:
    NOTE! Your motherboard needs to be able to boot from a USB device.
    WARNING!!! This will destroy all data on the drive, so backup the files you want to keep and make sure you format the right device.




    Revision [54]

    Edited on 2006-09-28 19:16:11 by WolveN

    Additions:
    Insert the Flash Drive to your computer and wait a few seconds for Wolvix to detect it. To see if it was detected properly, start the FileManager (Xfe) and browse to the /mnt directory, or simply use the command:


    Deletions:
    Insert the Flash Drive and wait a few seconds for Wolvix to detect it. To see if it was detected properly, start the FileManager (Xfe) and browse to the /mnt directory, or simply use the command:




    Revision [53]

    The oldest known version of this page was edited on 2006-09-28 19:15:21 by WolveN

    How to install Wolvix to a USB Flash Drive


    1) Preperation:


    NOTE! Your motherboard needs to be able to boot from a USB device.

    Make sure you have a Flash Drive with sufficient space before you start. The minimum is 512MB or 256MB if you intend to install 'Wolvix Cub'.

    Boot the Wolvix CD and download the latest syslinux tarball from kernel.org (syslinux-3.31.tar.gz will be used in this guide.)

    Insert the Flash Drive and wait a few seconds for Wolvix to detect it. To see if it was detected properly, start the FileManager (Xfe) and browse to the /mnt directory, or simply use the command:
    ls /mnt

    Inside /mnt you should see a directory called 'sda1_removable' or similar. The actuall DeviceName (sda1 in my case) may be different on your system, depending on whether you have any S-ATA or SCSI hard drives or any other flash devices in your computer. If you don't have any S-ATA or SCSI hard drives and the Flash Drive you intend to use is the only one inserted, its probably sda1. (/dev/sda1)

    I like to use the FAT32 FileSystem on my Flash Drive, but you can also use FAT16 which is the default on most Flash devices, so this step is optional.

    To format you Flash Drive with FAT32 use the command: (Remember to replace sda1 with your actuall device.)
    mkdosfs -F 32 /dev/sda1

    WARNING!!! This will destroy all data on the drive, so backup the files you want to keep and make sure you format the right device.


    2) Copying files to the drive:


    First we must mount the drive so we can copy files to it.
    mount /mnt/sda1_removable


    Copy the needed files from the CD to the Flash Drive with the command:
    cp -ra /mnt/live/mnt/hdc/* /mnt/sda1_removable/

    Replace hdc with the DeviceName that applies to your system. Look inside the directory: '/mnt/live/mnt' if you're not sure, inside you should see a directory called 'hdb', 'hdc', or 'hdd', depending on how your CD/DVD drive is connected to the computer.


    3) Moving files on the drive:


    We need to move some files from the /boot directory to the base (root) of the drive.
    mv /mnt/sda1_removable/boot/vmlinuz /mnt/sda1_removable/
    mv /mnt/sda1_removable/boot/initrd.gz /mnt/sda1_removable/
    mv /mnt/sda1_removable/boot/splash.* /mnt/sda1_removable/

    Then rename the file 'isolinux.cfg' to 'syslinux.cfg'
    cd /mnt/sda1_removable/
    mv isolinux.cfg syslinux.cfg

    Again replace sda1 with your device.

    4) Editing syslinux.cfg and splash.cfg:


    Now we need to edit 'syslinux.cfg' so it will find the kernel (vmlinuz), the initrd and the splash config we just moved. You need to remove all the boot/ references, but the last one for memtest in this file.

    nano-w syslinux.cfg


    Change the 'syslinux.cfg' from this:
    display boot/splash.cfg
    default wolvix
    prompt 1
    timeout 100
    F1 boot/splash.txt
    F2 boot/splash.cfg
    
    label wolvix
    kernel boot/vmlinuz
    append vga=791 max_loop=255 initrd=boot/initrd.gz init=linuxrc load_ramdisk=1 prompt_ramdisk=0 ramdisk_size=4444 root=/dev/ram0 rw
    
    label linux
    kernel boot/vmlinuz
    append vga=791 max_loop=255 initrd=boot/initrd.gz init=linuxrc load_ramdisk=1 prompt_ramdisk=0 ramdisk_size=4444 root=/dev/ram0 rw
    
    label memtest
    kernel boot/memtest


    To this:
    display splash.cfg
    default wolvix
    prompt 1
    timeout 100
    F1 splash.txt
    F2 splash.cfg
    
    label wolvix
    kernel vmlinuz
    append vga=791 max_loop=255 initrd=initrd.gz init=linuxrc load_ramdisk=1 prompt_ramdisk=0 ramdisk_size=4444 root=/dev/ram0 rw
    
    label linux
    kernel vmlinuz
    append vga=791 max_loop=255 initrd=initrd.gz init=linuxrc load_ramdisk=1 prompt_ramdisk=0 ramdisk_size=4444 root=/dev/ram0 rw
    
    label memtest
    kernel boot/memtest


    Then edit the splash.cfg
    nano-w splash.cfg


    Again you need to remove boot/ so edit the file from this:
    ^L^Xboot/splash.lss
    ^O0f
    
     Welcome to Wolvix Live CD. Hit Enter to continue booting or press F1 for help.


    To this:
    ^L^Xsplash.lss
    ^O0f
    
    Welcome to Wolvix Live CD. Hit Enter to continue booting or press F1 for help.


    5) Final step, unmount and install syslinux:


    First we move out of the Flash Drive then we unmount it.
    cd
    umount /mnt/sda1_removable


    Then we unpack the syslinux tarball that was downloaded in the first step. (Replace 3.31 with the version you've downloaded.)
    tar -xzvf syslinux-3.31.tar.gz


    Change into the syslinux-3.31/mtools directory and install it to the Flash Drive.
    cd syslinux-3.31/mtools
    ./syslinux /dev/sda1

    Remember to change sda1 with what applies to your system.

    If everything went well, you should now be able to run Wolvix from your USB Flash Drive.


    CategoryInstall
    Valid XHTML 1.0 Transitional :: Valid CSS :: Powered by WikkaWiki
    Page was generated in -0.6754 seconds