Re: Hit a Speed Bumps with Grub 2

2010-07-22 Thread Simon Geard
On Wed, 2010-07-21 at 15:06 -0500, Bruce Dubbs wrote: > Good point Trent. I do recommend the use of a separate 100M partition > for /boot for all OSes installed. It avoids that kind of problem. Only for Linux. Not much help for Windows, which Dan was asking about. I don't think I'd use such a

Re: Hit a Speed Bumps with Grub 2

2010-07-21 Thread Bruce Dubbs
Trent Shea wrote: > On Wednesday 21 July 2010 12:48:07 Bruce Dubbs wrote: >> Note the line: >> >> list=`for i in /boot/vmlinu[xz]-* /vmlinu[xz]-* ; do >> if grub_file_is_not_garbage "$i" ; then echo -n "$i " ; fi >>done` >> >> It is looking for specific kernel names in /boot. > >

Re: Hit a Speed Bumps with Grub 2

2010-07-21 Thread Trent Shea
On Wednesday 21 July 2010 12:48:07 Bruce Dubbs wrote: > Note the line: > > list=`for i in /boot/vmlinu[xz]-* /vmlinu[xz]-* ; do > if grub_file_is_not_garbage "$i" ; then echo -n "$i " ; fi >done` > > It is looking for specific kernel names in /boot. I'm pretty sure that will onl

Re: Hit a Speed Bumps with Grub 2

2010-07-21 Thread Bruce Dubbs
Trent Shea wrote: > 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 t

Re: Hit a Speed Bumps with Grub 2

2010-07-21 Thread Trent Shea
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

Re: Hit a Speed Bumps with Grub 2

2010-07-21 Thread linux fan
On 7/21/10, Dan McGhee wrote: > On 07/21/2010 06:08 AM, Andrew Benton wrote: >> On 21/07/10 01:25, Dan McGhee wrote: >> >>> It's nagging me that currently grub sees nothing but my new LFS system. >>> Grub2 supposedly searches for one of the specific kernel name prefixes of: vmlinuz vmlinux (/etc/

Re: Hit a Speed Bumps with Grub 2

2010-07-21 Thread Dan McGhee
On 07/21/2010 06:08 AM, Andrew Benton wrote: > On 21/07/10 01:25, Dan McGhee wrote: > >> It's nagging me that currently grub sees nothing but my new LFS system. >> > So did you try adding this to grub.cfg? > > menuentry "Windows" { > set root=(hd0,1) > chainloader +1 > } > > And f

Re: Hit a Speed Bumps with Grub 2

2010-07-21 Thread Andrew Benton
On 21/07/10 01:25, Dan McGhee wrote: > It's nagging me that currently grub sees nothing but my new LFS system. So did you try adding this to grub.cfg? menuentry "Windows" { set root=(hd0,1) chainloader +1 } And for what it's worth, this boots Ubunut for me: menuentry "Ubunut" { set roo

Re: Hit a Speed Bumps with Grub 2

2010-07-20 Thread Dan McGhee
On 07/20/2010 06:35 PM, Neal Murphy wrote: > On Tuesday 20 July 2010 18:00:12 Dan McGhee wrote: > >> If you'd allow me to rant just for a second--or longer--the >> documentation for grub over the years has left a little to be desired >> > You are much too kind, sir, exhibiting a forebeara

Re: Hit a Speed Bumps with Grub 2

2010-07-20 Thread Neal Murphy
On Tuesday 20 July 2010 18:00:12 Dan McGhee wrote: > If you'd allow me to rant just for a second--or longer--the > documentation for grub over the years has left a little to be desired You are much too kind, sir, exhibiting a forebearance that continues to escape me. -- http://linuxfromscratch.o

Re: Hit a Speed Bumps with Grub 2

2010-07-20 Thread Bruce Dubbs
linux fan wrote: > On 7/20/10, Dan McGhee wrote: > Since my post of just an hour ago, my options have been reduced to one--write to the MBR. One of the files needed to make a completely independent bootable grub disk is stage2_eltorito, which is not present in /usr/lib/grub/i3

Re: Hit a Speed Bumps with Grub 2

2010-07-20 Thread linux fan
On 7/20/10, Dan McGhee wrote: >>> Since my post of just an hour ago, my options have been reduced to >>> one--write to the MBR. One of the files needed to make a completely >>> independent bootable grub disk is stage2_eltorito, which is not present >>> in /usr/lib/grub/i386-pc/, or anywhere else

Re: It Booted Successfully [Was: Hit a Speed Bumps with Grub 2]

2010-07-20 Thread Bruce Dubbs
Dan McGhee wrote: >> Since my post of just an hour ago, my options have been reduced to >> one--write to the MBR. > And that's what I did. I got booted successfully except that I learned > that I had not set a password for root nor added any other users so I > didn't get to "play." I generally

Re: Hit a Speed Bumps with Grub 2

2010-07-20 Thread Dan McGhee
On 07/20/2010 04:42 PM, Neal Murphy wrote: > On Tuesday 20 July 2010 17:21:32 Dan McGhee wrote: > >> Since my post of just an hour ago, my options have been reduced to >> one--write to the MBR. One of the files needed to make a completely >> independent bootable grub disk is stage2_eltorito, wh

It Booted Successfully [Was: Hit a Speed Bumps with Grub 2]

2010-07-20 Thread Dan McGhee
On 07/20/2010 04:21 PM, Dan McGhee wrote: > On 07/20/2010 03:25 PM, Dan McGhee wrote: > >> On 07/20/2010 01:07 PM, Bruce Dubbs wrote: >> >> >>> The only thing that adds GRUB to a MBR is grub-setup, but I understand >>> you'or position. It's probably best to makes shure your new LFS boots

Re: Hit a Speed Bumps with Grub 2

2010-07-20 Thread Neal Murphy
On Tuesday 20 July 2010 17:21:32 Dan McGhee wrote: > Since my post of just an hour ago, my options have been reduced to > one--write to the MBR. One of the files needed to make a completely > independent bootable grub disk is stage2_eltorito, which is not present > in /usr/lib/grub/i386-pc/, or any

Re: Hit a Speed Bumps with Grub 2

2010-07-20 Thread Dan McGhee
On 07/20/2010 03:25 PM, Dan McGhee wrote: > On 07/20/2010 01:07 PM, Bruce Dubbs wrote: > >> Dan McGhee wrote: >> >> >> >>> I truly don't want to install Grub into the MBR, since grub may get put >>> in the MBR of the usb drive again, at this moment. I see two options: >>> >>> >> T

Re: Hit a Speed Bumps with Grub 2

2010-07-20 Thread Dan McGhee
On 07/20/2010 01:07 PM, Bruce Dubbs wrote: > Dan McGhee wrote: > > >> I truly don't want to install Grub into the MBR, since grub may get put >> in the MBR of the usb drive again, at this moment. I see two options: >> > The only thing that adds GRUB to a MBR is grub-setup, but I understan

Re: Hit a Speed Bumps with Grub 2

2010-07-20 Thread linux fan
On 7/20/10, Dan McGhee wrote: > The speed bumps that I mention in the grammatically incorrect subject > line have grown to a mountain range higher than the Himalayas. > With grub 2, the first thing to do is panic. Done. The second thing is "don't panic." > > 1. Review the grub-0.97 manual and us

Re: Hit a Speed Bumps with Grub 2

2010-07-20 Thread Bruce Dubbs
Dan McGhee wrote: > I truly don't want to install Grub into the MBR, since grub may get put > in the MBR of the usb drive again, at this moment. I see two options: The only thing that adds GRUB to a MBR is grub-setup, but I understand you'or position. It's probably best to makes shure your new

Re: Hit a Speed Bumps with Grub 2

2010-07-20 Thread Dan McGhee
The speed bumps that I mention in the grammatically incorrect subject line have grown to a mountain range higher than the Himalayas. The last failure was the grub rescue cd--it wouldn't, or at least my system prevented it, boot. Until I repartitioned for this LFS build, I had a working CLFS-mul

Re: Hit a Speed Bumps with Grub 2

2010-07-20 Thread Andrew Benton
On 20/07/10 04:05, Dan McGhee wrote: > I understand that, and I'm thinking that it really doesn't make a > difference that Grub doesn't see the other stuff right now. Ultimately I > don't care if it doesn't find sdb, I just want Windows and LFS on my > internal hard drive. I figure that if I can bo

Re: Hit a Speed Bumps with Grub 2

2010-07-19 Thread Dan McGhee
On 07/19/2010 09:35 PM, Bruce Dubbs wrote: > > What is the contents of /boot? I'm not using a separate partition. But it contains: > System.map-2.6.34.1 config-2.6.34.1 grub vmlinux-2.6.34.1-lfs-SVN-20100718 >What about /boot/grub/device.map? > > (hd0) /dev/sda > (hd1) /dev/sdb > The rea

Re: Hit a Speed Bumps with Grub 2

2010-07-19 Thread Bruce Dubbs
Dan McGhee wrote: > First of all, I'm a complete noob when it comes to Grub 2. Ubuntu > 10.04, my host system, uses it, but so far to me it's magic. > > I've just almost completed an LFS-SVN build. The last step is Grub. > > My disk setup is relevant to the discussion > > sda: sda1 (windows);

Hit a Speed Bumps with Grub 2

2010-07-19 Thread Dan McGhee
First of all, I'm a complete noob when it comes to Grub 2. Ubuntu 10.04, my host system, uses it, but so far to me it's magic. I've just almost completed an LFS-SVN build. The last step is Grub. My disk setup is relevant to the discussion sda: sda1 (windows); sda2 ; sda3 (swap); sda4 (Recove