daily pastebin goal
14%
SHARE
TWEET

Untitled

a guest May 19th, 2017 44 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #Notes; Ubuntu 9.10 & Grub 1.97~beta4
  2. #results: "Grub loading."; "file handler not found"; "video mode not set"(?); & computer shutdown on any text/enter combination.
  3. #This is a really stupid ugly hack
  4. insmod vbe
  5. set gfxmode=640x480
  6. insmod jpeg
  7. terminal_output gfxterm
  8. background_image /usr/share/images/grub/aaron.jpg;
  9.  
  10.  
  11. read password
  12.  
  13.  
  14.  
  15. if [ "${password}" = "password1" ]; then
  16.     set root=(hd0,2)
  17.     chainloader +1
  18.  
  19. fi
  20.  
  21.  
  22.  
  23. if [ "${password}" = "password2" ]; then
  24.     set root=(hd0,5)
  25.     chainloader +1
  26.  
  27. fi
  28.  
  29. if [ "${password}" = "oldwindows" ]; then
  30.     set root=(hd0,1)
  31.     chainloader +1
  32.  
  33. fi
  34.  
  35. if [ "${password}" = "password4" ]; then
  36.  
  37.     set root=(hd0,6)
  38.     chainloader +1
  39.  
  40. fi
  41.  
  42. if [ "${password}" = "password5" ]; then
  43.  
  44.     set root=(hd0,6)
  45.     chainloader +1
  46.  
  47. fi
  48.  
  49.  
  50.  
  51. halt
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top