› Foros › PC › Software libre
blkid
/dev/sdb1: UUID="3db32f94-1ae2-4348-8722-8d24e4a2d713" TYPE="xfs" PARTUUID="000953cd-01"
/dev/sdb2: UUID="TSc176-UXfa-SbOs-pe13-F0bo-fv06-4PxGDG" TYPE="LVM2_member" PARTUUID="000953cd-02"
/dev/sda1: SEC_TYPE="msdos" LABEL="DELLUTILITY" UUID="3030-3030" TYPE="vfat" PARTUUID="73f8a2f7-01"
/dev/sda2: LABEL="Recovery" UUID="CC70378A703779F2" TYPE="ntfs" PARTUUID="73f8a2f7-02"
/dev/sda3: LABEL="OS" UUID="AC7C4EC27C4E86D4" TYPE="ntfs" PARTUUID="73f8a2f7-03"
/dev/sda5: UUID="1ceba39a-2e50-4367-908f-20e43701f07b" TYPE="ext4" PARTUUID="73f8a2f7-05"
/dev/sda6: UUID="3c6fb9f6-b773-434a-827a-5fde5969f3b6" TYPE="swap" PARTUUID="73f8a2f7-06"
/dev/sda7: UUID="2FDED3BC6AF00B1B" TYPE="ntfs" PARTUUID="73f8a2f7-07"
/boot/grub/device.map
(hd0) /dev/disk/by-id/ata-ST9500325AS_6VEPGN1K
(hd1) /dev/disk/by-id/ata-HTS541080G9SA00_MPBDL0XKH3GBPM
/dev/disk/by-id/
ata-HTS541080G9SA00_MPBDL0XKH3GBPM
ata-HTS541080G9SA00_MPBDL0XKH3GBPM-part1
ata-HTS541080G9SA00_MPBDL0XKH3GBPM-part2
ata-ST9500325AS_6VEPGN1K
ata-ST9500325AS_6VEPGN1K-part1
ata-ST9500325AS_6VEPGN1K-part2
ata-ST9500325AS_6VEPGN1K-part3
ata-ST9500325AS_6VEPGN1K-part4
ata-ST9500325AS_6VEPGN1K-part5
ata-ST9500325AS_6VEPGN1K-part6
ata-ST9500325AS_6VEPGN1K-part7
fdisk -l
Disk /dev/sdb: 74,5 GiB, 80026361856 bytes, 156301488 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x000953cd
Device Boot Start End Sectors Size Id Type
/dev/sdb1 * 2048 1026047 1024000 500M 83 Linux
/dev/sdb2 1026048 25618431 24592384 11,7G 8e Linux LVM
Disk /dev/sda: 465,8 GiB, 500107862016 bytes, 976773168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x73f8a2f7
Device Boot Start End Sectors Size Id Type
/dev/sda1 2048 206847 204800 100M 6 FAT16
/dev/sda2 * 206848 30926847 30720000 14,7G 7 HPFS/NTFS/exFAT
/dev/sda3 30926848 226526371 195599524 93,3G 7 HPFS/NTFS/exFAT
/dev/sda4 226527230 976771071 750243842 357,8G 5 Extended
/dev/sda5 226527232 728481791 501954560 239,4G 83 Linux
/dev/sda6 960380928 976771071 16390144 7,8G 82 Linux swap / Solaris
/dev/sda7 728483840 960378879 231895040 110,6G 7 HPFS/NTFS/exFAT
Partition table entries are not in disk order.
/etc/grub.d/40_custom
#!/bin/sh
exec tail -n +3 $0
# 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.
menuentry "CentOS Bootloader" {
insmod part_msdos
insmod xfs
insmod chain
chainloader (hd1,0)+1
}
/boot/grub/grub.cfg
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#
### BEGIN /etc/grub.d/00_header ###
if [ -s $prefix/grubenv ]; then
set have_grubenv=true
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 ext2
set root='hd0,msdos5'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5 --hint='hd0,msdos5' 1ceba39a-2e50-4367-908f-20e43701f07b
else
search --no-floppy --fs-uuid --set=root 1ceba39a-2e50-4367-908f-20e43701f07b
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=es_ES
insmod gettext
fi
terminal_output gfxterm
if [ "${recordfail}" = 1 ] ; then
set timeout=30
else
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
fi
### END /etc/grub.d/00_header ###
### BEGIN /etc/grub.d/05_debian_theme ###
insmod part_msdos
insmod ext2
set root='hd0,msdos5'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5 --hint='hd0,msdos5' 1ceba39a-2e50-4367-908f-20e43701f07b
else
search --no-floppy --fs-uuid --set=root 1ceba39a-2e50-4367-908f-20e43701f07b
fi
insmod png
if background_image /usr/share/images/desktop-base/lines-grub.png; then
set color_normal=white/black
set color_highlight=black/white
else
set menu_color_normal=cyan/blue
set menu_color_highlight=white/blue
fi
### END /etc/grub.d/05_debian_theme ###
### BEGIN /etc/grub.d/10_linux ###
function gfxmode {
set gfxpayload="${1}"
}
set linux_gfx_mode=
export linux_gfx_mode
menuentry 'Debian GNU/Linux' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-1ceba39a-2e50-4367-908f-20e43701f07b' {
load_video
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_msdos
insmod ext2
set root='hd0,msdos5'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5 --hint='hd0,msdos5' 1ceba39a-2e50-4367-908f-20e43701f07b
else
search --no-floppy --fs-uuid --set=root 1ceba39a-2e50-4367-908f-20e43701f07b
fi
echo 'Cargando Linux 4.0.0-2-amd64...'
linux /boot/vmlinuz-4.0.0-2-amd64 root=UUID=1ceba39a-2e50-4367-908f-20e43701f07b ro quiet processor.ignore_ppc=1 intel_pstate=disable
echo 'Cargando imagen de memoria inicial...'
initrd /boot/initrd.img-4.0.0-2-amd64
}
submenu 'Opciones avanzadas para Debian GNU/Linux' $menuentry_id_option 'gnulinux-advanced-1ceba39a-2e50-4367-908f-20e43701f07b' {
menuentry 'Debian GNU/Linux, con Linux 4.0.0-2-amd64' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.0.0-2-amd64-advanced-1ceba39a-2e50-4367-908f-20e43701f07b' {
load_video
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_msdos
insmod ext2
set root='hd0,msdos5'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5 --hint='hd0,msdos5' 1ceba39a-2e50-4367-908f-20e43701f07b
else
search --no-floppy --fs-uuid --set=root 1ceba39a-2e50-4367-908f-20e43701f07b
fi
echo 'Cargando Linux 4.0.0-2-amd64...'
linux /boot/vmlinuz-4.0.0-2-amd64 root=UUID=1ceba39a-2e50-4367-908f-20e43701f07b ro quiet processor.ignore_ppc=1 intel_pstate=disable
echo 'Cargando imagen de memoria inicial...'
initrd /boot/initrd.img-4.0.0-2-amd64
}
menuentry 'Debian GNU/Linux, with Linux 4.0.0-2-amd64 (recovery mode)' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.0.0-2-amd64-recovery-1ceba39a-2e50-4367-908f-20e43701f07b' {
load_video
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_msdos
insmod ext2
set root='hd0,msdos5'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5 --hint='hd0,msdos5' 1ceba39a-2e50-4367-908f-20e43701f07b
else
search --no-floppy --fs-uuid --set=root 1ceba39a-2e50-4367-908f-20e43701f07b
fi
echo 'Cargando Linux 4.0.0-2-amd64...'
linux /boot/vmlinuz-4.0.0-2-amd64 root=UUID=1ceba39a-2e50-4367-908f-20e43701f07b ro single
echo 'Cargando imagen de memoria inicial...'
initrd /boot/initrd.img-4.0.0-2-amd64
}
menuentry 'Debian GNU/Linux, con Linux 3.16.0-4-amd64' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.16.0-4-amd64-advanced-1ceba39a-2e50-4367-908f-20e43701f07b' {
load_video
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_msdos
insmod ext2
set root='hd0,msdos5'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5 --hint='hd0,msdos5' 1ceba39a-2e50-4367-908f-20e43701f07b
else
search --no-floppy --fs-uuid --set=root 1ceba39a-2e50-4367-908f-20e43701f07b
fi
echo 'Cargando Linux 3.16.0-4-amd64...'
linux /boot/vmlinuz-3.16.0-4-amd64 root=UUID=1ceba39a-2e50-4367-908f-20e43701f07b ro quiet processor.ignore_ppc=1 intel_pstate=disable
echo 'Cargando imagen de memoria inicial...'
initrd /boot/initrd.img-3.16.0-4-amd64
}
menuentry 'Debian GNU/Linux, with Linux 3.16.0-4-amd64 (recovery mode)' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.16.0-4-amd64-recovery-1ceba39a-2e50-4367-908f-20e43701f07b' {
load_video
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_msdos
insmod ext2
set root='hd0,msdos5'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5 --hint='hd0,msdos5' 1ceba39a-2e50-4367-908f-20e43701f07b
else
search --no-floppy --fs-uuid --set=root 1ceba39a-2e50-4367-908f-20e43701f07b
fi
echo 'Cargando Linux 3.16.0-4-amd64...'
linux /boot/vmlinuz-3.16.0-4-amd64 root=UUID=1ceba39a-2e50-4367-908f-20e43701f07b ro single
echo 'Cargando imagen de memoria inicial...'
initrd /boot/initrd.img-3.16.0-4-amd64
}
}
### END /etc/grub.d/10_linux ###
### BEGIN /etc/grub.d/20_linux_xen ###
### END /etc/grub.d/20_linux_xen ###
### BEGIN /etc/grub.d/30_os-prober ###
menuentry 'Windows 7 (loader) (en /dev/sda2)' --class windows --class os $menuentry_id_option 'osprober-chain-CC70378A703779F2' {
insmod part_msdos
insmod ntfs
set root='hd0,msdos2'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos2 --hint-efi=hd0,msdos2 --hint-baremetal=ahci0,msdos2 --hint='hd0,msdos2' CC70378A703779F2
else
search --no-floppy --fs-uuid --set=root CC70378A703779F2
fi
parttool ${root} hidden-
chainloader +1
}
menuentry 'Windows 7 (loader) (en /dev/sda3)' --class windows --class os $menuentry_id_option 'osprober-chain-AC7C4EC27C4E86D4' {
insmod part_msdos
insmod ntfs
set root='hd0,msdos3'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos3 --hint-efi=hd0,msdos3 --hint-baremetal=ahci0,msdos3 --hint='hd0,msdos3' AC7C4EC27C4E86D4
else
search --no-floppy --fs-uuid --set=root AC7C4EC27C4E86D4
fi
parttool ${root} hidden-
chainloader +1
}
### END /etc/grub.d/30_os-prober ###
### BEGIN /etc/grub.d/30_uefi-firmware ###
### END /etc/grub.d/30_uefi-firmware ###
### 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.
menuentry "CentOS Bootloader" {
insmod part_msdos
insmod xfs
insmod chain
chainloader (hd1,0)+1
}
### 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 ###
parted -l
Model: ATA ST9500325AS (scsi)
Disk /dev/sda: 500GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags:
Number Start End Size Type File system Flags
1 1049kB 106MB 105MB primary fat16
2 106MB 15,8GB 15,7GB primary ntfs boot
3 15,8GB 116GB 100GB primary ntfs
4 116GB 500GB 384GB extended
5 116GB 373GB 257GB logical ext4
7 373GB 492GB 119GB logical ntfs
6 492GB 500GB 8392MB logical linux-swap(v1)
Model: ATA HTS541080G9SA00 (scsi)
Disk /dev/sdb: 80,0GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags:
Number Start End Size Type File system Flags
1 1049kB 525MB 524MB primary xfs boot
2 525MB 13,1GB 12,6GB primary lvm
/etc/fstab
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
# / was on /dev/sda5 during installation
UUID=1ceba39a-2e50-4367-908f-20e43701f07b / ext4 errors=remount-ro 0 1
# swap was on /dev/sda6 during installation
UUID=3c6fb9f6-b773-434a-827a-5fde5969f3b6 none swap sw 0 0
/dev/sr0 /media/cdrom0 udf,iso9660 user,noauto 0 0
#
# 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="${saved_entry}"
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
}
terminal_output console
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/00_tuned ###
set tuned_params=""
### END /etc/grub.d/00_tuned ###
### BEGIN /etc/grub.d/10_linux ###
menuentry 'CentOS Linux 7 (Core), with Linux 3.10.0-229.el7.x86_64' --class rhel fedora --class gnu-linux --class gnu --class os --unrestricted $menuentry_id_option 'gnulinux-3.10.0-229.el7.x86_64-advanced-f7f42084-3585-4b05-b9b2-7273ce448d5f' {
load_video
set gfxpayload=keep
insmod gzio
insmod part_msdos
insmod xfs
set root='hd0,msdos1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd2,msdos1 --hint-efi=hd2,msdos1 --hint-baremetal=ahci2,msdos1 --hint='hd0,msdos1' 3db32f94-1ae2-4348-8722-8d24e4a2d713
else
search --no-floppy --fs-uuid --set=root 3db32f94-1ae2-4348-8722-8d24e4a2d713
fi
linux16 /vmlinuz-3.10.0-229.el7.x86_64 root=/dev/mapper/vg00-root ro rd.lvm.lv=vg00/swap crashkernel=128M rd.lvm.lv=vg00/root rhgb quiet LANG=en_US.UTF-8
initrd16 /initramfs-3.10.0-229.el7.x86_64.img
}
menuentry 'CentOS Linux 7 (Core), with Linux 0-rescue-6da79154aa2146d5a9e0375e472c99c5' --class rhel fedora --class gnu-linux --class gnu --class os --unrestricted $menuentry_id_option 'gnulinux-0-rescue-6da79154aa2146d5a9e0375e472c99c5-advanced-f7f42084-3585-4b05-b9b2-7273ce448d5f' {
load_video
insmod gzio
insmod part_msdos
insmod xfs
set root='hd0,msdos1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd2,msdos1 --hint-efi=hd2,msdos1 --hint-baremetal=ahci2,msdos1 --hint='hd0,msdos1' 3db32f94-1ae2-4348-8722-8d24e4a2d713
else
search --no-floppy --fs-uuid --set=root 3db32f94-1ae2-4348-8722-8d24e4a2d713
fi
linux16 /vmlinuz-0-rescue-6da79154aa2146d5a9e0375e472c99c5 root=/dev/mapper/vg00-root ro rd.lvm.lv=vg00/swap crashkernel=128M rd.lvm.lv=vg00/root rhgb quiet
initrd16 /initramfs-0-rescue-6da79154aa2146d5a9e0375e472c99c5.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 ###
menuentry 'Debian GNU/Linux (stretch/sid) (on /dev/sda5)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-simple-1ceba39a-2e50-4367-908f-20e43701f07b' {
insmod part_msdos
insmod ext2
set root='hd0,msdos5'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5 1ceba39a-2e50-4367-908f-20e43701f07b
else
search --no-floppy --fs-uuid --set=root 1ceba39a-2e50-4367-908f-20e43701f07b
fi
linux /boot/vmlinuz-4.0.0-2-amd64 root=UUID=1ceba39a-2e50-4367-908f-20e43701f07b ro quiet processor.ignore_ppc=1 intel_pstate=disable
initrd /boot/initrd.img-4.0.0-2-amd64
}
submenu 'Advanced options for Debian GNU/Linux (stretch/sid) (on /dev/sda5)' $menuentry_id_option 'osprober-gnulinux-advanced-1ceba39a-2e50-4367-908f-20e43701f07b' {
menuentry 'Debian GNU/Linux (on /dev/sda5)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-4.0.0-2-amd64--1ceba39a-2e50-4367-908f-20e43701f07b' {
insmod part_msdos
insmod ext2
set root='hd0,msdos5'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5 1ceba39a-2e50-4367-908f-20e43701f07b
else
search --no-floppy --fs-uuid --set=root 1ceba39a-2e50-4367-908f-20e43701f07b
fi
linux /boot/vmlinuz-4.0.0-2-amd64 root=UUID=1ceba39a-2e50-4367-908f-20e43701f07b ro quiet processor.ignore_ppc=1 intel_pstate=disable
initrd /boot/initrd.img-4.0.0-2-amd64
}
menuentry 'Debian GNU/Linux, con Linux 4.0.0-2-amd64 (on /dev/sda5)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-4.0.0-2-amd64--1ceba39a-2e50-4367-908f-20e43701f07b' {
insmod part_msdos
insmod ext2
set root='hd0,msdos5'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5 1ceba39a-2e50-4367-908f-20e43701f07b
else
search --no-floppy --fs-uuid --set=root 1ceba39a-2e50-4367-908f-20e43701f07b
fi
linux /boot/vmlinuz-4.0.0-2-amd64 root=UUID=1ceba39a-2e50-4367-908f-20e43701f07b ro quiet processor.ignore_ppc=1 intel_pstate=disable
initrd /boot/initrd.img-4.0.0-2-amd64
}
menuentry 'Debian GNU/Linux, with Linux 4.0.0-2-amd64 (recovery mode) (on /dev/sda5)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-4.0.0-2-amd64-root=UUID=1ceba39a-2e50-4367-908f-20e43701f07b ro single-1ceba39a-2e50-4367-908f-20e43701f07b' {
insmod part_msdos
insmod ext2
set root='hd0,msdos5'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5 1ceba39a-2e50-4367-908f-20e43701f07b
else
search --no-floppy --fs-uuid --set=root 1ceba39a-2e50-4367-908f-20e43701f07b
fi
linux /boot/vmlinuz-4.0.0-2-amd64 root=UUID=1ceba39a-2e50-4367-908f-20e43701f07b ro single
initrd /boot/initrd.img-4.0.0-2-amd64
}
menuentry 'Debian GNU/Linux, con Linux 3.16.0-4-amd64 (on /dev/sda5)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-3.16.0-4-amd64--1ceba39a-2e50-4367-908f-20e43701f07b' {
insmod part_msdos
insmod ext2
set root='hd0,msdos5'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5 1ceba39a-2e50-4367-908f-20e43701f07b
else
search --no-floppy --fs-uuid --set=root 1ceba39a-2e50-4367-908f-20e43701f07b
fi
linux /boot/vmlinuz-3.16.0-4-amd64 root=UUID=1ceba39a-2e50-4367-908f-20e43701f07b ro quiet processor.ignore_ppc=1 intel_pstate=disable
initrd /boot/initrd.img-3.16.0-4-amd64
}
menuentry 'Debian GNU/Linux, with Linux 3.16.0-4-amd64 (recovery mode) (on /dev/sda5)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-3.16.0-4-amd64-root=UUID=1ceba39a-2e50-4367-908f-20e43701f07b ro single-1ceba39a-2e50-4367-908f-20e43701f07b' {
insmod part_msdos
insmod ext2
set root='hd0,msdos5'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5 1ceba39a-2e50-4367-908f-20e43701f07b
else
search --no-floppy --fs-uuid --set=root 1ceba39a-2e50-4367-908f-20e43701f07b
fi
linux /boot/vmlinuz-3.16.0-4-amd64 root=UUID=1ceba39a-2e50-4367-908f-20e43701f07b ro single
initrd /boot/initrd.img-3.16.0-4-amd64
}
}
### 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 ###
P4j4r0 N3gr0 escribió:Si tienes ya una distro linux funcional, mi recomendación para montar otras distros: https://linuxcontainers.org/
Y te hinchas a montar contenedores de lo que te de la gana en el sdb. Incluso si pretendes estudiar algún kernel nuevo solo tendrás que compilarlo una vez.
Ahora una pregunta en esta linea tan siglo XX, ¿Si quitas el disco de debian/windows y pinchas en su lugar el de CentOS, arranca?.