Gentoo 2007.0 LiveUSB

Uncategorized Add comments

Requirements:

* Gentoo 2007.0 LiveCD ISO
* +1GB USB Flash Drive
* syslinux mtools lilo must be available

USB Gentoo Reference:

NOTICE: If you use Gentoo and want to do this, you already know your way around linux, there is no point in making a baby step tutorial.

1. If you don’t have Gentoo LiveCD yet, download it

kopete http://bouncer.gentoo.org/fetch/gentoo-2007.0-livecd/x86/

2. Mount LiveCD

2.A Mount LiveCD ISO

mount -o loop path/to/iso /mnt/cdrom

2.B Mount already burned LiveCD

3. Plug in your CLEAN USB Flash Drive

* Make sure nothing auto-mounted

Create your own version of this partition layout:

Device     Boot      Start        End      Blocks   Id  System
/dev/sdx1   *           1         789      782657    6  FAT16

4. Format the new partition

mkfs.vfat -F 16 -n gentoo /dev/sdx1

5. Prepare for a Bootable USB drive

syslinux -sf /dev/sdx1

6. Mount ‘gentoo’ ( /dev/sdx1 )

6. Copy everything in the LiveCD on to the new ‘gentoo’ usb partition.

7. Move everything in the ‘isolinux’ directory on the ‘gentoo’ usb partition to the root of that same partition.

8. RMDIR the now empty ‘isolinux’ directory.

8. Rename the isolinux.cfg to syslinux.cfg

6. Unmount ‘gentoo’ ( /dev/sdx1 )

10. Make sure it’s bootable:

lilo -M /dev/sdx

11. That’s it!

Leave a Reply

WP Theme & Icons by N.Design Studio
Entries RSS Comments RSS Log in