[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

DEBIAN 6.0 Squeeze (SPARC) - Installation - Partitioning - LVM - RAID



Hello debian sparc list subscribers,

i have some Problems in Installation - Partitioning with LVM - RAID the
new DEBIAN 6.0 Squeeze (SPARC).

1) Booting not possible after installation with the netinstall cd
2) No automated installation with RAID (and LVM) possible

I did RTFM :-)
Debian GNU/Linux Installation Guide
de: http://www.debian.org/releases/stable/sparc/install.pdf.de
en: http://www.debian.org/releases/stable/sparc/install.pdf.en

Release Notes for Debian GNU/Linux 6.0 (squeeze), SPARC
de: http://www.debian.org/releases/stable/sparc/release-notes.de.pdf
en: http://www.debian.org/releases/stable/sparc/release-notes.en.pdf

OpenBoot 3.x Command Reference Manual
http://download.oracle.com/docs/cd/E19683-01/806-1377-10/806-1377-10.pdf

I used the DEBIAN Netinstall CD
http://cdimage.debian.org/debian-cd/6.0.1a/sparc/iso-cd/debian-6.0.1a-sparc-netinst.iso
After starting my SUN OpenBoot 3.5 starts correctly over a serial cable
using the console with putty (Settings Serial, COM1, 9600 Baud)
On the (ok) prompt of OpenBoot 3.5 i started the cd with <boot cdrom>

i did the installation completly normal, only it did not found my
controller so i went to the shell (STRG+ALT+F1 then choose the shell in the
netinstall cd menu)
an loaded the kernal driver for the Onboard-Controller:
wget
http://ftp.ie.debian.org/debian/pool/non-free/f/firmware-nonfree/firmware-qlogic_0.29_all.deb
 
udpkg -i firmware-qlogic_0.29_all.deb
modprobe -r qla2xxx
modprobe qla2xxx

The installation succeeded successful - but no boot is possible after
that.
Problems:
-> It writes no LABEL on the harddisc so after installtion is booting
impossible
-> There is no possibility for a automating installation of Software RAID

So then i tried to make a LABEL booting with the live-CDs

Booting NOT possible: # boot cdrom
OpenSolaris-AutoInstallationsCD(SPARC)
http://dlc.sun.com/osol/opensolaris/2009/06/osol-0906-ai-sparc.iso

Booting possible:
I used the Download for SPARC - Text Install of Solaris 11 Express (no
production license) 
http://www.oracle.com/technetwork/server-storage/solaris11/downloads/index.html

I went to the shell
# format
# format: fdisk
# format: y (for use of the recommended default partitioning: 100%
"SOLARIS System" partition)
# format: label
# format: quit

the i retried the installation with the DEBIAN netinstall CD.


in the german manual 


I found only that. 

Debian GNU/Linux Installation Guide - Copyright © 2004 – 2010 the Debian
Installer team 
en: http://www.debian.org/releases/stable/sparc/install.pdf.en

B.4.7. Partitioning
Using preseeding to partition the harddisk is limited to what is supported
by partman-auto. You
can choose to partition either existing free space on a disk or a whole
disk. The layout of the disk can
be determined by using a predefined recipe, a custom recipe from a recipe
file or a recipe included in
the preconfiguration file.
Preseeding of advanced partition setups using RAID, LVM and encryption is
supported, but not with
the full flexibility possible when partitioning during a non-preseeded
install.
The examples below only provide basic information on the use of recipes.
For detailed information
see the files partman-auto-recipe.txt and partman-auto-raid-recipe.txt
included
in the debian-installer package. Both files are also available from the
debian-installer
source repository
(http://svn.debian.org/wsvn/d-i//trunk/installer/doc/devel/). Note that the
supported
functionality may change between releases.
Page 87

Appendix B. Automating the installation using preseeding
Warning
The identification of disks is dependent on the order in which their
drivers are loaded. If there are
multiple disks in the system, make very sure the correct one will be
selected before using preseeding.
B.4.7.1. Partitioning example
# If the system has free space you can choose to only partition that
space.
# This is only honoured if partman-auto/method (below) is not set.
#d-i partman-auto/init_automatically_partition select biggest_free
# Alternatively, you may specify a disk to partition. If the system has
only
# one disk the installer will default to using that, but otherwise the
device
# name must be given in traditional, non-devfs format (so e.g. /dev/hda or
# /dev/sda, and not e.g. /dev/discs/disc0/disc).
# 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: use the usual partition types for your architecture
# - lvm: use LVM to partition the disk
# - crypto: use LVM within an encrypted partition
d-i partman-auto/method string lvm
# 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...
# 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 :: \
# 40 50 100 ext3 \
# $primary{ } $bootable{ } \
# method{ format } format{ } \
# use_filesystem{ } filesystem{ ext3 } \
# mountpoint{ /boot } \
# . \
Page 88


Appendix B. Automating the installation using preseeding
# 500 10000 1000000000 ext3 \
# method{ format } format{ } \
# use_filesystem{ } filesystem{ ext3 } \
# mountpoint{ / } \
# . \
# 64 512 300% linux-swap \
# method{ swap } format{ } \
# .
# The full recipe format is documented in the file partman-auto-recipe.txt
# included in the ’debian-installer’ package or available from D-I source
# repository. This also documents how to specify settings such as file
# system labels, volume group names and which physical devices to include
# in a volume group.
# This makes partman automatically partition without confirmation,
provided
# that you told it what to do using one of the methods above.
d-i partman-partitioning/confirm_write_new_label boolean true
d-i partman/choose_partition select finish
d-i partman/confirm boolean true
d-i partman/confirm_nooverwrite boolean true


B.4.7.2. Partitioning using RAID
You can also use preseeding to set up partitions on software RAID arrays.
Supported are RAID levels
0, 1, 5, 6 and 10, creating degraded arrays and specifying spare devices.
Warning
This type of automated partitioning is easy to get wrong. It is also
functionality that receives relatively
little testing from the developers of debian-installer. The responsibility
to get the various recipes
right (so they make sense and don’t conflict) lies with the user. Check
/var/log/syslog if you run into
problems.
# The method should be set to "raid".
#d-i partman-auto/method string raid
# Specify the disks to be partitioned. They will all get the same layout,
# so this will only work if the disks are the same size.
#d-i partman-auto/disk string /dev/sda /dev/sdb
# Next you need to specify the physical partitions that will be used.
#d-i partman-auto/expert_recipe string \
# multiraid :: \
# 1000 5000 4000 raid \
# $primary{ } method{ raid } \
# . \
# 64 512 300% raid \
# method{ raid } \
# . \
# 500 10000 1000000000 raid \
# method{ raid } \
# .
Page 89
Appendix B. Automating the installation using preseeding
# Last you need to specify how the previously defined partitions will be
# used in the RAID setup. Remember to use the correct partition numbers
# for logical partitions. RAID levels 0, 1, 5, 6 and 10 are supported;
# devices are separated using "#".
# Parameters are:
# <raidtype> <devcount> <sparecount> <fstype> <mountpoint> \
# <devices> <sparedevices>
#d-i partman-auto-raid/recipe string \
# 1 2 0 ext3 / \
# /dev/sda1#/dev/sdb1 \
# . \
# 1 2 0 swap - \
# /dev/sda5#/dev/sdb5 \
# . \
# 0 2 0 ext3 /home \
# /dev/sda6#/dev/sdb6 \
# .
# For additional information see the file partman-auto-raid-recipe.txt
# included in the ’debian-installer’ package or available from D-I source
# repository.
# This makes partman automatically partition without confirmation.
d-i partman-md/confirm boolean true
d-i partman-partitioning/confirm_write_new_label boolean true
d-i partman/choose_partition select finish
d-i partman/confirm boolean true
d-i partman/confirm_nooverwrite boolean true



Reply to: