You are not logged in.

#151 2007-04-26 08:34:09

gradgrind
Member
From: Germany
Registered: 2005-10-06
Posts: 921

Re: live Arch CD construction kit (larch)

lilsirecho wrote:

Trying to generate larch3.5 latest and get this error:

initcpio_larch: not found in sync db

Wherein is initcpio_larch.... in the scripts?

Did you somehow change something connected with the repositories? How did you generate this error?

Offline

#152 2007-04-26 16:19:02

lilsirecho
Veteran
Registered: 2003-10-24
Posts: 5,000

Re: live Arch CD construction kit (larch)

The error recurrs when attempting to run the ./mklarch -p default.

The base pkgs are properly handled but the added pkgs fail to load with that error message.

I will re-check the repo setup for some subtle error and retry....


Prediction...This year will be a very odd year!
Hard work does not kill people but why risk it: Charlie Mccarthy
A man is not complete until he is married..then..he is finished.
When ALL is lost, what can be found? Even bytes get lonely for a little bit!     X-ray confirms Iam spineless!

Offline

#153 2007-04-26 17:32:01

lilsirecho
Veteran
Registered: 2003-10-24
Posts: 5,000

Re: live Arch CD construction kit (larch)

Rechecked the pacman.d and pacman.conf entries...both look correct for all three repos.

Tried to download initcpio_larch via pacman in terminal and received the error message.  Tried many of the added packs and all were accepted by pacman download.
The first item in the list of added packs...squashfs-tools was accepted by pacman.

Only ...initcpio_larch ....fails to download.  Is it mis-identified?


Prediction...This year will be a very odd year!
Hard work does not kill people but why risk it: Charlie Mccarthy
A man is not complete until he is married..then..he is finished.
When ALL is lost, what can be found? Even bytes get lonely for a little bit!     X-ray confirms Iam spineless!

Offline

#154 2007-04-26 18:09:31

gradgrind
Member
From: Germany
Registered: 2005-10-06
Posts: 921

Re: live Arch CD construction kit (larch)

Using pacman normally from the command line you won't be able to install initcpio_larch because it's in the larch repository.

I would suggest refetching larch-setup.sh to a new directory, running it to set up the build environment and then trying again with this set-up.

Offline

#155 2007-04-26 20:11:07

lilsirecho
Veteran
Registered: 2003-10-24
Posts: 5,000

Re: live Arch CD construction kit (larch)

Performed the whole thing over with same result...

Here is pacman.conf;
=========================================
#
# /etc/pacman.conf
#
# NOTE: If you find a mirror that is geographically close to you, please
#       move it to the top of the server list, so pacman will choose it
#       first.
#
# To re-sort your mirror lists by ping/traceroute results, use the
# /usr/bin/sortmirrors script.  It requires the "netselect" package.
#

# See the pacman manpage for option directives

#
# GENERAL OPTIONS
#
[options]
LogFile     = /var/log/pacman.log
NoUpgrade   = etc/passwd etc/group etc/shadow etc/sudoers
NoUpgrade   = etc/fstab etc/raidtab etc/ld.so.conf
NoUpgrade   = etc/rc.conf etc/rc.local
NoUpgrade   = etc/modprobe.conf etc/modules.conf
NoUpgrade   = etc/lilo.conf boot/grub/menu.lst
HoldPkg     = pacman glibc
#XferCommand = /usr/bin/wget --passive-ftp -c -O %o %u

#
# REPOSITORIES
#   - can be defined here or included from another file
#   - pacman will search repositories in the order defined here.
#   - local/custom mirrors can be added here or in separate files
#

# This is for use of the extra packages repository (optional) in larch
#+#[live]
#+#Server = file:///.livesys/livecd/packages
[larch]
Server = ftp://archie.dotsrc.org/projects/archie/larch/dev3A

#[testing]
#Server = ftp://ftp.archlinux.org/testing/os/i686

[current]
# Add your preferred servers here, they will be used first
Include = /etc/pacman.d/current
#Server = ftp://ftp.archlinux.org/current/os/i686
Server = ftp://ftp.heanet.ie/mirrors/ftp.archlin … nt/os/i686
#Server = ftp://ftp.nluug.nl/pub/metalab/distribu … nt/os/i686

[extra]
# Add your preferred servers here, they will be used first
Include = /etc/pacman.d/extra
#Server = ftp://ftp.archlinux.org/extra/os/i686
Server = ftp://ftp.heanet.ie/mirrors/ftp.archlin … ra/os/i686
#Server = ftp://ftp.nluug.nl/pub/metalab/distribu … ra/os/i686

#[unstable]
# Add your preferred servers here, they will be used first
#Include = /etc/pacman.d/unstable
#Server = ftp://ftp.archlinux.org/unstable/os/i686
#Server = ftp://ftp.heanet.ie/mirrors/ftp.archlin … le/os/i686
#Server = ftp://ftp.nluug.nl/pub/metalab/distribu … le/os/i686

#[community]
# Add your preferred servers here, they will be used first
Include = /etc/pacman.d/community
#Server = ftp://ftp.archlinux.org/community/os/i686
#Server = ftp://ftp.heanet.ie/mirrors/ftp.archlin … ty/os/i686
#Server = ftp://ftp.nluug.nl/pub/metalab/distribu … ty/os/i686

# An example of a custom package repository.  See the pacman manpage for
# tips on creating your own repositories.
#[custom]
#Server = file:///home/custompkgs




===============================
EDIT:  Had to resync pacman......

Larch shows in pacman sync now.

Now I have an error.....unable to resolve dependencies for jasper
     glut is not in the package set....

I have no idea where these come from...not listed in added packages......

Any suggestions?

Last edited by lilsirecho (2007-04-27 01:37:01)


Prediction...This year will be a very odd year!
Hard work does not kill people but why risk it: Charlie Mccarthy
A man is not complete until he is married..then..he is finished.
When ALL is lost, what can be found? Even bytes get lonely for a little bit!     X-ray confirms Iam spineless!

Offline

#156 2007-04-27 05:02:35

gradgrind
Member
From: Germany
Registered: 2005-10-06
Posts: 921

Re: live Arch CD construction kit (larch)

I think this is a dependency bug. A couple of packages depend on glut, which doesn't exist in the repositories (any more?). Try adding freeglut to your addedpacks before the kde stuff.

EDIT:
No, it's apparently not a bug. I just tried ./mklarch -fp default and it worked fine. Maybe you should try a different mirror?

Last edited by gradgrind (2007-04-27 05:31:09)

Offline

#157 2007-04-27 05:28:10

lilsirecho
Veteran
Registered: 2003-10-24
Posts: 5,000

Re: live Arch CD construction kit (larch)

Posted the freeglut before kde...

Now the error is ......kde is not in sync db.....

All four repos, larch,current,extra and community are synced during the install.

What to do now?


Prediction...This year will be a very odd year!
Hard work does not kill people but why risk it: Charlie Mccarthy
A man is not complete until he is married..then..he is finished.
When ALL is lost, what can be found? Even bytes get lonely for a little bit!     X-ray confirms Iam spineless!

Offline

#158 2007-04-27 05:33:25

gradgrind
Member
From: Germany
Registered: 2005-10-06
Posts: 921

Re: live Arch CD construction kit (larch)

The first thing I would do would be to try a different mirror.

Offline

#159 2007-04-27 05:39:10

lilsirecho
Veteran
Registered: 2003-10-24
Posts: 5,000

Re: live Arch CD construction kit (larch)

Tried several.....heanet,arch,sweden gigabit (NG).

Perhaps I cannot perform a Larch CD create while booted in c2r Larch?

Will try georgia tech.....


Prediction...This year will be a very odd year!
Hard work does not kill people but why risk it: Charlie Mccarthy
A man is not complete until he is married..then..he is finished.
When ALL is lost, what can be found? Even bytes get lonely for a little bit!     X-ray confirms Iam spineless!

Offline

#160 2007-04-27 05:48:14

lilsirecho
Veteran
Registered: 2003-10-24
Posts: 5,000

Re: live Arch CD construction kit (larch)

Georgia  tech was refused in extra....next in line was vt.

Error prevailed again.....

Loading begins with x86 packages, then presents the error.....


Prediction...This year will be a very odd year!
Hard work does not kill people but why risk it: Charlie Mccarthy
A man is not complete until he is married..then..he is finished.
When ALL is lost, what can be found? Even bytes get lonely for a little bit!     X-ray confirms Iam spineless!

Offline

#161 2007-04-27 05:48:42

gradgrind
Member
From: Germany
Registered: 2005-10-06
Posts: 921

Re: live Arch CD construction kit (larch)

lilsirecho wrote:

Perhaps I cannot perform a Larch CD create while booted in c2r Larch?

Ahhhh! Now we're getting somewhere. Yes, that may well be the problem. To do that you will need LOTS of memory, much more than I've got so I can't even test it (unless maybe with a very large swap partition, or else adjusting things so that everything gets stored on a disk partition).

Offline

#162 2007-04-27 05:58:16

lilsirecho
Veteran
Registered: 2003-10-24
Posts: 5,000

Re: live Arch CD construction kit (larch)

I have a 4GB swap flash drive installed along with 2GB of ram so I think it should be enough...if and only if, the Larch system can recognize the presence of swap at the added packages juncture....assuming it determines the available space at that point.

Monitoring the install on KDE process table and 500mb is available for added packages in RAM and the four GB has not been touched.


Prediction...This year will be a very odd year!
Hard work does not kill people but why risk it: Charlie Mccarthy
A man is not complete until he is married..then..he is finished.
When ALL is lost, what can be found? Even bytes get lonely for a little bit!     X-ray confirms Iam spineless!

Offline

#163 2007-04-27 06:12:20

gradgrind
Member
From: Germany
Registered: 2005-10-06
Posts: 921

Re: live Arch CD construction kit (larch)

Yes, you're right, that should probably be enough. Unfortunately I have only 512MB memory so I can't test this directly. I'll get back to you if I have any more ideas.

Offline

#164 2007-04-27 06:27:03

lilsirecho
Veteran
Registered: 2003-10-24
Posts: 5,000

Re: live Arch CD construction kit (larch)

I removed kde from the list and the loading progressed into added packs.  I observe several kde packages are being loaded!!!!


Prediction...This year will be a very odd year!
Hard work does not kill people but why risk it: Charlie Mccarthy
A man is not complete until he is married..then..he is finished.
When ALL is lost, what can be found? Even bytes get lonely for a little bit!     X-ray confirms Iam spineless!

Offline

#165 2007-04-27 16:10:47

gradgrind
Member
From: Germany
Registered: 2005-10-06
Posts: 921

Re: live Arch CD construction kit (larch)

The first problem is the size of the tmpfs (I should have thought of that sooner!). It is set during the boot sequence to some fraction of the available RAM. So in order to do anything like building a larch CD in it you would need to make it bigger. This is possible, using a command like:

mount -t tmpfs -o remount,size=5G tmpfs /

I tried that (using a large swap partition), but it didn't work. I ran out of memory when the tmpfs was only 16% full (according to df) and the swap also wasn't full.
I'm afraid I have no idea why.

It was perhaps an interesting experiment but if I wanted to build a larch CD from a running larch system, I certainly wouldn't do it like this. I would simply mount a large enough partition and configure larch to put all its build files on it instead of in the tmpfs.

Offline

#166 2007-04-27 18:06:51

lilsirecho
Veteran
Registered: 2003-10-24
Posts: 5,000

Re: live Arch CD construction kit (larch)

Gradgrind;

I appreciate your input on the tmpfs problem since pacman indeed does load via tmpfs.

I will try your suggestion as another experiment.

So far, I have had some success but no cigar.

Thanks for your support.


Prediction...This year will be a very odd year!
Hard work does not kill people but why risk it: Charlie Mccarthy
A man is not complete until he is married..then..he is finished.
When ALL is lost, what can be found? Even bytes get lonely for a little bit!     X-ray confirms Iam spineless!

Offline

#167 2007-04-27 18:24:56

lilsirecho
Veteran
Registered: 2003-10-24
Posts: 5,000

Re: live Arch CD construction kit (larch)

Attempted to utilize the tmpfs with a /mytmpfs mount of 10g and installed larch3.5 directory therein.

I have the following problem each time I run the larch default mklarch.

The program installs the 92MB base pkgs and switches to the added pkgs listed as 384MB.  They are listed as the targets.

However, when executing the install, since they are already downloaded in /var/cache/pacman/pkg, (along with all the packages that are in my c2r), the loading includes all the packages in that location...not just the target packages.

How might I avoid this catastrophe?


======================================

EDIT:  Perhaps I could use a local repo having the packages ...I have a flash drive with all of the packages that are in my c2r...maybe I could use that rather than pacman repos...perhaps it will permit the targets only....

Last edited by lilsirecho (2007-04-27 18:33:44)


Prediction...This year will be a very odd year!
Hard work does not kill people but why risk it: Charlie Mccarthy
A man is not complete until he is married..then..he is finished.
When ALL is lost, what can be found? Even bytes get lonely for a little bit!     X-ray confirms Iam spineless!

Offline

#168 2007-04-28 05:25:18

gradgrind
Member
From: Germany
Registered: 2005-10-06
Posts: 921

Re: live Arch CD construction kit (larch)

lilsirecho wrote:

Attempted to utilize the tmpfs with a /mytmpfs mount of 10g and installed larch3.5 directory therein.

I have the following problem each time I run the larch default mklarch.

The program installs the 92MB base pkgs and switches to the added pkgs listed as 384MB.  They are listed as the targets.

However, when executing the install, since they are already downloaded in /var/cache/pacman/pkg, (along with all the packages that are in my c2r), the loading includes all the packages in that location...not just the target packages.

How might I avoid this catastrophe?


======================================

EDIT:  Perhaps I could use a local repo having the packages ...I have a flash drive with all of the packages that are in my c2r...maybe I could use that rather than pacman repos...perhaps it will permit the targets only....

I'm afraid I don't understand the problem/question. Could you repeat it in a bit more detail?

Offline

#169 2007-04-28 16:00:37

lilsirecho
Veteran
Registered: 2003-10-24
Posts: 5,000

Re: live Arch CD construction kit (larch)

Gradgrind;

I have exhausted the possibilities at this time.

The tmpfs solution did not result in any change.

I have previously been able to utilize tmpfs for 30G of added storage.

I need to study what I had used before.

One factor is that I used data stored in HDD and not a create program such as Larch.

That introduces limits.

Incidental to this effort I find I cannot run /bin/bash from removeable devices.

So I learn as I go along and approach my 82nd.

Thanks for the support.....


Prediction...This year will be a very odd year!
Hard work does not kill people but why risk it: Charlie Mccarthy
A man is not complete until he is married..then..he is finished.
When ALL is lost, what can be found? Even bytes get lonely for a little bit!     X-ray confirms Iam spineless!

Offline

#170 2007-06-13 16:26:15

Flying Saxman
Member
From: Northern Hesse
Registered: 2007-02-26
Posts: 252

Re: live Arch CD construction kit (larch)

I'm actually setting up larch on an USB-stick for my uncle. It is running really good so far, but one thing that bothers me actually is WiFi. I searched the forum for "larch wifi", "larch w-lan" and "larch wlan" but I didn't even find one thread.
My problem is the following: I would like to use w-lan devices, if they are present. And I also would like to use normal lan, if no w-lan but normal lan is present. Actually I got no idea, how I get this working, what packages are needed and how larch autodetects, if wlan or normal lan is needed and configures itself for it.

Offline

#171 2007-06-13 17:22:42

lilsirecho
Veteran
Registered: 2003-10-24
Posts: 5,000

Re: live Arch CD construction kit (larch)

check out madwifi in extra repo...


Prediction...This year will be a very odd year!
Hard work does not kill people but why risk it: Charlie Mccarthy
A man is not complete until he is married..then..he is finished.
When ALL is lost, what can be found? Even bytes get lonely for a little bit!     X-ray confirms Iam spineless!

Offline

#172 2007-06-13 18:24:09

gradgrind
Member
From: Germany
Registered: 2005-10-06
Posts: 921

Re: live Arch CD construction kit (larch)

Flying Saxman wrote:

I'm actually setting up larch on an USB-stick for my uncle. It is running really good so far, but one thing that bothers me actually is WiFi. I searched the forum for "larch wifi", "larch w-lan" and "larch wlan" but I didn't even find one thread.
My problem is the following: I would like to use w-lan devices, if they are present. And I also would like to use normal lan, if no w-lan but normal lan is present. Actually I got no idea, how I get this working, what packages are needed and how larch autodetects, if wlan or normal lan is needed and configures itself for it.

I would suggest you read the wiki page: http://wiki.archlinux.org/index.php/Wireless_Setup
What works in Arch should work in larch. So far as I know there is not much on the autodetection front, but I think iphitus was reworking the network scripts. Ask on the 'Networking, Server, and Protection' page.

Offline

#173 2007-06-13 19:07:33

Flying Saxman
Member
From: Northern Hesse
Registered: 2007-02-26
Posts: 252

Re: live Arch CD construction kit (larch)

OK, I will try, how good madwifi works and if it doesn't work, my uncle hass to go without wifi.

Another question (didn't find any solution for this in the board neither): I wanted to use kdm for logging in (because it is more safe, than if you directly are put into the root-account). So I removed the autologin-stuff from the inittab and added the kdm-stuff. I also removed the file /etc/loginroot. It looks like everything is working fine: No root logged in on vc/1 and kdm starts. But now the actual session is not saved to the usb-stick, even if I say "Y" at shutting down, when I am asked for saving the current session.

This is my /etc/inittab:

id:5:initdefault:

rc::sysinit:/etc/rc.sysinit0
rs:S1:wait:/etc/rc.single
rm:2345:wait:/etc/rc.multi
rh:06:wait:/etc/rc.shutdown
su:S:wait:/sbin/sulogin -p


c1:2345:respawn:/sbin/agetty 38400 vc/1 linux
c2:2345:respawn:/sbin/agetty 38400 vc/2 linux
c3:2345:respawn:/sbin/agetty 38400 vc/3 linux
c4:2345:respawn:/sbin/agetty 38400 vc/4 linux
c5:2345:respawn:/sbin/agetty 38400 vc/5 linux
c6:2345:respawn:/sbin/agetty 38400 vc/6 linux

ca::ctrlaltdel:/sbin/shutdown -t3 -r now

x:5:respawn:/opt/kde/bin/kdm -nodaemon

Offline

#174 2007-06-14 07:30:03

gradgrind
Member
From: Germany
Registered: 2005-10-06
Posts: 921

Re: live Arch CD construction kit (larch)

1) madwifi is only for one particular type of wifi device, what you need to do depends on exactly which device you have. Again, see wiki.

2) As to not saving the session, that should have nothing to do with your changes. Is no session saved at all (is an overlay000n.sqf file - where n is a digit - created on the stick?) or is only an incomplete one saved? Could you tell me what appears after selecting 'Y' to save the session?

Offline

#175 2007-06-14 17:22:14

Flying Saxman
Member
From: Northern Hesse
Registered: 2007-02-26
Posts: 252

Re: live Arch CD construction kit (larch)

1.) ok, he wants to use the stick on different computers (as a portable office). So I better let it be.

2.) It was not saving at all. I think, I found the error: I postinstalled some packages with pacman on the live-usb. I think, that this somehow crashed the system. I added these packages now to the "addedpacks"-file, added preconfigured (the files I had to change to get thing working how I want them) files to the overlay-directory and re-installed larch. Now everthing seems to work fine with session-saving.

Offline

Board footer

Powered by FluxBB