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 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) (limited to 'en/appendix/chroot-install.xml') 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 -- cgit v1.2.3