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
HD(4)							     Linux Programmer's Manual							     HD(4)

NAME
hd - MFM/IDE hard disk devices DESCRIPTION
The hd* devices are block devices to access MFM/IDE hard disk drives in raw mode. The master drive on the primary IDE controller (major device number 3) is hda; the slave drive is hdb. The master drive of the second controller (major device number 22) is hdc and the slave hdd. General IDE block device names have the form hdX, or hdXP, where X is a letter denoting the physical drive, and P is a number denoting the partition on that physical drive. The first form, hdX, is used to address the whole drive. Partition numbers are assigned in the order the partitions are discovered, and only non-empty, non-extended partitions get a number. However, partition numbers 1-4 are given to the four partitions described in the MBR (the `primary' partitions), regardless of whether they are unused or extended. Thus, the first logi- cal partition will be hdX5. Both DOS-type partitioning and BSD-disklabel partitioning are supported. You can have at most 63 partitions on an IDE disk. For example, /dev/hda refers to all of the first IDE drive in the system; and /dev/hdb3 refers to the third DOS `primary' partition on the second one. They are typically created by: mknod -m 660 /dev/hda b 3 0 mknod -m 660 /dev/hda1 b 3 1 mknod -m 660 /dev/hda2 b 3 2 ... mknod -m 660 /dev/hda8 b 3 8 mknod -m 660 /dev/hdb b 3 64 mknod -m 660 /dev/hdb1 b 3 65 mknod -m 660 /dev/hdb2 b 3 66 ... mknod -m 660 /dev/hdb8 b 3 72 chown root:disk /dev/hd* FILES
/dev/hd* SEE ALSO
mknod(1), chown(1), mount(8), sd(4) Linux 1992-12-17 HD(4)
All times are GMT -4. The time now is 10:20 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy