On Wednesday 21 July 2010 06:08:46 Dan McGhee wrote:
> The precise answer to your question is, no, I haven't done that yet. By 
> "seeing" other stuff" I'm referring to grub-mkconfig. I thought it would 
> "out of the box." I know I can add those menu entries, and I'm going to. 
> I was hoping that when I booted the new system, it was completely 
> divorced from any artificialities of the host and would pick up on what 
> other stuff was on the computer. That didn't happen.
> 
> So the next step is to manually add those items. I haven't yet studied 
> deeply the scripts grub uses to look. Maybe it's just not worth it. If 
> it works, it works--I'm referring to manually adding those menu items.

Do you have os-prober installed? It's not covered in the book. I grabbed a 
copy from debian; there's no makefile if you grab from debian, so you'll have 
to dig through debian/rules to sort out what's installed, or if you don't feel 
like that and you can't find a package elsewhere that includes a makefile or 
configure script you can grab the *.deb and do 'ar x package_name && tar xf 
data.tar.gz' and move the files manually.

After that's sorted a run of 'grub-mkconfig -o /boot/grub/grub.cfg' should give 
something like the following:
Generating grub.cfg ...
Found linux image: /boot/vmlinux-2.6.32.8-lfs-6.6
Found Windows Vista/Longhorn (loader) on /dev/sda1
Found Ubuntu 10.04 LTS (10.04) on /dev/sda5
Found unknown Linux distribution on /dev/sda6


-- 
Regards,
Trent.
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Reply via email to