[rock-user] Error in build_stage2 of building bootdisk configuration ?
Benjamin Schieder
blindcoder at scavenger.homeip.net
Fri May 5 07:53:03 CEST 2006
On 05.05.2006 08:45:04, Tuan Anh TRINH wrote:
> ....
> Creating initrd filesystem image (ext2fs):
> -> Creating temporary files.
>
> Running Build-Target cleanup procedure
> -> Killing lingering processes and removing parallel build queue.
> -> Umounting lingering mounts in build/bootdisk-TRUNK-x86-bootdisk-expert.
> -> READY.
>
> [root at localhost TEST]#
>
> And the problem is a strange line (marked with "<<---") in
> ./target/bootdisk/build_stage1.sh :
>
> ...
> echo_status "Creating temporary files."
> tmpdir=`mktemp -d` ; mkdir -p ${tmpdir}
> dd if=/dev/zero of=${initrd_img} bs=${block_size}
> count=${block_count} &> /dev/null
> tmpdev="`losetup -f 2>/dev/null`" <<---
> if [ -z "${tmpdev}" ] ; then
> ...
There shouldn't be anything strange about that line. From losetup -h:
losetup: invalid option -- h
usage:
losetup loop_device # give info
losetup -d loop_device # delete
losetup -f # find unused
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
losetup [-e encryption] [-o offset] {-f|loop_device} file # setup
So `losetup -f` should output the name of an unused /dev/loop/* device.
Can you please post the output of `losetup -f` here?
> BTW, after use the aboved CD (I use minimun KDE desktop template) to
> install on my VMWare Workstation 5.5 and QEMU, it cann't run X because
> of driver for frame buffer device is not working. Do you have any
> experience in testing with QEMU or VMWare?
At least VMWare _should_ run fine from my experience. Did you configure your
X Server with
# X -configure
?
Greetings,
Benjamin
--
Today, memory either forgets things when you don't want it to,
or remembers things long after they're better forgotten.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 191 bytes
Desc: not available
Url : http://www.rocklinux.net/pipermail/rock-user/attachments/20060505/b29d1343/attachment.bin
More information about the rock-user
mailing list