View previous topic :: View next topic |
Author |
Message |
mlebek Tux's lil' helper
Joined: 07 Mar 2004 Posts: 125
|
Posted: Sat Jul 17, 2010 7:50 am Post subject: LTSP5 ltsp-build-client |
|
|
Hi,
i tried to install LTSP5 on amd64. No when i try to build the client with i get the error Quote: | * you must specify a stage_uri |
i have Code: | STAGE_URI=file:///opt/ltsp/stages/stage3-x86-current.tar.bz2 | in /etc/ltsp/ltsp-build-client.conf,
/opt/ltsp/stages/stage3-x86-current.tar.bz2 exists,
tried Code: | ltsp-build-client --quickstart-debug | get Quote: | portage_snapshot_uri= | (empty)
tried Code: | ltsp-build-client --stage-uri /opt/ltsp/stages/stage3-x86-current.tar.bz2 --quickstart-debug | and get
Quote: | /usr/sbin/ltsp-build-client: line 175: option_tc/ltsp/ltsp_build_client.conf_value=true: File not found |
|
|
Back to top |
|
|
mlebek Tux's lil' helper
Joined: 07 Mar 2004 Posts: 125
|
|
Back to top |
|
|
mlebek Tux's lil' helper
Joined: 07 Mar 2004 Posts: 125
|
Posted: Fri Jul 23, 2010 12:00 pm Post subject: |
|
|
the thinclient loads ramdisk and kernel, but then the ltsp script cannot remount the rootfs rw. i get something like Quote: | remounting root fs read/write
Skipping /etc/mtab initialization (ro root?)
you must be root to do this
skip missing mtab
no such file trying open /dev/ROOT
/dev/BOOT
cant create lock file |
the corresponding lines in the initscript are:
Code: | # Should we mount root rw ? the touch check is to see if the / is
# already mounted rw in which case there's nothing for us to do
if mount -vf -o remount / 2> /dev/null | \
awk '{ if ($6 ~ /rw/) exit 0; else exit 1; }' && \
! touch -c / >& /dev/null
then
ebegin "Remounting root filesystem read/write"
mount -n -o remount,rw / &> /dev/null
if [[ $? -ne 0 ]] ; then
eend 2 "Root filesystem could not be mounted read/write :("
if [[ ${RC_FORCE_AUTO} != "yes" ]] ; then
sulogin ${CONSOLE}
fi
else
eend 0
fi
fi
if [[ ${BOOT} == "yes" ]] ; then
local x=
local y=
#
# Create /etc/mtab
#
# Don't create mtab if /etc is readonly
if ! touch /etc/mtab 2> /dev/null ; then
ewarn "Skipping /etc/mtab initialization (ro root?)"
return 0
fi
# Clear the existing mtab
> /etc/mtab
# Add the entry for / to mtab
mount -f /
# Don't list root more than once
awk '$2 != "/" {print}' /proc/mounts >> /etc/mtab
# Now make sure /etc/mtab have additional info (gid, etc) in there
for x in $(awk '{ print $2 }' /proc/mounts | sort -u) ; do
for y in $(awk '{ print $2 }' /etc/fstab) ; do
if [[ ${x} == ${y} ]] ; then
mount -f -o remount $x
continue
fi
done
done
# Remove stale backups
rm -f /etc/mtab~ /etc/mtab~~
fi
|
on the thinclient shows Quote: |
rootfs on / type rootfs (rw)
192.168.0.44:/opt/ltsp/x86 on / type nfs (rw,relatime...,nolock,mountproto=, ...) |
but shows Quote: | cannot touch: Read-only file system |
|
|
Back to top |
|
|
mlebek Tux's lil' helper
Joined: 07 Mar 2004 Posts: 125
|
Posted: Mon Jul 26, 2010 2:08 pm Post subject: |
|
|
after endless hours i gave up to build a ltsp5 client environment with gentoo.
then i installed edubuntu 10.04, installed the ltsp-packages and imported the whole ltsp-client environment to my gentoo system, and its working. my thinclients boot and connect to my server, hehe!!
i have no local disks until yet but i keep on trying... |
|
Back to top |
|
|
wim-x Tux's lil' helper
Joined: 26 Nov 2004 Posts: 110 Location: Netherlands
|
Posted: Mon Jul 26, 2010 3:44 pm Post subject: |
|
|
mlebek wrote: | after endless hours i gave up to build a ltsp5 client environment with gentoo |
Too bad, I was just going to look at your problem. My plan was to test and release 5.2.3, and also look at the layman issue you mentioned in the ltsp bug. |
|
Back to top |
|
|
mlebek Tux's lil' helper
Joined: 07 Mar 2004 Posts: 125
|
Posted: Mon Jul 26, 2010 3:56 pm Post subject: |
|
|
oh thank you.
but i had another bugs while trying to get the script run.
would'nt it be useful to have a manual howto without that script. i think its very fragile regarding changes in portage and the whole gentoo system.
i made some changes, and was confident but after 6h the script stopped again while trying to emerge lvm.
i'll post these bugs on bugzilla. |
|
Back to top |
|
|
|