Commit Graph

136 Commits

Author SHA1 Message Date
Gerardo Exequiel Pozzi
6660e0fc41 [syslinux-iso] make archiso-pxe-server compatible with archiso2dual scheme
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2010-03-18 12:55:10 -03:00
Gerardo Exequiel Pozzi
7483cffb30 [archiso] Use a mount handler in archiso_pxe_nbd hook
* Register a mount_hook if booted via PXE. This allows to do all needed
steps before and after calling archiso_mount_handler.

* umount and disconnect network device if copytoram=y

Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2010-03-18 12:03:59 -03:00
Gerardo Exequiel Pozzi
0b2a2c4da1 Add an overlay/arch/archiso-pxe-server script
The purpose of this script is to setup a basic PXE server enviroment
from Arch Linux live-media. Only need to setup an ip address in the
machine and launch it. Booting all machines conected to the network
via PXE will boot Arch Linux Live media :)

Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2010-03-18 01:01:28 -03:00
Gerardo Exequiel Pozzi
388dfdc963 Remove testing pxelinux.cfg config
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2010-03-18 01:01:25 -03:00
Gerardo Exequiel Pozzi
fffe690a73 [archiso] Rename nbd hook to archiso_nbd
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2010-03-18 01:01:13 -03:00
Gerardo Exequiel Pozzi
2c00b5508d [syslinux-iso] Removed sample pxelinux.cfg/default
Parsed version of isolinux/isolinux.cfg will be used instead.

Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2010-03-17 21:45:48 -03:00
Gerardo Exequiel Pozzi
1f411b2ac6 [syslinux-iso] Add IPAPPEND 0 to isolinux.cfg
Adding this current default setting, making it more easily to parseable.

Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2010-03-17 21:42:51 -03:00
Gerardo Exequiel Pozzi
1320c0ee91 [syslinux-iso] Add PXE support via NBD.
nbd (network block device utilities) package is required.
This package is in AUR at this moment.
http://aur.archlinux.org/packages.php?ID=9691

Also added dnsmasq pkg, so the live-medium, appart of support booting from PXE
also add the capability to acts as server for PXE & NBD.

This is a dirty script to ilustrate how to launch server:

---- Cut here ----

IP=$1
ISO=$2

ifconfig eth0 ${IP}
dnsmasq \
  --enable-tftp \
  --tftp-root=/bootmnt/boot \
  --dhcp-boot=/pxelinux.0,"${IP}" \
  --dhcp-range=${IP%.*}.2,${IP%.*}.254,86400
nbd-server 9040 ${ISO} -r
---- Cut here ----

Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2010-03-17 11:14:44 -03:00
Gerardo Exequiel Pozzi
d875052f56 [syslinux-iso] Set iso and kernel version dynamically.
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2010-03-17 10:03:25 -03:00
Christopher Brannon
0a7c87e508 Provide wpa_supplicant in the CD environment
Some people might need to use a WPA-encrypted network in conjunction
with the ArchLinux CD, so this patch should make that possible.
2010-03-16 09:34:17 -07:00
Gerardo Exequiel Pozzi
fc9a01e713 Remove archiso_early hook, use /dev/disk/by-label/${archisolabel} instead.
Takes the advantage of already symlinks created on /dev/disk/by-label/ by
60-persistent-storage.rules add by udev hook.

Tested on:
* Real machine as CD-ROM and USB key drive.
* KVM as CD-ROM and DISK (for both modes, in combination with IDE and SCSI)
* VirtualBox as IDE CD-ROM.

IMPORTANT note: Since isohybrid is a hack, if more partitions are added to
USB key drive, filesystem on these partitions MUST have LABEL, otherwise
USB key will fail to boot. Anyway there is an option archisodevice=,
to force and specific device where live-media reside.
(Maybe isohybrid will change the hack method used in a future)

More info at:
http://mailman.archlinux.org/pipermail/arch-releng/2010-March/000890.html
http://mailman.archlinux.org/pipermail/arch-releng/2010-March/000913.html

Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2010-03-16 01:53:40 -03:00
Gerardo Exequiel Pozzi
977095e1d9 Add -m option to useradd in archiso rc script.
This make the user home automatically with correct perms,
and also copies skel.

Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2010-03-15 23:55:58 -03:00
Gerardo Exequiel Pozzi
eeadc90a11 Add do_fix_perms() in archiso rc script.
Fix file permissions, since GIT does not manage perms other than 755 and 644.
Also this can be used to adjusts owner:group.

Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2010-03-15 23:45:18 -03:00
Gerardo Exequiel Pozzi
d38f1d1460 version update in Makefile
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2010-03-06 18:36:36 -03:00
Gerardo Exequiel Pozzi
b80e542518 Fix doc path in motd
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2010-03-05 00:59:09 -03:00
Gerardo Exequiel Pozzi
81a7198c9c Removed an old and unused line in fstab
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2010-02-22 19:41:46 -03:00
Gerardo Exequiel Pozzi
d9e3df77a9 Reorder kernel command line params in isolinux.cfg.
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2010-02-18 03:08:53 -03:00
Gerardo Exequiel Pozzi
60b35285bb Remove unused lang= parameter at kernel command line
Currently there is no code that use lang= parameter.

Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2010-02-18 03:03:17 -03:00
Gerardo Exequiel Pozzi
b7ca4bf281 Rename archiso-early hook to archiso_early
To make compatible with disablehooks= param. Since "hook_archiso-early"
is not a valid variable name.

Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2010-02-18 00:10:39 -03:00
Gerardo Exequiel Pozzi
22f910736d delete test-isolinux.sh
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2010-02-08 04:05:17 -03:00
Gerardo Exequiel Pozzi
be59105044 Update splash screen and minor cleanups.
Note: Resolved merge conflict

Split from commit 31296c60 from Svenstaro branch

Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2010-02-08 03:59:44 -03:00
Gerardo Exequiel Pozzi
8969c57b75 Delete old configs files
Split from commit 00dda7d4 from Svenstaro repo.

Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2010-02-08 03:45:36 -03:00
Gerardo Exequiel Pozzi
a2f6841ce3 Removed unused file, replaced by mkinitcpio.conf
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2010-02-05 15:48:31 -03:00
Gerardo Exequiel Pozzi
e6da4659c0 Update label and kernel version in Makefile
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2010-02-04 17:17:29 -03:00
Gerardo Exequiel Pozzi
fbf768a419 Removed wlan-ng26-utils from package list
This package was removed from repos.

Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2010-02-04 16:26:22 -03:00
Gerardo Exequiel Pozzi
4d1fb6a58d Make a /home/arch (arch:users 0755) in archiso startup script
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2009-12-02 02:03:10 -03:00
Gerardo Exequiel Pozzi
13a2ebbd00 Fix perms on archiso startup script
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2009-12-02 01:41:55 -03:00
Gerardo Exequiel Pozzi
fef59cda36 Fix missing change in merge (9849db6a) for overlay rc.conf
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2009-12-01 23:20:51 -03:00
Gerardo Exequiel Pozzi
5820f94f26 Fix bad boot path from prev commit and use memdisk provided by syslinux
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2009-12-01 21:56:54 -03:00
Gerardo Exequiel Pozzi
a5ff6f1b19 Misc fixes for syslinux-iso
* Removed .bin ext for x86test and memtest86+, with it does not work.
  (http://syslinux.zytor.com/wiki/index.php/Common_Problems)
* Add url for x86test and memtest86+
* Re-add license for memtest86+
* Adjusted Makefile, some cleanups

Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2009-12-01 21:39:02 -03:00
Aaron Griffin
4071a39fd1 Change docs location in motd
Closes FS#16231

Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2009-12-01 14:12:06 -08:00
Gerardo Exequiel Pozzi
abd79d0bf9 Avoid rebuild of initcpio images when there are no changes to .conf
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>

[Aaron: Merged with syslinux-iso]
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2009-12-01 13:25:57 -08:00
Gerardo Exequiel Pozzi
aa29509fc6 Silent locale-gen in archiso hook
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>

[Aaron: Merged with syslinux-iso]
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2009-12-01 13:22:54 -08:00
Gerardo Exequiel Pozzi
9849db6af7 Create user and locales at boot-time.
* Avoids having to maintain a private copy of the files:
  passwd/shadow/group/gshadow
* Similar but for locales, as well as the advantage of having ready
  the locale database that the user wants. (all NN_MM* will be enabled)

Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>

[Aaron: Merged changes into syslinux-iso as well]
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2009-12-01 13:21:29 -08:00
Sven-Hendrik Haase
7840c98465 Add Sven's syslinux ISO config files
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2009-11-30 15:14:27 -08:00
Aaron Griffin
246a00412b Initial commit of syslinux based iso config
Includes vesamenu config... needs testing

Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2009-11-30 15:14:26 -08:00
Gerardo Exequiel Pozzi
44550defdb Another Makefile rules reoder/fixes
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2009-11-19 23:02:46 -03:00
Gerardo Exequiel Pozzi
ca492e3041 Reorder rules in the Makefile
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2009-11-19 23:02:46 -03:00
Gerardo Exequiel Pozzi
23b12f0dde Initial rewrite of install-iso/Makefile to avoid rebuilds!
Rewrite the Makefile to avoid rebuild of squashfs images,
base filesystem, and redownload of packages for make the core-pkgs.

For now (what is tested): type make and all images will be created
in < 4 minutes (under tmpfs on Athlon 64 X2 5200+ 4GB)

419489280 Nov 19 05:32 archlinux-2009.11-core-i686.img
394309632 Nov 19 05:32 archlinux-2009.11-core-i686.iso
189181440 Nov 19 05:31 archlinux-2009.11-netinstall-i686.img
171581440 Nov 19 05:31 archlinux-2009.11-netinstall-i686.iso

Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2009-11-19 23:02:46 -03:00
Gerardo Exequiel Pozzi
0da2b87966 Fix script buildall.sh parameter ftp-iso -> net-iso
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2009-11-19 23:00:32 -03:00
Gerardo Exequiel Pozzi
bce6a11544 Do not redownload/rebuild core-pkgs when making the repo
Another small step forward to avoid rebuilding of squashfs images
if are alredy up-to-date core-repo.

Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2009-11-19 01:35:49 -03:00
Gerardo Exequiel Pozzi
3f39d91541 Fix typo in previus commit
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2009-11-19 01:00:49 -03:00
Gerardo Exequiel Pozzi
35c26e7c8b Remove old memtest* files and use memtest86+ from installed packages
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2009-11-19 00:42:26 -03:00
Gerardo Exequiel Pozzi
ed97ef03a4 Rename ramdisk_size parameter to tmpfs_size to avoid conflict
Rename ramdisk_size parameter to tmpfs_size to avoid conflict with
the kernel parameter that is for old ramdisk based blockdevs (/dev/ramN)
and confusion to users.

The kernel parameter ramdisk_size=N is in "N * k size", while tmpfs
size=N is in "N * [ k | m | g ] byte size" or "in N% of RAM",
like is used by default on archiso.

This parameter is used only for tmpfs in size option.

Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2009-11-17 00:48:26 -03:00
Gerardo Exequiel Pozzi
e87ffdfa3c Add a default install-iso/overlay/etc/hosts with archiso alias
With this add if some program is started and query about hostname,
no annoying delay of ~10 seconds will occur.

Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2009-11-11 00:27:02 -03:00
Gerardo Exequiel Pozzi
6964b13d80 Updated archiso/configs/xfce4/packages.list
The current list is a bit old, just update to match current
package names. Removing old packages, some renames, and add some
new wireless firmwares.

Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2009-10-21 19:25:39 -03:00
Gerardo Exequiel Pozzi
c801829c61 Add aufs2 package to list of packages to install.
aufs2 module is now splited from kernel26-2.6.31-ARCH.

Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2009-10-20 01:05:42 -03:00
Gerardo Exequiel Pozzi
7aa5e83653 Update authentication databases for configs/xfce4/overlay/etc
Updated entries to match passwd/shadow/group/gshadow(*) auth db from
svn trunk filesystem package.

(*) A correct gshadow file is add matching group file.

Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2009-10-20 00:27:44 -03:00
Gerardo Exequiel Pozzi
cf3458f17b Update authentication databases for "overlay" install-iso
Updated entries to match passwd/shadow/group/gshadow(*) auth db from
svn trunk filesystem package.

(*) A correct gshadow file is add matching group file.

Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2009-10-20 00:22:05 -03:00
Gerardo Exequiel Pozzi
25a8ef823a Add missing "done" keyword for "for" in rc.d/archiso
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2009-10-17 20:44:27 -03:00