From 5138ee2dd58986915924953d426fa706c4908afe Mon Sep 17 00:00:00 2001
From: Steve McIntyre <93sam@debian.org>
Date: Tue, 14 Apr 2015 01:12:05 +0000
Subject: Remove the old hdX device names, switch to sdX for disks
---
en/appendix/chroot-install.xml | 24 ++++++++++++------------
en/appendix/files.xml | 39 +++++++--------------------------------
en/appendix/preseed.xml | 4 ++--
3 files changed, 21 insertions(+), 46 deletions(-)
(limited to 'en/appendix')
diff --git a/en/appendix/chroot-install.xml b/en/appendix/chroot-install.xml
index ff7e895eb..584017d15 100644
--- a/en/appendix/chroot-install.xml
+++ b/en/appendix/chroot-install.xml
@@ -53,11 +53,11 @@ install desktop environments like GNOME or KDE).
Next, create file systems on the partitions. For example, to create an
-ext3 file system on partition /dev/hda6 (that's
+ext3 file system on partition /dev/sda6 (that's
our example root partition):
-# mke2fs -j /dev/hda6
+# mke2fs -j /dev/sda6
To create an ext2 file system instead, omit -j.
@@ -68,9 +68,9 @@ Initialize and activate swap (substitute the partition number for
your intended &debian; swap partition):
-# mkswap /dev/hda5
+# mkswap /dev/sda5
# sync
-# swapon /dev/hda5
+# swapon /dev/sda5
Mount one partition as /mnt/debinst (the
@@ -80,7 +80,7 @@ referenced later below.
# mkdir /mnt/debinst
-# mount /dev/hda6 /mnt/debinst
+# mount /dev/sda6 /mnt/debinst
@@ -552,17 +552,17 @@ Installing and setting up grub2 is as easy as:
# aptitude install grub-pc
-# grub-install /dev/hda
+# grub-install /dev/sda
# update-grub
The second command will install grub2 (in this case in
-the MBR of hda). The last command will create a sane
+the MBR of sda). The last command will create a sane
and working /boot/grub/grub.cfg.
-Note that this assumes that a /dev/hda device file has
+Note that this assumes that a /dev/sda device file has
been created. There are alternative methods to install grub2,
but those are outside the scope of this appendix.
@@ -571,8 +571,8 @@ but those are outside the scope of this appendix.
Here is a basic /etc/lilo.conf as an example:
-boot=/dev/hda6
-root=/dev/hda6
+boot=/dev/sda6
+root=/dev/sda6
install=menu
delay=20
lba32
@@ -596,10 +596,10 @@ use yaboot.conf relative to the system you call it from).
Here is a basic /etc/yaboot.conf as an example:
-boot=/dev/hda2
+boot=/dev/sda2
device=hd:
partition=6
-root=/dev/hda6
+root=/dev/sda6
magicboot=/usr/lib/yaboot/ofboot
timeout=50
image=/vmlinux
diff --git a/en/appendix/files.xml b/en/appendix/files.xml
index e389071a7..6b4456971 100644
--- a/en/appendix/files.xml
+++ b/en/appendix/files.xml
@@ -26,54 +26,29 @@ The most important device files are listed in the tables below.
-
-
- hda
- IDE Hard disk / CD-ROM on the first IDE port (Master)
-
- hdb
- IDE Hard disk / CD-ROM on the first IDE port (Slave)
-
- hdc
- IDE Hard disk / CD-ROM on the second IDE port (Master)
-
- hdd
- IDE Hard disk / CD-ROM on the second IDE port (Slave)
-
- hda1
- First partition of the first IDE hard disk
-
- hdd15
- Fifteenth partition of the fourth IDE hard disk
-
-
-
sda
- SCSI Hard disk with lowest SCSI ID (e.g. 0)
+ First hard disk
sdb
- SCSI Hard disk with next higher SCSI ID (e.g. 1)
-
- sdc
- SCSI Hard disk with next higher SCSI ID (e.g. 2)
+ Second hard disk
sda1
- First partition of the first SCSI hard disk
+ First partition of the first hard disk
- sdd10
- Tenth partition of the fourth SCSI hard disk
+ sdb7
+ Seventh partition of the second hard disk
sr0
- SCSI CD-ROM with the lowest SCSI ID
+ First CD-ROM
sr1
- SCSI CD-ROM with the next higher SCSI ID
+ Second CD-ROM
diff --git a/en/appendix/preseed.xml b/en/appendix/preseed.xml
index d726ecd16..cdfffa05d 100644
--- a/en/appendix/preseed.xml
+++ b/en/appendix/preseed.xml
@@ -1130,8 +1130,8 @@ correct one will be selected before using preseeding.
# 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).
+# name must be given in traditional, non-devfs format (so e.g. /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.
--
cgit v1.2.3