Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #
- # jc__
- #
- insmod all_video
- insmod gfxmenu
- insmod gfxterm
- insmod jpeg
- insmod font
- insmod gettext
- set gfxmode=800x600,auto
- terminal_output gfxterm
- gfxterm_font=unicode
- loadfont /boot/grub/fonts/unicode.pf2
- set background_image=/boot/grub/splash3.jpg
- background_image -m stretch /boot/grub/splash3.jpg
- # Set menu colors
- set menu_color_normal=red/black
- set menu_color_highlight=light-gray/red
- set lang=en_US
- # Set menu display time
- set timeout=-1
- # Set the default boot entry (first is 0)
- set default=0
- # Set the root variable - grub2 uses this to find files if the
- # root device is not specified in the entry itself.
- # It can be set explicitly like so:
- #set root='(hd0,msdos2)'
- # Or it can be set using grub2's builtin search feature like so:
- ## /dev/sdg2: LABEL="500m_ext4" UUID="2c258bfc-984b-4b50-9d5d-858b2187f23e" TYPE="ext4"
- ## /dev/sdg3: UUID="682580d2-b93a-4579-96a2-05b55706215e" TYPE="ext4"
- ## /dev/sdg1: LABEL="fat32_data" UUID="F461-50CA" TYPE="vfat"
- ## /dev/sdg4: UUID="3295a19e-f274-47db-8096-16b1757b5d53" TYPE="swap"
- #search --no-floppy --fs-uuid --set root xxxxxxxx-yyyy-zzzz-aaaa-bbbbbbbbbbbb
- search --no-floppy --fs-uuid --set root 2c258bfc-984b-4b50-9d5d-858b2187f23e
- # The string xxxxxxxx-yyyy-zzzz-aaaa-bbbbbbbbbbbb should be replaced with
- # the proper UUID for the root device. It can be found using 'blkid' from
- # util-linux.
- # Boot entries:
- menuentry "PartedMagic" {
- insmod part_gpt
- set isofile="/boot/pmagic_2013_08_01.iso"
- loopback loop $isofile
- linux (loop)/pmagic/bzImage iso_filename=$isofile edd=off load_ramdisk=1 prompt_ramdisk=0 rw vga=normal loglevel=9 max_loop=256 vmalloc=512MiB
- initrd (loop)/pmagic/initrd.img
- }
- menuentry "Super Grub Disk 1.98" {
- insmod part_gpt
- insmod memdisk
- linux16 /boot/memdisk raw
- initrd16 /boot/super_grub_disk_hybrid-1.98s1.iso
- }
- menuentry "Acronis True Image Enterprise Server 9.5 Build 8076" {
- insmod part_gpt
- insmod memdisk
- linux16 /boot/memdisk iso raw
- initrd16 /boot/acronisbootable.iso
- }
- menuentry "ntpasswd - Petter Nordahl-Hagen" {
- insmod part_gpt
- insmod memdisk
- linux16 /boot/memdisk iso
- initrd16 /boot/ntpasswd/cd140201.iso
- }
- menuentry "DBAN - Darik's Boot and Nuke 2.2.8" {
- insmod part_gpt
- insmod memdisk
- linux16 /boot/memdisk iso
- initrd16 /boot/dban-2.2.8_i586.iso
- }
- menuentry 'Ampd Dev on Debian (8.4) (on /dev/sdg3)' --class gnu-linux --class gnu --class os 'osprober-gnulinux-simple-682580d2-b93a-4579-96a2-05b55706215e' {
- insmod part_msdos
- insmod ext2
- search --no-floppy --fs-uuid --set root 682580d2-b93a-4579-96a2-05b55706215e
- linux /boot/vmlinuz-3.16.0-4-686-pae root=UUID=682580d2-b93a-4579-96a2-05b55706215e ro quiet splash
- initrd /boot/initrd.img-3.16.0-4-686-pae
- }
- menuentry 'Ampd Dev on Debian GNU/Linux, with Linux 3.16.0-4-686-pae (recovery mode) (on /dev/sdg3)' --class gnu-linux --class gnu --class os 'osprober-gnulinux-/boot/vmlinuz-3.16.0-4-686-pae-root=UUID=682580d2-b93a-4579-96a2-05b55706215e ro single-682580d2-b93a-4579-96a2-05b55706215e' {
- insmod part_msdos
- insmod ext2
- search --no-floppy --fs-uuid --set=root 682580d2-b93a-4579-96a2-05b55706215e
- linux /boot/vmlinuz-3.16.0-4-686-pae root=UUID=682580d2-b93a-4579-96a2-05b55706215e ro single
- initrd /boot/initrd.img-3.16.0-4-686-pae
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement