root@voyage:/tmp/root# /usr/local/sbin/voyage.update #[command]
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]): enter
OK by default, “enter”.
some mandatory options are unset, please enter them interactively
Where is the Voyage Linux distribution directory?
(default=/tmp/root): enter
You may be confused as suddenly prompt appear. This is “1 - Specify Distribution Directory” in the menu following. OK by default, “enter”.
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 - Partition and Create Filesystem
(default=2 [Select Target Profile]): enter
Move next menu(Select Target Profile). OK by default, “enter”.
Select 6. Menu No.7(Notebook) means to use pcmcia, therefore if you do not use pcmcia select 6(Generic PC).
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 - Partition and Create Filesystem
(default=3 [Select Target Disk]): enter
Move menu No.3. OK by default, “enter”.
Partitions information
major minor #blocks name
8 0 1607343442 sda
8 1 20957686 sda1
8 5 1585619840 sda2
7 0 63712 loop0
7 1 63712 loop1
Which device accesses the target disk [/dev/hde]? /dev/sda enter
This is very important. you must be careful. If you mistake, it will be disastrous. Select “/dev/sda”.
Which partition should I use on /dev/sdc for the Voyage system [1]? enter
Partion No. is “1”.
Where can I mount the target disk [/tmp/cf]? enter
Mount point is “/tmp/cf” which you have already created. Therefore OK by default, “enter”.
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 - Partition and Create Filesystem
(default=4 [Select Target Bootstrap Loader]): enter
Move menu No.4. OK by default, “enter”.
Which loader do you want (grub or lilo) [grub]? enterWhich partition is used for bootstrap [1]? enter
OK by default, “enter”. You must know Linux boot loader’s detail to select except “1” partition. It is safe slecting “1” here. If there is inconvenience to select “1”, you can change it later.
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 - Partition and Create Filesystem
(default=5 [Configure Target Console]): enter
Move menu No.5. OK by default, “enter”.
Select terminal type:
1 - Serial Terminal
2 - Console Interface
(default=2 [Console Interface]): enter
OK by default, “enter”. “1 - Serial Terminal” is for Embedded Hardware such as alix machine.
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 - Partition and Create Filesystem
(default=6 [Partition and Create Filesystem]): enter
Move menu No.5. OK by default, only “enter” operation.
What shall I do with your Flash Media?
1 - Partition Flash Media and Create Filesystem
2 - Use Flash Media as-is
(default=1 [Partition Flash Media and Create Filesystem]): 2 enter
You had better to select “2 - Use Flash Media as-is” because “1 - Partition Flash Media and Create Filesystem” is a little unstable. You have created file system already by “ext2fs”and “tune2fs” copmmands. Therefore Ok by selecting 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 - Partition and Create Filesystem
(default=7 [Copy Distribution to Target]): enter
You have completed to select install parameters. Move to menu No.7(not exists), OK by default, “enter”.
Configuration details:
----------------------
Distribution directory: /tmp/root
Disk/Flash Device: /dev/sda
Installation Partition: /dev/sda1
Bootstrap Partition: /dev/sda1
Will be mounted on: /tmp/cf
Target system profile: Generic PC
Target console: standard
Bootstrap installer: grub
Bootstrap partition: /dev/sda1
OK to continue (y/n)? y enter
Final confirmatiom. “y” to run.
Run installation
Ready to go ....
Copying files .... done
Removing pcmcia from update-rc.d
update-rc.d: using dependency based boot sequencing
Removing dnsmasq.pxe.conf in /etc/dnsmasq.more.conf
Reconfiguring resolvconf
Installing grub
Copy grub files from /tmp/cf to /tmp/cf/boot/grub
Setting up grub under chroot /tmp/cf
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 - Partition and Create Filesystem
(default=8 [Exit]): enter
Installation has been completed. Enter to finish script.
/usr/local/sbin/voyage-install.sh: .voyage-install.conf: Read-only file system
/usr/local/sbin/voyage-install.sh: test.conf: Read-only file system
root@voyage:/tmp/root# reboot #[command]