Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 24 Nov 2012 15:14:44 +0100 (CET)
From:      Juergen Lock <nox@jelal.kn-bremen.de>
To:        ralf.mardorf@rocketmail.com
Cc:        freebsd-multimedia@freebsd.org
Subject:   Re: RME audio card user new to FreeBSD
Message-ID:  <201211241414.qAOEEixW089219@triton8.kn-bremen.de>
In-Reply-To: <1353765225.2641.9.camel@q>
References:  <50AFD823.2050203@freebsd.org> <1353710659.11101.58.camel@q> <201211232214.qANMEh7x030303@triton8.kn-bremen.de> <201211241339.qAODdbHs087952@triton8.kn-bremen.de>

next in thread | previous in thread | raw e-mail | index | archive | help
In article <1353765225.2641.9.camel@q> you write:
>On Sat, 2012-11-24 at 14:39 +0100, Juergen Lock wrote:
>> In article <1353710659.11101.58.camel@q> you write:
>> >On Fri, 2012-11-23 at 23:14 +0100, Juergen Lock wrote:
>> >> Btw there is another solution to this problem:  while loader(8)
>> >> cannot boot from 'extended' slices, grub2 actually can if you
>> >> tell it to load kernel and klds itself instead of chainloading
>> >> loader.  Only there is a bug preventing 9.1/amd64 and later kernels
>> >> from starting so you either need to add a patch to grub 2.00 or use
>> >> grub bzr.  The patch I mirrored here:
>> >> 
>> >> 	http://people.freebsd.org/~nox/tmp/grub2-paste_180121.patch
>> >> 
>> >>  Here is an example to have grub2 load kernel and klds itself:
>> >> 
>> >> 	http://lists.freebsd.org/pipermail/freebsd-multimedia/2011-March/011828.html
>> >> 
>> >> (use 'set root=(hd0,5)' etc instead of 'set root=(hd0,1)' for an
>> >> extended slice.)
>> >> 
>> >>  PR to update the sysutils/grub2 port to 2.00 + bugfix:
>> >> 
>> >> 	http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/170417
>> >> 
>> >> (tho I atually have debian Linux on that box too and just installed
>> >> grub 2.00 manually there with the patch.)
>> >
>> >Hi Juergen,
>> >
>> >thank you. If possible I'll avoid to install GRUB 2, I hate GRUB 2. If
>> >possible I'll stay with GRUB legacy or use something similar, e.g.
>> >Syslinux.
>> >
>> >I want a clear configuration for the menu. The menu must not! be
>> >automatically generated, since this is impossible for my needs.
>> >
>> >I experienced GRUB 2 as a PITA and only would use it, if there will be
>> >no other bootloader that is to my taste.
>> 
>> Hm I don't think grub legacy nor syslinux can load FreeBSD kernels
>> and klds directly, grub2 is the only bootloader I know besides
>> loader(8) that can.
>> 
>>  Sorry...
>> 	Juergen
>
>Hi Juergen,
Hi!
>
>since I cleaned a primary partition/slice, I hope it will be possible to
>chainload. I read the installation guide of the handbook and IIRC this
>will work. Your hint IIUC is only needed, if I wish to boot from a
>logical partition?
>
 Correct.

>I'm ready to lightscribe and burn the 9.0 DVD right now and later today
>I'll install FreeBSD.
>
 Don't want to try 9.1RC3?

>If IIUC the installer will not overwrite the MBR, IOW I'll be able to
>boot Linux and than to edit GRUB legacy's menu.lst to chainload FreeBSD.

 I'm not entirely sure you can tell bsdinstall to leave the mbr
bootcode alone (tho I would hope so), if not you can still use a
Linx livecd to put grub's mbr bootcode back.  (I think you can also
back it up, but make sure you don't restore the slice table in the
mbr too if you add the bsd slice from bsdinstall, only the actual
bootcode.)

 Good luck! :)
	Juergen



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201211241414.qAOEEixW089219>