diff options
Diffstat (limited to 'source/a/pkgtools/scripts/makebootdisk')
-rw-r--r-- | source/a/pkgtools/scripts/makebootdisk | 42 |
1 files changed, 21 insertions, 21 deletions
diff --git a/source/a/pkgtools/scripts/makebootdisk b/source/a/pkgtools/scripts/makebootdisk index 86b843a8b..93ccc5a99 100644 --- a/source/a/pkgtools/scripts/makebootdisk +++ b/source/a/pkgtools/scripts/makebootdisk @@ -10,7 +10,7 @@ # # THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED # WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF -# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO +# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO # EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, # SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, # PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; @@ -206,8 +206,8 @@ format_disk() { fdformat $FDEV 1> /dev/null 2> /dev/null if [ ! $? = 0 ]; then dialog --title "ERROR: FLOPPY FORMAT FAILED" --msgbox "The attempt to format the floppy \ -disk in /dev/fd0 has failed, probably due to bad media. Please try again with a \ -different disk. If that doesn't work, perhaps the drive needs cleaning." 0 0 +disk in /dev/fd0 has failed, probably due to bad media. Please try again with a \ +different disk. If that doesn't work, perhaps the drive needs cleaning." 0 0 return 1 fi } @@ -218,8 +218,8 @@ while [ 0 ]; do # menu loop dialog --title "MAKE BOOT FLOPPY FROM KERNEL" \ --default-item $DEFAULT_ITEM \ --backtitle "$KMSG" --menu "This menu allows you to make a SYSLINUX bootdisk \ -from a compiled kernel. The SYSLINUX bootloader has the advantage of \ -using a FAT filesystem making it easy to replace the kernel later. \ +from a compiled kernel. The SYSLINUX bootloader has the advantage of \ +using a FAT filesystem making it easy to replace the kernel later. \ Which option would you like?" 12 67 2 \ "syslinux" "Make a SYSLINUX bootdisk" \ "exit" "Exit this program" 2> $TMP/return @@ -238,7 +238,7 @@ cat << EOF > $TMP/tmpmsg The kernel $KERNEL is $kernel_size K (which is more than 1023 Kb in size), so it probably won't -boot standalone on the floppy. Use the 'syslinux' +boot standalone on the floppy. Use the 'syslinux' method instead. EOF @@ -271,9 +271,9 @@ YES creates the disk, NO aborts.\n" 14 62 choose_kernel fi dialog --title "CREATING SYSLINUX BOOTDISK IN /dev/fd0" --backtitle "$KMSG" --yesno "Now put a \ -floppy in your boot drive. This will be made into a SYSLINUX \ -bootdisk that you can use to start your Linux system. Any data on the \ -target disk will be destroyed. YES creates the disk, NO aborts." 8 62 +floppy in your boot drive. This will be made into a SYSLINUX \ +bootdisk that you can use to start your Linux system. Any data on the \ +target disk will be destroyed. YES creates the disk, NO aborts." 8 62 if [ $? = 0 ]; then # make the disk format_disk if [ ! $? = 0 ]; then @@ -292,7 +292,7 @@ $ROOT_DEVICE in /dev/fd0." 3 64 if [ ! "$?" = "0" ]; then dialog --title "ERROR COPYING KERNEL TO FLOPPY" \ --msgbox "Sorry, but there was an error copying the kernel to the \ -floppy disk. Possibly the kernel is too large to fit the disk. \ +floppy disk. Possibly the kernel is too large to fit the disk. \ This program will now exit." 0 0 umount /dev/fd0 rm -rf $TMP/bootdisk @@ -303,15 +303,15 @@ This program will now exit." 0 0 Welcome to the 09Slackware07 Linux custom bootdisk! By default, this disk boots a root Linux partition on $ROOT_DEVICE when you -hit ENTER. If you'd like to boot some other partition, use a command like +hit ENTER. If you'd like to boot some other partition, use a command like this on the prompt below: mount root=/dev/sda1 ro Where "/dev/sda1" is the partition you want to boot, and "ro" specifies that -the partition should be initially mounted as read-only. If you wish to mount -the partition read-write, use "rw" instead. To set the video console mode, -use the vga= parameter (press F1 to see a table). You may also add any other +the partition should be initially mounted as read-only. If you wish to mount +the partition read-write, use "rw" instead. To set the video console mode, +use the vga= parameter (press F1 to see a table). You may also add any other kernel parameters you might need depending on your hardware, and which drivers are included in your kernel. @@ -341,7 +341,7 @@ EOF FRAMEBUFFER MODES: To get the kernel to start in VESA framebuffer mode, you need to pass it - a vga= init string on the "boot:" prompt. Here's a table: + a vga= init string on the "boot:" prompt. Here's a table: Colors 640x480 800x600 1024x768 1280x1024 1600x1200 --------+--------------------------------------------- @@ -376,9 +376,9 @@ EOF choose_kernel fi dialog --title "CREATING LILO BOOTDISK IN /dev/fd0" --backtitle "$KMSG" --yesno "Now put a \ -floppy in your boot drive. This will be made into a LILO \ -bootdisk that you can use to start your Linux system. Any data on the \ -target disk will be destroyed. YES creates the disk, NO aborts." 8 62 +floppy in your boot drive. This will be made into a LILO \ +bootdisk that you can use to start your Linux system. Any data on the \ +target disk will be destroyed. YES creates the disk, NO aborts." 8 62 if [ $? = 0 ]; then # make the disk format_disk DEV=/dev/fd0u1680 @@ -422,14 +422,14 @@ EOF Welcome to the Slackware Linux custom LILO bootdisk! By default, this disk boots a root Linux partition on $ROOT_DEVICE when -you hit ENTER. If you'd like to boot some other partition, use a command +you hit ENTER. If you'd like to boot some other partition, use a command like this on the LILO prompt below: mount root=/dev/sda1 ro Where "/dev/sda1" is the partition you want to boot, and "ro" specifies that -the partition should be initially mounted as read-only. If you which to mount -the partition read-write, use "rw" instead. You may also add any other kernel +the partition should be initially mounted as read-only. If you which to mount +the partition read-write, use "rw" instead. You may also add any other kernel parameters you might need depending on your hardware, and which drivers are included in your kernel. |