This shows you the differences between two versions of the page.
bootloader [2013/05/20 00:29] |
bootloader [2022/04/16 12:22] (current) |
||
---|---|---|---|
Line 1: | Line 1: | ||
+ | <code> | ||
+ | sudo apt-get install os-prober | ||
+ | |||
+ | sudo update-grub2 | ||
+ | Generating grub.cfg ... | ||
+ | Found linux image: /boot/vmlinuz-3.2.0-41-generic | ||
+ | Found initrd image: /boot/initrd.img-3.2.0-41-generic | ||
+ | Found linux image: /boot/vmlinuz-3.2.0-40-generic | ||
+ | Found initrd image: /boot/initrd.img-3.2.0-40-generic | ||
+ | Found linux image: /boot/vmlinuz-3.2.0-33-generic | ||
+ | Found initrd image: /boot/initrd.img-3.2.0-33-generic | ||
+ | Found linux image: /boot/vmlinuz-2.6.35-28-generic | ||
+ | Found initrd image: /boot/initrd.img-2.6.35-28-generic | ||
+ | Found memtest86+ image: /boot/memtest86+.bin | ||
+ | Found Ubuntu 10.04 LTS (10.04) on /dev/sda2 | ||
+ | Found win on /dev/sdb3 | ||
+ | Found Ubuntu 9.10 (9.10) on /dev/sdb6 | ||
+ | done | ||
+ | |||
+ | </code> | ||
+ | |||
+ | ==== BCD ==== | ||
+ | |||
+ | <code> | ||
+ | cat NST/menu.lst | ||
+ | |||
+ | |||
+ | # NeoSmart NeoGrub Bootloader Configuration File | ||
+ | # | ||
+ | # This is the NeoGrub configuration file, and should be located at C:\NST\menu.lst | ||
+ | # Please see the EasyBCD Documentation for information on how to create/modify entries: | ||
+ | # http://neosmart.net/wiki/display/EBCD/ | ||
+ | |||
+ | # 0 1 2 3 4 5 | ||
+ | |||
+ | #menuentry "sda1" { | ||
+ | title sda1 | ||
+ | root (hd0,0) | ||
+ | makeactive | ||
+ | chainloader +1 | ||
+ | boot | ||
+ | #} | ||
+ | |||
+ | #menuentry "sda2" { | ||
+ | title sda2 | ||
+ | root (hd0,1) | ||
+ | makeactive | ||
+ | chainloader +1 | ||
+ | boot | ||
+ | #} | ||
+ | |||
+ | #menuentry "sda3" { | ||
+ | title sda3 | ||
+ | root (hd0,2) | ||
+ | makeactive | ||
+ | chainloader +1 | ||
+ | boot | ||
+ | #} | ||
+ | |||
+ | |||
+ | #menuentry "sda4" { | ||
+ | title sda4 | ||
+ | root (hd0,3) | ||
+ | #makeactive | ||
+ | chainloader +1 | ||
+ | #boot | ||
+ | #} | ||
+ | |||
+ | |||
+ | #menuentry "sda5" { | ||
+ | title sda5 | ||
+ | root (hd0,4) | ||
+ | #makeactive | ||
+ | chainloader +1 | ||
+ | #boot | ||
+ | #} | ||
+ | |||
+ | |||
+ | #menuentry "sda6" { | ||
+ | title sda6 | ||
+ | set root (hd0,5) | ||
+ | #makeactive | ||
+ | chainloader +1 | ||
+ | #boot | ||
+ | #} | ||
+ | |||
+ | |||
+ | #menuentry "sda7" { | ||
+ | title sda7 | ||
+ | root (hd0,6) | ||
+ | #makeactive | ||
+ | chainloader +1 | ||
+ | #boot | ||
+ | #} | ||
+ | |||
+ | #menuentry "sda8" { | ||
+ | title sda8 | ||
+ | root (hd0,7) | ||
+ | #makeactive | ||
+ | chainloader +1 | ||
+ | #boot | ||
+ | #} | ||
+ | |||
+ | |||
+ | </code> | ||
+ | |||
+ | |||
+ | |||
+ | ===== MORE ====== | ||
+ | |||
+ | @TaG: BooT GruB | ||
+ | |||
+ | <html> | ||
+ | <iframe width="560" height="315" src="https://www.youtube.com/embed/ImAlx0amAIc" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe> | ||
+ | </html> | ||