[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Grub Variables



Hello


Im booting Debian KfreeBSD and FreeBSD from the same Zpool. Each OS in one Subvolume. Grub is installed manually stored on the top of the Zpool.

my grub.cfg has been pasted nice formated on http://debianforum.de/forum/pastebin.php?mode=view&s=35157 too

# Setting up the serial line on COM1
 insmod serial
 serial --speed=9600 --unit=0 --word=8 --parity=no --stop=1
 terminal_output serial
 terminal_input serial

# Timeout for menu
 set timeout=5

# Set default boot entry as Entry 0
 set default=0

        menuentry "FreeBSD 8.1 RELEASE AMD64 on pool/freebsd8" {
          kfreebsd /freebsd8@/boot/kernel/kernel
          kfreebsd_module_elf /freebsd8@/boot/kernel/opensolaris.ko
          kfreebsd_module_elf /freebsd8@/boot/kernel/zfs.ko
          kfreebsd_module_elf /freebsd8@/boot/kernel/smbus.ko
          kfreebsd_module_elf /freebsd8@/boot/kernel/ipmi.ko
kfreebsd_module /freebsd8@/boot/zfs/zpool.cache type=/boot/zfs/zpool.cache
          set kFreeBSD.vfs.root.mountfrom=zfs:pool/freebsd8
}

        menuentry "Debian KfreeBSD Rescue AMD64 on pool/debian" {
          kfreebsd /debian@/boot/kfreebsd-8.1-1-amd64.gz
kfreebsd_module_elf /debian@/lib/modules/8.1-1-amd64/opensolaris.ko
          kfreebsd_module_elf /debian@/lib/modules/8.1-1-amd64/zfs.ko
          kfreebsd_module_elf /debian@/lib/modules/8.1-1-amd64/smbus.ko
          kfreebsd_module_elf /debian@/lib/modules/8.1-1-amd64/ipmi.ko
kfreebsd_module /debian@/boot/zfs/zpool.cache type=/boot/zfs/zpool.cache
          set kFreeBSD.vfs.root.mountfrom=zfs:pool/debian
}

The Box has no monitor and should be administrated with SSH or in worst case with Serial over IPMI. And thats the tricky thing for me. How do I have to configure the COM1 to start at boot time from Debian KfreeBSD FreeBSD?

Entries in the loader.conf


boot_multicons="YES"
boot_serial="YES"
comconsole_speed="19200"
console="comconsole,vidconsole"

So what i have to write in the grub.cfg?

set kFreeBSD.comconsole_speed=19200 ??
and for the rest??

I hope someone can tell me the Trick :)

kind regards Darko Hojnik


Reply to: