[Voyage-linux] HOWTO: How do I make an image that I can write to a CF card?

Sean (spam-protected)
Thu Apr 16 02:09:24 HKT 2009


I wouldn't mind working on this.

What would people use it for? What menu choices should be available? 
Where should the menu choices go?

Sean

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]): 

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=2 [Select Target Profile]): 

Please select Voyage profile:
  1 - 4501
  2 - 4511/4521
  3 - 4801
  4 - 5501
  5 - ALIX
  6 - Generic PC
  7 - Notebook (pcmcia)
  8 - WRAP
       (default=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 - Copy Distribution to Target
  7 - Exit
       (default=3 [Select Target Disk]): 

Partitions information
major minor  #blocks  name

   3     0  117220824 hda
   3     1   87891583 hda1
   3     2   28073587 hda2
   3     3          1 hda3
   3     5    1253038 hda5
   8    16     990864 sdb
   8    17     990609 sdb1

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

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

Device information for /dev/sdb1
    Type  = ext2
    Label = ROOT_FS
    UUID  = 15aa28cb-9b29-4213-9d47-ca241bcbc222

Where can I mount the target disk [/media/cf]? 

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=4 [Select Target Bootstrap Loader]): 

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

Which partition is used for bootstrap [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=5 [Configure Target Console]): 

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

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=6 [Copy Distribution to Target]): 


Configuration details:
----------------------

Distribution directory:   /home/slazar/svn/voyage-custom/voyage-bsu

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

Will be mounted on:       /media/cf

Target system profile:    Generic PC
Target console:           standard

Bootstrap installer:      grub
Bootstrap partition:      /dev/sdb1

OK to continue (y/n)? 

Ready to go ....
Copying files .... done




Kim-man 'Punky' TSE wrote:
> Hi all,
>
> This link is particularly useful and this way is exactly what I want 
> to put into voyage.update script.  Any volunteer?
>
> Regards,
> Punky
>> This post is over a month old, but responding anyway.
>>
>> The following blog post describes a different way to do this.  This guy
>> has figured out how to install Grub to a disk image file so this method
>> doesn't require a physical device at all.
>>
>> http://www.wand.net.nz/~smr26/wordpress/2008/08/28/kvm-the-hard-way/
>> -------------------
>> Andrew Malcolmson
>>
>>
>> _______________________________________________
>> Voyage-linux mailing list
>> Voyage-linux at list.voyage.hk
>> http://list.voyage.hk/mailman/listinfo/voyage-linux
>>   
>
>





More information about the Voyage-linux mailing list