본문 바로가기
운영체제 (LNX,WIN)

Live Ubuntu USB Persistent install / Gutsy Gibbon install

by 날으는물고기 2009. 2. 6.

Live Ubuntu USB Persistent install / Gutsy Gibbon install

USB Ubuntu 7.10 install from Linux: This tutorial enables you to install, boot and run Ubuntu 7.10 (Gutsy Gibbon) from a USB flash drive. In addition to installing Ubuntu to a USB device and then booting Ubuntu from the memory stick, this tutorial will enable you to automatically save your changes and settings back to the thumb drive and further restore them on each boot using a second "casper-rw" persistent partition. The tutorial was written for those already familiar with working from Ubuntu or another Linux desktop environment. If you do not have access to or prefer not to use a Windows computer, this Ubuntu Linux on a stick tutorial is for you.

Ubuntu 7.10 takes slightly longer to boot than previous releases. However, once it's up and running, it performs much better than running from the Live CD.

USB Ubuntu 7.10 Essentials:

  • Ubuntu7.10 ISO
  • CD Burner
  • 1GB USB flash drive (2GB+ recommended)
  • U710fix.zip

Ubuntu 7.10 USB installation tutorial:

Hint: You can drastically speed up the install by Copying and Pasting most commands into the terminal instead of manually typing them out. With the exception of replacing x with your drive letter.

  1. Grab the Ubuntu 7.10 ISO and burn it to a CD 
  2. Insert the CD and your USB flash drive
  3. Reboot your computer into Ubuntu from the Live CD
  4. Open a terminal window and type sudo su
  5. Type fdisk -l to list available drives/partitions. Note which device is your flash drive (example: /dev/sda) Throughout this tutorial, replace x with your flash drive letter. For example, if your flash drive is sdb, replace x with b.
  6. Type umount /dev/sdx1
  7. Type fdisk /dev/sdx
    • type p to show the existing partition and d to delete it
    • type p again to show any remaining partitions (if partitions exist, repeat the previous step)
    • type n to make a new partition
    • type p for primary partition
    • type 1 to make this the first partition
    • hit enter to use the default 1st cylinder
    • type +750M to set the partition size
    • type a to make this partition active
    • type 1 to select partition 1
    • type t to change the partition filesystem
    • type 6 to select the fat16 file system
    • type n to make another new partition
    • type p for primary partition
    • type 2 to make this the second partition
    • hit enter to use the default cylinder
    • hit enter again to use the default last cylinder
    • type w to write the new partition table
  8. Type umount /dev/sdx1 to ensure the 1st partition is unmounted
  9. Type mkfs.vfat -F 16 -n ubuntu710 /dev/sdx1 to format the first partition
  10. Type umount /dev/sdx2 just to ensure the 2nd partition is unmounted
  11. Type mkfs.ext2 -b 4096 -L casper-rw /dev/sdx2 to format the second partition
  12. Remove and Re-insert your flash drive
  13. Back at the terminal, type apt-get update
  14. Type apt-get install syslinux mtools
  15. Type syslinux -sf /dev/sdx1
  16. Type cd /cdrom
  17. Type cp -rf casper disctree dists install pics pool preseed .disk isolinux/* md5sum.txt README.diskdefines ubuntu.ico casper/vmlinuz casper/initrd.gz /media/ubuntu710/

    Ignore any "cannot create symbolic link" errors

  18. Type cd /home/ubuntu
  19. Type wget pendrivelinux.com/downloads/U710fix.zip
  20. Type unzip -o -d /media/ubuntu710/ U710fix.zip
  21. Restart your computer, set your BIOS or Boot menu to boot from the USB device and reboot again.

You should now have a USB Ubuntu 7.10 Gutsy Gibbon flash drive that should automatically save your changes, restoring them on boot.

Notes: If your having trouble getting Ubuntu to boot, your memory stick may have a corrupted MBR. To repair the MBR of your USB device, at the terminal type sudo apt-get install lilo then type lilo -M /dev/sdx (replacing x with the letter of your flash device)


Live Ubuntu 8.10 USB Persistent install (Windows)

Live Persistent Ubuntu 8.10 USB installation The following tutorial covers how to install, boot and run Ubuntu 8.10 (Intrepid Ibex) from a USB flash drive using a Windows computer to perform the install. Ubuntu 8.10 will be run natively from the portable device utilizing a persistent casper-rw loop file for saving and restoring changes.

Ubuntu 8.10 Intrepid Ibex Screenshot

Ubuntu 8.10 USB Flash Drive Creation Essentials

  • Windows PC to perform conversion
  • Ubuntu 8.10 ISO
  • 2GB or larger USB flash drive (fat32 formatted)
  • U810p.exe (contains the files to do the conversion)

Ubuntu 8.10 USB Flash Drive Installation tutorial

  1. Download and launch U810p.exe, extracting to your PC. A U810p folder is automatically created.
  2. Download the Ubuntu 8.10 ISO and place it in the U810p folder on your computer
  3. From the U810p folder on your PC, click U810.bat and follow the onscreen instructions
  4. Once the script has finished, restart your PC and set your BIOS or Boot Menu to boot from the USB device, save your changes and reboot

If all goes well, you should now be booting from your own personal Live Ubuntu 8.10 USB that allows you to save your changes persistently.

참고 : www.pendrivelinux.com


다음 내용은 http://www.opensuse.com 에 있는 내용을 초보자도 쉽게 알수 있게 풀어 놓은것입니다.

# Windows 에서..


- USB 메모리스틱을 삽입하고 메모리 스틱의 드라이브 문자 경로(D: 또는 E: 등등)를 윈도탐색기나 내컴퓨터를 이용해 확인합니다. (USB 메모리 스틱의 드라이브 문자경로가 h: 라고 가정합니다.)

- opensuse 에서 네트워크 설치용 혹은 mini CD 이미지를 다운받습니다.
   http://download.opensuse.org/distribution/10.2/iso/cd/openSUSE-10.2-GM-i386-mini.iso
   위 링크를 클릭하면 다운 받을 수 있습니다.

- 다운받은 이미지를 이미지 도구(Winrar 혹은 iso 프로그램, 가상CD이미지 도구) 로 내용을 USB 메모리에 복사합니다. (USB 메모리를 별도로 포맷한다거나 할 필요는 없습니다. )

- USB메모리의 폴더로 들어가 H:\boot\x86_64\loader\ 또는 H:\boot\i386\loader\ 안의 내용모두를 USB 최상위 폴더(H:\)로 옮깁니다.

- USB 메모리의 최상위 폴더에서 H:\isolinux.bin 을 삭제합니다.

- USB 메모리의 최상위 폴더에서 H:\isolinux.cfg 를 H:\syslinux.cfg 로 이름을 바꿉니다.

- syslinux 의 최신버전을 다운 받아 USB메모리의 최상위 폴더에 H:\syslinux 라는 폴더를 만들고 그폴더 안에 풀어넣습니다.
(syslinux 는 별도의 리눅스 부트매니저입니다. 링크를 참조하세요 http://www.kernel.org/pub/linux/utils/boot/syslinux/)

- 시작 > 실행 > cmd

- 프롬프트> h:

- cd h:\syslinux\win32 를 입력

- syslinux h: 를 입력

- USB를 끼운채로 컴퓨터를 재부팅하고 cmos 에서 USB 로 부팅하도록 설정하여 부팅하면 리눅스 부트로더가 실행될것입니다.

728x90

댓글