[Grml] grml2hd - Grml Hd Installation

- Tong - mlist4suntong at yahoo.com
Mon Aug 20 01:35:02 CEST 2007


Hi, 

I used to use grml2hd after booting off grml, but today I tried the grml2hd
from the chroot. I think nobody has ever done this before. I'm just trying
to see if I can get it working. If so, I could do the Grml HD installation
then system customization from within my current system, so that I could
have almost zero down time.

Here are some issues/questions regarding grml2hd. 

- I think the document (http://grml.org/grml2hd/grml2hd.html) is not
  up-to-date with the script. E.g., I didn't find the switch
  "--noninteractive" documented.

- I saw that the script is trying to duplicate the whole /dev directory. 
  Is this still necessary? -- this is not a question but a request for
  explanation, because I thought udev would take care of populating the 
  /dev directory on the fly.

- now to the issue of using grml2hd from the chroot itself. It didn't work
  for me. It almost failed to copy over anything:

  cp: cannot stat `backups': No such file or directory
  cp: cannot stat `boot': No such file or directory
  cp: cannot stat `cdrom': No such file or directory
  cp: cannot stat `dev': No such file or directory
  cp: cannot stat `etc': No such file or directory
  cp: cannot stat `floppy': No such file or directory
  cp: cannot stat `home': No such file or directory
  cp: cannot stat `initrd': No such file or directory
  cp: cannot stat `lib': No such file or directory
  cp: cannot stat `media': No such file or directory
  cp: cannot stat `mnt': No such file or directory
  cp: cannot stat `none': No such file or directory
  cp: cannot stat `opt': No such file or directory
  cp: cannot stat `root': No such file or directory
  cp: cannot stat `sbin': No such file or directory
  cp: cannot stat `selinux': No such file or directory
  cp: cannot stat `swap': No such file or directory
  cp: cannot stat `usr': No such file or directory
  cp: cannot stat `var': No such file or directory

UTSL reveals that it might cause by the 1st line, "cd /UNIONFS", in the
copy_files function. Can we do something about it? I mean do something to
make it chroot friendly? Further, my currently grml was first grml2hd'ed
from grml ver0.7, and there is no /UNIONFS mount point or directory in my
current system. I guess I can't use grml2hd to dupe my currently grml
to another HD as well, can I?

thanks

-- 
Tong (remove underscore(s) to reply)
  http://xpt.sourceforge.net/techdocs/
  http://xpt.sourceforge.net/tools/




More information about the Grml mailing list