Re: [gentoo-user] raid1 grub ext4

2011-04-11 Thread Mick
On Monday 11 April 2011 19:12:36 James wrote:
> Hello,
> 
> Following the guides (previous post) I'm not able to set
> up grub:
> http://www.gentoo.org/doc/en/gentoo-x86+raid+lvm2-quickinstall.xml
> http://en.gentoo-wiki.com/wiki/RAID
> 
> grub> find /boot/grub/stage1
> 
> does not work, even though the stage one file is there
> grub.conf look like the example in these files.
> 
> grub>  root (hd0,0)
>  Filesystem type unknown, partition type 0xfd
> 
> 
> I used ext4 for / and /boot partitions.
> (is this a problem? (sys-boot/grub-0.97-r10}
> 
> ideas? lots of old posts about not being
> able to boot grub-0.97 off of ext4, unless
> patched?

James, if I'm not wrong (legacy) sys-boot/grub-0.97-r10 does not have drivers 
for ext4.  Not sure if there's a patch for it, or if grub2 can boot from ext4.

Either way, why is it that /boot needs to be on ext4?
-- 
Regards,
Mick


signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] raid1 grub ext4

2011-04-11 Thread Neil Bothwick
On Mon, 11 Apr 2011 18:12:36 + (UTC), James wrote:

> grub> find /boot/grub/stage1  
> 
> does not work, even though the stage one file is there 
> 
> I used ext4 for / and /boot partitions.

If /boot is on a separate partition, you should be using

find /grub/stage1


-- 
Neil Bothwick

Religious error: (A)tone, (R)epent, (I)mmolate?


signature.asc
Description: PGP signature


Re: [gentoo-user] raid1 grub ext4

2011-04-11 Thread Mark Shields
On Mon, Apr 11, 2011 at 3:49 PM, Neil Bothwick  wrote:

> On Mon, 11 Apr 2011 18:12:36 + (UTC), James wrote:
>
> > grub> find /boot/grub/stage1
> >
> > does not work, even though the stage one file is there
> >
> > I used ext4 for / and /boot partitions.
>
> If /boot is on a separate partition, you should be using
>
> find /grub/stage1
>
>
> --
> Neil Bothwick
>
> Religious error: (A)tone, (R)epent, (I)mmolate?
>

If the symlink is there for boot -> /boot -- and it is by default -- both
work.


Re: [gentoo-user] raid1 grub ext4

2011-04-11 Thread Stroller

On 11/4/2011, at 9:18pm, Mick wrote:
>> ...
>> I used ext4 for / and /boot partitions.
>> (is this a problem? (sys-boot/grub-0.97-r10}
> 
> James, if I'm not wrong (legacy) sys-boot/grub-0.97-r10 does not have drivers 
> for ext4.  Not sure if there's a patch for it, or if grub2 can boot from ext4.

Use ext2 for /boot, James.

There's no need for extents on such a small partition, nor journalling (because 
you write to /boot so rarely, the likelihood of a power failure when you're 
doing so is minuscule).

Stroller.




Re: [gentoo-user] raid1 grub ext4

2011-04-12 Thread Neil Bothwick
On Mon, 11 Apr 2011 21:09:17 -0500, Mark Shields wrote:

> > If /boot is on a separate partition, you should be using
> >
> > find /grub/stage1

> If the symlink is there for boot -> /boot -- and it is by default --
> both work.

I've found GRUB's handling of symlinks to be variable at best. Try
searching for the real file.


-- 
Neil Bothwick

A chicken is an egg's way of producing more eggs.


signature.asc
Description: PGP signature