I'm going crazy to run from pendrive with alphaos installed on the hard disk.
This is my grub:
# GRUB config. suit yourself
set rootPartUUID=65123215-d324-497e-8055-28c3a9367359
set alphaOSDir=/alphaos
set default=0
set timeout=5
menuentry "alphaOS GNU/Linux" {
insmod part_gpt
insmod ext2
insmod search_fs_uuid
search --fs-uuid --no-floppy --set=root ${rootPartUUID}
echo 'Loading alphaOS GNU/Linux kernel ...'
linux ${alphaOSDir}/boot/vmlinuz from=${alphaOSDir} fsck
echo 'Loading alphaOS GNU/Linux kernel initrd ...'
initrd ${alphaOSDir}/boot/initrfs.img
}
menuentry "alphaOS GNU/Linux usbmode" {
insmod part_gpt
insmod ext2
insmod search_fs_uuid
search --fs-uuid --no-floppy --set=root ${rootPartUUID}
echo 'Loading alphaOS GNU/Linux kernel ...'
linux ${alphaOSDir}/boot/vmlinuz from=${alphaOSDir} fsck usbmode
echo 'Loading alphaOS GNU/Linux kernel initrd ...'
initrd ${alphaOSDir}/boot/initrfs.img
}
menuentry "alphaOS GNU/Linux usbmode toram" {
insmod part_gpt
insmod ext2
insmod search_fs_uuid
search --fs-uuid --no-floppy --set=root ${rootPartUUID}
echo 'Loading alphaOS GNU/Linux kernel ...'
linux ${alphaOSDir}/boot/vmlinuz from=${alphaOSDir} fsck usbmode toram
echo 'Loading alphaOS GNU/Linux kernel initrd ...'
initrd ${alphaOSDir}/boot/initrfs.img
}
menuentry "alphaOS GNU/Linux debug" {
insmod part_gpt
insmod ext2
insmod search_fs_uuid
search --fs-uuid --no-floppy --set=root ${rootPartUUID}
echo 'Loading alphaOS GNU/Linux kernel ...'
linux ${alphaOSDir}/boot/vmlinuz from=${alphaOSDir} usbmode debug
echo 'Loading alphaOS GNU/Linux kernel initrd ...'
initrd ${alphaOSDir}/boot/initrfs.img
}
menuentry "alphaOS GNU/Linux fresh" {
insmod part_gpt
insmod ext2
insmod search_fs_uuid
search --fs-uuid --no-floppy --set=root ${rootPartUUID}
echo 'Loading alphaOS GNU/Linux kernel ...'
linux ${alphaOSDir}/boot/vmlinuz from=${alphaOSDir} fresh
echo 'Loading alphaOS GNU/Linux kernel initrd ...'
initrd ${alphaOSDir}/boot/initrfs.img
}
menuentry "Windows 7" {
insmod part_msdos
insmod ntfs
set root=(hd0,msdos1)
chainloader +1
}
What are the changes that must be made and the grub to boot from pendrive pendrive but not load the modules that I have installed on the hard disk. I have always done a thousand tests and failure. Thank you