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
o2image(8)							OCFS2 Manual Pages							o2image(8)

NAME
o2image - Copy or restore OCFS2 file system meta-data SYNOPSIS
o2image [-r] [-I] device image-file DESCRIPTION
o2image copies the OCFS2 file system meta-data from the device to the specified image-file. This image file contains the file system skeleton that includes the inodes, directory names and file names. It does not include any file data. This image file can be useful to debug certain problems that are not reproducible otherwise. Like on-disk corruptions. It could also be used to analyse the file system layout in an aging file system with an eye towards improving performance. As the image-file contains a copy of all the meta-data blocks, it can be a large file. By default, it is created in a packed format, in which all meta-data blocks are written back-to-back. With the -r option, the user could choose to have the file in the raw (or sparse) for- mat, in which the blocks are written to the same offset as they are on the device. debugfs.ocfs2 understands both formats. o2image also has the option, -I, to restore the meta-data from the image file onto the device. This option will rarely be useful to end- users and has been written specifically for developers and testers. OPTIONS
-r Copies the meta-data to the image-file in the raw format. Use this option only if the destination file system supports sparse files. If unsure, do not use this option and let the tool create the image-file in the packed format. -I Restores meta-data from the image-file onto the device. CAUTION: This option could corrupt the file system. EXAMPLES
[root@node1 ~]# o2image /dev/sda1 sda1.out Copies metadata blocks from /dev/sda1 device to sda1.out file [root@node1 ~] o2image -I /dev/sda1 sda1.out Use with CAUTION. Copies meta-data blocks from sda1.out onto the /dev/sda1 device. SEE ALSO
debugfs.ocfs2(8) fsck.ocfs2(8) AUTHORS
Oracle Corporation COPYRIGHT
Copyright (C) 2007, 2010 Oracle. All rights reserved. Version 1.4.3 February 2010 o2image(8)
All times are GMT -4. The time now is 12:41 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy