Commit Graph

66 Commits

Author SHA1 Message Date
Gerardo Exequiel Pozzi
1635eacfe7 [syslinux-iso] Add support to squashfs compression types.
Just set the default gzip.

Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2010-12-07 23:48:24 -03:00
Gerardo Exequiel Pozzi
85d2ddd762 Unify scheme of sed replacements.
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2010-12-07 23:48:24 -03:00
Gerardo Exequiel Pozzi
06a8c66eae [archiso] Add support to mount iso in loopback mode.
Add two parameters:

img_dev=/dev/sdNM
   where /dev/sdNM is the device where .iso is located.
img_loop=/path/to/arch.iso
   where /path/to/arch.iso is the full path of the .iso in the device img_dev.

Original idea from Baurzhan Muftakhidinov.

Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2010-12-07 23:48:24 -03:00
Gerardo Exequiel Pozzi
cd73f7dfb1 [syslinux-cfg] Remove joe from packages.*
Is not anymore on repos.

Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2010-12-07 23:48:24 -03:00
Gerardo Exequiel Pozzi
9629b849c5 [syslinux-iso] Unify dir scheme with -dual images
/syslinux/         syslinux only files
/arch/boot/        memtest86+ + splash.png + ...
/arch/boot/$ARCH/  Linux + initramfs
/arch/             isomounts
/arch/$ARCH/       *.sqfs

Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2010-12-07 23:48:24 -03:00
Gerardo Exequiel Pozzi
aae85f4ecb [syslinux-cfg] Adjust to work with new -D option of mkarchiso
This is how ISO will look now:
/syslinux    only syslinux related files (syslinux.cfg, *.c32, etc)
/arch/       isomounts + *.sqfs images
/arch/boot/  Linux + initramfs + Memtest86+ + other files for early boot stage

Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2010-11-30 21:56:07 -03:00
Thomas Bächler
3d30349dee Remove occurrences of KERNEL from syslinux.cfg
syslinux's KERNEL command tries to autodetect the type of the kernel
by looking at the file's extension. This is unsafe, use the explicit
versions instead:
LINUX - for Linux kernels (memtest is booted like a Linux kernel, too)
COM32 - for COM32 modules
COMBOOT - for comboot modules (only poweroff.com right now)
See http://syslinux.zytor.com/wiki/index.php/SYSLINUX#KERNEL_file
2010-10-17 19:03:21 +02:00
Thomas Bächler
21595371bb Add new menu entry "Power off" 2010-10-17 18:59:46 +02:00
Gerardo Exequiel Pozzi
cc59ba29a0 [syslinux-iso] Add rsync to live-enviroment
Requested at FS#21040

Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2010-10-09 13:50:15 -03:00
Gerardo Exequiel Pozzi
b1e179c71a Add hdparm to installed packages on live-env
Some modern HDD come with agressive APM settings by default,
not only "green ready" drive also "high end" drives.

Adding hdparm so users can change/disable hdd settings (mostly -B -S -M).

Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2010-09-16 16:55:43 +02:00
Gerardo Exequiel Pozzi
6a685859ad [syslinux-iso] Remove redundant package from list
linux-firmware is already installed as dep of kernel26

Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2010-08-25 03:00:30 -03:00
Thomas Bächler
86ca33e76d Rename all occurrences of isolinux to syslinux
The name of the bootloader is syslinux, while isolinux is just one
of many components. isolinux.bin now also accepts syslinux.cfg
as a configuration file name (as do all other loaders).

Thus, rename the isolinux/ folder to syslinux/, and rename
isolinux.cfg to syslinux.cfg. The only occurrence of 'isolinux'
is now the actual loader file 'isolinux.bin'. This makes
the transition from isolinux to the other syslinux loaders
easier when remastering the ISO onto another medium.
2010-07-22 00:04:46 +02:00
Thomas Bächler
deffe0fba9 Remove x86test
The upstream URL is dead and there seems to be no other source
or information on this tool. Thus, drop it
2010-07-21 23:56:25 +02:00
Thomas Bächler
3c7340c6aa Add HDT to the boot menu
HDT is a hardware detection/info tool. It will show information about your hardware,
including PCI devices. It will also show the names of the kernel modules that will
support your devices.
2010-07-21 23:54:05 +02:00
Gerardo Exequiel Pozzi
1bbeeb0e5b Rename directories and parameteres to be more descriptive
* squashfs images that will be part of read-only branchs for union mount in /
  are mounted on /ro_branch/{image_name} instead of /tmpfs/mnt/{image_name}
  (and avoid empty dirs on live env under /mnt)
* tmpfs that will be part of read-write branch for union mount in /
  is mounted on /rw_branch instead of /tmpfs
* tmpfs that is for store *.sqfs images when copytoram=y, is mounted on
  /copytoram instead of /tmpfs.sqfs

* tmpfs_size= parameter renamed to rw_branch_size=
* tmpfs_sqfs_size= parameter renamed to copytoram_size=

Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2010-07-09 16:14:55 -03:00
Gerardo Exequiel Pozzi
47dd70f3b5 [syslinux-iso] Update URL of mirrorlist matching new archweb change
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2010-07-02 22:43:22 -03:00
Gerardo Exequiel Pozzi
24da89efc9 Mount core-pkgs.sqfs in / => appending to aufs stack
Allows split-out "any" packages in a simple way, then mounting
it as union layer.

Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2010-07-02 18:56:09 -03:00
Gerardo Exequiel Pozzi
95ae7823bd [syslinux-iso] Update instructions file
Copied from http://www.archlinux.org/iso/2010.05/README

Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2010-06-29 00:26:25 -03:00
Gerardo Exequiel Pozzi
3be4092fe3 [syslinux-iso] Fix typo in rc.conf for CONSOLEMAP
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2010-06-29 00:18:14 -03:00
Gerardo Exequiel Pozzi
383fcb596f [syslinux-iso] download-repo.sh only download packages from specified repo
Fixes FS#18733 http://bugs.archlinux.org/task/18733

Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2010-06-28 23:51:19 -03:00
Gerardo Exequiel Pozzi
9be04c4b41 [syslinux-iso] Also copy gpxelinux.0 to isolinux dir
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2010-06-28 23:45:36 -03:00
Gerardo Exequiel Pozzi
f62c58bce6 [syslinux-iso] create root-image tree in two steps
First install {base} group, then install rest of packages listed
at in packages file.
In this way, ensure a fully base system installed first,
avoinding errors from install scriptlets of rest of packages.

(currently there is no issue with packages listed on packages files,
but if some add more packages to customize the iso will see errors)

Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2010-06-28 23:24:34 -03:00
Gerardo Exequiel Pozzi
aad0623a03 [syslinux-iso] Update to latest pacman.conf in overlay tree
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2010-06-28 23:15:18 -03:00
Thomas Bächler
4b64f2db74 Add support for booting from memdisk
This requires mkinitcpio 0.6.7 or later, as well as syslinux 4.00pre56
or later. See http://syslinux.zytor.com/wiki/index.php/MEMDISK
2010-06-23 10:11:00 +02:00
Thomas Bächler
3dc83c40e0 [syslinux-iso] Add more wireless support on the image
This adds crda, wpa_actiond and netcfg, so we can use
net-auto-wireless mode on the ISO.
2010-06-23 10:04:39 +02:00
Gerardo Exequiel Pozzi
63c60ff0b6 update package list (linux-firmware)
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2010-06-23 10:03:09 +02:00
Gerardo Exequiel Pozzi
210cd35dcc Comment IPAPPEND option and add comment about usage.
IPAPPEND option is only used by PXELINUX.

Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2010-06-23 10:03:04 +02:00
Christopher Brannon
a457608083 Add dialog to the package lists.
dialog is no longer in the base group, but it needs to be included on
the CD for AIF.

Signed-off-by: Christopher Brannon <cmbrannon79@gmail.com>
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2010-04-27 08:05:13 -07:00
Gerardo Exequiel Pozzi
43246f26cb Remove a non-working boot option: "Boot normally".
See FS#19228 for details.

Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2010-04-25 15:29:39 -03:00
Gerardo Exequiel Pozzi
fa546a0ca4 [syslinux-iso] Remove archiso-pxe-server and dnsmasq dependency.
This script can be part of the wiki, or in another package/project.
(See Dieter comment at FS#12619)

Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2010-03-21 20:24:59 -03:00
Gerardo Exequiel Pozzi
a4d875288c [syslinux-iso] archiso-pxe-server set IPAPPEND to 3.
In this way also BOOTIF= parameter is added to command line apart of ip=

Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2010-03-21 19:56:04 -03:00
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