On Fri, 2008-12-12 at 20:09 +0800, jklyekai wrote: > Hi Eremin, > Thank your reply. > I read your blog and do according to it. > My system is 2008.11 release with vmware workstaion. > Now,I have some question to ask you. > > In the first paper in Dec 8 2008 > 1.zpool create -f rpool c1t1d0s0 . rpool is a default pool in the system . Is > c1t1d0s0 a system disk or a other disk? I try to use another disk and the > same rpool name . But I can't get the same result. I'm running Nevada and not tested this on OpenSolaris. I think you'd better to create second disk for vmware and use another name for zfs pool > 2.Before pkg image-create -F -a .... the $PKG_IMAGE is a mounting directory > which have a opt subdirectory. So when I execuse the command .it shows that > "pkg:Non-empty directory:/a" I have to add a -f paramter. I point URL to my > local IPS ,it'll be faster when i pkg install packages . I think you can ignore or create zpool/ROOT/indy/opt later > 3. In set smf profiles section. what's current working dirctory? If I need cd > /a/var/svc/profiles ? No, you must be in / > 4.ln -s ../devices/pseudo/sysmsg at msglog $pkg_image/dev/msglog . if the > current directory is the same to above mention. > 5.I can't find default /a/boot/grub default directory. so i use mkdir to > create directory. Put SUNWgrub in pkg list or copy /boot/grub to /a/boot > When I reboot . I didn't result. > When I reboot the system is the same. See first answer ;) > In the third paper in Dec 11 2008 > I have another questions. > 1.do you still using the default DC direcotry and it configure files? I use bash version of DC with checkpoints - simply add something like 'echo "Checkpoint One"; read' after some function call in build_dist.bash > 2.there is only a fs-root script ,can't find live-fs-root. You must put SUNWslim-utils in list - I've written about this > 3.I use the slim_cd.xml template and only changes the packages that you > list in the first paper. OK. It executes to im-mod step correctly. > But then distro-const build -r im-mod small_cd.xml. I see many error > information and then build failed. > cp: cannot access > /rpool/dc/build_data/pkg_image/etc/xdg/autostart/updatemanagernotifier.desktop > rm: > /rpool/dc/build_data/pkg_image/etc/xdg/autostart/updatemanagernotifier.desktop: > No such file or directory > cp: cannot access > /rpool/dc/build_data/pkg_image/usr/share/dbus-1/services/gnome-power-manager.service > rm: > /rpool/dc/build_data/pkg_image/usr/share/dbus-1/services/gnome-power-manager.service: > No such file or directory > cp: cannot access > /rpool/dc/build_data/pkg_image/usr/share/gnome/autostart/gnome-power-manager.desktop > rm: > /rpool/dc/build_data/pkg_image/usr/share/gnome/autostart/gnome-power-manager.desktop: > No such file or directory > cp: cannot access > /rpool/dc/build_data/pkg_image/usr/share/gnome/autostart/gnome-keyring-daemon-wrapper.desktop > ................ > Configuring Gnome in package image area > ................ > /usr/bin/sh: line 1: /lib/svc/method/pixbuf-loaders-installer: not found > en_US.UTF-8: unknown locale > Creating font cache > > I think slim_cd.xml is a basic input file and don't need to reduce some other > parts . Can you give me some suggestion about your small_cd.xml. > Try to use DC from here: # hg clone ssh://anon at hg.opensolaris.org/hg/caiman/distro_constructor Use bash scripts in src directory - it's possible to understand these scripts and libraries and change some functions. Don't worry about gnome errors or try to comment all concerns gnome. --
Best regards, Alexander R. Eremin -- MilaX minimal Live Distribution developer Software engineer and system admin http://www.milax.org
