- Grub.cfg
- #
- # DO NOT EDIT THIS FILE
- #
- # It is automatically generated by /usr/sbin/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 [ ${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 recordfail {
- set recordfail=1
- if [ -n ${have_grubenv} ]; then if [ -z ${boot_once} ]; then save_env recordfail; fi; fi
- }
- if [ ${recordfail} = 1 ]; then
- set timeout=-1
- else
- set timeout=10
- fi
- ### END /etc/grub.d/00_header ###
- ### BEGIN /etc/grub.d/05_debian_theme ###
- set menu_color_normal=white/black
- set menu_color_highlight=black/light-gray
- ### END /etc/grub.d/05_debian_theme ###
- ### BEGIN /etc/grub.d/10_linux ###
- menuentry 'Ubuntu, with Linux 3.2.6' --class ubuntu --class gnu-linux --class gnu --class os {
- recordfail
- insmod ext2
- set root='(hd0,1)'
- search --no-floppy --fs-uuid --set 23c6c72a-8a22-4726-af14-fbe45e7c13a9
- linux /boot/vmlinuz-3.2.6 root=UUID=23c6c72a-8a22-4726-af14-fbe45e7c13a9 ro text splash vga=791
- initrd /boot/initrd.img-3.2.6
- }
- menuentry 'Ubuntu, with Linux 3.2.6 (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
- recordfail
- insmod ext2
- set root='(hd0,1)'
- search --no-floppy --fs-uuid --set 23c6c72a-8a22-4726-af14-fbe45e7c13a9
- echo 'Loading Linux 3.2.6 ...'
- linux /boot/vmlinuz-3.2.6 root=UUID=23c6c72a-8a22-4726-af14-fbe45e7c13a9 ro single
- echo 'Loading initial ramdisk ...'
- initrd /boot/initrd.img-3.2.6
- }
- ### END /etc/grub.d/10_linux ###
- ### BEGIN /etc/grub.d/20_memtest86+ ###
- menuentry "Memory test (memtest86+)" {
- insmod ext2
- set root='(hd0,1)'
- search --no-floppy --fs-uuid --set 23c6c72a-8a22-4726-af14-fbe45e7c13a9
- linux16 /boot/memtest86+.bin
- }
- menuentry "Memory test (memtest86+, serial console 115200)" {
- insmod ext2
- set root='(hd0,1)'
- search --no-floppy --fs-uuid --set 23c6c72a-8a22-4726-af14-fbe45e7c13a9
- linux16 /boot/memtest86+.bin console=ttyS0,115200n8
- }
- ### END /etc/grub.d/20_memtest86+ ###
- ### BEGIN /etc/grub.d/30_os-prober ###
- if [ ${timeout} != -1 ]; then
- if keystatus; then
- if keystatus --shift; then
- set timeout=-1
- else
- set timeout=0
- fi
- else
- if sleep --interruptible 3 ; then
- set timeout=0
- fi
- fi
- fi
- ### 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 ###
- Fdisk -l
- Disk /dev/sda: 160.0 GB, 160041885696 bytes
- 255 heads, 63 sectors/track, 19457 cylinders
- Units = cylinders of 16065 * 512 = 8225280 bytes
- Sector size (logical/physical): 512 bytes / 512 bytes
- I/O size (minimum/optimal): 512 bytes / 512 bytes
- Disk identifier: 0x0004db1b
- Device Boot Start End Blocks Id System
- /dev/sda1 * 1 19131 153664512 83 Linux
- /dev/sda2 19131 19458 2623489 5 Extended
- /dev/sda5 19131 19458 2623488 82 Linux swap / Solaris
- Disk /dev/sdb: 8065 MB, 8065646592 bytes
- 255 heads, 63 sectors/track, 980 cylinders
- Units = cylinders of 16065 * 512 = 8225280 bytes
- Sector size (logical/physical): 512 bytes / 512 bytes
- I/O size (minimum/optimal): 512 bytes / 512 bytes
- Disk identifier: 0x00065a8d
- Device Boot Start End Blocks Id System
- /dev/sdb1 * 1 408 3277228+ b W95 FAT32
- /dev/sdb2 409 980 4594590 83 Linux
- Disk /dev/sdc: 3999 MB, 3999268864 bytes
- 64 heads, 32 sectors/track, 3814 cylinders
- Units = cylinders of 2048 * 512 = 1048576 bytes
- Sector size (logical/physical): 512 bytes / 512 bytes
- I/O size (minimum/optimal): 512 bytes / 512 bytes
- Disk identifier: 0x54f33f75
- Device Boot Start End Blocks Id System
- /dev/sdc1 * 1 602 616448 17 Hidden HPFS/NTFS
- Disk /dev/sdc1: 631 MB, 631242752 bytes
- 64 heads, 32 sectors/track, 602 cylinders
- Units = cylinders of 2048 * 512 = 1048576 bytes
- Sector size (logical/physical): 512 bytes / 512 bytes
- I/O size (minimum/optimal): 512 bytes / 512 bytes
- Disk identifier: 0x54f33f75
- Device Boot Start End Blocks Id System
- /dev/sdc1p1 * 1 602 616448 17 Hidden HPFS/NTFS