Revision history for Grub2Example


Revision [31132]

Last edited on 2016-07-22 10:14:46 by darkcity [---- ==Categories== [[CategoryInstallation]] [[Cat]
Additions:
----
==Categories==
[[CategoryInstallation]]
[[CategoryTutorial]]


Revision [31131]

Edited on 2016-07-22 10:12:11 by darkcity [fixo]
Additions:
~Example of a menu entry for Puppy Linux in GRUB2. GRUB2's menu is configured in the plain text file ##/boot/grub/grub.cfg##. Menu entry usually come after the line ## ""###BEGIN /etc/grub.d/10_linux ###"" ## :
menuentry 'Slacko 531 Linux (harddrive 1, partition 3)' --class gnu-linux --class gnu {
set root='(hd0,3)'
search --no-floppy --fs-uuid --set 65555554-aaaf-bbb2-a4a5-a4a5a4a5a4a5
linux /slacko531/vmlinuz pmedia=atahd psubdir=slacko531
initrd /slacko531/initrd.gz
~##insmod ext2## - use Linux format filesystem
-
~##set root='(hd0,3)'## - sets location to look for files (unless harddrive and partition are specified). In this example, the first harddrive is specified ##hd0## (typically sda), (counts harddrives from 0). The third partition is specified ##,3##, (counts partitions from 1). The single quotes in ##'(hd0,3)'## are critical, missing them will result in boot failure.
-
~##search --no-floppy --fs-uuid --set 65555554-aaaf-bbb2-a4a5-a4a5a4a5a4a5## - sets the partition to search by uuid (different for each partition on different, can be found using [[GParted]]).
-
~##linux /slacko531/vmlinuz pmedia=atahd psubdir=slacko531## - location of vmlinuz on partition, ##psubdir## specifics location to look for Puppy save file (if frugal installation).
Deletions:
Grub2Example
menuentry 'Slacko 593 Linux (harddrive 2, partition 3)' --class gnu-linux --class gnu {
set root='(hd1,3)'
search --no-floppy --fs-uuid --set 66adfd54-777f-4b82-9193-8fd72b7d48b4
linux /slacko593/vmlinuz pmedia=atahd psubdir=slacko593
initrd /slacko593/initrd.gz


Revision [31129]

Edited on 2016-07-22 09:50:26 by darkcity [fixo]
Additions:
[[HomePage]] > [[ComponentHowTo Components and HowTos]] > [[BootIndex Booting]] / [[InstallationIndex Install]] > [[Bootloaders Boot Loaders]]
{{include pagesGRUB}}
====GRUB2 example====


Revision [31128]

The oldest known version of this page was created on 2016-07-22 09:50:04 by darkcity [fixo]
Valid XHTML :: Valid CSS: :: Powered by WikkaWiki