The Chakra Project

Start our LiveCD isos from USB

From The Chakra Project - Wiki

Jump to: navigation, search

This guide details how to create a bootable USB-stick out of provided Chakra ISOs.

Utilities needed:

  • working Linux console
  • dd
  • 1GB or larger USB-stick

Starting in version 3.72, ISOLINUX supports a "hybrid mode" which can be booted from either CD-ROM or from a device which BIOS considers a hard disk or ZIP disk, e.g. a USB key or similar. As of version chakra-<i686/amd64>-090930-alpha3-test.iso, the ISO is readily patched as hybrid and isohybrid utility is no longer required with new releases.

1) Install syslinux to your Linux system. In Arch do this

    sudo pacman -S syslinux

Larch7 Note: If you used Larch7 gui you need to patch the mylivecd.iso with isohybrid first:

    sudo isohybrid /path/to/mylivecd.iso

2) Change the directory to where the downloaded ISO is located, if it was not saved to the /home directory:

    cd /home/user_name/desktop

If your ISO was saved to the desktop folder. Change that path to the location of the ISO, if necessary.

3) Replace NAMEOFISO with ex. chakra-i686-090701.iso and copy the modified iso with...

    dd if=NAMEOFISO of=/dev/sd[x]

... to your USB stick. Again replace NAMEOFISO with ex. chakra-i686-090701.iso and /dev/sd[x] with ex. /dev/sdg or whatever your USB-device is called..

Larch7 Note: If you used the Larch7 gui you need to patch the mylivecd.iso with isohybrid first:

    sudo isohybrid /path/to/mylivecd.iso

4) Check that creation of bootable USB stick was successful. You can use fdisk -l to check it. There should be star * placed in Boot field indicating that device is bootable.

    [phil@philstv-desktop kdebase]$ fdisk -l                           
    
    Platte /dev/sdg: 8135 MByte, 8135376896 Byte
    64 Köpfe, 32 Sektoren/Spuren, 7758 Zylinder 
    Einheiten = Zylinder von 2048 × 512 = 1048576 Bytes
    Disk identifier: 0xb2bc0e0d                        
    
       Gerät  boot.     Anfang        Ende     Blöcke   Id  System
    /dev/sdg1   *           1        1385     1418240   17  Verst. HPFS/NTFS
    
    Platte /dev/sdg1: 1452 MByte, 1452277760 Byte
    64 Köpfe, 32 Sektoren/Spuren, 1385 Zylinder  
    Einheiten = Zylinder von 2048 × 512 = 1048576 Bytes
    Disk identifier: 0xb2bc0e0d                        
    
         Gerät  boot.     Anfang        Ende     Blöcke   Id  System
    /dev/sdg1p1   *           1        1385     1418240   17  Verst. HPFS/NTFS

Running the command as root will show you all:

    [phil@philstv-desktop kdebase]$ sudo fdisk -l                             
    Passwort:                                                                 
    
    Platte /dev/sda: 500.1 GByte, 500107862016 Byte
    255 Köpfe, 63 Sektoren/Spuren, 60801 Zylinder  
    Einheiten = Zylinder von 16065 × 512 = 8225280 Bytes
    Disk identifier: 0x0007f1d4                         
    
       Gerät  boot.     Anfang        Ende     Blöcke   Id  System
    /dev/sda1               1        7649    61440561   83  Linux
    /dev/sda2            7650        7780     1052257+  82  Linux Swap / Solaris
    /dev/sda3            7781       23078   122881185   83  Linux
    /dev/sda4           23079       60801   303009997+   5  Erweiterte
    /dev/sda5           23079       42953   159645906   83  Linux
    /dev/sda6           42954       60801   143364028+  83  Linux
    
    Platte /dev/sdb: 500.1 GByte, 500107862016 Byte
    255 Köpfe, 63 Sektoren/Spuren, 60801 Zylinder
    Einheiten = Zylinder von 16065 × 512 = 8225280 Bytes
    Disk identifier: 0x000f157d
    
       Gerät  boot.     Anfang        Ende     Blöcke   Id  System
    /dev/sdb1               1       19888   159750328+  83  Linux
    /dev/sdb2           19889       40017   161686192+  83  Linux
    /dev/sdb3           40018       60801   166947480   83  Linux
    
    Platte /dev/sdg: 8135 MByte, 8135376896 Byte
    64 Köpfe, 32 Sektoren/Spuren, 7758 Zylinder
    Einheiten = Zylinder von 2048 × 512 = 1048576 Bytes
    Disk identifier: 0xb2bc0e0d
    
       Gerät  boot.     Anfang        Ende     Blöcke   Id  System
    /dev/sdg1   *           1        1385     1418240   17  Verst. HPFS/NTFS
    
    Platte /dev/sdg1: 1452 MByte, 1452277760 Byte
    64 Köpfe, 32 Sektoren/Spuren, 1385 Zylinder
    Einheiten = Zylinder von 2048 × 512 = 1048576 Bytes
    Disk identifier: 0xb2bc0e0d
    
         Gerät  boot.     Anfang        Ende     Blöcke   Id  System
    /dev/sdg1p1   *           1        1385     1418240   17  Verst. HPFS/NTFS

5) Done! Now you should be able to boot the live CD from your USB key. Make sure to change your BIOS settings appropiately.

Personal tools