View previous topic :: View next topic |
Author |
Message |
oc666 Guru
Joined: 15 May 2006 Posts: 330 Location: Israel
|
Posted: Sun Apr 08, 2007 8:57 am Post subject: Make Gentoo installation LiveUSB from Windows |
|
|
Hello
I want to make a LiveUSB from Windows cause I don't have CD drive. How to make the USB stick bootable?
(I know what to do with the bios)
Thanks _________________ embAD-new way to insert ads to your website |
|
Back to top |
|
|
sternklang Veteran
Joined: 10 Sep 2005 Posts: 1641 Location: Somewhere in time and space
|
Posted: Sun Apr 08, 2007 4:01 pm Post subject: |
|
|
Check out this Gentoo Wiki article for info on setting up Gentoo on a USB stick. |
|
Back to top |
|
|
leonglass Apprentice
Joined: 08 Aug 2006 Posts: 278
|
Posted: Sun Apr 08, 2007 5:55 pm Post subject: |
|
|
Another option may be to use dsl to boot the system and then install from there. |
|
Back to top |
|
|
oc666 Guru
Joined: 15 May 2006 Posts: 330 Location: Israel
|
Posted: Sun Apr 08, 2007 11:38 pm Post subject: |
|
|
I just use this article for creating this liveUSB, but I get Code: | Missing operating system |
Here the steps I did: Code: | # fdisk -l /dev/sda
Disk /dev/sda: 1041 MB, 1041891328 bytes
64 heads, 32 sectors/track, 993 cylinders
Units = cylinders of 2048 * 512 = 1048576 bytes
Device Boot Start End Blocks Id System
/dev/sda1 1 993 1016816 b W95 FAT32
OFER oc # mkdosfs -F 32 /dev/sda1
mkdosfs 2.11 (12 Mar 2005)
OFER oc # dd if=/usr/lib/syslinux/mbr.bin of=/dev/sda
0+1 records in
0+1 records out
304 bytes (304 B) copied, 0.00197384 s, 154 kB/s
OFER oc # mount -o loop,ro -t iso9660 iso/install-x86-minimal-2006.0.iso /mnt/cdrom/
OFER oc # mount -t vfat /dev/sda1 /mnt/usb1/
OFER oc # cp -r /mnt/cdrom/* /mnt/usb1/
OFER oc # cd /mnt/usb1/
OFER usb1 # mv isolinux/* .
OFER usb1 # mv isolinux.cfg syslinux.cfg
OFER usb1 # rm -rf isolinux*
OFER usb1 # mv memtest86 memtest
OFER usb1 # ls -la
total 49320
drwxr-xr-x 2 root root 4096 2007-04-09 02:30 .
drwxr-xr-x 11 root root 288 2006-10-14 20:45 ..
-rwxr-xr-x 1 root root 2048 2007-04-09 02:28 boot.cat
-rwxr-xr-x 1 root root 127 2007-04-09 02:28 boot.msg
-rwxr-xr-x 1 root root 950 2007-04-09 02:28 F2.msg
-rwxr-xr-x 1 root root 1399 2007-04-09 02:28 F3.msg
-rwxr-xr-x 1 root root 1550 2007-04-09 02:28 F4.msg
-rwxr-xr-x 1 root root 1269 2007-04-09 02:28 F5.msg
-rwxr-xr-x 1 root root 1300 2007-04-09 02:28 F6.msg
-rwxr-xr-x 1 root root 1461 2007-04-09 02:28 F7.msg
-rwxr-xr-x 1 root root 1636273 2007-04-09 02:28 gentoo
-rwxr-xr-x 1 root root 4001340 2007-04-09 02:28 gentoo.igz
-rwxr-xr-x 1 root root 21776 2007-04-09 02:28 Getting_Online.txt
-rwxr-xr-x 1 root root 44687360 2007-04-09 02:28 image.squashfs
-rwxr-xr-x 1 root root 57 2007-04-09 02:28 kernels.msg
-rwxr-xr-x 1 root root 0 2007-04-09 02:28 livecd
-rwxr-xr-x 1 root root 94472 2007-04-09 02:28 memtest
-rwxr-xr-x 1 root root 6222 2007-04-09 02:28 README.txt
-rwxr-xr-x 1 root root 522 2007-04-09 02:28 syslinux.cfg
OFER usb1 # sed -i -e "s:cdroot:cdroot dobladecenter:" -e "s:kernel memtest86:kernel memtest:" syslinux.cfg
OFER usb1 # cat syslinux.cfg
default gentoo
timeout 150
prompt 1
display boot.msg
F1 kernels.msg
F2 F2.msg
F3 F3.msg
F4 F4.msg
F5 F5.msg
F6 F6.msg
F7 F7.msg
label gentoo
kernel gentoo
append root=/dev/ram0 init=/linuxrc dokeymap looptype=squashfs loop=/image.squashfs cdroot dobladecenter initrd=gentoo.igz vga=791 splash=silent,theme:livecd-2006.0 CONSOLE=/dev/tty1 quiet
label gentoo-nofb
kernel gentoo
append root=/dev/ram0 init=/linuxrc dokeymap looptype=squashfs loop=/image.squashfs cdroot dobladecenter initrd=gentoo.igz
label memtest86
kernel memtest
OFER usb1 # cd ..
OFER mnt # umount /mnt/usb1/
OFER mnt # syslinux /dev/sda1 |
_________________ embAD-new way to insert ads to your website |
|
Back to top |
|
|
|