Run Archlinux from USB-stick

Hi guys,
Is there are way to run arch from a usb-stick. (I don't mean installation)
Have a laptop that I want to just plug in a usb-stick and then boot and run from it!
Can it be done, and how?

Installing Arch Linux on a USB key:
https://wiki.archlinux.org/index.php/In … _a_USB_key
Mektub

Similar Messages

  • [SOLVED] run ~/public_html from usb stick

    Hey everyone,
    I have two Arch machines which I do some light web dev work on and I'm looking for an easy way to share files between the two.
    I have an encrypted usb drive that I've mounted to ~/public_html, edited the httpd-userdir.conf to point to the right folder, and changed the permissions, however I keep getting error 403 when I try to access the folder.  Not sure what else to look at or if I'm just making this harder than it needs to be....
    Any help is appreciated,
    Thanks!
    Last edited by bws (2012-05-11 21:55:17)

    Well after much tinkering I couldn't get it to work properly.  So instead I just created  folder in /srv/http called usb and have my usbdrive mounted there.  In the end it does what I was looking for to begin with.

  • OS X Lion USB Thumb Drive can run from usb stick?

    OS X Lion USB Thumb Drive can run from usb stick[no install]?

    Your questions are easily answered by means of a web search, which you can do as well as I can. You can order a Lion installer on a USB stick. I don't know how big it is, and it doesn't matter, because all you can do with that stick is install Lion, which is what you don't seem to want. If you have a Mac and want to be able to run Lion from an external storage device, the capacity of the device has to be at least 7 GB.
    Apple - OS X Lion - Technical specifications
    I hope you understand that if you buy the Lion USB installer with the intention of installing onto a PC, or running Lion on a PC without installing, you'll be wasting your money. It won't work.

  • [SOLVED] Installation on UEFI from usb stick

    Greetings,
    I'm trying to figure out this uefi thing and install arch on my laptop.
    I swear, I've been trying so many times now that I have a headache. My girlfriend too because of all my ranting.
    I downloaded the latest arch iso and "burned" it to a usb stick (my laptop lack a cdrom).
    I booted with the first option and went through the whole installation progress to the grub installing part MANY times before realizing I was doing it all wrong and I had to start from a UEFI shell.
    Now I started from the UEFI shell and I just have no idea what I'm doing, the beginner guide doesn't seem to explain this.
    I should probably wait until my headache pass and I'm fresh and ready to start over but I'm one stubborn guyif there is one and I had enough of failing, I want it to work.
    What do I do from the UEFI shell?
    Do I have to reinstall everything from scratch, partitioning and all or I can just get back to the part where I have to install grub? What do I do?
    Thanks in advance and sorry if I'm asking stupid questions or something but, honestly, I failed so many times that my frustration is seriously high.
    Last edited by arkindal (2013-08-13 23:13:11)

    Hi,
    this is basically what I followed and it worked for me:
    make an archlinux uefi usb stick (it's a bit different than a normal one). Use a live ubuntu cd or something, so you don't have to use windows:
    #format your usb key on /dev/sdXY to fat32 (replace XY with the right device, in the following code too)
    sudo su
    wget http://mirror.us.leaseweb.net/archlinux/iso/2013.08.01/archlinux-2013.08.01-dual.iso
    mkdir -p /mnt/{usb,iso}
    mount -o loop archlinux-2013.08.01-dual.iso /mnt/iso
    awk 'BEGIN {FS="="} /archisolabel/ {print $3}' /mnt/iso/loader/entries/archiso-x86_64.conf | xargs mkfs.vfat -F32 /dev/sdXY -n
    mount /dev/sdXY /mnt/usb
    cp -a /mnt/iso/* /mnt/usb
    sync
    umount /mnt/{usb,iso}
    full instructions here: https://wiki.archlinux.org/index.php/Un … B_from_ISO
    now you have the instalation usb ready.
    When I did this, i could still go to choose my boot device and i had a normal usb key boot option and an uefi shell usb key option, see if you have something like that to be sure you have the uefi boot. you should see an uefi shell and it should boot automatically as a normal archlinux live usb. if it doesn not (happend to me before) run ./start.sh or something like that (it should say in the uefi shell what to run). If that doesn not work, then the uefi usb key didn't work.
    okay if you've successfully booted the uefi usb you have to format your drive so it has the uefi boot partition mounted inside the grup folder, so there has to be a ef00 partition on the begining
    This is my actuall install script, it will wipe your drive, make 5 partitions (uefi boot, boot, swap, root, home) and then mount them, install arch and then chroot into that
    modprobe efivars
    #configure this as you wish
    SWAPSIZE=4G
    ROOTSIZE=50G
    DRIVE=sda
    #these two lines are horrible, you could manually use gdist and format the drive as you wish, as this will just wipe it clean and make the partion table that I have.
    dd if=/dev/zero of=/dev/$DRIVE bs=1M count=1k
    echo "2\no\ny\nn\n\n\n+100M\nef00\nn\n\n\n+100M\n\nn\n\n\n+${SWAPSIZE}\n8200\nn\n\n\n+${ROOTSIZE}\n\nn\n\n\n\n\np\nw\ny\n" | gdisk /dev/$DRIVE
    mkfs.vfat -F 32 /dev/${DRIVE}1
    mkfs.ext2 -L boot /dev/${DRIVE}2
    mkswap -L swap /dev/${DRIVE}3
    mkfs.ext4 -L root /dev/${DRIVE}4
    mkfs.ext4 -L home /dev/${DRIVE}5
    swapon /dev/${DRIVE}3
    mount /dev/${DRIVE}4 /mnt
    mkdir /mnt/home
    mount /dev/${DRIVE}5 /mnt/home
    mkdir /mnt/boot
    mount /dev/${DRIVE}2 /mnt/boot
    #this is the magic uefi part for grub
    mkdir /mnt/boot/efi
    mount /dev/${DRIVE}1 /mnt/boot/efi
    pacstrap /mnt base base-devel zsh
    genfstab -U -p /mnt >> /mnt/etc/fstab
    arch-chroot /mnt
    After doing that, you have can install the system as you wish and for the grub I do this:
    I had problems a few times if i copy pasted all these lines at once, so now i copy paste them one at a time, (I know it should not make a difference but still, sometimes it didn't work)
    # i do this in chmod too, though I'm not sure if it's really necessary
    modprobe efivars
    mkinitcpio -p linux
    echo "installing efi grup thingy"
    pacman -S --noconfirm efibootmgr grub-efi-x86_64
    grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=arch_grub --recheck --debug
    mkdir -p /boot/grub/locale
    cp /usr/share/locale/en\@quot/LC_MESSAGES/grub.mo /boot/grub/locale/en.mo
    grub-mkconfig -o /boot/grub/grub.cfg
    and this is all i have in my install script file and uefi works fine.  I hope you'll get it running soon
    Last edited by zidarsk8 (2013-08-09 00:25:20)

  • Trouble opening Jar from USB stick on a Mac

    Hi all,
    Has anyone else had any problems running Jar files from a USB stick on a Mac -- directly clicking on them in the finder?
    What I've found:
    - I cannot run any Jar file I try if it is on a USB stick and I double-click on the jar file in my Mac
    - I CAN run jar files from a CD by double-clicking
    - I CAN run jar files from USB sticks on Windows directly from the window
    - I CAN run jar files from a USB stick on a mac if I call "java -jar" directly from the terminal
    I have tried running from USB sticks on several different Macs, and I've tried a number of different Jars that I've created over the years -- nothing works. The Java code isn't doing any path-based finding of files or anything like that.
    Anyone else tried this? Are there any solutions?
    Thanks,
    Sam

    Try this:
    With the stick plugged in, go to Finder->Applications->Utilities->Disk Utility.  From there, you should see your memory stick appear in a sidebar on the left.  Click on it, then click on the "erase" tab and follow the instructions.

  • Boot from usb stick a usb stick OS like Linux

    The below can boot from usb stick a usb stick OS like Linux on stick?
    Apple MacBook MB403LL/A 13.3-inch Laptop (2.4 GHz Intel Core 2 Duo Processor, 2 GB RAM, 160 GB Hard Drive) White
    Apple's Mac OS X 10.5 Leopard operating system can upgraded to Lion? If yes this has any impact in this laptop (Is it best leave like is the Leopard?)?
    memory can upgraded with this[15' or 13' RAM is the same?]:
    Kingston Apple 4GB Kit (2x2GB Modules) 667MHz DDR2 SoDimm iMac and Macbook Memory (KTA-MB667K2/4GR)
    http://www.amazon.com/Kingston-Modules-Macbook-KTA-MB667K2-4GR/dp/B001265GI2/ref =pd_sim_pc_2

    Hmm, when you mean "bootable" are you meaning booting a operating system from the USB to run the computer with?
    Because that's what "booting" means, not mounting, which is what I think you mean.
    I say this is because you mentioned a PC, and a generic PC can't normally boot from a USB with OS X installed without a LOT of extra help of the hacking/breaking software agreement kind which is beyond the capability of most.
    If you mean your USB thumb drive is not mounting or showing up on the computer to trade files, then please tell us how you formatted the USB or if you didn't or not and it's volume size.
    Also if it does have OS X on it, what version and where did you install it from, because it might be lacking the hardware drivers for the other Mac.

  • NEED HELP! - Installing Camera raw presets from USB Stick

    NEED HELP! -installing Camera raw presets from USB Stick.
    I am attempting to install the Camera Raw Presets. 
    It says to put them into User Name/Library/Application Support/Adobe/CameraRaw/Settings... 
    When I get to CameraRaw the ONLY folders in there are CameraProfiles & Lens Profiles. 
    I have searched everywhere looking for a CameraRaw-Settings folder and cannot find one. 
    I have latest version of CameraRaw installed and still no settings folder. 
    I even attempted to find it by looking in camera raw where it has saved the custom settings I made as presets and it shows that they are saved but will not show me where. 
    I am using CS5 specifically Photoshop v12.0.4 and Bridge. I have Lightroom 4. I have iMac OS  10.7.3
    Do I need to reinstall Camera Raw and how do you do that?
    Will I then lose my presets that I made in CameraRaw?  
    Thanks for your help

    Here is a note from the ACR 7.1 beta release.  http://labs.adobe.com/technologies/cameraraw7-1/?tabID=details
    Perhaps this answers question.
    Frequently Asked Questions
    Why is it no longer required to place the plug-in file in the specified directory on my hard drive?
    The Camera Raw update process has grown to include lens profile and camera profile files which are easiest to install via a single installer process instead of updating several different directories manually.

  • Portege P3500: It's possible to start from USB-stick?

    Is it possible to start from usb-stick? i have tried to make a bootable usb-stick , and it really worked on my pc at home , but not on the laptop ..bios settings are ok , as far i know (usb-fdd legacy enable , first boot device fdd)
    where is the problem ?

    Try to update bios. Even though it has that option does not mean that it will. Make sure in BIOS that legacy emulation is enabled as well. Then connect your USB and turn on the computer. Go into bios and check to see if your USB keystick is located under boot devices, which it should be. Other then that, you might have installed the boot program wrong. CD's etc have a boot.ini file. Basically an ini means initiate. So boot.ini initiates boot process. If this is configured wrong, or doesnt exist on the boot device you are using, it will not boot from the device even if configured in BIOS.

  • IMacs can boot Linux or Windows from usb stick

    iMacs 21' can boot Linux or Windows from usb stick? from Firewire 400 or 800 hdd/ssd? from USB HDD/SSD?
    May boot fromCD/DVD/DVDDL in internal DVD DRIVE, too?
    Exist Blu-ray drives able connect on Thunderbolt slot on iMac 21'?

    Here is the memo of the steps I followed. Hope this helps.
    <Create VHD image in temp folder at local drive>
    diskpart
    create vdisk file=C:\Temp\Win2go.vhd maximum=20480 type=fixed
    select vdisk file=C:\Temp\Win2go.vhd
    attach vdisk
    exit
    <Create partition in VHD, format in NTFS and assign drive letter "O">
    diskpart
    list disk
    select disk n (n is a number of VHD)
    clean
    create partition primary
    format fs=ntfs quick override
    assign letter=o
    active
    attribute volume set NODEFAULTDRIVELETTER
    exit
    <Execute "DISM" utility in Windows DVD and extract installer image to VHD>
    G:\sources\dism /apply-image /imagefile:G:\sources\install.wim /index:1 /applydir:O:\
    ** "G" is drive letter for Windows DVD
    ** "O" is drive letter for VHD partition
    <Write boot program into VHD>
    O:\windows\system32\bcdboot O:\windows /f ALL /s O:
    ** "O" is drive letter for VHD partition
    <Detach VHD>
    diskpart
    select vdisk file=C:\Temp\Win2go.vhd
    detach vdisk
    exit
    <Format USB thumb drive in NTFS>
    diskpart
    list disk
    select disk n (n is a number of USB thumb drive)
    clean
    create partition primary
    format fs=ntfs quick override
    active
    exit
    ** "E" is drive letter for USB thumb drive
    <Write loader into boot sector>
    G:\boot\bootsect /nt60 E:
    ** "G" is drive letter for Windows DVD
    ** "E" is drive letter for USB thumb drive
    <Copy VHD file to USB thumb drive and mount>
    copy C:\Temp\Win2go.vhd E:\
    diskpart
    select vdisk file=E:\Win2go.vhd
    attach vdisk
    exit
    <Write boot info into USB thumb drive>
    F:\Windows\system32\bcdboot F:\Windows /s E: /f ALL /v
    ** "E" is drive letter for USB thumb drive
    ** "F" is drive letter for VHD partition on USB thumb drive

  • Can i start mba from usb-stick ?

    hi
    is it possible to start a mba from usb-stick with osX ?
    thanks for response.

    is it possible to start a mba from usb-stick with osX ?
    Yes, if the stick's large enough and formatted as Mac OS Extended (Journaled).
    (53239)

  • How to transfer files from USB stick

    How can you transfer files from USB stick to ipad2?

    Buy a portable wi-fi router with file sharing such as MOCREO 5-in-1 Portable WiFi (not personaly vouching for this one it just happens to be the one I have and it cost less than the apple connection cables).
    Plug your USB stick into the router
    Connect your phone via wi-fi to the router.
    Log into the routers built in file managment or use any FTP capable app to connect (GoodReader, ifiles, etc)
    Transfer files.

  • Howto boot recovery discs from usb stick

    hi.i have t40 and i just bought recovery media(because predesktop area is dead).i tried many ways but i cant afford to boot recovery medias from usb stick.which tool should i use?? i dont have optical drive??

    Hello mate,
    What version of windows are using ? It's possible with windows 7.
    http://forum.lenovo.com/t5/X-Series-ThinkPad-Laptops/Making-a-usb-stick-with-the-Lenovo-recovery-par...
    Knowledge is of two kinds. We know a subject ourselves, or we know where we can find information on it.
    ThinkPad T510 4313-CTO Windows 8 x64 - Intel Core i7-620M - NVIDIA NVS 3100M - 8GB RAM - 240GB SSD- Intel Centrino Ultimate-N 6300 - Gobi 2000.
    ThinkPad Helix 3697-CTO Windows 8.1 x64 - Intel Core i7-3667U - Intel HD Graphics 4000 - 8GB RAM- 256GB SSD - Intel Centrino Advanced-N 6205 - Ericsson C5621gw

  • Can all macbooks boot from usb(stick,hdd) and firewire(hdd) an os: linux, win, mac os x, opensolaris, etc

    Subject: BOOT FROM EXTERNAL STORAGE DEVICE - After this setup properly
    Can all macbooks boot from usb(stick,hdd) and firewire(hdd) an os: linux, win, mac os x, opensolaris, etc?
    what about:
    Apple MacBook Pro MB133LL/A 15.4-inch Laptop(OLD VERSION) (4GB RAM 120G HD 2.33 GHz Core 2 Duo processor, 15.4" Matte Screen, 4GB memory, 120 GB 7200 rpm hard drive) White

    Yes,
    Disconnect everything hooked up to the PC except the keyboard, mouse and monitor.
    Then use this method to flash the BIOS.  It is the safest way to go.
    USB Device BIOS Flashing in DOS
    DOS Flash  (DOSFlash.exe, FlshUefi.cpu) is the DOS-compatible System BIOS flash utility that can be used from a DOS bootable storage device (where "DOS" refers to any of a number of compatible operating systems such as FreeDOS, MS-DOS or DR-DOS). FlshUefi.cpu is the required driver for DOSFlash.exe. To flash the System BIOS from a bootable USB storage device, you will need to copy the contents of the DOS Flash folder to the USB device, boot the PC from the USB device, and execute the DOSFlash application. To see a more complete description of the DOS flash utilities, view DOSFlash.txt located in the DOS Flash folder. This folder also contains the required binary image of the BIOS.  The binary image file is named xxx_MMmm.bin where "xxx" is the BIOS family, "MM" is the major version number, and "mm" is the minor version number.  This file can be copied to the root directory of any USB removable medium for use with the F10 setup "Flash System ROM" option 
    View Contents of DOS Flash Folder
    The links on this post don't work. I copied the section from the BIOS flashing instructions for the specific section you need.
    Paul

  • LR2 - MacOS: installation and/or running from USB stick

    I am user of LR2
    I wonder if it is possible:
    1) to copy the installation CD to an USB drive and start installation from there (MacBook Air)
    2) to install LR2 onto USB drive and run from the memory stick (USB)
    3) allowed to install 1x on iMac at home and install 1x on laptop computer (Macbook Air) for use when not home
    Thanks for your feedbacks and (if available) links to further resources in above topics!
    Daniel

    As to #1, why don't you just download a fresh copy of 2.7 from the Adobe web site onto your MacBook? That would save you a bunch of figuring out how to create a USB stick to install from. Load it from here
    I suspect Ian is right about #2, that you won't be able to do it.
    #3: no problem. You're allowed two installed copies--you aren't supposed to run them at the same time.
    Hal

  • No GRUB menu when booting from USB stick with new archlinux

    Hi,
    I want to try archlinux but I do not have a full backup of my current system right now, such that I do not dare to install archlinux on it. I decided to install it on a USB drive and followed the Beginners Guide considering the hints for installations on USB sticks.
    The first issue that I had was that I was not able to to install gurb and it complained that no boot partition was available. I started from scratch again but this time choose the partition type EF02  (bios boot partition) instead of the default 0700 (I only have one partition on the stick). This time everything went fine until I rebooted from the USB stick. Instead of a grub menu I got:
    GRUB GRUB GRUB GRUB GRUB GRUB
    and nothing happened.
    I booted again from the boot cd with archlinux and did the following to examine the grub installation again:
    mount /dev/sdb1 /mnt
    arch-chroot /mnt /bin/bash
    grub-install --recheck --boot-directory=/boot /dev/sdb
    >Installation finished. No error reported.
    grub-mkconfig -o /boot/grub/grub.cfg
    >Generating grub.cfg
    >Found linux image: /boot/vmlinux-linux
    >Found linux image: /boot/initramfs-linux.img
    > WARNING: Failed to connect to lvmetad: No such file or directory. Falling back to internal scanning.
    > No volume groups found
    >Found LMDE MATE Edition (1) on /dev/sda1
    >done
    I don't know what the grub-mkconfig output should look like...
    Do you have any idea how I can fix this?
    Thanks in advance!

    Welcome to Arch!
    EF02 is definitely not the type code you want. That is used for a small partition with no file system which grub needs on GPT disks because it cannot fit into the space on disk. You don't install anything into it and it is 1-2MB.
    Perhaps https://wiki.archlinux.org/index.php/Usb_installation would help?

Maybe you are looking for