LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Arch
User Name
Password
Arch This Forum is for the discussion of Arch Linux.

Notices

Reply
 
Search this Thread
Old 05-22-2012, 01:57 PM   #1
SignorX
LQ Newbie
 
Registered: Jun 2011
Posts: 15

Rep: Reputation: Disabled
USB persistent and personalized installation


Hi! First of all sorry for my bad English.
I want to install Arch on a USB pendrive in persistent mode. But I want to personalize it before installation, using Archiso (or something similar), so that I can install the same configuration on many USB drive. How can I do this?
Thank you

PS: I found this on the internet, but I cannot understand whether it is pertinent and how to apply that suggestion
 
Old 05-27-2012, 03:54 AM   #2
Babertje
Member
 
Registered: Jun 2009
Location: Haarlem, The Netherlands
Distribution: Archlinux
Posts: 125

Rep: Reputation: 20
ArchWiki is your friend: see https://wiki.archlinux.org/index.php/Usb_install
 
Old 05-27-2012, 06:37 AM   #3
floppy_stuttgart
Member
 
Registered: Nov 2010
Location: Stuttgart, Germany
Distribution: Tiny Core Linux 4.5.6, knoppix 6.7, antixM8.11, partedmagic, slitaz 3.0,PuppyLinux,Ubuntu 10.04
Posts: 540
Blog Entries: 1

Rep: Reputation: 37
Quote:
Originally Posted by SignorX View Post
Hi! First of all sorry for my bad English.
I want to install Arch on a USB pendrive in persistent mode. But I want to personalize it before installation, using Archiso (or something similar), so that I can install the same configuration on many USB drive. How can I do this?
Thank you

PS: I found this on the internet, but I cannot understand whether it is pertinent and how to apply that suggestion
good question. I never got the right answer anywhere (cow_device=.. dont work).
My old question is here: http://www.linuxquestions.org/questi...grafic-942777/
So, I will look carefully at any answer here.
Information: a persistence of changes on USB stick is easy with www.tinycorelinux.net
Arch? could not see any easy persistence method, after USB install, till now.

Last edited by floppy_stuttgart; 05-27-2012 at 06:39 AM.
 
Old 05-27-2012, 08:46 AM   #4
Babertje
Member
 
Registered: Jun 2009
Location: Haarlem, The Netherlands
Distribution: Archlinux
Posts: 125

Rep: Reputation: 20
Few months ago I needed a quick solution for a portable web-demo with php on a stick. Installed on my laptop but had the Harddisk removed during installation. In this case I created first 2 partitions on a 16GB stick on for / and one for /srv but in your case make this /home. Follow the guide link in my previous post.

few remarks
  • Set it up with UUID in grub
  • Use /tmpfs to reduce Read/Write actions
  • Remarks for desktop usage: Include all xf86-video-* packages
  • Add the command: /etc/look4swap.sh in your rc.local, see below

This script searches for an available swap partiton on the host computer,if it ain't there, oh well bad luck!
Code:
#!/bin/bash
# /etc/look4swap.sh - script
if [ `fdisk -l |grep -c "82  Linux"` -eq 0 ] # note there are 2 spaces between 82 and Linux !Important!
then
  echo "no swap found"
else
   swaps=`fdisk -l |grep "82  Linux" |awk '{print $1}'`
   swapon $swaps
fi
After installation: Clean the entire package cache: pacman -Scc
Quote:
Warning: This clears the entire package cache. Doing this is not recomended for normal installations since you cannot downgrade anymore but it can easy save about ++1GiB of space.

Last edited by Babertje; 05-27-2012 at 09:03 AM. Reason: Added pacman clearing
 
Old 05-27-2012, 04:59 PM   #5
jefro
Guru
 
Registered: Mar 2008
Posts: 11,781

Rep: Reputation: 1448Reputation: 1448Reputation: 1448Reputation: 1448Reputation: 1448Reputation: 1448Reputation: 1448Reputation: 1448Reputation: 1448Reputation: 1448
To the OP.

Use pendrivelinux.com or other info to install Arch with persistence. Update or add if you can or what you want. Not all things can be done with this type of install.

Then just dd the flash to some image or other usb flash devices and it should work.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Will Deleting 70-persistent-cd.rules and 70-persistent-net.rules Work As a "Live USB" Konphine Linux - General 1 10-09-2011 03:55 PM
USB Persistent Ubuntu 9.04 installation using vista amd anhlon splittheory Linux - Newbie 4 08-25-2009 11:35 AM
USB persistent installation questions alaios Linux - General 10 04-29-2009 01:15 PM
Persistent Driver Installation cfdehmelt Linux - Newbie 2 11-10-2008 03:31 PM
Personalized Installation starting with minimal installation doraimom Debian 2 09-16-2007 12:14 AM


All times are GMT -5. The time now is 01:25 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration