Sponsored Content
Operating Systems Linux Debian Debian installer or how to preseed Post 303035707 by nodorgrom on Friday 31st of May 2019 10:40:39 AM
Old 05-31-2019
Also I have more one question
Next raid's partitioning in preseed file like as:
Code:
d-i partman-auto-raid/recipe string \
    1 2 0 ext4 /                                        \
          /dev/sda1#/dev/sdb1                           \
    .                                                   \
    1 2 0 ext4 /home                                    \
          /dev/sda5#/dev/sdb5                           \
    .                                                   \
    1 2 0 ext4 /var                                     \
          /dev/sda6#/dev/sdb6                           \
    .                                                   \
    1 2 0 ext4 /usr                                     \
          /dev/sda7#/dev/sdb7                           \
    .                                                   \
    1 2 0 ext4 /local                                   \
          /dev/sda8#/dev/sdb8                           \
    .

Could somebody clarify me, why I can't specify sda1#sdb1, sda2#sdb2... etc? If I'll do it then installation will be crashed with error. But if I make as above, then installation will be OK

--- Post updated at 02:40 PM ---

because sda1 is 1 primary partition
primary partitions can be only 4 (if it isn't GPT)


sda, sdb - it's disks
sda1,sdb1 - it's first primary partitions


extended partitions start with number 5
and we have next pic:
Code:
sda
|- sda1
|-- md0
|
|- sda5
|-- md1
|- sda6
|- md2



and with sdb same...
 

4 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Ubuntu Preseed not found

Hello there! I am not certain that this is the proper place to post this, but I will try anyway. I am trying to install Ubuntu using a preseed on a USB thumb drive, and I am having problems. Hopefully someone here is able to help me. I have a file named 'preseed.cfg' in the root directory... (4 Replies)
Discussion started by: Curtor
4 Replies

2. UNIX for Advanced & Expert Users

Running Script after Preseed Install

Hello there, If you don't want to here the long version, but still want to answer my question, please skip down to THE BOTTOM! You can probably tell what I want to do already from the title, so I'll sum up what I have already done real quick: First off, for those that don't know, a preseed... (1 Reply)
Discussion started by: Curtor
1 Replies

3. UNIX for Advanced & Expert Users

rpm,pkg and debian installer

Hi, Can someone explain what's the difference between rpm, pkg and debian installer and what is the advantage of one above the other? Thanks (2 Replies)
Discussion started by: naan
2 Replies

4. Ubuntu

Problem creating Desktop shortcuts through Debian dpkg installer scripts

Hi, I am creating a debian package (*.deb) for my application using the command I am using debian pre/post installer scripts to do certain tasks before/after installation/uninstallation. One such task is to create a shortcut on the user's desktop to launch my application. I am trying to do this... (0 Replies)
Discussion started by: royalibrahim
0 Replies
PVRESIZE(8)						      System Manager's Manual						       PVRESIZE(8)

NAME
pvresize - resize a disk or partition in use by LVM2 SYNOPSIS
pvresize [-d|--debug] [-h|--help] [-t|--test] [-v|--verbose] [--version] [--setphysicalvolumesize size] PhysicalVolume [PhysicalVolume...] DESCRIPTION
pvresize resizes PhysicalVolume which may already be in a volume group and have active logical volumes allocated on it. OPTIONS
See lvm(8) for common options. --setphysicalvolumesize size Overrides the automatically-detected size of the PV. Use with care, or prior to reducing the physical size of the device. EXAMPLES
Expand the PV on /dev/sda1 after enlarging the partition with fdisk: pvresize /dev/sda1 Shrink the PV on /dev/sda1 prior to shrinking the partition with fdisk (ensure that the PV size is appropriate for your intended new parti- tion size): pvresize --setphysicalvolumesize 40G /dev/sda1 RESTRICTIONS
pvresize will refuse to shrink PhysicalVolume if it has allocated extents after where its new end would be. In the future, it should relo- cate these elsewhere in the volume group if there is sufficient free space, like pvmove does. pvresize won't currently work correctly on LVM1 volumes or PVs with extra metadata areas. SEE ALSO
lvm(8), pvmove(8), lvresize(8), fdisk(8) Sistina Software UK LVM TOOLS 2.02.105(2)-RHEL7 (2014-03-26) PVRESIZE(8)
All times are GMT -4. The time now is 05:47 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy