Senin, 11 Januari 2016

Bristol Digest, Vol 631, Issue 1

Send Bristol mailing list submissions to
bristol@mailman.lug.org.uk

To subscribe or unsubscribe via the World Wide Web, visit
https://mailman.lug.org.uk/mailman/listinfo/bristol
or, via email, send a message with subject or body 'help' to
bristol-request@mailman.lug.org.uk

You can reach the person managing the list at
bristol-owner@mailman.lug.org.uk

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Bristol digest..."


Today's Topics:

1. Re: LVM needs a tidy up (Alex Butcher)
2. Re: LVM needs a tidy up (Peter Hemmings)
3. Re: GRUB2 Software Raid on CentOS 7.2 at on Fasthosts
dedicated server (Steven Nash)


----------------------------------------------------------------------

Message: 1
Date: Mon, 11 Jan 2016 10:14:13 +0000 (GMT)
From: Alex Butcher <lug@assursys.co.uk>
To: Bristol and Bath Linux User Group <bristol@mailman.lug.org.uk>
Subject: Re: [bristol] LVM needs a tidy up
Message-ID:
<alpine.LRH.2.11.1601111003100.22369@zlgugi.of5.nffheflf.cev>
Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed

On Sat, 9 Jan 2016, Peter Hemmings wrote:

> Hi,
>
> I have to admit to being lazy when adding new Distros in the past due the
> size of cheap large HD's! Recently I was having problems with my Fedora 23
> not booting on sda and reverted to Fedora 22 on sdb. Both are configured to
> use a separate /home partition and my data is is OK.
>
> On checking what is configured (and revising a bit on LVM) I found my LVM on
> sdb is in a real mess. It is too complex to explain so here is what I think
> I have (learnt a bit of Inkscape!):

Nothing wrong with saving old filesystems when upgrading. Better to keep
them and not need them, than need them and have not kept them! I tended to
keep a pair of filesystems and pivot between them on each upgrade.

> https://dl.dropboxusercontent.com/u/45909169/LVMDisks.pdf
>
> I want to tidy up sdb:
>
> Could I join VG's "Fedora21_Study" and "Fedora" then rename it more suitably?

Something like:

exec telinit 1 # shut down to single-user mode
swapoff /dev/mapper/path_to_Fedora21_Study_swap # make sure swap is off
umount /home # unmount /home
vgchange -a n Fedora21_Study # deactivate Fedora21_Study LVM
vgmerge Fedora Fedora21_Study # merge Fedora21_Study into Fedora VG
mount /home # remount /home, hopefully by UUID otherwise /etc/fstab
# will need updating
exec telinit 5 # switch back to multi-user GUI mode

should merge Fedora21_Study into the Fedora VG. Fedora21_Study needs to be
inactive, according to the man page.

> I could then remove swap from "Fedora21_study" and "VG Fedora00" then reuse
> any space saved.
>
> If there are other better suggestions (not "don't use LVM!), would be
> appreciated?

Nothing wrong with LVM.

> Apologies again for being indisciplined in the past
> Regards

HTH,
Alex



------------------------------

Message: 2
Date: Mon, 11 Jan 2016 10:55:34 +0000
From: Peter Hemmings <peternsomerset@virginmedia.com>
To: Bristol and Bath Linux User Group <bristol@mailman.lug.org.uk>
Subject: Re: [bristol] LVM needs a tidy up
Message-ID: <56938A26.1050509@virginmedia.com>
Content-Type: text/plain; charset=windows-1252; format=flowed

Thank Alex,

I will ava go tomorrow but before I do it..

On 11/01/16 10:14, Alex Butcher wrote:
>
>> https://dl.dropboxusercontent.com/u/45909169/LVMDisks.pdf
>>
>> I want to tidy up sdb:
>>
>> Could I join VG's "Fedora21_Study" and "Fedora" then rename it more
>> suitably?
>
> Something like:
>
> exec telinit 1 # shut down to single-user mode
> swapoff /dev/mapper/path_to_Fedora21_Study_swap # make sure swap is
> off
> umount /home # unmount /home
> vgchange -a n Fedora21_Study # deactivate Fedora21_Study LVM
> vgmerge Fedora Fedora21_Study # merge Fedora21_Study into Fedora VG

the two VG's above have two "Swaps" (3.9 and 4Gb's), should I remove any
duplicate Logical Volumes before trying to merge the VG's or will LV's
of the same name/format be merged automagically?

I assume I can rename LV's as long as the fstab is altered as necessary?

> mount /home # remount /home, hopefully by UUID otherwise /etc/fstab
> # will need updating
> exec telinit 5 # switch back to multi-user GUI mode
>
> should merge Fedora21_Study into the Fedora VG. Fedora21_Study needs to be
> inactive, according to the man page.
>
>> I could then remove swap from "Fedora21_study" and "VG Fedora00" then
>> reuse any space saved.
>>
>> If there are other better suggestions (not "don't use LVM!), would be
>> appreciated?
>
> Nothing wrong with LVM.
>
>> Apologies again for being indisciplined in the past
>> Regards
>
> HTH,
> Alex
>
> _______________________________________________
> Bristol mailing list
> Bristol@mailman.lug.org.uk
> https://mailman.lug.org.uk/mailman/listinfo/bristol

Regards

--
Peter H



------------------------------

Message: 3
Date: Mon, 11 Jan 2016 11:34:57 +0000
From: Steven Nash <steven_nash@compuserve.com>
To: Bristol and Bath Linux User Group <bristol@mailman.lug.org.uk>
Subject: Re: [bristol] GRUB2 Software Raid on CentOS 7.2 at on
Fasthosts dedicated server
Message-ID: <0778C0C3-E109-4313-B706-5AD87AE804E5@compuserve.com>
Content-Type: text/plain; charset=utf-8

I still haven?t solved this, does anyone else have any ideas/pointers?

Cheers,
Steve
> On 15 Dec 2015, at 14:16, Steven Nash <Steven_Nash@compuserve.com> wrote:
>
> Hi All,
>
> I?ve got a dedicated server at Fasthosts running CentOS 7.2 (was originally upgraded from 6.x). Sorry for the long mail!
>
> I?ve had a problem booting for a while and the only way I can reboot without a crash is to:
>
> 1. Log onto kvm
> 2. Reset (to reboot)
> 3. Hit 'c' when grub shows to enter command shell.
> 4. Enter the following:
> set root=(hd1,msdos2)
> legacy_configfile /grub/grub.conf
>
> Then the latest default kernel boots.
>
> If I try and just do an automatic reboot I get a crash, I only have a screen dump of the KVM console, not sure if this list accepts attachments?
>
> If would be good to either fix grub.cfg or force grub2 to do what I do manually
>
> Here?s some details about my setup:
>
> cat /proc/mdstat
> Personalities : [raid1]
> md0 : active raid1 sda2[0] sdb2[2]
> 524224 blocks super 1.0 [2/2] [UU]
>
> md1 : active raid1 sda3[0] sdb3[1]
> 974008128 blocks super 1.1 [2/2] [UU]
> bitmap: 2/8 pages [8KB], 65536KB chunk
>
> unused devices: <none>
>
> cat /etc/fstab
> #
> # /etc/fstab
> # Created by anaconda on Fri Aug 22 15:34:10 2014
> #
> # Accessible filesystems, by reference, are maintained under '/dev/disk'
> # See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info
> #
> /dev/mapper/VolGroup00-LogVol00 / ext4 defaults 1 1
> UUID=7968a7a1-c420-4451-9508-b88cd1723795 /boot ext4 defaults 1 2
> UUID=10f23517-d44b-41ae-ab5d-49fa94301941 swap swap defaults 0 0
> UUID=199f328d-4228-4728-a979-f8dfd98c3c11 swap swap defaults 0 0
> tmpfs /dev/shm tmpfs defaults 0 0
> devpts /dev/pts devpts gid=5,mode=620 0 0
> sysfs /sys sysfs defaults 0 0
> proc /proc proc defaults 0 0
>
>
> fdisk -l
>
> Disk /dev/sda: 1000.2 GB, 1000204886016 bytes, 1953525168 sectors
> Units = sectors of 1 * 512 = 512 bytes
> Sector size (logical/physical): 512 bytes / 4096 bytes
> I/O size (minimum/optimal): 4096 bytes / 4096 bytes
> Disk label type: dos
> Disk identifier: 0xd88cd88c
>
> Device Boot Start End Blocks Id System
> /dev/sda1 2048 4196351 2097152 82 Linux swap / Solaris
> /dev/sda2 * 4196352 5244927 524288 fd Linux raid autodetect
> /dev/sda3 5244928 1953523711 974139392 fd Linux raid autodetect
>
> Disk /dev/sdb: 1000.2 GB, 1000204886016 bytes, 1953525168 sectors
> Units = sectors of 1 * 512 = 512 bytes
> Sector size (logical/physical): 512 bytes / 4096 bytes
> I/O size (minimum/optimal): 4096 bytes / 4096 bytes
> Disk label type: dos
> Disk identifier: 0x000ad3a6
>
> Device Boot Start End Blocks Id System
> /dev/sdb1 2048 4196351 2097152 82 Linux swap / Solaris
> /dev/sdb2 * 4196352 5244927 524288 fd Linux raid autodetect
> /dev/sdb3 5244928 1953523711 974139392 fd Linux raid autodetect
>
> Disk /dev/md1: 997.4 GB, 997384323072 bytes, 1948016256 sectors
> Units = sectors of 1 * 512 = 512 bytes
> Sector size (logical/physical): 512 bytes / 4096 bytes
> I/O size (minimum/optimal): 4096 bytes / 4096 bytes
>
>
> Disk /dev/mapper/VolGroup00-LogVol00: 997.4 GB, 997371936768 bytes, 1947992064 sectors
> Units = sectors of 1 * 512 = 512 bytes
> Sector size (logical/physical): 512 bytes / 4096 bytes
> I/O size (minimum/optimal): 4096 bytes / 4096 bytes
>
>
> Disk /dev/md0: 536 MB, 536805376 bytes, 1048448 sectors
> Units = sectors of 1 * 512 = 512 bytes
> Sector size (logical/physical): 512 bytes / 4096 bytes
> I/O size (minimum/optimal): 4096 bytes / 4096 bytes
>
> blkid
> /dev/sda1: UUID="10f23517-d44b-41ae-ab5d-49fa94301941" TYPE="swap"
> /dev/sda2: UUID="aa762a14-2d0b-163e-970c-8b8d7161ce03" UUID_SUB="6227f0dc-5546-ca3f-229c-5be9c8bfda87" LABEL="localhost.localdomain:0" TYPE="linux_raid_member"
> /dev/sda3: UUID="ef34c834-08e2-f0d7-c02e-0214a2a4c4ee" UUID_SUB="11610be9-bfe8-6b99-995d-75ff8484b06a" LABEL="localhost.localdomain:1" TYPE="linux_raid_member"
> /dev/sdb1: UUID="199f328d-4228-4728-a979-f8dfd98c3c11" TYPE="swap"
> /dev/sdb2: UUID="aa762a14-2d0b-163e-970c-8b8d7161ce03" UUID_SUB="e250771a-d5d9-c761-8371-9abbaae43c80" LABEL="localhost.localdomain:0" TYPE="linux_raid_member"
> /dev/sdb3: UUID="ef34c834-08e2-f0d7-c02e-0214a2a4c4ee" UUID_SUB="02186339-c68b-521e-8760-49d1efc78d9a" LABEL="localhost.localdomain:1" TYPE="linux_raid_member"
> /dev/md1: UUID="7LSr9U-Ym46-0gvq-Zxqo-JFWD-R8cx-Vul8Eu" TYPE="LVM2_member"
> /dev/mapper/VolGroup00-LogVol00: UUID="b6ca313b-2f37-494b-ab6e-0bb22750aa47" TYPE="ext4"
> /dev/md0: UUID="7968a7a1-c420-4451-9508-b88cd1723795" TYPE="ext4"
>
> My legacy config file (that works) looks like this: /etc/grub.conf
>
> # Note that you do not have to rerun grub after making changes to this file
> # NOTICE: You have a /boot partition. This means that
> # all kernel and initrd paths are relative to /boot/, eg.
> # root (hd0,1)
> # kernel /vmlinuz-version ro root=/dev/mapper/VolGroup00-LogVol00
> # initrd /initrd-[generic-]version.img
> #boot=/dev/sda
> default=0
> timeout=5
> splashimage=(hd0,1)/grub/splash.xpm.gz
> hiddenmenu
> title CentOS Linux (3.10.0-327.el7.x86_64) 7 (Core)
> root (hd0,1)
> kernel /vmlinuz-3.10.0-327.el7.x86_64 ro root=/dev/mapper/VolGroup00-LogVol00 rd_NO_LUKS KEYBOARDTYPE=pc KEYTABLE=uk LANG=en_GB.UTF-8 SYSFONT=latarcyrheb-sun16 crashkernel=auto rd_LVM_LV=VolGroup00/LogVol00 rd_NO_DM rd_MD_UUID=ef34c834:08e2f0d7:c02e0214:a2a4c4ee rhgb quiet
> initrd /initramfs-3.10.0-327.el7.x86_64.img
> title CentOS Linux (3.10.0-229.20.1.el7.x86_64) 7 (Core)
> root (hd0,1)
> kernel /vmlinuz-3.10.0-229.20.1.el7.x86_64 ro root=/dev/mapper/VolGroup00-LogVol00 rd_NO_LUKS KEYBOARDTYPE=pc KEYTABLE=uk LANG=en_GB.UTF-8 SYSFONT=latarcyrheb-sun16 crashkernel=auto rd_LVM_LV=VolGroup00/LogVol00 rd_NO_DM rd_MD_UUID=ef34c834:08e2f0d7:c02e0214:a2a4c4ee rhgb quiet
> initrd /initramfs-3.10.0-229.20.1.el7.x86_64.img
> title CentOS Linux (3.10.0-229.14.1.el7.x86_64) 7 (Core)
> root (hd0,1)
> kernel /vmlinuz-3.10.0-229.14.1.el7.x86_64 ro root=/dev/mapper/VolGroup00-LogVol00 rd_NO_LUKS KEYBOARDTYPE=pc KEYTABLE=uk LANG=en_GB.UTF-8 SYSFONT=latarcyrheb-sun16 crashkernel=auto rd_LVM_LV=VolGroup00/LogVol00 rd_NO_DM rd_MD_UUID=ef34c834:08e2f0d7:c02e0214:a2a4c4ee rhgb quiet
> initrd /initramfs-3.10.0-229.14.1.el7.x86_64.img
> title CentOS Linux (3.10.0-229.11.1.el7.x86_64) 7 (Core)
> root (hd0,1)
> kernel /vmlinuz-3.10.0-229.11.1.el7.x86_64 ro root=/dev/mapper/VolGroup00-LogVol00 rd_NO_LUKS KEYBOARDTYPE=pc KEYTABLE=uk LANG=en_GB.UTF-8 SYSFONT=latarcyrheb-sun16 crashkernel=auto rd_LVM_LV=VolGroup00/LogVol00 rd_NO_DM rd_MD_UUID=ef34c834:08e2f0d7:c02e0214:a2a4c4ee rhgb quiet
> initrd /initramfs-3.10.0-229.11.1.el7.x86_64.img
> title CentOS Linux (3.10.0-229.7.2.el7.x86_64) 7 (Core)
> root (hd0,1)
> kernel /vmlinuz-3.10.0-229.7.2.el7.x86_64 ro root=/dev/mapper/VolGroup00-LogVol00 rd_NO_LUKS KEYBOARDTYPE=pc KEYTABLE=uk LANG=en_GB.UTF-8 SYSFONT=latarcyrheb-sun16 crashkernel=auto rd_LVM_LV=VolGroup00/LogVol00 rd_NO_DM rd_MD_UUID=ef34c834:08e2f0d7:c02e0214:a2a4c4ee rhgb quiet
> initrd /initramfs-3.10.0-229.7.2.el7.x86_64.img
> title CentOS Linux 7 Rescue 2aeb7420eb976f7a1eeb724400000020 (3.10.0-123.6.3.el7.x86_64)
> root (hd0,1)
> kernel /vmlinuz-0-rescue-2aeb7420eb976f7a1eeb724400000020 ro root=/dev/mapper/VolGroup00-LogVol00 rd_NO_LUKS KEYBOARDTYPE=pc KEYTABLE=uk LANG=en_GB.UTF-8 SYSFONT=latarcyrheb-sun16 crashkernel=auto rd_LVM_LV=VolGroup00/LogVol00 rd_NO_DM rd_MD_UUID=ef34c834:08e2f0d7:c02e0214:a2a4c4ee rhgb quiet
> initrd /initramfs-0-rescue-2aeb7420eb976f7a1eeb724400000020.img
>
> For gub2:
>
> cat /etc/default/grub
> GRUB_TIMEOUT=9
> GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)"
> GRUB_DEFAULT=saved
> #GRUB_DISABLE_UUID=true
> #GRUB_DISABLE_OS_PROBER=true
> GRUB_CMDLINE_LINUX="rd.lvm.lv=VolGroup00/LogVol00 crashkernel=auto vconsole.font=latarcyrheb-sun16 vconsole.keymap=uk rhgb quiet?
>
> I?ve tried disabling UUID with various combinations and running grub2-mkconfig but UUID?s still appear.
>
> I?ve also tried rebooting, editing and substituting the UUID?s for hd0,msdos2 but that didn?t help.
>
> My grub2 config looks like: /etc/grub2.cfg
>
> #
> # DO NOT EDIT THIS FILE
> #
> # It is automatically generated by grub2-mkconfig using templates
> # from /etc/grub.d and settings from /etc/default/grub
> #
>
> ### BEGIN /etc/grub.d/00_header ###
> set pager=1
>
> if [ -s $prefix/grubenv ]; then
> load_env
> fi
> if [ "${next_entry}" ] ; then
> set default="${next_entry}"
> set next_entry=
> save_env next_entry
> set boot_once=true
> else
> set default="0"
> fi
>
> if [ x"${feature_menuentry_id}" = xy ]; then
> menuentry_id_option="--id"
> else
> menuentry_id_option=""
> fi
>
> export menuentry_id_option
>
> if [ "${prev_saved_entry}" ]; then
> set saved_entry="${prev_saved_entry}"
> save_env saved_entry
> set prev_saved_entry=
> save_env prev_saved_entry
> set boot_once=true
> fi
>
> function savedefault {
> if [ -z "${boot_once}" ]; then
> saved_entry="${chosen}"
> save_env saved_entry
> fi
> }
>
> function load_video {
> if [ x$feature_all_video_module = xy ]; then
> insmod all_video
> else
> insmod efi_gop
> insmod efi_uga
> insmod ieee1275_fb
> insmod vbe
> insmod vga
> insmod video_bochs
> insmod video_cirrus
> fi
> }
>
> if [ x$feature_default_font_path = xy ] ; then
> font=unicode
> else
> insmod part_msdos
> insmod part_msdos
> insmod diskfilter
> insmod mdraid1x
> insmod lvm
> insmod ext2
> set root='lvmid/1Vb547-F6Db-6xQ3-M576-ZSdX-AU0e-HnWRJt/euuk0o-LyEh-l6Py-UXPL-fHuL-oOfW-Y738Jb'
> if [ x$feature_platform_search_hint = xy ]; then
> search --no-floppy --fs-uuid --set=root --hint='lvmid/1Vb547-F6Db-6xQ3-M576-ZSdX-AU0e-HnWRJt/euuk0o-LyEh-l6Py-UXPL-fHuL-oOfW-Y738Jb' b6ca313b-2f37-494b-ab6e-0bb22750aa47
> else
> search --no-floppy --fs-uuid --set=root b6ca313b-2f37-494b-ab6e-0bb22750aa47
> fi
> font="/usr/share/grub/unicode.pf2"
> fi
>
> if loadfont $font ; then
> set gfxmode=auto
> load_video
> insmod gfxterm
> set locale_dir=$prefix/locale
> set lang=en_GB
> insmod gettext
> fi
> terminal_output gfxterm
> if [ x$feature_timeout_style = xy ] ; then
> set timeout_style=menu
> set timeout=5
> # Fallback normal timeout code in case the timeout_style feature is
> # unavailable.
> else
> set timeout=5
> fi
> ### END /etc/grub.d/00_header ###
>
> ### BEGIN /etc/grub.d/10_linux ###
> menuentry 'CentOS Linux (3.10.0-327.el7.x86_64) 7 (Core)' --class rhel fedora --class gnu-linux --class gnu --class os --unrestricted $menuentry_id_option 'gnulinux-simple-b6ca313b-2f37-494b-ab6e-0bb22750aa47' {
> load_video
> set gfxpayload=keep
> insmod gzio
> insmod part_msdos
> insmod part_msdos
> insmod diskfilter
> insmod mdraid1x
> insmod ext2
> set root='mduuid/aa762a142d0b163e970c8b8d7161ce03'
> if [ x$feature_platform_search_hint = xy ]; then
> search --no-floppy --fs-uuid --set=root --hint='mduuid/aa762a142d0b163e970c8b8d7161ce03' 7968a7a1-c420-4451-9508-b88cd1723795
> else
> search --no-floppy --fs-uuid --set=root 7968a7a1-c420-4451-9508-b88cd1723795
> fi
> linux16 /vmlinuz-3.10.0-327.el7.x86_64 root=/dev/mapper/VolGroup00-LogVol00 ro LANG=en_GB.UTF-8
> initrd16 /initramfs-3.10.0-327.el7.x86_64.img
> }
> menuentry 'CentOS Linux (3.10.0-229.20.1.el7.x86_64) 7 (Core)' --class rhel fedora --class gnu-linux --class gnu --class os --unrestricted $menuentry_id_option 'gnulinux-simple-b6ca313b-2f37-494b-ab6e-0bb22750aa47' {
> load_video
> set gfxpayload=keep
> insmod gzio
> insmod part_msdos
> insmod part_msdos
> insmod diskfilter
> insmod mdraid1x
> insmod ext2
> set root='mduuid/aa762a142d0b163e970c8b8d7161ce03'
> if [ x$feature_platform_search_hint = xy ]; then
> search --no-floppy --fs-uuid --set=root --hint='mduuid/aa762a142d0b163e970c8b8d7161ce03' 7968a7a1-c420-4451-9508-b88cd1723795
> else
> search --no-floppy --fs-uuid --set=root 7968a7a1-c420-4451-9508-b88cd1723795
> fi
> linux16 /vmlinuz-3.10.0-229.20.1.el7.x86_64 root=/dev/mapper/VolGroup00-LogVol00 ro LANG=en_GB.UTF-8
> initrd16 /initramfs-3.10.0-229.20.1.el7.x86_64.img
> }
> menuentry 'CentOS Linux (3.10.0-229.14.1.el7.x86_64) 7 (Core)' --class rhel fedora --class gnu-linux --class gnu --class os --unrestricted $menuentry_id_option 'gnulinux-simple-b6ca313b-2f37-494b-ab6e-0bb22750aa47' {
> load_video
> set gfxpayload=keep
> insmod gzio
> insmod part_msdos
> insmod part_msdos
> insmod diskfilter
> insmod mdraid1x
> insmod ext2
> set root='mduuid/aa762a142d0b163e970c8b8d7161ce03'
> if [ x$feature_platform_search_hint = xy ]; then
> search --no-floppy --fs-uuid --set=root --hint='mduuid/aa762a142d0b163e970c8b8d7161ce03' 7968a7a1-c420-4451-9508-b88cd1723795
> else
> search --no-floppy --fs-uuid --set=root 7968a7a1-c420-4451-9508-b88cd1723795
> fi
> linux16 /vmlinuz-3.10.0-229.14.1.el7.x86_64 root=/dev/mapper/VolGroup00-LogVol00 ro LANG=en_GB.UTF-8
> initrd16 /initramfs-3.10.0-229.14.1.el7.x86_64.img
> }
> menuentry 'CentOS Linux 7 (Core)' --class rhel fedora --class gnu-linux --class gnu --class os --unrestricted $menuentry_id_option 'gnulinux-simple-b6ca313b-2f37-494b-ab6e-0bb22750aa47' {
> load_video
> set gfxpayload=keep
> insmod gzio
> insmod part_msdos
> insmod part_msdos
> insmod diskfilter
> insmod mdraid1x
> insmod ext2
> set root='mduuid/aa762a142d0b163e970c8b8d7161ce03'
> if [ x$feature_platform_search_hint = xy ]; then
> search --no-floppy --fs-uuid --set=root --hint='mduuid/aa762a142d0b163e970c8b8d7161ce03' 7968a7a1-c420-4451-9508-b88cd1723795
> else
> search --no-floppy --fs-uuid --set=root 7968a7a1-c420-4451-9508-b88cd1723795
> fi
> linux16 /vmlinuz-3.10.0-229.14.1.el7.x86_64 root=/dev/mapper/VolGroup00-LogVol00 ro LANG=en_GB.UTF-8
> initrd16 /initramfs-3.10.0-229.14.1.el7.x86_64.img
> }
> submenu 'Advanced options for CentOS Linux 7 (Core)' $menuentry_id_option 'gnulinux-advanced-b6ca313b-2f37-494b-ab6e-0bb22750aa47' {
> menuentry 'CentOS Linux 7 (Core), with Linux 3.10.0-229.14.1.el7.x86_64' --class rhel fedora --class gnu-linux --class gnu --class os --unrestricted $menuentry_id_option 'gnulinux-3.10.0-229.14.1.el7.x86_64-advanced-b6ca313b-2f37-494b-ab6e-0bb22750aa47' {
> load_video
> set gfxpayload=keep
> insmod gzio
> insmod part_msdos
> insmod part_msdos
> insmod diskfilter
> insmod mdraid1x
> insmod ext2
> set root='mduuid/aa762a142d0b163e970c8b8d7161ce03'
> if [ x$feature_platform_search_hint = xy ]; then
> search --no-floppy --fs-uuid --set=root --hint='mduuid/aa762a142d0b163e970c8b8d7161ce03' 7968a7a1-c420-4451-9508-b88cd1723795
> else
> search --no-floppy --fs-uuid --set=root 7968a7a1-c420-4451-9508-b88cd1723795
> fi
> linux16 /vmlinuz-3.10.0-229.14.1.el7.x86_64 root=/dev/mapper/VolGroup00-LogVol00 ro LANG=en_GB.UTF-8
> initrd16 /initramfs-3.10.0-229.14.1.el7.x86_64.img
> }
> menuentry 'CentOS Linux 7 (Core), with Linux 3.10.0-229.14.1.el7.x86_64 (recovery mode)' --class rhel fedora --class gnu-linux --class gnu --class os --unrestricted $menuentry_id_option 'gnulinux-3.10.0-229.14.1.el7.x86_64-recovery-b6ca313b-2f37-494b-ab6e-0bb22750aa47' {
> load_video
> set gfxpayload=keep
> insmod gzio
> insmod part_msdos
> insmod part_msdos
> insmod diskfilter
> insmod mdraid1x
> insmod ext2
> set root='mduuid/aa762a142d0b163e970c8b8d7161ce03'
> if [ x$feature_platform_search_hint = xy ]; then
> search --no-floppy --fs-uuid --set=root --hint='mduuid/aa762a142d0b163e970c8b8d7161ce03' 7968a7a1-c420-4451-9508-b88cd1723795
> else
> search --no-floppy --fs-uuid --set=root 7968a7a1-c420-4451-9508-b88cd1723795
> fi
> linux16 /vmlinuz-3.10.0-229.14.1.el7.x86_64 root=/dev/mapper/VolGroup00-LogVol00 ro single LANG=en_GB.UTF-8
> initrd16 /initramfs-3.10.0-229.14.1.el7.x86_64.img
> }
> menuentry 'CentOS Linux 7 (Core), with Linux 3.10.0-229.11.1.el7.x86_64' --class rhel fedora --class gnu-linux --class gnu --class os --unrestricted $menuentry_id_option 'gnulinux-3.10.0-229.11.1.el7.x86_64-advanced-b6ca313b-2f37-494b-ab6e-0bb22750aa47' {
> load_video
> set gfxpayload=keep
> insmod gzio
> insmod part_msdos
> insmod part_msdos
> insmod diskfilter
> insmod mdraid1x
> insmod ext2
> set root='mduuid/aa762a142d0b163e970c8b8d7161ce03'
> if [ x$feature_platform_search_hint = xy ]; then
> search --no-floppy --fs-uuid --set=root --hint='mduuid/aa762a142d0b163e970c8b8d7161ce03' 7968a7a1-c420-4451-9508-b88cd1723795
> else
> search --no-floppy --fs-uuid --set=root 7968a7a1-c420-4451-9508-b88cd1723795
> fi
> linux16 /vmlinuz-3.10.0-229.11.1.el7.x86_64 root=/dev/mapper/VolGroup00-LogVol00 ro
> initrd16 /initramfs-3.10.0-229.11.1.el7.x86_64.img
> }
> menuentry 'CentOS Linux 7 (Core), with Linux 3.10.0-229.11.1.el7.x86_64 (recovery mode)' --class rhel fedora --class gnu-linux --class gnu --class os --unrestricted $menuentry_id_option 'gnulinux-3.10.0-229.11.1.el7.x86_64-recovery-b6ca313b-2f37-494b-ab6e-0bb22750aa47' {
> load_video
> set gfxpayload=keep
> insmod gzio
> insmod part_msdos
> insmod part_msdos
> insmod diskfilter
> insmod mdraid1x
> insmod ext2
> set root='mduuid/aa762a142d0b163e970c8b8d7161ce03'
> if [ x$feature_platform_search_hint = xy ]; then
> search --no-floppy --fs-uuid --set=root --hint='mduuid/aa762a142d0b163e970c8b8d7161ce03' 7968a7a1-c420-4451-9508-b88cd1723795
> else
> search --no-floppy --fs-uuid --set=root 7968a7a1-c420-4451-9508-b88cd1723795
> fi
> linux16 /vmlinuz-3.10.0-229.11.1.el7.x86_64 root=/dev/mapper/VolGroup00-LogVol00 ro single
> initrd16 /initramfs-3.10.0-229.11.1.el7.x86_64.img
> }
> menuentry 'CentOS Linux 7 (Core), with Linux 3.10.0-229.7.2.el7.x86_64' --class rhel fedora --class gnu-linux --class gnu --class os --unrestricted $menuentry_id_option 'gnulinux-3.10.0-229.7.2.el7.x86_64-advanced-b6ca313b-2f37-494b-ab6e-0bb22750aa47' {
> load_video
> set gfxpayload=keep
> insmod gzio
> insmod part_msdos
> insmod part_msdos
> insmod diskfilter
> insmod mdraid1x
> insmod ext2
> set root='mduuid/aa762a142d0b163e970c8b8d7161ce03'
> if [ x$feature_platform_search_hint = xy ]; then
> search --no-floppy --fs-uuid --set=root --hint='mduuid/aa762a142d0b163e970c8b8d7161ce03' 7968a7a1-c420-4451-9508-b88cd1723795
> else
> search --no-floppy --fs-uuid --set=root 7968a7a1-c420-4451-9508-b88cd1723795
> fi
> linux16 /vmlinuz-3.10.0-229.7.2.el7.x86_64 root=/dev/mapper/VolGroup00-LogVol00 ro
> initrd16 /initramfs-3.10.0-229.7.2.el7.x86_64.img
> }
> menuentry 'CentOS Linux 7 (Core), with Linux 3.10.0-229.7.2.el7.x86_64 (recovery mode)' --class rhel fedora --class gnu-linux --class gnu --class os --unrestricted $menuentry_id_option 'gnulinux-3.10.0-229.7.2.el7.x86_64-recovery-b6ca313b-2f37-494b-ab6e-0bb22750aa47' {
> load_video
> set gfxpayload=keep
> insmod gzio
> insmod part_msdos
> insmod part_msdos
> insmod diskfilter
> insmod mdraid1x
> insmod ext2
> set root='mduuid/aa762a142d0b163e970c8b8d7161ce03'
> if [ x$feature_platform_search_hint = xy ]; then
> search --no-floppy --fs-uuid --set=root --hint='mduuid/aa762a142d0b163e970c8b8d7161ce03' 7968a7a1-c420-4451-9508-b88cd1723795
> else
> search --no-floppy --fs-uuid --set=root 7968a7a1-c420-4451-9508-b88cd1723795
> fi
> linux16 /vmlinuz-3.10.0-229.7.2.el7.x86_64 root=/dev/mapper/VolGroup00-LogVol00 ro single
> initrd16 /initramfs-3.10.0-229.7.2.el7.x86_64.img
> }
> menuentry 'CentOS Linux 7 (Core), with Linux 0-rescue-2aeb7420eb976f7a1eeb724400000020' --class rhel fedora --class gnu-linux --class gnu --class os --unrestricted $menuentry_id_option 'gnulinux-0-rescue-2aeb7420eb976f7a1eeb724400000020-advanced-b6ca313b-2f37-494b-ab6e-0bb22750aa47' {
> load_video
> insmod gzio
> insmod part_msdos
> insmod part_msdos
> insmod diskfilter
> insmod mdraid1x
> insmod ext2
> set root='mduuid/aa762a142d0b163e970c8b8d7161ce03'
> if [ x$feature_platform_search_hint = xy ]; then
> search --no-floppy --fs-uuid --set=root --hint='mduuid/aa762a142d0b163e970c8b8d7161ce03' 7968a7a1-c420-4451-9508-b88cd1723795
> else
> search --no-floppy --fs-uuid --set=root 7968a7a1-c420-4451-9508-b88cd1723795
> fi
> linux16 /vmlinuz-0-rescue-2aeb7420eb976f7a1eeb724400000020 root=/dev/mapper/VolGroup00-LogVol00 ro
> initrd16 /initramfs-0-rescue-2aeb7420eb976f7a1eeb724400000020.img
> }
> menuentry 'CentOS Linux 7 (Core), with Linux 0-rescue-2aeb7420eb976f7a1eeb724400000020 (recovery mode)' --class rhel fedora --class gnu-linux --class gnu --class os --unrestricted $menuentry_id_option 'gnulinux-0-rescue-2aeb7420eb976f7a1eeb724400000020-recovery-b6ca313b-2f37-494b-ab6e-0bb22750aa47' {
> load_video
> insmod gzio
> insmod part_msdos
> insmod part_msdos
> insmod diskfilter
> insmod mdraid1x
> insmod ext2
> set root='mduuid/aa762a142d0b163e970c8b8d7161ce03'
> if [ x$feature_platform_search_hint = xy ]; then
> search --no-floppy --fs-uuid --set=root --hint='mduuid/aa762a142d0b163e970c8b8d7161ce03' 7968a7a1-c420-4451-9508-b88cd1723795
> else
> search --no-floppy --fs-uuid --set=root 7968a7a1-c420-4451-9508-b88cd1723795
> fi
> linux16 /vmlinuz-0-rescue-2aeb7420eb976f7a1eeb724400000020 root=/dev/mapper/VolGroup00-LogVol00 ro single
> initrd16 /initramfs-0-rescue-2aeb7420eb976f7a1eeb724400000020.img
> }
> }
>
> ### END /etc/grub.d/10_linux ###
>
> ### BEGIN /etc/grub.d/20_linux_xen ###
> ### END /etc/grub.d/20_linux_xen ###
>
> ### BEGIN /etc/grub.d/20_ppc_terminfo ###
> ### END /etc/grub.d/20_ppc_terminfo ###
>
> ### BEGIN /etc/grub.d/30_os-prober ###
> ### END /etc/grub.d/30_os-prober ###
>
> ### BEGIN /etc/grub.d/40_custom ###
> # This file provides an easy way to add custom menu entries. Simply type the
> # menu entries you want to add after this comment. Be careful not to change
> # the 'exec tail' line above.
> ### END /etc/grub.d/40_custom ###
>
> ### BEGIN /etc/grub.d/41_custom ###
> if [ -f ${config_directory}/custom.cfg ]; then
> source ${config_directory}/custom.cfg
> elif [ -z "${config_directory}" -a -f $prefix/custom.cfg ]; then
> source $prefix/custom.cfg;
> fi
> ### END /etc/grub.d/41_custom ###
>
> Cheers,
> Steve
> _______________________________________________
> Bristol mailing list
> Bristol@mailman.lug.org.uk
> https://mailman.lug.org.uk/mailman/listinfo/bristol




------------------------------

Subject: Digest Footer

_______________________________________________
Bristol mailing list
Bristol@mailman.lug.org.uk
https://mailman.lug.org.uk/mailman/listinfo/bristol

------------------------------

End of Bristol Digest, Vol 631, Issue 1
***************************************

Tidak ada komentar:

Posting Komentar