Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LoadLinux ¶
LoadLinux Prints the loading of the kernel and initramfs. --- echo 'Loading Linux linux ...' linux /var/lib/darch/stage/live/h42milg9c1r2jqr02ch8q1r3x/vmlinuz-linux root=UUID=a85bf1c9-59a1-4dba-9df9-6fbbfa03466c rw quiet darch_rootfs=rootfs.squash darch_dir=UUID=a85bf1c9-59a1-4dba-9df9-6fbbfa03466c:/var/lib/darch/stage/live/h42milg9c1r2jqr02ch8q1r3x echo 'Loading initial ramdisk ...' initrd /var/lib/darch/stage/live/h42milg9c1r2jqr02ch8q1r3x/initramfs-linux.img ---
func MenuEntry ¶
MenuEntry Generates a menu entry, with a callback to write the contents of the menu entry.
func PrepareAccessToDevice ¶
PrepareAccessToDevice Writes out the required info to access a device in grub. --------- insmod part_gpt insmod ext2 set root='hd3,gpt2' if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd3,gpt2 --hint-efi=hd3,gpt2 --hint-baremetal=ahci3,gpt2 a85bf1c9-59a1-4dba-9df9-6fbbfa03466c
else
search --no-floppy --fs-uuid --set=root a85bf1c9-59a1-4dba-9df9-6fbbfa03466c
fi ---------
Types ¶
This section is empty.