Grub2 boot debian and debian-kfreebsd

menuentry ‘Debian GNU/kFreeBSD, with kFreeBSD 9.0-2-amd64′ –class debian –class gnu-kfreebsd –class gnu –class os {
insmod part_msdos
insmod zfs
set root='(/dev/ada0,msdos3)’
search –no-floppy –fs-uuid –set=root ffdedb2e77090087
echo ‘Loading kernel of FreeBSD 9.0-2-amd64 …’
kfreebsd /r/@/boot/kfreebsd-9.0-2-amd64.gz
insmod part_msdos
insmod zfs
set root='(/dev/ada0,msdos3)’
search –no-floppy –fs-uuid –set=root ffdedb2e77090087
kfreebsd_module_elf /r/@/lib/modules/9.0-2-amd64/opensolaris.ko
insmod part_msdos
insmod zfs
set root='(/dev/ada0,msdos3)’
search –no-floppy –fs-uuid –set=root ffdedb2e77090087
kfreebsd_module /r/@/boot/zfs/zpool.cache type=/boot/zfs/zpool.cache
insmod part_msdos
insmod zfs
set root='(/dev/ada0,msdos3)’
search –no-floppy –fs-uuid –set=root ffdedb2e77090087
kfreebsd_module_elf /r/@/lib/modules/9.0-2-amd64/zfs.ko
set kFreeBSD.vfs.root.mountfrom=zfs:p/r
set kFreeBSD.vfs.root.mountfrom.options=rw
}
menuentry ‘Debian GNU/kFreeBSD, with kFreeBSD 9.0-2-amd64 (recovery mode)’ –class debian –class gnu-kfreebsd –class gnu –class os {
insmod part_msdos
insmod zfs
set root='(/dev/ada0,msdos3)’
search –no-floppy –fs-uuid –set=root ffdedb2e77090087
echo ‘Loading kernel of FreeBSD 9.0-2-amd64 …’
kfreebsd /r/@/boot/kfreebsd-9.0-2-amd64.gz -s
insmod part_msdos
insmod zfs
set root='(/dev/ada0,msdos3)’
search –no-floppy –fs-uuid –set=root ffdedb2e77090087
kfreebsd_module_elf /r/@/lib/modules/9.0-2-amd64/opensolaris.ko
insmod part_msdos
insmod zfs
set root='(/dev/ada0,msdos3)’
search –no-floppy –fs-uuid –set=root ffdedb2e77090087
kfreebsd_module /r/@/boot/zfs/zpool.cache type=/boot/zfs/zpool.cache
insmod part_msdos
insmod zfs
set root='(/dev/ada0,msdos3)’
search –no-floppy –fs-uuid –set=root ffdedb2e77090087
kfreebsd_module_elf /r/@/lib/modules/9.0-2-amd64/zfs.ko
set kFreeBSD.vfs.root.mountfrom=zfs:p/r
set kFreeBSD.vfs.root.mountfrom.options=rw
}
menuentry ‘Debian GNU/Linux, with Linux 3.2.0-4-686-pae’ –class debian –class gnu-linux –class gnu –class os {
load_video
insmod gzio
insmod part_msdos
insmod ext2
set root='(hd0,msdos5)’
search –no-floppy –fs-uuid –set=root eb7202f2-a3a2-4d6f-81de-c5f0d72fa607
echo ‘Loading Linux 3.2.0-4-686-pae …’
linux /vmlinuz-3.2.0-4-686-pae root=UUID=c50de1a8-dc6b-4414-8f6f-d90ecd5e5209 ro quiet
echo ‘Loading initial ramdisk …’
initrd /initrd.img-3.2.0-4-686-pae
}
menuentry ‘Debian GNU/Linux, with Linux 3.2.0-4-686-pae (recovery mode)’ –class debian –class gnu-linux –class gnu –class os {
load_video
insmod gzio
insmod part_msdos
insmod ext2
set root='(hd0,msdos5)’
search –no-floppy –fs-uuid –set=root eb7202f2-a3a2-4d6f-81de-c5f0d72fa607
echo ‘Loading Linux 3.2.0-4-686-pae …’
linux /vmlinuz-3.2.0-4-686-pae root=UUID=c50de1a8-dc6b-4414-8f6f-d90ecd5e5209 ro single
echo ‘Loading initial ramdisk …’
initrd /initrd.img-3.2.0-4-686-pae

Boot ISO from USB key / stick panaudojant Grub4Dos

Sveiki,
Šiandien papasakosiu, kaip pasidaryti boot’ini flash’iuką.

Tam mums prireiks:

Taigi sukuriam viena primary particiją mūsų USB rakte.

Tuomet įdiegiam GRUB su linux:
grub-install /dev/sdc1


timeout 10
default 0

title Acronis True Image Home 2009 (9,615)
map (hd0,0)/Acronis_All.iso (hd32)
map –hook
chainloader (hd32)
boot

title Hiren 9.3 (9,615)
map (hd0,0)/Hiren.iso (hd32)
map –hook
chainloader (hd32)
boot

title CommandLine
commandline

title Reboot (restart)
reboot

title Halt (shutdown)
halt


External links
http://www.eecs.iu-bremen.de/wiki/index.php/Creating_a_bootable_USB_stick
http://forums.fedoraforum.org/archive/index.php/t-217113.html
http://www.hiren.info/pages/bootcd-on-usb-disk
http://www.themudcrab.com/acronis_grub4dos.php

Boot ISO su grub4dos

gubo menu lst galime irasyti tokias eilutes:

title uzkrauti tcusb.iso
map –mem /tcusb.iso (hd32)
map –hook
chainloader (hd32)

tuomet uzkrausim ISO failiuka