You are not logged in.

#1 2010-02-04 05:03:16

Stythys
Member
From: SF Bay Area
Registered: 2008-05-18
Posts: 878
Website

archiso

so, tryin' out archiso. just to make sure everything's working I just copied over the default configs and ran it...ended up with this:

cp -r overlay /home/syth/uzume/
cp: `overlay' and `/home/syth/uzume/overlay' are the same file
make: *** [overlay] Error

any ideas?


[home page] -- [code / configs]

"Once you go Arch, you must remain there for life or else Allan will track you down and break you."
-- Bregol

Offline

#2 2010-02-04 18:24:07

Stythys
Member
From: SF Bay Area
Registered: 2008-05-18
Posts: 878
Website

Re: archiso

alright, fixed the above, but have new issues.

mkarchiso -p grub-gfx usb /home/syth/uzume /home/syth/uzume/archlinux-2010.02-netinstall-i686.img
invalid command name 'usb'
usage mkarchiso [options] command <command options>
 general options:
    -f               Force overwrite of working files/squashfs image/bootable image
    -p PACKAGE(S)    Additional package(s) to install, can be used multiple times
    -C <file>        Config file for pacman. Default /etc/pacman.conf
    -L <label>       Set a label for the disk
    -P <publisher>   Set a publisher for the disk
    -A <application> Set an application name for the disk
    -d               Create default user directory /home/arch
    -v               Enable verbose output
    -h               This message
 commands:
   create <dir>
      create a base directory layout to work with
      includes all specified packages
   iso <dir> <image name>
      build an iso image from the working dir
make: *** [/home/syth/uzume/archlinux-2010.02-netinstall-i686.img] Error 1

also, I was getting an error that boot/syslinux/isolinux.bin didn't exist. I just copied over the one on my existing system that was located in: /usr/lib/syslinux/isolinux.bin. was that ok?


[home page] -- [code / configs]

"Once you go Arch, you must remain there for life or else Allan will track you down and break you."
-- Bregol

Offline

#3 2010-02-04 18:58:53

pointone
Wiki Admin
From: Waterloo, ON
Registered: 2008-02-21
Posts: 379

Re: archiso

Have you seen this?

"usb" is an invalid command: as indicated in the output, valid commands are "create" and "iso".

You probably also want to add "-p syslinux" to your command.


M*cr*s*ft: Who needs quality when you have marketing?

Offline

#4 2010-02-04 19:05:38

Stythys
Member
From: SF Bay Area
Registered: 2008-05-18
Posts: 878
Website

Re: archiso

yes I've seen the wiki. The thing is I'm just running the default configuration that comes with archiso..so it just seems weird that it isn't configured correctly.


[home page] -- [code / configs]

"Once you go Arch, you must remain there for life or else Allan will track you down and break you."
-- Bregol

Offline

#5 2010-02-04 19:59:07

Stythys
Member
From: SF Bay Area
Registered: 2008-05-18
Posts: 878
Website

Re: archiso

now I get this when trying to boot it in vbox: http://files.twilightlair.net/pictures/misc/kerpan.png

any ideas?


[home page] -- [code / configs]

"Once you go Arch, you must remain there for life or else Allan will track you down and break you."
-- Bregol

Offline

#6 2010-02-05 07:03:22

Stythys
Member
From: SF Bay Area
Registered: 2008-05-18
Posts: 878
Website

Re: archiso

Here's my Makefile


[home page] -- [code / configs]

"Once you go Arch, you must remain there for life or else Allan will track you down and break you."
-- Bregol

Offline

#7 2010-02-05 22:10:55

djgera
Developer
From: Buenos Aires - Argentina
Registered: 2008-12-24
Posts: 723
Website

Re: archiso

Hello,

The current steps are this (I suggest to use my branch, that have changes pending for master tree)

pacman -S --needed git cdrkit squashfs-tools devtools syslinux
cd /tmp # or to directory with at least 1G of free space.
git clone git://github.com/djgera/archiso -b djgera
cd archiso/archiso
make install
cd ../configs/syslinux-iso/
make net-iso # This will take about of < 3 minutes if you have all packages cached. Also can use core-iso.

The iso images are "hybrid" will be valid to boot "as cdrom", or "as disk". wink

Offline

#8 2010-02-06 03:42:54

Stythys
Member
From: SF Bay Area
Registered: 2008-05-18
Posts: 878
Website

Re: archiso

fixed ==> http://bbs.archlinux.org/viewtopic.php? … 16#p702516

although, the makefile is incorrectly parsing the isomounts file. if anyone could provide a fix that'd be awesome big_smile

running the sed command just in a normal shell does seem to work...idk, though, running make just seems to turn the file blank =/

Last edited by Stythys (2010-02-06 03:43:56)


[home page] -- [code / configs]

"Once you go Arch, you must remain there for life or else Allan will track you down and break you."
-- Bregol

Offline

#9 2010-02-06 05:52:50

djgera
Developer
From: Buenos Aires - Argentina
Registered: 2008-12-24
Posts: 723
Website

Re: archiso

are you talking about your Makefile or Makefile from wiki? Because all is working fine from my repo.

Offline

#10 2010-02-06 06:01:49

Stythys
Member
From: SF Bay Area
Registered: 2008-05-18
Posts: 878
Website

Re: archiso

mine, but the isomounts code is pretty much the same on either. same result on multiple machines.

Last edited by Stythys (2010-02-06 06:04:31)


[home page] -- [code / configs]

"Once you go Arch, you must remain there for life or else Allan will track you down and break you."
-- Bregol

Offline

#11 2010-02-06 06:36:30

djgera
Developer
From: Buenos Aires - Argentina
Registered: 2008-12-24
Posts: 723
Website

Re: archiso

what steps are you doing? I can't get a blank file

WARNING: how you specify the WORKDIR, this must not be the same where all config reside, must be an inside directory. In general this variable is not changed.

a typical session:

[CHROOT32][root@gerardo /]# cd /tmp
[CHROOT32][root@gerardo tmp]# git clone git://github.com/djgera/archiso -b djgera
Initialized empty Git repository in /tmp/archiso/.git/
remote: Counting objects: 1702, done.
remote: Compressing objects: 100% (894/894), done.
remote: Total 1702 (delta 871), reused 1490 (delta 754)
Receiving objects: 100% (1702/1702), 1.01 MiB | 262 KiB/s, done.
Resolving deltas: 100% (871/871), done.
[CHROOT32][root@gerardo tmp]# cd archiso/archiso
[CHROOT32][root@gerardo archiso]# make install
# install to sbin since script only usable by root
install -D -m 755 mkarchiso /usr/sbin/mkarchiso
# testiso can be used by anyone
install -D -m 755 testiso /usr/bin/testiso
# hooks/install are needed by mkinitcpio
install -D -m 644 hooks/archiso /lib/initcpio/hooks/archiso
install -D -m 644 hooks/archiso-early /lib/initcpio/hooks/archiso-early
install -D -m 644 install/archiso /lib/initcpio/install/archiso
install -D -m 644 install/archiso-early /lib/initcpio/install/archiso-early
# install docs and examples
install -d -m 644 /usr/share/archiso/
cp -r ../configs /usr/share/archiso/configs
install -D -m 644 ../README /usr/share/doc/archiso/README
[CHROOT32][root@gerardo archiso]# cd ../configs/syslinux-iso/
[CHROOT32][root@gerardo syslinux-iso]# time make net-iso
mkarchiso -p "aif aufs2 aufs2-util b43-fwcutter base ddrescue dmraid dnsutils dosfstools elinks gnu-netcat inetutils ipw2100-fw ipw2200-fw iwlwifi-3945-ucode iwlwifi-4965-ucode iwlwifi-5000-ucode iwlwifi-5150-ucode joe lftp lilo memtest86+ ndiswrapper ndiswrapper-utils nfs-utils nmap ntfs-3g ntfsprogs ntp openssh openvpn parted pptpclient rt2x00-rt61-fw rt2x00-rt71w-fw speedtouch squashfs-tools syslinux tcpdump tiacx tiacx-firmware wireless_tools zd1211-firmware" create work
mkarchiso : Configuration Settings
        working directory:   work
               image name:   none
====> Creating working directory: work
====> Installing packages to 'work/root-image/'
Cleaning up what we can
mkdir -p work/iso/boot
cp work/root-image/boot/System.map26 work/iso/boot/
cp work/root-image/boot/vmlinuz26 work/iso/boot/
cp work/root-image/boot/memtest86+/memtest.bin work/iso/boot/memtest
cp work/root-image/usr/share/licenses/common/GPL2/license.txt work/iso/boot/memtest.COPYING
cp -r boot-files/* work/iso/boot/
cp work/root-image/usr/lib/syslinux/*.c32 work/iso/boot/isolinux/
cp work/root-image/usr/lib/syslinux/isolinux.bin work/iso/boot/isolinux/
cp work/root-image/usr/lib/syslinux/memdisk work/iso/boot/isolinux/
mkdir -p work/iso/boot
mkinitcpio -c ./mkinitcpio.conf -b work/root-image -k 2.6.32-ARCH -g work/iso/boot/archiso.img
:: Begin build
:: Parsing hook [base]
:: Parsing hook [archiso-early]
:: Parsing hook [udev]
:: Parsing hook [archiso]
:: Parsing hook [pata]
:: Parsing hook [scsi]
:: Parsing hook [sata]
:: Parsing hook [usb]
:: Parsing hook [fw]
:: Parsing hook [pcmcia]
:: Parsing hook [filesystems]
:: Parsing hook [usbinput]
:: Generating module dependencies
:: Generating image 'work/iso/boot/archiso.img'...SUCCESS
mkdir -p work/overlay/etc/pacman.d
cp -r overlay work/
wget -O work/overlay/etc/pacman.d/mirrorlist http://www.archlinux.org/mirrorlist/i686/all/
--2010-02-06 03:28:08--  http://www.archlinux.org/mirrorlist/i686/all/
Resolving www.archlinux.org... 66.211.214.131
Connecting to www.archlinux.org|66.211.214.131|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 11955 (12K) [text/plain]
Saving to: `work/overlay/etc/pacman.d/mirrorlist'

100%[==================================================================================================================>] 11,955      53.9K/s   in 0.2s

2010-02-06 03:28:09 (53.9 KB/s) - `work/overlay/etc/pacman.d/mirrorlist' saved [11955/11955]

sed -i "s/#Server/Server/g" work/overlay/etc/pacman.d/mirrorlist
sed "s|@ARCH@|i686|g" isomounts > work/isomounts
mkarchiso iso work /tmp/archiso/configs/syslinux-iso/archlinux-2010.02-netinstall-i686.iso
mkarchiso : Configuration Settings
        working directory:   work
               image name:   /tmp/archiso/configs/syslinux-iso/archlinux-2010.02-netinstall-i686.iso
====> Generating SquashFS image for 'work/overlay'
Creating SquashFS image. This may take some time...
Image creation done in 0.00 minutes.
====> Generating SquashFS image for 'work/root-image'
Creating SquashFS image. This may take some time...
Image creation done in 1.25 minutes.
====> Making bootable image
Creating ISO image...

real    2m46.375s
user    3m2.993s
sys     0m24.440s
[CHROOT32][root@gerardo syslinux-iso]#

and running:

$ qemu-system-x86_64 -cdrom /home/chroot/32/tmp/archiso/configs/syslinux-iso/archlinux-2010.02-netinstall-i686.iso -serial stdio
Linux version 2.6.32-ARCH (tobias@T-POWA-LX) (gcc version 4.4.3 (GCC) ) #1 SMP PREEMPT Fri Jan 29 08:50:05 UTC 2010
KERNEL supported cpus:
  Intel GenuineIntel
  AMD AuthenticAMD
  NSC Geode by NSC
  Cyrix CyrixInstead
  Centaur CentaurHauls
  Transmeta GenuineTMx86
  Transmeta TransmetaCPU
  UMC UMC UMC UMC
BIOS-provided physical RAM map:
 BIOS-e820: 0000000000000000 - 000000000009f400 (usable)
 BIOS-e820: 000000000009f400 - 00000000000a0000 (reserved)
 BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved)
 BIOS-e820: 0000000000100000 - 0000000007ffd000 (usable)
 BIOS-e820: 0000000007ffd000 - 0000000008000000 (reserved)
 BIOS-e820: 00000000fffbc000 - 0000000100000000 (reserved)
DMI 2.4 present.
last_pfn = 0x7ffd max_arch_pfn = 0x100000
x86 PAT enabled: cpu 0, old 0x0, new 0x7010600070106
Scanning 1 areas for low memory corruption
modified physical RAM map:
 modified: 0000000000000000 - 0000000000002000 (usable)
 modified: 0000000000002000 - 0000000000006000 (reserved)
 modified: 0000000000006000 - 000000000009f400 (usable)
 modified: 000000000009f400 - 00000000000a0000 (reserved)
 modified: 00000000000f0000 - 0000000000100000 (reserved)
 modified: 0000000000100000 - 0000000007ffd000 (usable)
 modified: 0000000007ffd000 - 0000000008000000 (reserved)
 modified: 00000000fffbc000 - 0000000100000000 (reserved)
init_memory_mapping: 0000000000000000-0000000007ffd000
RAMDISK: 07ab1000 - 07fdbeff
ACPI: RSDP 000f8960 00014 (v00 BOCHS )
ACPI: RSDT 07ffde30 00034 (v01 BOCHS  BXPCRSDT 00000001 BXPC 00000001)
ACPI: FACP 07fffe70 00074 (v01 BOCHS  BXPCFACP 00000001 BXPC 00000001)
ACPI: DSDT 07ffdfd0 01E22 (v01   BXPC   BXDSDT 00000001 INTL 20090123)
ACPI: FACS 07fffe00 00040
ACPI: SSDT 07ffdf90 00037 (v01 BOCHS  BXPCSSDT 00000001 BXPC 00000001)
ACPI: APIC 07ffdeb0 00072 (v01 BOCHS  BXPCAPIC 00000001 BXPC 00000001)
ACPI: HPET 07ffde70 00038 (v01 BOCHS  BXPCHPET 00000001 BXPC 00000001)
0MB HIGHMEM available.
127MB LOWMEM available.
  mapped low ram: 0 - 07ffd000
  low ram: 0 - 07ffd000
  node 0 low ram: 00000000 - 07ffd000
  node 0 bootmap 00008000 - 00009000
(9 early reservations) ==> bootmem [0000000000 - 0007ffd000]
  #0 [0000000000 - 0000001000]   BIOS data page ==> [0000000000 - 0000001000]
  #1 [0000001000 - 0000002000]    EX TRAMPOLINE ==> [0000001000 - 0000002000]
  #2 [0000006000 - 0000007000]       TRAMPOLINE ==> [0000006000 - 0000007000]
  #3 [0001000000 - 000152c024]    TEXT DATA BSS ==> [0001000000 - 000152c024]
  #4 [0007ab1000 - 0007fdbeff]          RAMDISK ==> [0007ab1000 - 0007fdbeff]
  #5 [000009f400 - 0000100000]    BIOS reserved ==> [000009f400 - 0000100000]
  #6 [000152d000 - 0001533049]              BRK ==> [000152d000 - 0001533049]
  #7 [0000007000 - 0000008000]          PGTABLE ==> [0000007000 - 0000008000]
  #8 [0000008000 - 0000009000]          BOOTMAP ==> [0000008000 - 0000009000]
found SMP MP-table at [c00f89b0] f89b0
kvm-clock: cpu 0, msr 0:1447261, boot clock
Zone PFN ranges:
  DMA      0x00000000 -> 0x00001000
  Normal   0x00001000 -> 0x00007ffd
  HighMem  0x00007ffd -> 0x00007ffd
Movable zone start PFN for each node
early_node_map[3] active PFN ranges
    0: 0x00000000 -> 0x00000002
    0: 0x00000006 -> 0x0000009f
    0: 0x00000100 -> 0x00007ffd
Using APIC driver default
ACPI: PM-Timer IO Port: 0xb008
ACPI: LAPIC (acpi_id[0x00] lapic_id[0x00] enabled)
ACPI: IOAPIC (id[0x01] address[0xfec00000] gsi_base[0])
IOAPIC[0]: apic_id 1, version 17, address 0xfec00000, GSI 0-23
ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl)
ACPI: INT_SRC_OVR (bus 0 bus_irq 5 global_irq 5 high level)
ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 high level)
ACPI: INT_SRC_OVR (bus 0 bus_irq 10 global_irq 10 high level)
ACPI: INT_SRC_OVR (bus 0 bus_irq 11 global_irq 11 high level)
Enabling APIC mode:  Flat.  Using 1 I/O APICs
Using ACPI (MADT) for SMP configuration information
ACPI: HPET id: 0x8086a201 base: 0xfed00000
SMP: Allowing 1 CPUs, 0 hotplug CPUs
PM: Registered nosave memory: 0000000000002000 - 0000000000006000
PM: Registered nosave memory: 000000000009f000 - 00000000000a0000
PM: Registered nosave memory: 00000000000a0000 - 00000000000f0000
PM: Registered nosave memory: 00000000000f0000 - 0000000000100000
Allocating PCI resources starting at 8000000 (gap: 8000000:f7fbc000)
Booting paravirtualized kernel on KVM
NR_CPUS:8 nr_cpumask_bits:8 nr_cpu_ids:1 nr_node_ids:1
PERCPU: Embedded 14 pages/cpu @c1800000 s34680 r0 d22664 u4194304
pcpu-alloc: s34680 r0 d22664 u4194304 alloc=1*4194304
pcpu-alloc: [0] 0
kvm-clock: cpu 0, msr 0:1808261, primary cpu clock
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 32408
Kernel command line: lang=en locale=en_US.UTF-8 archisolabel=ARCH_201002 tmpfs_size=75% initrd=/boot/archiso.img radeon.modeset=0 console=ttyS0 BOOT_IMAGE=/boot/vmlinuz26
PID hash table entries: 512 (order: -1, 2048 bytes)
Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
Initializing CPU#0
Initializing HighMem for node 0 (00000000:00000000)
Memory: 118644k/131060k available (2794k kernel code, 11848k reserved, 1179k data, 408k init, 0k highmem)
virtual kernel memory layout:
    fixmap  : 0xfff1e000 - 0xfffff000   ( 900 kB)
    pkmap   : 0xff800000 - 0xffc00000   (4096 kB)
    vmalloc : 0xc87fd000 - 0xff7fe000   ( 880 MB)
    lowmem  : 0xc0000000 - 0xc7ffd000   ( 127 MB)
      .init : 0xc13e2000 - 0xc1448000   ( 408 kB)
      .data : 0xc12bab3a - 0xc13e1908   (1179 kB)
      .text : 0xc1000000 - 0xc12bab3a   (2794 kB)
Checking if this processor honours the WP bit even in supervisor mode...Ok.
SLUB: Genslabs=13, HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
Hierarchical RCU implementation.
NR_IRQS:512
Console: colour VGA+ 80x25
console [ttyS0] enabled
HPET: 3 timers in total, 0 timers will be used for per-cpu timer
Detected 2611.964 MHz processor.
Calibrating delay loop (skipped) preset value.. 5226.59 BogoMIPS (lpj=8706546)
Security Framework initialized
Mount-cache hash table entries: 512
CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)
CPU: L2 Cache: 512K (64 bytes/line)
mce: CPU supports 10 MCE banks
Performance Events: AMD PMU driver.
... version:                0
... bit width:              48
... generic registers:      4
... value mask:             0000ffffffffffff
... max period:             00007fffffffffff
... fixed-purpose events:   0
... event mask:             000000000000000f
SMP alternatives: switching to UP code
Freeing SMP alternatives: 11k freed
ACPI: Core revision 20090903
..TIMER: vector=0x30 apic1=0 pin1=2 apic2=-1 pin2=-1
CPU0: AMD QEMU Virtual CPU version 0.12.2 stepping 03
Brought up 1 CPUs
Total of 1 processors activated (5226.59 BogoMIPS).
NET: Registered protocol family 16
ACPI: bus type pci registered
PCI: PCI BIOS revision 2.10 entry at 0xffe77, last bus=0
PCI: Using configuration type 1 for base access
bio: create slab <bio-0> at 0
ACPI: Interpreter enabled
ACPI: (supports S0 S3 S4 S5)
ACPI: Using IOAPIC for interrupt routing
ACPI: No dock devices found.
ACPI: PCI Root Bridge [PCI0] (0000:00)
pci 0000:00:01.3: quirk: region b000-b03f claimed by PIIX4 ACPI
pci 0000:00:01.3: quirk: region b100-b10f claimed by PIIX4 SMB
ACPI: PCI Interrupt Link [LNKA] (IRQs 5 *10 11)
ACPI: PCI Interrupt Link [LNKB] (IRQs 5 *10 11)
ACPI: PCI Interrupt Link [LNKC] (IRQs 5 10 *11)
ACPI: PCI Interrupt Link [LNKD] (IRQs 5 10 *11)
vgaarb: device added: PCI:0000:00:02.0,decodes=io+mem,owns=io+mem,locks=none
vgaarb: loaded
PCI: Using ACPI for IRQ routing
NetLabel: Initializing
NetLabel:  domain hash size = 128
NetLabel:  protocols = UNLABELED CIPSOv4
NetLabel:  unlabeled traffic allowed by default
Switching to clocksource kvm-clock
pnp: PnP ACPI init
ACPI: bus type pnp registered
pnp: PnP ACPI: found 8 devices
ACPI: ACPI bus type pnp unregistered
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 4096 (order: 3, 32768 bytes)
TCP bind hash table entries: 4096 (order: 3, 32768 bytes)
TCP: Hash tables configured (established 4096 bind 4096)
TCP reno registered
NET: Registered protocol family 1
pci 0000:00:00.0: Limiting direct PCI/PCI transfers
pci 0000:00:01.0: PIIX3: Enabling Passive Release
pci 0000:00:01.0: Activating ISA DMA hang workarounds
Unpacking initramfs...
Freeing initrd memory: 5291k freed
apm: BIOS not found.
Scanning for low memory corruption every 60 seconds
audit: initializing netlink socket (disabled)
type=2000 audit(1265437851.166:1): initialized
VFS: Disk quotas dquot_6.5.2
Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
msgmni has been set to 242
alg: No test for stdrng (krng)
Block layer SCSI generic (bsg) driver version 0.4 loaded (major 254)
io scheduler noop registered
io scheduler anticipatory registered
io scheduler deadline registered
io scheduler cfq registered (default)
isapnp: Scanning for PnP cards...
isapnp: No Plug & Play device found
Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
00:06: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
input: Macintosh mouse button emulation as /devices/virtual/input/input0
PNP: PS/2 Controller [PNP0303:KBD,PNP0f13:MOU] at 0x60,0x64 irq 1,12
serio: i8042 KBD port at 0x60,0x64 irq 1
serio: i8042 AUX port at 0x60,0x64 irq 12
mice: PS/2 mouse device common for all mice
cpuidle: using governor ladder
cpuidle: using governor menu
TCP cubic registered
NET: Registered protocol family 17
Using IPI No-Shortcut mode
registered taskstats version 1
Initalizing network drop monitor service
Freeing unused kernel memory: 408k freed
input: AT Translated Set 2 keyboard as /devices/platform/i8042/serio0/input/input1
:: Loading Initramfs
:: Starting udevd...
done.
:: Running Hook [archiso-early]
:: Running Hook [udev]
:: Loading udev...error binding control socket, seems udevd is already running
SCSI subsystem initialized
scsi0 : ata_piix
scsi1 : ata_piix
ata1: PATA max MWDMA2 cmd 0x1f0 ctl 0x3f6 bmdma 0xc000 irq 14
ata2: PATA max MWDMA2 cmd 0x170 ctl 0x376 bmdma 0xc008 irq 15
ata2.00: ATAPI: QEMU DVD-ROM, 0.12.2, max UDMA/100
ata2.00: configured for MWDMA2
scsi 1:0:0:0: CD-ROM            QEMU     QEMU DVD-ROM     0.12 PQ: 0 ANSI: 5
sr0: scsi3-mmc drive: 4x/4x xa/form2 tray
Uniform CD-ROM driver Revision: 3.20
FDC 0 is a S82078B
done.
:: Running Hook [archiso]
:: Mounting tmpfs, size=75%...done.
:: Waiting for boot device...
Waiting 30 seconds for device /dev/archiso ...
SUCCESS: Mounted archiso volume successfully.
squashfs: version 4.0 (2009/01/31) Phillip Lougher
aufs 2-standalone.tree-32-20100111
:: Mounting root (aufs) filesystem
:: Mounting images
loop: module loaded
::: Adding new aufs branch: overlay
aufs test_add:243:mount[604]: uid/gid/perm /tmpfs/mnt/loop0 0/0/0755, 0/0/01777
::: Adding new aufs branch: root-image
aufs test_add:243:mount[610]: uid/gid/perm /tmpfs/mnt/loop1 0/0/0755, 0/0/01777
::: Binding /bootmnt to /bootmnt
:: Passing control to Arch Linux Initscripts...Please Wait
INIT: version 2.86 booting

 > Arch Linux

 > http://www.archlinux.org
 > Copyright 2002-2007 Judd Vinet
 > Copyright 2007-2009 Aaron Griffin
 > Distributed under the GNU General Public License (GPL)

   ------------------------------
:: Starting UDev Daemon                                                  [DONE]
:: Triggering UDev uevents                                               [DONE]
:: Loading Modules                                                       [DONE]
:: Waiting for UDev uevents to be processed                              [DONE]
:: Bringing up loopback interface                                        [DONE]
:: Mounting Root Read-only                                               [DONE]
:: Checking Filesystems                                                  [DONE]
:: Mounting Local Filesystems                                            [DONE]
:: Activating Swap                                                       [DONE]
:: Configuring System Clock                                              [DONE]
:: Removing Leftover Files                                               [DONE]
:: Setting Hostname: archiso                                             [DONE]
:: Updating Module Dependencies                                          [DONE]
:: Setting Locale: en_US.UTF-8                                           [DONE]
:: Setting Consoles to UTF-8 mode                                        [DONE]
:: Loading Keyboard Map: us                                              [DONE]
INIT: Entering runlevel: 3
:: Starting Syslog-NG                                                    [DONE]
:: Starting Network                                                      [DONE]
:: Generating locales...                                                 [DONE]
:: Making the default user arch                                          [DONE]

The isomounts is fine otherwise the system won't work, anyway here is it after parsed:

[CHROOT32][root@gerardo syslinux-iso]# cat work/isomounts
# archiso isomounts file
# img - location of image/directory to mount relative to addons directory
# arch - architecture of this image
# mount point - absolute location on the post-initrd root
# type - either 'bind' or 'squashfs' for now

# syntax: <img> <arch> <mount point> <type>

# ORDER MATTERS! Files take top-down precedence. Be careful
overlay.sqfs i686 / squashfs
core-pkgs.sqfs i686 /src/core/pkg squashfs
root-image.sqfs i686 / squashfs
[CHROOT32][root@gerardo syslinux-iso]#

Offline

#12 2010-02-06 06:38:22

Stythys
Member
From: SF Bay Area
Registered: 2008-05-18
Posts: 878
Website

Re: archiso

I changed the makefile to:

iso-mounts: $(WORKDIR)/isomounts
$(WORKDIR)/isomounts: isomounts root-image overlay core-pkgs
       sed "s|@ARCH@|$(ARCH)|g" isomounts.base > isomounts

and it fixed it tongue.

Last edited by Stythys (2010-02-06 06:38:43)


[home page] -- [code / configs]

"Once you go Arch, you must remain there for life or else Allan will track you down and break you."
-- Bregol

Offline

#13 2010-02-06 06:46:05

djgera
Developer
From: Buenos Aires - Argentina
Registered: 2008-12-24
Posts: 723
Website

Re: archiso

what is the value of WORKDIR? should not be changed.

Offline

#14 2010-02-06 06:47:46

Stythys
Member
From: SF Bay Area
Registered: 2008-05-18
Posts: 878
Website

Re: archiso

$(pwd)


[home page] -- [code / configs]

"Once you go Arch, you must remain there for life or else Allan will track you down and break you."
-- Bregol

Offline

#15 2010-02-06 06:50:28

djgera
Developer
From: Buenos Aires - Argentina
Registered: 2008-12-24
Posts: 723
Website

Re: archiso

Oh bad, again.

WORKDIR must be inside the current dir (as said before in other words)

this is why you get a blank file, because is overwrited, and other unexpected results (a make clean will be a self destructive tongue)

Last edited by djgera (2010-02-06 06:53:42)

Offline

#16 2010-02-06 08:16:46

Stythys
Member
From: SF Bay Area
Registered: 2008-05-18
Posts: 878
Website

Re: archiso

ok fixed tongue. thanks


[home page] -- [code / configs]

"Once you go Arch, you must remain there for life or else Allan will track you down and break you."
-- Bregol

Offline

#17 2010-02-06 09:40:48

Svenstaro
Administrator
From: Germany
Registered: 2008-11-19
Posts: 388

Re: archiso

Hang on, is this an issue with the wiki guide on archiso or is this unrelated? I can't quite make out your steps.

Offline

#18 2010-02-06 17:52:45

Stythys
Member
From: SF Bay Area
Registered: 2008-05-18
Posts: 878
Website

Re: archiso

na it was mostly because I had my WORKDIR as $(PWD) and not $(PWD)/build


[home page] -- [code / configs]

"Once you go Arch, you must remain there for life or else Allan will track you down and break you."
-- Bregol

Offline

#19 2010-02-06 20:39:37

meijin
Member
From: Israel
Registered: 2009-03-05
Posts: 95

Re: archiso

sorry for using this thread, but i have a few questions about archiso:
1. i want syslinux start as a menu, how can i do that?
2. i am trying to creat a live CD starting LXDE. so i put lxde in packages.list, and make etc/inittab to start with X, but its start with xterm, and not with lxde desktop. when i exit xterm, and logging as my user (archie) it say that it dosent have home dir, where there suppose to be the .xinitrc from etc/skel. I copied  etc/rc.local  from the wiki,  which suppose to create home dir for the user.

what i am doing wrong?

Assaf

Offline

#20 2010-02-06 20:42:07

Stythys
Member
From: SF Bay Area
Registered: 2008-05-18
Posts: 878
Website

Re: archiso

1. http://syslinux.zytor.com/wiki/index.ph … t/menu.c32
2. when you start X as root it does the xterm thing to me as well. use a regular user. http://wiki.archlinux.org/index.php/Arc … fined_user


[home page] -- [code / configs]

"Once you go Arch, you must remain there for life or else Allan will track you down and break you."
-- Bregol

Offline

#21 2010-02-06 20:56:55

meijin
Member
From: Israel
Registered: 2009-03-05
Posts: 95

Re: archiso

1. thanks
2. i did it, as i say, there is a user, i took the rc.local, but it dosent work.

Assaf

Offline

#22 2010-02-06 21:14:10

Stythys
Member
From: SF Bay Area
Registered: 2008-05-18
Posts: 878
Website

Re: archiso

have you tried the manual way to do it as described in the wiki?

Last edited by Stythys (2010-02-06 21:24:52)


[home page] -- [code / configs]

"Once you go Arch, you must remain there for life or else Allan will track you down and break you."
-- Bregol

Offline

#23 2010-02-06 21:33:42

Stythys
Member
From: SF Bay Area
Registered: 2008-05-18
Posts: 878
Website

Re: archiso

actually, I would edit the overlay/etc/rc.d/archiso file. just replace the line where they create the 'arch' user


[home page] -- [code / configs]

"Once you go Arch, you must remain there for life or else Allan will track you down and break you."
-- Bregol

Offline

#24 2010-02-06 22:07:50

meijin
Member
From: Israel
Registered: 2009-03-05
Posts: 95

Re: archiso

Same Problem, and now it dosent even start xterm, and i cant log into the "archie" user, couse its ask for password, which i dont have...

Assaf.

edit: ok, i got the problem. the problem is, that because i am starting the system to run level 5, and only after that creating the user, using rc.local, so its cant find .xinitrc, couse it dosent exist. what can I do?

Last edited by meijin (2010-02-06 23:15:57)

Offline

#25 2010-02-06 23:56:59

Stythys
Member
From: SF Bay Area
Registered: 2008-05-18
Posts: 878
Website

Re: archiso

I'm not sure what your problem is. If you edit the etc/rc.d/archiso file to make your user, it should work fine. Remember to add the -m switch if you want it to create the home directory for the user, and copy everything from /etc/skel.


[home page] -- [code / configs]

"Once you go Arch, you must remain there for life or else Allan will track you down and break you."
-- Bregol

Offline

Board footer

Powered by FluxBB