Re: [Voyage-linux] Re: Voyage-Current

2006-09-20 Thread n schembr
Punky, 

I'm testing my wiki page 
how_do_i_install_voyage-current_on_a_usb_flash_drive_with_extlinux and when I 
run the ./usr/local/sbin/voyage.update script the first time boot hangs with 
Init: no more process left in this runlevel

If I just copy the voyage-current file system  with rsync ( Install voyage on 
usb key option 1),  the system boots ok.

I do not belive this  has anything to do with  the use of  extlinux. I'm not 
sure how to run the voyage.update script with grub.  On the staging system  the 
target is /dev/sdb. This will become /dev/sda when it boots.

I'm going to give voyage.update a try.   I'm booting USB only, and I'm unable 
to use /dev/hda for testing.

Nicholas A. Schembri
State college, PA USA

PS. Danny W. Adair, Thank you for writing the wiki page. It put me on the trail 
to booting from usb drives. 



[EMAIL PROTECTED]:/tmp# mkfs -t ext2 /dev/sdb1
mke2fs 1.38 (30-Jun-2005)
Filesystem label=
OS type: Linux
Block size=4096 (log=2)
Fragment size=4096 (log=2)
3662848 inodes, 7325632 blocks
366281 blocks (5.00%) reserved for the super user
First data block=0
224 block groups
32768 blocks per group, 32768 fragments per group
16352 inodes per group
Superblock backups stored on blocks: 
32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208, 
4096000

Writing inode tables: done
Writing superblocks and filesystem accounting information: done

This filesystem will be automatically checked every 37 mounts or
180 days, whichever comes first.  Use tune2fs -c or -i to override.
[EMAIL PROTECTED]:/tmp# tune2fs -c 0 /dev/sdb1
tune2fs 1.38 (30-Jun-2005)
Setting maximal mount count to -1
[EMAIL PROTECTED]:/tmp# cd voyage-current/
[EMAIL PROTECTED]:/tmp/voyage-current# ./usr/l
lib/   local/ 
[EMAIL PROTECTED]:/tmp/voyage-current# ./usr/local/sbin/voyage.update 
What would you like to do?
  1 - Create new Voyage Linux disk
  2 - Update existing Voyage configuration
  3 - Exit
   (default=1 [Create new Voyage Linux disk]): 1

What would you like to do?
  1 - Specify Distribution Directory
  2 - Select Target Profile
  3 - Select Target Disk
  4 - Select Target Bootstrap Loader
  5 - Configure Target Console
  6 - Copy Distribution to Target
  7 - Exit
   (default=7 [Exit]): 2

Please select Voyage profile:
  1 - 4501/4801
  2 - 4511/4521
  3 - Generic PC
  4 - Notebook (pcmcia)
  5 - WRAP
   (default=3 [Generic PC]): 3

What would you like to do?
  1 - Specify Distribution Directory
  2 - Select Target Profile
  3 - Select Target Disk
  4 - Select Target Bootstrap Loader
  5 - Configure Target Console
  6 - Copy Distribution to Target
  7 - Exit
   (default=7 [Exit]): 3

Which device accesses the target disk [/dev/sde]? /dev/sdb 

Which partition should I use on /dev/sdb for the Voyage system [1]? 

Where can I mount the target disk [/mnt]? 

What would you like to do?
  1 - Specify Distribution Directory
  2 - Select Target Profile
  3 - Select Target Disk
  4 - Select Target Bootstrap Loader
  5 - Configure Target Console
  6 - Copy Distribution to Target
  7 - Exit
   (default=7 [Exit]): 5

Select terminal type:
  1 - Serial Terminal
  2 - Console Interface
   (default=1 [Serial Terminal]): 2

What would you like to do?
  1 - Specify Distribution Directory
  2 - Select Target Profile
  3 - Select Target Disk
  4 - Select Target Bootstrap Loader
  5 - Configure Target Console
  6 - Copy Distribution to Target
  7 - Exit
   (default=7 [Exit]): 6

Which loader do you want (grub or lilo) []? grub

Which partition is used for bootstrap [1]? 


Configuration details:
--

Distribution directory:   /tmp/voyage-current

Disk/Flash Device:/dev/sdb
Installation Partition:   /dev/sdb1
Bootstrap Partition:  /dev/sdb1

Will be mounted on:   /mnt

Target system profile:Generic PC
Target console:   standard

Bootstrap installer:  grub
Bootstrap partition:  /dev/sdb1

OK to continue (y/n)? 

Removing pcmcia from update-rc.d
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = en,
LC_ALL = (unset),
LANG = en_US.UTF-8
are supported and installed on your system.
perl: warning: Falling back to the standard locale (C).
 Removing any system startup links for /etc/init.d/pcmcia ...
cp: cannot stat `/mnt/lib/grub/i386-pc/*': No such file or directory
copyfiles.sh script completed
What would you like to do?
  1 - Specify Distribution Directory
  2 - Select Target Profile
  3 - Select Target Disk
  4 - Select Target Bootstrap Loader
  5 - Configure Target Console
  6 - Copy Distribution to Target
  7 - Exit
   (default=7 [Exit]): 

- Original Message 
From: Kim-man Punky TSE [EMAIL PROTECTED]
To: n schembr [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Monday, September 18, 2006 11:07:58 AM
Subject: Re: [Voyage-linux] Re: Voyage-Current

HI,

voyage-current is based in Debian Etch, you 

Re: [Voyage-linux] Voyage-current

2006-09-20 Thread Kim-man 'Punky' TSE
I noticed this bug in /etc/init.d/voyage-util for a long long time.  It 
is needed to find way to get around this by:


   * /etc/init.d/voyage-util can only be run by init; or
   * disable running of /etc/init.d/voyage-util by post-inst script in
 voyage-util package.

Any idea?

Punky

n schembr wrote:
This is from voyage-current 9/19/2006. 
login 
remountrw

passwd
apt-get update
apt-get install nano

This error:
voyage:/ro/etc# apt-get install voyage-util 
Reading package lists... Done

Building dependency tree... Done
voyage-util is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
1 not fully installed or removed.
Need to get 0B of archives.
After unpacking 0B of additional disk space will be used.
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LANG = en_US.UTF-8
are supported and installed on your system.
perl: warning: Falling back to the standard locale (C).
Setting up voyage-util (0.3-1) ...
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LANG = en_US.UTF-8
are supported and installed on your system.
perl: warning: Falling back to the standard locale (C).
Remounting / as read-write ... Done.
Removing /etc/nologin ... Done.
Remounting / as read-only ... mount: / is busy
invoke-rc.d: initscript voyage-util, action start failed.
dpkg: error processing voyage-util (--configure):
 subprocess post-installation script returned error exit status 32
Errors were encountered while processing:
 voyage-util
E: Sub-process /usr/bin/dpkg returned an error code (1) 


Nicholas A. Schembri
State College, PA USA



___
Voyage-linux mailing list
Voyage-linux@list.voyage.hk
http://list.voyage.hk/mailman/listinfo/voyage-linux
  



--
Regards,
Punky

P U N K N ! X  . c o m
Technology + Lifestyle
(http://www.punknix.com)

V O Y A G E . H K - http://www.voyage.hk
Linux - voyage-0.2 is released!
Store - Senao NMP-8602 Plus (400mW) is now in stock! 







___
Voyage-linux mailing list
Voyage-linux@list.voyage.hk
http://list.voyage.hk/mailman/listinfo/voyage-linux