Netshroud Posted August 26, 2009 Share Posted August 26, 2009 Download Ubuntu (I have only tested this with 32-bit, but 64-bit should work.) Booting Ubuntu from an ISO is really easy. Just place the ISO on your USB, and point your config file to it. I put it in /boot/iso, but if you put it somewhere different, remember to change the location in 'map' and 'kernel' (Grub4DOS), or in 'loopback' and 'linux' (Grub2) For persistence, add "persistent" (without the quotes) into the kernel or linux line, and place a casper-rw file in the root of your USB drive. Note: The ISO file must be contiguous, or not fragmented. You can bypass this with the --mem option, which loads the ISO to memory, however it takes 'forever' on large ISO files. I use contig.exe from Sysinternals to make the ISO contiguous. Grub4DOS: title Ubuntu 9.04 Desktop x86 map /boot/iso/ubuntu-9.04-desktop-i386.iso (0xff) map --hook root (0xff) kernel /casper/vmlinuz file=/cdrom/preseed/ubuntu.seed boot=casper iso-scan/filename=/boot/iso/ubuntu-9.04-desktop-i386.iso quiet splash locale=en.UTF-8 -- initrd /casper/initrd.gz Grub2: menuentry "Ubuntu Desktop x86" { loopback loop /boot/iso/ubuntu-9.04-desktop-i386.iso linux (loop)/casper/vmlinuz boot=casper file=/cdrom/preseed/ubuntu.seed boot=casper iso-scan/filename=/boot/iso/ubuntu-9.04-desktop-i386.iso quiet splash locale=en.UTF-8 -- initrd (loop)/casper/initrd.gz } This will not work under SysLinux or Grub Legacy, as they do not support ISO mapping. Quote Link to comment Share on other sites More sharing options...
nyzrox Posted August 26, 2009 Share Posted August 26, 2009 Thats pretty much how you do Mint7, but however i couldnt get it to run persistent :( have the casper-rw file and itll lock booting up Quote Link to comment Share on other sites More sharing options...
Netshroud Posted August 26, 2009 Author Share Posted August 26, 2009 If I remember correctly, Mint is derived from Ubuntu. Does it work without persistence? Quote Link to comment Share on other sites More sharing options...
Patt Posted August 26, 2009 Share Posted August 26, 2009 i get the error "Error 60: File for drive emulation must be in one contiguous disk area" why do i get this? Quote Link to comment Share on other sites More sharing options...
Netshroud Posted August 26, 2009 Author Share Posted August 26, 2009 The ISO file must be contiguous, or not fragmented. You can bypass this with the --mem option, which loads the ISO to memory, however it takes 'forever' on large ISO files. I use contig.exe from Sysinternals to make the ISO contiguous. Quote Link to comment Share on other sites More sharing options...
Patt Posted August 26, 2009 Share Posted August 26, 2009 it comes up with, BusyBox v1.10.2 (Ubuntu 1:1.10.2-2ubuntu7) built-in shell (ash) , why is this?? Quote Link to comment Share on other sites More sharing options...
Netshroud Posted August 26, 2009 Author Share Posted August 26, 2009 I got that once when it couldn't find casper. What did you put into your config file? Quote Link to comment Share on other sites More sharing options...
Patt Posted August 26, 2009 Share Posted August 26, 2009 title Ubuntu 9.04 Desktop x86 map --mem /boot/iso/ubuntu-9.04-desktop-i386.iso (0xff) map --hook root (0xff) kernel /casper/vmlinuz file=/cdrom/preseed/ubuntu.seed boot=casper iso-scan/filename=/boot/iso/ubuntu-9.04-desktop-i386.iso quiet splash locale=en.UTF-8 -- initrd /casper/initrd.gz P.S. do i need casper-rw? if so where do i get it and how to i install it Quote Link to comment Share on other sites More sharing options...
DannyF Posted August 26, 2009 Share Posted August 26, 2009 it comes up with, BusyBox v1.10.2 (Ubuntu 1:1.10.2-2ubuntu7) built-in shell (ash) , why is this?? title Ubuntu 9.04 Desktop x86 map --mem /boot/iso/ubuntu-9.04-desktop-i386.iso (0xff) map --hook root (0xff) kernel /casper/vmlinuz file=/cdrom/preseed/ubuntu.seed boot=casper iso-scan/filename=/boot/iso/ubuntu-9.04-desktop-i386.iso quiet splash locale=en.UTF-8 -- initrd /casper/initrd.gz P.S. do i need casper-rw? if so where do i get it and how to i install it I'm having the same problem too, and i also have the exact same config. <_< Quote Link to comment Share on other sites More sharing options...
Netshroud Posted August 26, 2009 Author Share Posted August 26, 2009 You only need casper-rw for persistence. You can make a casper-rw file from the link I provided in the original post. I dont see why that config wouldn't work. Does your ISO's MD5 checksum match the one provided by Canonical/Ubuntu? Quote Link to comment Share on other sites More sharing options...
Patt Posted August 26, 2009 Share Posted August 26, 2009 how would i run a md5 checksum Quote Link to comment Share on other sites More sharing options...
Netshroud Posted August 26, 2009 Author Share Posted August 26, 2009 I use winMD5Sum Quote Link to comment Share on other sites More sharing options...
Patt Posted August 26, 2009 Share Posted August 26, 2009 Ok it was correctly verified. just to confirm, 2d6591fb2ccac8c549d96c5a58a88392 Quote Link to comment Share on other sites More sharing options...
Netshroud Posted August 26, 2009 Author Share Posted August 26, 2009 No, the correct hash is 66fa77789c7b8ff63130e5d5a272d67b Quote Link to comment Share on other sites More sharing options...
Patt Posted August 26, 2009 Share Posted August 26, 2009 sorry thats what i ment D: wrong file Quote Link to comment Share on other sites More sharing options...
Netshroud Posted August 27, 2009 Author Share Posted August 27, 2009 Apparently, Using an USB memory instead of a CD, if you quickly remove and re-insert the pendrive while the Ubuntu logo and the moving bar are present, Ubuntu starts OK. Try that and see how it goes. Quote Link to comment Share on other sites More sharing options...
Patt Posted August 27, 2009 Share Posted August 27, 2009 holdon...... EDIT: when i do this, it shows that same screen and also gives me 2 error's Quote Link to comment Share on other sites More sharing options...
Netshroud Posted August 27, 2009 Author Share Posted August 27, 2009 What does it say? Does Ubuntu work from a CD? Quote Link to comment Share on other sites More sharing options...
Patt Posted August 27, 2009 Share Posted August 27, 2009 the same ubuntu iso works in a vm. "[ 15.040359] sd 3:0:0:0: [sdb] Assuming drive cache: write through" thats when i pull and put back in the usb key. P.S. its an acer aspire one d-150 if that helps Quote Link to comment Share on other sites More sharing options...
Patt Posted August 27, 2009 Share Posted August 27, 2009 any luck?? Quote Link to comment Share on other sites More sharing options...
Netshroud Posted August 27, 2009 Author Share Posted August 27, 2009 Well, for some reason it can't find the sqaushfs filesystem. Quote Link to comment Share on other sites More sharing options...
Battosia83 Posted August 27, 2009 Share Posted August 27, 2009 Any chance you can create a .torrent for your casper-rw? When I try to create mine it always ends up being 0 bytes and thus mkfs.ext3 won't run on it Quote Link to comment Share on other sites More sharing options...
H@L0_F00 Posted August 27, 2009 Share Posted August 27, 2009 Any chance you can create a .torrent for your casper-rw? When I try to create mine it always ends up being 0 bytes and thus mkfs.ext3 won't run on it You can download different sizes of casper-rw files here: http://www.pendrivelinux.com/live-ubuntu-8...nstall-windows/ They're quite small zipped. Quote Link to comment Share on other sites More sharing options...
Brandon Garner Posted August 28, 2009 Share Posted August 28, 2009 Download Ubuntu (I have only tested this with 32-bit, but 64-bit should work.) Booting Ubuntu from an ISO is really easy. Just place the ISO on your USB, and point your config file to it. I put it in /boot/iso, but if you put it somewhere different, remember to change the location in 'map' and 'kernel' (Grub4DOS), or in 'loopback' and 'linux' (Grub2) For persistence, add "persistent" (without the quotes) into the kernel or linux line, and place a casper-rw file in the root of your USB drive. Note: The ISO file must be contiguous, or not fragmented. You can bypass this with the --mem option, which loads the ISO to memory, however it takes 'forever' on large ISO files. I use contig.exe from Sysinternals to make the ISO contiguous. Grub4DOS: title Ubuntu 9.04 Desktop x86 map /boot/iso/ubuntu-9.04-desktop-i386.iso (0xff) map --hook root (0xff) kernel /casper/vmlinuz file=/cdrom/preseed/ubuntu.seed boot=casper iso-scan/filename=/boot/iso/ubuntu-9.04-desktop-i386.iso quiet splash locale=en.UTF-8 -- initrd /casper/initrd.gz Grub2: menuentry "Ubuntu Desktop x86" { loopback loop /boot/iso/ubuntu-9.04-desktop-i386.iso linux (loop)/casper/vmlinuz boot=casper file=/cdrom/preseed/ubuntu.seed boot=casper iso-scan/filename=/boot/iso/ubuntu-9.04-desktop-i386.iso quiet splash locale=en.UTF-8 -- initrd (loop)/casper/initrd.gz } This will not work under SysLinux or Grub Legacy, as they do not support ISO mapping. How do I get the iso continuouse using wincontig? cant find any tutorials on this Quote Link to comment Share on other sites More sharing options...
H@L0_F00 Posted August 28, 2009 Share Posted August 28, 2009 How do I get the iso continuouse using wincontig? cant find any tutorials on this Copy Contig.exe to C:\WINDOWS\system32\ Go to Start and then Run... Type in "cmd" In the black box, type "X:" where 'X' is your flash drives drive letter in windows explorer Type "contig -s" and wait for it to complete. It may take a while depending on how many files, how big they are, how fragmented they are, your USB's transfer rate, and the performance of your computer in general. Don't unplug your drive while it's still running. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.