Are you a spammer

Please note, that the first 3 posts you make, will need to be approved by a forum Administrator or Moderator before they are publicly viewable.
Each application to join this forum is checked at the Stop Forum Spam website. If the email or IP address appears there when checked, you will not be allowed to join this forum.
If you get past this check and post spam on this forum, your posts will be immediately deleted and your account inactivated.You will then be banned and your IP will be submitted to your ISP, notifying them of your spamming. So your spam links will only be seen for an hour or two at most. In other words, don't waste your time and ours.

This forum is for the use and enjoyment of the members and visitors looking to learn about and share information regarding the topics listed. It is not a free-for-all advertising venue. Your time would be better spent pursuing legitimate avenues of promoting your websites.

Ultimate Edition USB Thumbdrive

Post your How to's here


Ultimate Edition USB Thumbdrive

Postby TheeMahn » Mon May 19, 2008 2:58 pm

Preface
I have had many ask me how to install Ultimate Edition from a thumbdrive, I have had it working in the past with Ultimate Edition 1.7 x64. You accept the possibility's of data loss etc. Proceed at your own risk...

USB Ultimate Edition Persistent / Live install from USB Pendrive:

This tutorial enables you to install, boot and run Ultimate Edition (All versions / tested on Ultimate Edition 1.8 & 1.7 x64) from a USB flash drive. In addition to installing Ultimate Edition to a USB device and then booting Ultimate Edition 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 / Ultimate Edition or another Linux desktop environment. If you do not have access to or prefer not to use a Windows computer, this Ultimate Edition on a stick tutorial is for you.

Ultimate Edition 1.8 takes significantly longer to boot as apposed to a dvd. However, once it's up and running, it performs much better than running from the Live DVD.

USB Ultimate Edition Essentials:
  • Ultimate Edition any edition (tested with Ultimate Edition 1.7 & 1.8 x64) ISO
  • DVD Burner (unless you mount the iso - sudo mount -o loop NameofISO MOUNTPOINT/ )
  • 2GB USB flash drive (4GB+ recommended), 1.5GB non-persistent mode
  • This tutorial
Ultimate Edition USB installation tutorial:

Hint: You can dramatically speed up making the USB 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 Ultimate Edition ISO and burn it to a DVD
2. Insert the DVD and your USB flash drive
3. Type sudo 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 sdd (as mine is), replace x with d.
4. Type umount /dev/sdx1
5. Type sudo fdisk /dev/sdx (continuing beyond this point will destroy all info on your pendrive)
  • 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 +1500M to set the partition size (makes a 1.5 GB partition)
  • 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 (this will make a partition of remaining space for the persistent portion)
  • type w to write the new partition table
6. Unplug the thumbdrive and reboot (this will allow the kernel to re-sync the partition tables)
7. Once you are back in the GUI, plug the drive back in
8. Type sudo umount /dev/sdx1 to ensure the 1st partition is unmounted
9. Type sudo mkfs.vfat -F 16 -n Ultimate /dev/sdx1 to format the first partition
10. Type sudo umount /dev/sdx2 just to ensure the 2nd partition is unmounted
11. Type sudo mkfs.ext2 -b 4096 -L casper-rw /dev/sdx2 to format the second partition
12. Remove and Re-insert your flash drive
13. Type sudo apt-get install syslinux mtools
14. Type sudo syslinux -sf /dev/sdx1
15. Type cd /cdrom (or mounted ISO)
17. Type sudo cp -rf casper dists install pics pool preseed .disk isolinux/* md5sum.txt README.diskdefines casper/vmlinuz casper/initrd.gz autorun.inf umenu.exe wubi.exe /media/Ultimate/

Ignore any "cannot create symbolic link" errors

18. sudo gedit /media/Ultimate/syslinux.cfg
19. Copy and paste the below in gedit:
DEFAULT vmlinuz
GFXBOOT bootlogo
GFXBOOT-FOREGROUND 0x00FF00
GFXBOOT-BACKGROUND 0x605C40
APPEND file=/preseed/ubuntu.seed boot=casper initrd=initrd.gz quiet splash --
LABEL persistent
menu label ^Start Ultimate in USB persistent mode (saves changes)
kernel vmlinuz
append file=/preseed/ubuntu.seed boot=casper persistent initrd=initrd.gz quiet splash --
LABEL live
menu label ^Start Ultimate in Live mode
kernel vmlinuz
append file=/preseed/ubuntu.seed boot=casper initrd=initrd.gz quiet splash --
LABEL xforcevesa
menu label Start Ultimate in safe ^graphics mode
kernel vmlinuz
append file=/preseed/ubuntu.seed boot=casper xforcevesa initrd=initrd.gz quiet splash --
LABEL driverupdates
menu label Install with driver ^update CD
kernel vmlinuz
append file=/preseed/ubuntu.seed boot=casper debian-installer/driver-update=true initrd=initrd.gz quiet splash --
LABEL oem
menu label ^OEM install (for manufacturers)
kernel vmlinuz
append file=/preseed/ubuntu.seed boot=casper oem-config/enable=true initrd=initrd.gz quiet splash --
LABEL memtest
menu label ^Memory test
kernel /install/mt86plus
append -
LABEL hd
menu label ^Boot from first hard disk
localboot 0x80
append -
DISPLAY isolinux.txt
TIMEOUT 300
PROMPT 1
F1 f1.txt
F2 f2.txt
F3 f3.txt
F4 f4.txt
F5 f5.txt
F6 f6.txt
F7 f7.txt
F8 f8.txt
F9 f9.txt
F0 f10.txt

18. Save & exit gedit
19. Restart your computer, set your BIOS or Boot menu to boot from the USB device and reboot again.

You should now have a bootable USB Ultimate Edition flash drive that should automatically save your changes, restoring them on boot.

Note: If your having trouble getting Ultimate Edition to boot your memory stick (grub error 15) your stick may have a corrupted MBR (Master Boot Record). To repair the MBR of your USB device, at the terminal type sudo apt-get install lilo. I had to do this before it worked. If it works w/o it don't do it.

WARNING: Do not use lilo to replace your grub on your hard disk.

type sudo lilo -M /dev/sdx (replacing x with the letter of your flash device)

Enjoy Ultimate Edition Thumb style,

TheeMahn
Home of Ultimate Edition. Got a question? Please review the F.A.Q. Browse the How to section.

Main O/S: Builder of O/S Guess.
Mainboard: ASUS Hero VI (AM4)
CPU: AMD 1700X water cooled (Deepcool Captain Genome Cooling tower)
Ram: 16 GB GSkill Trident RGB Series Dual Channel DDR4 3200
Video: MSI RX470 8GB Gaming card.
Hard Disks: MASSIVE on the network.(10 Gigabit, 48 port, multiple servers)
Monitors: Dual 4K 43" LG, 4K Samsung 28"
750 Watt modular PSU (Rosswell)
1100 Watt Amp & 4 X 600 Watt speakers

Servers in the basement.
User avatar
TheeMahn
Site Admin
 
Posts: 4201
Joined: Fri Oct 12, 2007 10:02 am
Location: U.S.A.
Age: 53
Operating System: Ultimate Edition Developer



Re: Ultimate Edition USB Thumbdrive

Postby Baphomet » Mon May 19, 2008 4:52 pm

I think it's unfair to call this a "Thumbdrive" edition... Ultimate Edition on a portable drive would make it... Hmmm... I dunno, maybe the FIST Edition!! No longer a humble "thumbdrive"... But now containing the all the REAL, ULTIMATE POWER of the fist!!!

The Fists of Fury or ... The fists of Chuck Norris!!!

Leaving all other portable drives a melting puddle of plastic and USB gooeyness...
I'm sorry, I can't hear you over the sound of how awesome I am...

If it's not broken, you haven't tweaked it enough.

Beginners Guide: Linux 101
User avatar
Baphomet
U.E. God
U.E. God
 
Posts: 893
Joined: Tue Oct 23, 2007 3:35 pm
Location: Right Behind You
Age: 58
Operating System: Ultimate Edition 2.2 64 BIT



Re: Ultimate Edition USB Thumbdrive

Postby kc4mnp » Tue May 20, 2008 1:19 am

Anyone tell me what non-persitant usb drive means, not sure if mine is persistant or non-persistant but i have a geek squad 4gig U3 Smart Drive i would like to try this with! :(
using a Hewlett Packard dv9230us Laptop
and Ultimate Edition 1.9 x64 bit O/S
User avatar
kc4mnp
U.E. Newbie
U.E. Newbie
 
Posts: 6
Joined: Fri Nov 16, 2007 2:54 pm
Location: Ozark, AL
Age: 68
Operating System: Ultimate Edition 2.3 32 BIT



Re: Ultimate Edition USB Thumbdrive

Postby kiwinsn » Tue May 20, 2008 3:28 pm

I would never have imagined it in a million years....

The best OS on a THUMBDRIVE !!!!!

Now I can show everyone the wonderful OS I have.....without them accusing me of screwing up their computer.

Thanks, TheeMahn....you truly rock.
Image
System:
Specs to come.
Registered Linux user number: 542342
Image
User avatar
kiwinsn
Moderator
 
Posts: 449
Joined: Thu Jan 03, 2008 6:56 pm
Location: Nelson, New Zealand
Age: 59
Operating System: Ultimate Edition Beta Tester



Re: Ultimate Edition USB Thumbdrive

Postby TheeMahn » Fri May 23, 2008 3:09 pm

strider5236 wrote:Hey TheeMahn, just tried your "How too" and could not get it to work. I followed everything to the letter and still no luck. I tried several times just in case I missed something, I get a "cant find kernal image" at boot?



Please try again, it was my fault I overlooked. it is syslinux.cfg and not isolinux.cfg. I stsep by step went through the tutorial correcting as I went along & is now flawless.

Enjoy,

TheeMahn
Home of Ultimate Edition. Got a question? Please review the F.A.Q. Browse the How to section.

Main O/S: Builder of O/S Guess.
Mainboard: ASUS Hero VI (AM4)
CPU: AMD 1700X water cooled (Deepcool Captain Genome Cooling tower)
Ram: 16 GB GSkill Trident RGB Series Dual Channel DDR4 3200
Video: MSI RX470 8GB Gaming card.
Hard Disks: MASSIVE on the network.(10 Gigabit, 48 port, multiple servers)
Monitors: Dual 4K 43" LG, 4K Samsung 28"
750 Watt modular PSU (Rosswell)
1100 Watt Amp & 4 X 600 Watt speakers

Servers in the basement.
User avatar
TheeMahn
Site Admin
 
Posts: 4201
Joined: Fri Oct 12, 2007 10:02 am
Location: U.S.A.
Age: 53
Operating System: Ultimate Edition Developer



Re: Ultimate Edition USB Thumbdrive

Postby hulksmashlinux » Sat Oct 25, 2008 9:28 pm

I must say the Ultimate Edition on USB is a must have! I was having quite a few problems with persistence until I said a prayer, sat back and looked at what what happening.

1st, be careful if you edition is greater than 1.5 GB

type +1500M to set the partition size (makes a 1.5 GB partition)

I didn't realize that 1.9 was larger than 1.5 so on my 4gb stick I kept getting "out of disk space errors" which was baffling for a while until i just changed it +1950M and

type 6 to select the fat16 file system

I also chose to go with "type b to select the fat 32 file system"

Lastly, if you get busy box pay close attention to strider5236 post with this link in Pendrivelinuxhttp://www.pendrivelinux.com/2008/05/23/how-to-fix-ubuntu-804-casper-script-for-persistence/ that was the clincher for me because just when I thought I had it, it dropped me down to the busy box prompt but was able to fix it.

Great work everyone...
Thanks
hulksmashlinux
U.E. Newbie
U.E. Newbie
 
Posts: 1
Joined: Tue Jul 08, 2008 3:52 pm
Operating System: Ultimate Edition 2.4 64 BIT



Re: Ultimate Edition USB Thumbdrive

Postby w8wca » Thu Mar 11, 2010 8:47 pm

kc4mnp wrote:Anyone tell me what non-persitant usb drive means, not sure if mine is persistant or non-persistant but i have a geek squad 4gig U3 Smart Drive i would like to try this with! :(


A Persistent USB is a term used for a USB with a Linux on it that will allow you to save data and other info on it.

They "typical USB Install (Non-Persistent) is more like a livecd, it will let you run Linux from the USB device, but it will not save data when you shutdown.


Look at http://www.pendrivelinux.com/ for more information.
http://www.pendrivelinux.com/search/persistent
Cheers Charlie
HP dm3-1039wm 13" Laptop AMD Athlon Neo X2 dual-core 64 Bit, 4 G RAM
OS's Windows 7 Ultimate, OpenSolaris svn 133, Debian, Ultimate Edition 2.5, Fedora 12, CentOS 5.4, BackTrack4, Mint 8, Mepis
User avatar
w8wca
U.E. Newbie
U.E. Newbie
 
Posts: 15
Joined: Tue Mar 09, 2010 11:14 am
Operating System: Ultimate Edition 3.2 64 BIT


Return to How To's (Do not post questions please)

Who is online

Users browsing this forum: No registered users and 5 guests