Skip to content

Instantly share code, notes, and snippets.

Created November 18, 2012 05:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/4103776 to your computer and use it in GitHub Desktop.
Save anonymous/4103776 to your computer and use it in GitHub Desktop.
hola
Disk /dev/sda: 80.0 GB, 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
Disk identifier: 0x000f2e38
Device Boot Start End Blocks Id System
/dev/sda1 2048 6965247 3481600 82 Linux swap / Solaris
/dev/sda2 6965248 156301487 74668120 83 Linux
Disk /dev/sdb: 4048 MB, 4048551936 bytes, 7907328 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
Disk identifier: 0xbb0eb409
This doesn't look like a partition table
Probably you selected the wrong device.
Device Boot Start End Blocks Id System
/dev/sdb1 ? 3447419926 1019098920 933323145+ 66 Unknown
/dev/sdb2 ? 2573 2573 0 72 Unknown
Partition table entries are not in disk order
#
# 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
load_env
fi
set default="0"
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 loadfont unicode ; then
set gfxmode=auto
load_video
insmod gfxterm
set locale_dir=$prefix/locale
set lang=
insmod gettext
fi
terminal_output gfxterm
set timeout=5
### END /etc/grub.d/00_header ###
### BEGIN /etc/grub.d/10_linux ###
menuentry 'GNU/Linux' --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-b6f6cfbc-2ea3-47eb-a447-9614a2165dba' {
load_video
insmod gzio
insmod part_msdos
insmod ext2
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 b6f6cfbc-2ea3-47eb-a447-9614a2165dba
else
search --no-floppy --fs-uuid --set=root b6f6cfbc-2ea3-47eb-a447-9614a2165dba
fi
echo 'Loading Linux 3.5.4 ...'
linux /boot/vmlinuz-3.5.4 root=/dev/sda2 ro
}
submenu 'Advanced options for GNU/Linux' $menuentry_id_option 'gnulinux-advanced-b6f6cfbc-2ea3-47eb-a447-9614a2165dba' {
menuentry 'GNU/Linux, with Linux 3.5.4' --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.5.4-advanced-b6f6cfbc-2ea3-47eb-a447-9614a2165dba' {
load_video
insmod gzio
insmod part_msdos
insmod ext2
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 b6f6cfbc-2ea3-47eb-a447-9614a2165dba
else
search --no-floppy --fs-uuid --set=root b6f6cfbc-2ea3-47eb-a447-9614a2165dba
fi
echo 'Loading Linux 3.5.4 ...'
linux /boot/vmlinuz-3.5.4 root=/dev/sda2 ro
}
menuentry 'GNU/Linux, with Linux 3.5.4 (recovery mode)' --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.5.4-recovery-b6f6cfbc-2ea3-47eb-a447-9614a2165dba' {
load_video
insmod gzio
insmod part_msdos
insmod ext2
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 b6f6cfbc-2ea3-47eb-a447-9614a2165dba
else
search --no-floppy --fs-uuid --set=root b6f6cfbc-2ea3-47eb-a447-9614a2165dba
fi
echo 'Loading Linux 3.5.4 ...'
linux /boot/vmlinuz-3.5.4 root=/dev/sda2 ro single
}
}
### 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 ###
### 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 ###
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment