preseed with two hard disks



Hello.

I use lenny, I do tests in Virtualbox virtual machines, I have one HD of
40GB in these virtual machine, now I added a second hard disk in the
virtual machine, but I can't
found how to do for create a partition on this second hard disk.



Thanks
Josep



This is the related info, I changed this:


d-i partman-auto/expert_recipe string \
boot-root :: \
28000 512 28000 ext3 \
$primary{ } $bootable{ } \
method{ format } format{ } \
use_filesystem{ } filesystem{ ext3 } \
mountpoint{ / } \
. \
800 512 800 linux-swap \
$primary{ } \
method{ swap } format{ } \
. \
14130 256 14600 ext3 \
$primary{ } \
method{ format } format{ } \
use_filesystem{ } filesystem{ ext3 } \
mountpoint{ /home } \
.


For this:

d-i partman-auto/expert_recipe string \
boot-root :: \
28000 512 28000 ext3 \
$primary{ } $bootable{ } \
method{ format } format{ } \
use_filesystem{ } filesystem{ ext3 } \
mountpoint{ / } \
. \
800 512 800 linux-swap \
$primary{ } \
method{ swap } format{ } \
. \
14130 256 14600 ext3 \
$primary{ } \
method{ format } format{ } \
use_filesystem{ } filesystem{ ext3 } \
mountpoint{ /home } \
.
40000 256 40000 ext3 \
$primary{ } \
method{ format } format{ } \
use_filesystem{ } filesystem{ ext3 } \
mountpoint{ /systembeta } \



And this is the full preseed part related to partitioning:


### Partitioning
# If the system has free space you can choose to only partition that space.
#d-i partman-auto/init_automatically_partition select biggest_free

# Alternatively, you can specify a disk to partition. The device name must
# be given in traditional non-devfs format.
# Note: A disk must be specified, unless the system has only one disk.
# For example, to use the first SCSI/SATA hard disk:
#d-i partman-auto/disk string /dev/sda
# In addition, you'll need to specify the method to use.
# The presently available methods are: "regular", "lvm" and "crypto"
d-i partman-auto/method string regular

# If one of the disks that are going to be automatically partitioned
# contains an old LVM configuration, the user will normally receive a
# warning. This can be preseeded away...
d-i partman-lvm/device_remove_lvm boolean true
# The same applies to pre-existing software RAID array:
d-i partman-md/device_remove_md boolean true
# And the same goes for the confirmation to write the lvm partitions.
d-i partman-lvm/confirm boolean true

# You can choose one of the three predefined partitioning recipes:
# - atomic: all files in one partition
# - home: separate /home partition
# - multi: separate /home, /usr, /var, and /tmp partitions
d-i partman-auto/choose_recipe select atomic

# Or provide a recipe of your own...
# The recipe format is documented in the file devel/partman-auto-recipe.txt.
# If you have a way to get a recipe file into the d-i environment, you can
# just point at it.
#d-i partman-auto/expert_recipe_file string /hd-media/recipe

# If not, you can put an entire recipe into the preconfiguration file in one
# (logical) line. This example creates a small /boot partition, suitable
# swap, and uses the rest of the space for the root partition:
d-i partman-auto/expert_recipe string \
boot-root :: \
28000 512 28000 ext3 \
$primary{ } $bootable{ } \
method{ format } format{ } \
use_filesystem{ } filesystem{ ext3 } \
mountpoint{ / } \
. \
800 512 800 linux-swap \
$primary{ } \
method{ swap } format{ } \
. \
14130 256 14600 ext3 \
$primary{ } \
method{ format } format{ } \
use_filesystem{ } filesystem{ ext3 } \
mountpoint{ /home } \
..
40000 256 40000 ext3 \
$primary{ } \
method{ format } format{ } \
use_filesystem{ } filesystem{ ext3 } \
&#-1;&#-1; mountpoint{ /systembeta } \
.. .

# This makes partman automatically partition without confirmation, provided
# that you told it what to do using one of the methods above.
d-i partman/confirm_write_new_label boolean true
d-i partman/choose_partition select finish
d-i partman/confirm boolean true




--
To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx
with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx



Relevant Pages

  • Re: Panasonic HD Recorders - What disk format?
    ... The earlier part of this is more about what may be Linux partitioning, ... might be possible to present the recorder with a larger disk already ... Most DOS/Windows utilities such as FDisk, Ghost, and Partition Magic Pro ... prompts to format it. ...
    (alt.os.linux)
  • Re: Cant find Hard disk
    ... Computer> Manage> Computer Management> Disk Management. ... Now you must partition and format your new drive. ...
    (microsoft.public.windowsxp.hardware)
  • Re: Formatting C
    ... would format my C drive after saving most of my data. ... If you want to erase the disk, you can use some other stand-alone tools ... But if the thing you're attempting to format, is the partition ... Also, just for fun, you can use an offline scanning tool, to avoid ...
    (microsoft.public.windowsxp.general)
  • Re: setting up a new hard drive as drive D
    ... I want to add a second hard disk as IDE drive D but I cannot see any ... You will partition & format your second HD using XP's Disk Management ... move the problem HD to another IDE connector. ...
    (microsoft.public.windowsxp.hardware)
  • Re: How do I label a disk?
    ... now I am going to definitely install solaris but I have this ... > to a dead disk. ... I tried to label it with the format command: ... format> partition ...
    (comp.unix.solaris)